Re: RELAYCLIENT and QS_SPAMASSASSIN env vars ignored when set

"Jarbas Celante - CTE Internet" <[email protected]>
Newsgroups gmane.mail.qmail.scanner
Message-ID <[email protected]>
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.