<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
$mydomain = 'trisect.uk'; # 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>
<br>
<div class="moz-cite-prefix">On 24/09/2015 8:20 pm, Simon B wrote:<br>
</div>
<blockquote
cite="mid:CAOmHMuH5Cai_=9okVyzc1NoJXiCZfJyLBs90wdOuzrmRS3LvTA@mail.gmail.com"
type="cite">
<p dir="ltr"><br>
On 24 Sep 2015 15:28, "Danny Horne" <<a
moz-do-not-send="true" href="mailto:danny@trisect.uk"><a class="moz-txt-link-abbreviated" href="mailto:danny@trisect.uk">danny@trisect.uk</a></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>
</p>
<p dir="ltr">What do you have specified in local_domain_maps? </p>
<p dir="ltr">What you're trying to achieve is scanning outgoing
mail in effect. </p>
<p dir="ltr">Simon<br>
</p>
<p dir="ltr">> On 24/09/2015 3:14 pm, Zhang Huangbin wrote:<br>
> >> On Sep 24, 2015, at 10:04 PM, Danny Horne <<a
moz-do-not-send="true" href="mailto:danny@trisect.uk"><a class="moz-txt-link-abbreviated" href="mailto:danny@trisect.uk">danny@trisect.uk</a></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 moz-do-not-send="true"
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
moz-do-not-send="true" href="http://www.iredmail.org/"><a class="moz-txt-link-freetext" href="http://www.iredmail.org/">http://www.iredmail.org/</a></a><br>
> > Time zone: GMT+8 (China/Beijing).<br>
><br>
><br>
</p>
</blockquote>
<br>
</body>
</html>