I'm feeding dspam (3.8.0) over LMTP from an MTA, and using SMTP to deliver to a second MTA instance.
Basically, I want dspam to send to the 2nd MTA the same 'RCPT TO' it received, while using one global user for processing. But with the config below, dspam always uses [EMAIL PROTECTED] (the global user) as 'RCPT TO' when delivering to the second MTA instance. Dspam running is as daemon in a separate box, and I have this in my dspam.conf: DeliveryHost 1.2.3.4 DeliveryPort 25 DeliveryIdent dspam-server DeliveryProto SMTP ServerPort 2500 ServerQueueSize 32 ServerMode standard ServerParameters "--deliver=innocent,spam --user [EMAIL PROTECTED]" doc/relay.txt says: ---- To do this, just follow the README directions for setting one up and leave everything the way it is. If, however, you insist on a single global group, you'll need to make one change to dspam.conf to accomodate this configuration. Add --user [globaluser] to your ServerParameters property. This will cause all mail to be processed using this user, but will still deliver using the recipient information. ------ and the dspam.conf says: ---- # NOTE: If you specify --user in ServerParameters, the RCPT TO will be # used only for delivery, and not set as the active user for processing. ---- What am I missing here? Cheers I compiled dspam with: ./configure \ --with-dspam-home-mode=770 \ --with-dspam-home-owner=dspam \ --with-dspam-home-group=dspam \ --with-dspam-mode=2510 \ --with-dspam-owner=dspam \ --with-dspam-group=dspam \ --with-storage-driver=mysql_drv \ --with-mysql-includes=/opt/csw/mysql5/include/mysql \ --with-mysql-libraries=/opt/csw/mysql5/lib/mysql \ --enable-long-usernames \ --enable-virtual-users \ --enable-domain-scale \ --enable-daemon \ --with-logdir=/var/log/dspam \ --sysconfdir=/opt/etc \ --with-dspam-home=/var/dspam \ --prefix=/opt/dspam-3.8.0
