Why not use amavisd-new. It is going to be a lot faster than reinjecting the email twice. It is very easy to set up and works great.
Here are two links to start you off. http://www.ijs.si/software/amavisd/ http://www.geocities.com/scottlhenderson/spamfilter.html Try it, I am sure you will be impressed. Bret. ---------- Original Message ---------- Subject: RE: [Dbmail] Adding a filter before messages put in mailbox? Date: Fri, 23 Aug 2002 16:42:02 -0500 From: "Butch Evans" <[EMAIL PROTECTED]> To: <dbmail@dbmail.org> I sent this to the list a few days ago, but got no response. Here is another try... -- Butch Evans 573-293-2638 BPS Networks PO BOX 550 114 W Main Bernie, MO 63822 > > e-mail alias > > [EMAIL PROTECTED] > > !/bin/spamassasin|/usr/local/sbin/dbmail-smtp -u eelco > > > > Instead of > > [EMAIL PROTECTED] eelco > > OK, perhaps it is just my build of dbmail-smtp, but I cannot > get this to > work. I have in my aliases table the following: > mysql> select alias,deliver_to from aliases where alias like > mysql> 'butchetesting%'; > +-------------------------------+----------------------------- > ---------- > ------------------------------------+ > > | alias | deliver_to > > +-------------------------------+----------------------------- > ---------- > ------------------------------------+ > > | [EMAIL PROTECTED] | !/usr/local/bin/spamc -f -p 3000 | > | /usr/local/sbin/dbmail-smtp -u butche | > > +-------------------------------+----------------------------- > ---------- > ------------------------------------+ > > mysql> select useridnr,userid from user where userid like 'butche'; > +----------+--------+ > > | useridnr | userid | > > +----------+--------+ > > | 2 | butche | > > +----------+--------+ > > When I send a message to that email address, I get (loglevel > 5): Aug 20 > 16:36:40 snoopy postfix/smtpd[71791]: connect from > butch.bpsnetworks.com[207.43.198.2] > Aug 20 16:36:40 snoopy postfix/smtpd[71791]: 61D3E2AB35: > client=butch.bpsnetworks.com[207.43.198.2] > Aug 20 16:36:40 snoopy postfix/cleanup[73599]: 61D3E2AB35: > message-id=<[EMAIL PROTECTED]> > Aug 20 16:36:40 snoopy postfix/qmgr[351]: 61D3E2AB35: > from=<[EMAIL PROTECTED]>, size=779, nrcpt=1 (queue active) Aug 20 > 16:36:40 snoopy spamd[49854]: connection from > localhost.bpsnetworks.com > [ 127.0.0.1 ] at port 3635 > Aug 20 16:36:40 snoopy spamd[75516]: Still running as root: user not > specified, not found, or set to root. Fall back to nobody. > Aug 20 16:36:40 snoopy spamd[75516]: clean message (1.9/5.0) for > dbmail:65534 in 0 seconds, 802 bytes. > Aug 20 16:36:40 snoopy dbmail/smtp[75515]: main(): scanner found no > email addresses (scanned for butche) Aug 20 16:36:40 snoopy > postfix/pipe[75511]: 61D3E2AB35: to=<[EMAIL PROTECTED]>, > relay=dbmail, delay=0, status=sent (bpsnetworks.com) Aug 20 16:36:43 > snoopy postfix/smtpd[71791]: disconnect from > butch.bpsnetworks.com[207.43.198.2] > > I have tried calling dbmail-smtp with -d (instead of -u) as > the man page > suggests, as well as the help screen from dbmail-smtp. Any > ideas, or do > I need to upgrade dbmail to make this work? _______________________________________________ Dbmail mailing list Dbmail@dbmail.org https://mailman.fastxs.nl/mailman/listinfo/dbmail ------------------------------------------------------- -- Bret Baptist Systems and Technical Support Specialist [EMAIL PROTECTED] Internet Exposure, Inc. http://www.iexposure.com (612)676-1946 x17 Web Development-Web Marketing-ISP Services ------------------------------------------ Today is the tomorrow you worried about yesterday.