Scan local mail
simon.buongiorno at gmail.com
Fri Sep 25 13:02:19 CEST 2015
On 25 Sep 2015 10:53, "Danny Horne" <danny at trisect.uk> wrote:
> $mydomain = 'trisect.uk'; # a convenient default for other settings
> @local_domains_maps = ( [".$mydomain"] ); # list of all local domains
> 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?
@local_domains_maps = ( ["."] ); # list of all local domains
Or maybe just
@local_domains_maps = ( . ); # list of all local domains
I don't remember
> On 24/09/2015 8:20 pm, Simon B wrote:
>> On 24 Sep 2015 15:28, "Danny Horne" <danny at trisect.uk> wrote:
>> > Thanks for the link, I'd already found that but didn't understand it
>> > well, guess I just need to keep reading.
>> > Just to clarify, incoming emails from external domains are sent through
>> > Amavisd, emails sent between accounts on the same local domain are not.
>> What do you have specified in local_domain_maps?
>> What you're trying to achieve is scanning outgoing mail in effect.
>> > On 24/09/2015 3:14 pm, Zhang Huangbin wrote:
>> > >> On Sep 24, 2015, at 10:04 PM, Danny Horne <danny at trisect.uk> wrote:
>> > >>
>> > >> As stated, I'm running Postfix / Dovecot, I've never heard of
>> > > 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
>> > >
>> > >> By 'local mail', I mean email that's being sent to an account on the
>> > >> same domain.
>> > > 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:
>> > > http://www.ijs.si/software/amavisd/README.postfix.html
>> > >
>> > > ----
>> > > Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
>> > > Time zone: GMT+8 (China/Beijing).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the amavis-users