-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Content-Type: text/plain; charset=us-ascii
In message <[EMAIL PROTECTED]>, Daniel Czarnecki writes: >I have 2 Qmail processes running. The first excepts connections on port >25 on all interfaces and forwards them to port 26 on 127.0.0.1. > >I have 127.0.0.1:allow,RELAYCLIENT="" in my smtp.rules file. > >I would like qmail-scaner-queue.pl to only scan incoming messages. >However the line of code: return if (defined($ENV{'RELAYCLIENT'})); >checks for RELAYCLIENTS and obviously 127.0.0.1 is always going to be a >rely client and therefore will not be scanned. How could we overcome >this? Can you do a test to see if the originating IP is in the >RELAYCLIENT list and if so not run spam assassin? i.e. not the last ip >to connect to the script but the originator. Second reply, different from the first... You have two options. 1) Remove 127.0.0.1:allow,RELAYCLIENT="" from your smtp.rules file. Local clients can use qmail-inject or qmail-smtpd to send mail and don't need to connect to localhost. 2) Comment out the "return if (defined($ENV{'RELAYCLIENT'}));" from qmail-scanner-queue.pl - -- Ted Cabeen http://www.pobox.com/~secabeen [EMAIL PROTECTED] Check Website or Keyserver for PGP/GPG Key BA0349D2 [EMAIL PROTECTED] "I have taken all knowledge to be my province." -F. Bacon [EMAIL PROTECTED] "Human kind cannot bear very much reality."-T.S.Eliot [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (OpenBSD) Comment: Exmh version 2.5 07/13/2001 iD8DBQE9GfJ5oayJfLoDSdIRAmBhAKDGtTmHHySjDN/OZBczHJpIscV0LQCfR64M et+q6KwVsIPR/xTn0PFeKaU= =fyuz -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by: Jabber Inc. Don't miss the IM event of the season | Special offer for OSDN members! JabberConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general