[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [vps-mail] Spamassassin with Mailman on VPS1
- Subject: Re: [vps-mail] Spamassassin with Mailman on VPS1
- From: Bennett Lanford <benlanford@xxxxxxxxx>
- Date: Tue, 21 Jun 2005 10:34:30 -0600
On 6/21/05, Scott Wiersdorf <scottw@xxxxxxxxxxxx> wrote:
> On Tue, Jun 21, 2005 at 07:46:32AM -0700, Abigail Marshall wrote:
> > So my question -- has anyone been successful in using Spamassassin
> > with Mailman on a VPS1? If so, how do you set it up?
>
> Abigail,
>
> Here's something you can look at:
>
> <http://www.technoids.org/procmailfilter.html>
>
> It allows sendmail to process mail through procmail even when it is
> destined for an alias.
I actually use the above technique (which is also described on the
main procmail man page--but difficult to understand there) on one of
my mail servers. However, it doesn't play well with CPX: the main
problem is that the technique will cause sendmail to accept all
incoming mail before funneling it to procmail--even if blocked by a
wildcard "nouser" in virtusertable. Then (when the mail is later
rejected as it checks virtusertable), sendmail has to construct a
bounce e-mail message, which--since it is replying to a spammer
address that doesn't exist--will result in a double bounce sent back
to your postmaster ... Ugly.
Weldon does offer a solution at
http://technoids.org/procmailfilter.html#Appendix, which involves
using access.db. That works OK unless you also use CPX, which requires
a wildcard "nouser" in virtusertable, and requires that you duplicate
much of virtusertable in access.db (yuck)!
I've probably lost you. To summarize: The technique described above
will definitely accomplish what you want, but it is scary to
implement. (Good luck!)
Oh, BTW, I use mailman on another of my servers (also VPS2), and use
mailman's user-contributed mm-handler mailer (instead of procmail or
mail.local). It is written in perl, so you *might* be able to
integrate procmail into it someway. (The thing I like about using
mm-handler is that you can add mail lists without modifying aliases or
virtusertable--everything is through the web interface.)
--
Bennett Lanford <benlanford@xxxxxxxxx>
There are 10 kinds of people: those that understand binary and those that don't.
======================================================================
This is <vps-mail@xxxxxxxxxxxx> <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).
Main Index |
Thread Index