We have an smtp gateway which has been working perfectly for more than a year 
now. It has no pop3 and uses qmail-scanner-queue.pl along with csav a/v 
scanner and spamassassin. This working machine is running redhat 7.2.


I am currently setting up a replacement for this using redhat 9.  This is an 
exact mirror image of the working system, pulling all patched sources from 
it, recompiling under rh9, using errno patches where needed. The qmail system 
works perfectly. Once I installed the scanner, messages stop at the scanner 
and appear to not be passed on. The rh9 version of perl (5.8.0) denies suid, 
so I compiled a new version of perl (5.8.2), placing it in /usr/local instead 
of over top the existing one, and pointed the scanner perl script to it in 
stead. suid works properly.

When I change the program called in my tcp.smtp to qmail-queue it passes 
messages to my pop3 server just fine. 

however when I set it to qmail-scanner-queue.pl, and also if I change to use 
the wrapper (just as a test), I get a puzzling entry in the qmail-queue.log 
file - it goes through the internal tests for unwanted extensions, then exits 
with this:

05/01/2004 21:13:34:12623: d_m: unpacking message took 0.013942 seconds
05/01/2004 21:13:34:12623: unsetting QMAILQUEUE env var
05/01/2004 21:13:34:12623: g_e_h: no sender and no recips.
05/01/2004 21:13:34:12623: cleanup: /bin/rm -rf 
/var/spool/qmailscan/mailproc.sbbsnet.net107335521442612623/ 
/var/spool/qmailscan/working/new/mailproc.sbbsnet.net107335521442612623

it is at this point the message just vanishes. it never gets to qmail-remote, 
or at least there is no delivery entry in the log file.

In searching for g_e_h in the perl script, I find a comment entry about 
qmail-smtpd dropping the message, but no changes have been done to the smtpd 
calls at all. they remain the same, with only changing tcp.smtpd to call 
either the perl script, wrapper, or original qmail-queue.

Any suggestions/hints? Outside of incoming smtp and the qmail-queue log, there 
is no mention of the message or even failed components in *any* other logs. 
I'm baffled.

-- 

Chuck

"...and the hordes of M$*ft users descended upon me in their anger,
and asked 'Why do you not get the viruses or the BlueScreensOfDeath
or insecure system troubles and slowness or pay through the nose 
for an OS as *we* do?!!', and I answered...'I use Linux'. "
The Book of John, chapter 1, page 1, and end of book





-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to