Scan local mail

Danny Horne danny at trisect.uk
Fri Sep 25 13:32:49 CEST 2015


Thanks for the replies,

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).

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)

On 25/09/2015 12:02 pm, Simon B wrote:
>
>
> On 25 Sep 2015 10:53, "Danny Horne" <danny at trisect.uk
> <mailto:danny at trisect.uk>> wrote:
> >
> > $mydomain = 'trisect.uk <http://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" <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/daba2149/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/daba2149/attachment.sig>


More information about the amavis-users mailing list