tcp.smtp and qmail-smtpd/run script question

Philip Rhoades <[email protected]> Mon, 04 Jun 2018 06:39:54 +1000
Newsgroups gmane.mail.qmail.general
Message-ID <[email protected]>
People,

These are the last lines I have in my qmail-smtpd/run script:

   /usr/local/bin/tcpserver -v -R -H -l "$LOCAL" \
     -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \
     -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \
     /usr/local/bin/spamdyke -f /etc/spamdyke.conf \
     /var/qmail/bin/qmail-smtpd 2> /var/log/spamdyke.log

Now spamdyke is not allowing mail to be relayed from local machines - 
physical, virtual and Docker containers.

I am wondering if there is some scripting magic for this run file which 
will cause the ip addresses that are allowed to relay (ie the ones which 
appear in tcp.smtp) to be skipped by the spamdyke check somehow? - some 
sort of "if then / else / fi" thing?

Thanks,

Phil.
-- 
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  [email protected]