bah, I forget half of the story again.
pbsset is to be called directly after pbscheck. example run file:
#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
exec env - LOGLEVEL=3 SANITYCHECK="" \
/usr/local/bin/softlimit -m 2000000 \
/usr/local/bin/tcpserver -R -v -x /etc/tcp.smtp.cdb \
-u $QMAILDUID -g $NOFILESGID -l smtp.bsws.de 213.128.133.139 25 \
/var/qmail-customer/bin/pbscheck \
/var/qmail-customer/bin/pbsset \
/var/qmail-customer/bin/qmail-smtpd \
/var/qmail-customer/bin/auth_smtp 2>&1
example received line:
Received: from skywalker.bsws.de (HELO skywalker)
(2stupid.net-test[pbs]@[213.128.133.5])
(envelope-sender <[EMAIL PROTECTED]>)
by smtp.bsws.de (qmail-ldap-1.03) with SMTP
for <[EMAIL PROTECTED]>; 17 May 2002 16:53:52 -0000
I also hav a small patch for the smtp auth patch causing the received line
to look like
Received: from skywalker.bsws.de (bsws.de-lists[smtpauth]@[213.128.133.5])
(envelope-sender <[EMAIL PROTECTED]>)
by smtp.bsws.de (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP
for <[EMAIL PROTECTED]>; 17 May 2002 13:39:28 -0000
if anyone is interested in the latter drop me a note, it is a bit ugly -
using a stralloc just for the string manipulation (and to avoid str[n|l]cpy)
isn't the nicest thing I can think of.
--
| Henning Brauer | PGP-Key: http://misc.bsws.de/hb/pubkey.asc
| BS Web Services | Roedingsmarkt 14, 20459 Hamburg, DE | http://bsws.de
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)