In a process of deep
contemplation, Mark Martinec carefully constructed the following missive
on 8/19/2005 5:22 AM:
Justin,
I am finding quarantined emails to non-local users who are members of a
local mailman list using amavisd-new 2.3.2, postfix and spamassassin.
The quarantined email shows the X-Spam headers, even though the final
recipients are non-local.
...
OK, this is odd. I was looking over the quarantined message and realized
that there was a SECOND SET of headers:
...
Those are the default values. Note that at least one of the subscribers
to the mailing list _IS_ local - maybe that is causing the issue?
The quarantined message includes all original header fields, even the
X-Spam-*. An extra set of amavisd-new -generated X-Spam-* header
fields is appended as well, regardless of recipient being local or not.
Note that this is different from the passed messages, where existing
X-Spam-* headers fields are stripped (unless $remove_existing_spam_headers
is changed to false), and a new set is added for local recipients only.
How do I set up mailman to go ahead and send it out? Even better,
since the lists are set up for allowing post only from subscribers, I
shouldn't be bothering with mail to the list. I could set up the domain
for bypass_spam_checks, but would that work?
basically, how best to set up amavis/mailman ?
Let mailman submit to MTA on port 10025 to avoid re-checking:
mm_cfg.py :
SMTPHOST = 'localhost'
SMTPPORT = 10025
then if you think it is wise, you may also place a name
of the mailing list to bypass_spam_checks and spam_lovers
as you suggested. I wouldn't - to save mailing list administrator
having to manually delete all junk from non-members that
gets to mailman. Perhaps just rising the kill level for mailing
lists suffices.
Mark
OK, I think that makes sense. So the idea is this:
The email comes in fom submitter, and since the list domain is local,
it's scanned and headers are put in - then whether it's spam_lovers or
not will determine if it's deleted or not (There should be no quarantine
- I don't want the quarantine message going to the list!)
Once it's scanned, if it passes those checks AND passes mailman's checks
for subscription rules, it's submitted to the list members on port 10025
and processed by postfix, but not re-scanned. i.e. once it reaches that
point, the mail will be delivered.
Is that the correct sequence?
Thanks!
Justin
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/