spamdyke always sets the RELAYCLIENT environment variable when it has 
enough information to control relaying itself (instead of letting qmail 
or some other downstream filter block relaying). Because of the way 
environment variables work, it is not possible to only set RELAYCLIENT 
when the client authenticates -- it must be set for all clients or none 
at all.
http://www.spamdyke.org/documentation/FAQ.html#SUGGESTION7

Looking through the source code for simscan on Inter7's site, I don't 
see a way to force it to scan messages when RELAYCLIENT is set. There 
may be a patch available to modify its behavior however, I didn't look 
for one.

-- Sam Clippinger

Martin Kos wrote:
> hi
>
> i am using qmail with vpopmail, simscan and spamdyke and chkuser. i
> would like to have on the same IP/port qmail accepting mails for my MX
> configured hosts and also relaying for SMTP AUTH authenticated users.
>
> in the first case, spamdyke does all its checks and afterwards simscan
> gets called as the QMAILQUEUE is always set in my run-script.
>
> in the second case, after spamdyke simscan gets also called and does the
>   spam and virus checking.
>
> simscan calls spamassassin only when the RELAYCLIENT variable is NOT
> set. but as far as i can see, spamdyke does always set the RELAYCLIENT
> variable and not only for SMTP AUTH users? am i missing something?
>
> my spamdyke.conf:
> log-level=info
> idle-timeout-secs=300
>
> tls-level=smtp
> tls-certificate-file=/var/qmail/control/servercert.pem
>
> smtp-auth-level=ondemand-encrypted
> smtp-auth-command=/home/vpopmail/bin/vchkpw /bin/true
>
> local-domains-file=/var/qmail/control/rcpthosts
> local-domains-file=/var/qmail/control/morercpthosts
>
> relay-level=normal
>
> graylist-dir=/home/vpopmail/graylist
> graylist-level=always-create-dir
> graylist-min-secs=120
> graylist-max-secs=1814400
>
> reject-missing-sender-mx
>
> thanks for giving me a hint :-)
>
> greets
>   KoS
>
>
> _______________________________________________
> spamdyke-users mailing list
> [email protected]
> http://www.spamdyke.org/mailman/listinfo/spamdyke-users
>   
_______________________________________________
spamdyke-users mailing list
[email protected]
http://www.spamdyke.org/mailman/listinfo/spamdyke-users

Reply via email to