Re: spam control for owners

John L <[email protected]> Fri, 25 May 2007 15:07:50 -0400 (EDT)
Newsgroups gmane.mail.majordomo.majordomo2.devel
Message-ID <[email protected]>
>> Properly configure spam filtering in your MTA. While Majordomo
>> could technically pass things to something like spamassassin, that
>> is really the wrong place for that kind of filtering. These days
>> all MTAs should support proper SMTP-time spam filtering.
>
> But wouldn't this apply to _all_ == incl. regular ML-traffic, too?
> I don't want regular mails from subscribers filtered, only spam sent
> to owners.

You can do it in your MTA either before or after mj2.  To do it before, do 
something like this in your aliases file or equivalent:

owner-foo: | spamassasin | something-that-discards-mail-marked-as-spam | mj2

Or to do it after, set the owners in mj2 to a new alias alias-for-foo, 
then:

alias-for-foo: | spamassassin | something-that-... | forward owner1 owner2


> When mails are sent to owners of lists of virt. domain A, they are
> still accepted and passed on to the real owners of lists used by
> virt. domain B.

Sounds like an MTA configuration error.  Have you perhaps made your 
mailing list domain an alias for your main domain rather than setting up 
its own set of aliases?

Regards,
John Levine, [email protected], Primary Perpetrator of "The Internet for Dummies",
Information Superhighwayman wanna-be, http://www.johnlevine.com, ex-Mayor
"More Wiener schnitzel, please", said Tom, revealingly.