List Info

Thread: Scanning relayed mail & bypassing mailman




Scanning relayed mail & bypassing mailman
country flaguser name
United Kingdom
2008-02-25 05:41:09
Hi,

I'm looking for some advice on bypassing spam checking for a
mailman
mailing list.

I've started hosting the email for a public announcement
mailing list of
~1300+ recipients. I had amavis running on Debian (stable)
with postfix,
and successfully checking mail destined for the machine.

But I also host aliases addresses for which mail is relayed
elsewhere.
The owners of these domains have asked for spam checking to
be done on
relayed mail.

I successfully altered the Debian default settings to
include scanning
of relayed mail (by scanning all outgoing mail). However the
problem
which now occurs is that all mail sent to the public mailing
lists is
being checked, and causing a huge load on the server when
ever a single
announcement is made.

How can I have:

     - relayed mail scanned
     - but avoid mailman lists being scanned
     - all messages (spam checked or not) to have headers
added.

(the mailman lists are on their own domains which helps).

Below is my current amavis setup (postfix config attached),
which seems
to avoid spam checking the original post to the mailing
list, but still
checks the mail sent by mailman out to all the recipients.

     chomp($mydomain = `head -n 1 /etc/mailname`);
     local_domains_maps = ( [qw( . )] );
     bypass_spam_checks_maps = ( [qw( lists.mydomain.com)]
);


I have been googling around for a few days now, and tried
many
combinations of configuration I've come across, but with no
real luck.

Cheers in advance,

Coops.


------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/
  
Re: Scanning relayed mail & bypassing mailman
country flaguser name
Slovenia
2008-02-25 09:58:33
Coops,

> I successfully altered the Debian default settings to
include scanning
> of relayed mail (by scanning all outgoing mail).
However the problem
> which now occurs is that all mail sent to the public
mailing lists is
> being checked, and causing a huge load on the server
when ever a single
> announcement is made.

Are you scanning mailing list messages twice, before and
after a mailing list
manager? This is wasteful, and redundant. Configure the ML
sw to send its
fan-out mail directly to MTA, e.g. to an unfiltered port
10025 (i.e. the
same port to which amavisd feeds its checked mail).
With mailman for example, one could do (in
Mailman/mm_cfg.py):
  SMTPHOST = 'localhost'
  SMTPPORT = 10025

> local_domains_maps = ( [qw( . )] );

Don't do that (except for short troubleshooting periods),
for an
increasing number of reasons. Your domains should be listed
explicitly.
The '.' wildcard causes all mail to be treated as incoming
or
internal-to-internal, which affects some decisions.

  Mark

------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

Re: Scanning relayed mail & bypassing mailman
country flaguser name
United Kingdom
2008-02-25 10:20:18
Mark Martinec wrote:
> ...
> With mailman for example, one could do (in
Mailman/mm_cfg.py):
>   SMTPHOST = 'localhost'
>   SMTPPORT = 10025
> ...
>   

Excellent. That's the kind of simple answer I've been
looking for.

Cheers.

Coops.

------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )