<p dir="ltr"><br>
On 25 Sep 2015 10:53, "Danny Horne" <<a href="mailto:danny@trisect.uk">danny@trisect.uk</a>> wrote:<br>
><br>
> $mydomain = '<a href="http://trisect.uk">trisect.uk</a>'; # a convenient default for other settings<br>
><br>
> @local_domains_maps = ( [".$mydomain"] ); # list of all local domains<br>
><br>
> Think I understand what you're suggesting, but I would like emails sent between accounts on the same (local) domain to be scanned, is this possible?<br></p>
<p dir="ltr">@local_domains_maps = ( ["."] ); # list of all local domains</p>
<p dir="ltr">Or maybe just</p>
<p dir="ltr">@local_domains_maps = ( . ); # list of all local domains</p>
<p dir="ltr">I don't remember </p>
<p dir="ltr">Simon<br><br></p>
<p dir="ltr">><br>
> On 24/09/2015 8:20 pm, Simon B wrote:<br>
>><br>
>><br>
>> On 24 Sep 2015 15:28, "Danny Horne" <<a href="mailto:danny@trisect.uk">danny@trisect.uk</a>> wrote:<br>
>> ><br>
>> > Thanks for the link, I'd already found that but didn't understand it too<br>
>> > well, guess I just need to keep reading.<br>
>> ><br>
>> > Just to clarify, incoming emails from external domains are sent through<br>
>> > Amavisd, emails sent between accounts on the same local domain are not.<br>
>><br>
>> What do you have specified in local_domain_maps?<br>
>><br>
>> What you're trying to achieve is scanning outgoing mail in effect.<br>
>><br>
>> Simon<br>
>><br>
>> > On 24/09/2015 3:14 pm, Zhang Huangbin wrote:<br>
>> > >> On Sep 24, 2015, at 10:04 PM, Danny Horne <<a href="mailto:danny@trisect.uk">danny@trisect.uk</a>> wrote:<br>
>> > >><br>
>> > >> As stated, I'm running Postfix / Dovecot, I've never heard of iRedMail.<br>
>> > > My mistake, this email was not filtered into separated mail folder, i thought it was sent to me and didn't check recipient addresses, sorry about this.<br>
>> > ><br>
>> > >> By 'local mail', I mean email that's being sent to an account on the<br>
>> > >> same domain.<br>
>> > > Amavisd is a interface between Postfix and SpamAssassin/ClamAV, it's usually called by Postfix with setting 'content_filter='. You should read Amavisd document here:<br>
>> > > <a href="http://www.ijs.si/software/amavisd/README.postfix.html">http://www.ijs.si/software/amavisd/README.postfix.html</a><br>
>> > ><br>
>> > > ----<br>
>> > > Zhang Huangbin, founder of iRedMail project: <a href="http://www.iredmail.org/">http://www.iredmail.org/</a><br>
>> > > Time zone: GMT+8 (China/Beijing).<br>
>> ><br>
>> ><br>
><br>
><br>
</p>