Scan local mail
Danny Horne
danny at trisect.uk
Fri Sep 25 11:53:16 CEST 2015
$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?
On 24/09/2015 8:20 pm, Simon B wrote:
>
>
> On 24 Sep 2015 15:28, "Danny Horne" <danny at trisect.uk
> <mailto:danny at trisect.uk>> 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 <danny at trisect.uk
> <mailto:danny at trisect.uk>> 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).
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.amavis.org/pipermail/amavis-users/attachments/20150925/485236d2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.amavis.org/pipermail/amavis-users/attachments/20150925/485236d2/attachment.sig>
More information about the amavis-users
mailing list