> PATH=/bin:/usr/bin:/usr/local/bin:/usr/sbin:/var/qmail/bin; export PATH
>
> readdefault() {
> var=$1; shift
> file=$1; shift
> if [ -s /var/qmail/control/$file ]; then
> export $var="`cat /var/qmail/control/$file`"
> else
> export $var="$*"
> fi
> }
>
> if [ -x /usr/local/bin/rblsmtpd ]
> then
> readdefault domains rbldomains ""
> for domain in $domains; do
> rblopts="$rblopts -r $domain"
> done
> readdefault timeout rbltimeout 60
> if [ -n "$rblopts" ]; then
> rbl="/usr/local/bin/rblsmtpd -t $timeout $rblopts"
> fi
> fi
>
> exec envdir /etc/relay-ctrl relay-ctrl-chdir \
> softlimit -a 20000000 tcpserver -s 5 -p -R -x /etc/tcp.smtp.cdb -u82
> -g81 -v -c100 0 \
> smtp $rbl relay-ctrl-check qmail-smtpd 2>&1
>
It's completely different from my way to work but I would recommend you
performed a test setting your env vars here. It's something like this:
...
VCHKPW=/usr/vpopmail/bin/vchkpw
TRUE=/usr/bin/true
DOMAIN=domain.net
QMAILQUEUE=/var/qmail/bin/qmail-scanner-queue.pl
WHAT_YOU_WANT=xxxxxxxxxxxxx
export QMAILQUEUE
export WHAT_YOU_WANT
exec ${SOFTLIMIT} -m20000000 ${TCPSERVER} -l0 -H ...
...
I think it's not exactly what you want to do but it's a good attempt to
debug or discover what is really happening.
I hope I could help you.
Cheers.
Jarbas Celante
CTE Internet - O seu provedor de acesso!
Erechim - RS - Brasil
+55 (54) 3522 9300
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Qmail-scanner-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general