Eric, Currently there is no method of calling an external program that I have seen in my poking around in the code. So you will probably have to do something like.
MTA -> amavis -> dbmail-lmtp delivery. Though usually in practice I've always seen it done as below. MTA (tcp/25) -> amavis -> MTA (tcp/26) -> dbmail-lmtp delivery. This way if lmtpd has a problem, the MTA can queue up delivery. Not quite sure how amavis would handle that. I wrote a patch to dbmail that allows the use of folders. We use amavisd-new to do the filtering, virus checking, etc. Then amavis will add a folder to the username if you hit the threshold. Then delivery is as normal, but the message will be sorted into the folder you added to the name. -- David A. Niblett | email: [EMAIL PROTECTED] Network Administrator | Phone: (352) 334-3400 Gainesville Regional Utilities | Web: http://www.gru.net/ -----Original Message----- From: Erik Kristensen [mailto:[EMAIL PROTECTED] Sent: Saturday, August 20, 2005 10:16 AM To: DBMail mailinglist; [EMAIL PROTECTED] Subject: Re: [Dbmail] Inline Spam Filter ... Great! Is there any documentation laying around that I can look at to be able to set this up? Also do you know how I should go about seeing if dbmail can call to an outside script upon mail receipt? Thanks! -Erik On 8/20/05, Georgy Goshin <[EMAIL PROTECTED]> wrote: > Hi, > > I think that the best way will be the second. And there is a lot of > choices > here: Amavis (amavis-ng, amavis-new) can be used together with antispam and > antivirus. The best choice fot antispam I think is a Spamassassin, it can > work thru amavises or directly with MTA (or even can be called by DBMail if > it is possible). I use spamassassin with sendmail thru spamass-milter and > clamav thru clamav-milter. > > Best, > Dmitri. > > > ----- Original Message ----- > From: "Erik Kristensen" <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Saturday, August 20, 2005 4:05 AM > Subject: [Dbmail] Inline Spam Filter ... > > > >I am looking to do use a PHP bayesian filter with dbmail ... > > > > I am wondering if there is one of two options available that I can > > do possibly... > > > > First, is there a way to when dbmail receives a message it calls to > > an outside script (the bayesian filter) to categorize the email? > > > > -or- > > > > Second, is there a way to put the bayesian filter inline in the mail > > handoff ... ie .. MTA -> bayesian filter -> dbmail > > > > Thanks all. > > > > -Erik > > _______________________________________________ > > Dbmail mailing list > > [email protected] https://mailman.fastxs.nl/mailman/listinfo/dbmail > > > > _______________________________________________ > Dbmail mailing list > [email protected] https://mailman.fastxs.nl/mailman/listinfo/dbmail > _______________________________________________ Dbmail mailing list [email protected] https://mailman.fastxs.nl/mailman/listinfo/dbmail
