<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Thanks for the replies,<br>
<br>
I've tried both these options (and more), but Amavisd still doesn't
check local mail (at least there's no headers saying it has).<br>
<br>
Think I'll give up on this, it's looking like it might not be
possible without major reconfiguration (which I don't have the
stomach for at the moment)<br>
<br>
<div class="moz-cite-prefix">On 25/09/2015 12:02 pm, Simon B wrote:<br>
</div>
<blockquote
cite="mid:CAOmHMuE+KRU2kPb3nOLDVc=5L48BBZkLyTK6GkF6gGbNhNewSw@mail.gmail.com"
type="cite">
<p dir="ltr"><br>
On 25 Sep 2015 10:53, "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>
> $mydomain = '<a moz-do-not-send="true"
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
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>
>><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 moz-do-not-send="true" 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 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/">http://www.iredmail.org/</a><br>
>> > > Time zone: GMT+8 (China/Beijing).<br>
>> ><br>
>> ><br>
><br>
><br>
</p>
</blockquote>
<br>
</body>
</html>