On 25 Sep 2015 10:53, "Danny Horne" <[email protected]> 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 Simon > > On 24/09/2015 8:20 pm, Simon B wrote: >> >> >> On 24 Sep 2015 15:28, "Danny Horne" <[email protected]> wrote: >> > >> > Thanks for the link, I'd already found that but didn't understand it too >> > 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. >> >> Simon >> >> > On 24/09/2015 3:14 pm, Zhang Huangbin wrote: >> > >> On Sep 24, 2015, at 10:04 PM, Danny Horne <[email protected]> wrote: >> > >> >> > >> As stated, I'm running Postfix / Dovecot, I've never heard of iRedMail. >> > > 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. >> > > >> > >> 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). >> > >> > > >
