> 
> 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?



--
Butch Evans
573-293-2638
BPS Networks
PO BOX 550
114 W Main
Bernie, MO 63822

Reply via email to