Hi,
I've searched through the archive but not found any sort of answer to this
problem - so hope someone on this list with a different view can give me
some hints.
I've set up older versions of qmail-scanner on a number of other machines
and it has worked perfectly, but on my home server it acts
oddly. Basically any mail that is sent through QMS disappears into a void
with no delivery taking place - however one good clue is in the debug log
which has this line:
06/07/2002 18:30:57:7200: g_e_h: no sender and no recips.
Another useful line in the debug:
01/07/2002 23:16:25:1697: incoming SMTP connection from via smtp from
203.29.67.171
That would be from...who exactly? :P Note that the senders return address
is not picked up. In the QMS script this is picked from a variable called
"$smtp_sender" which seems to be blank.
I'm running this on a Redhat 8.0 beta machine which has perl 5.8.0RC
releases, although I haven't tried it on 7.3, I have downgraded perl to the
7.3 release and the problem remains. I've also changed kernels to see if
there was a difference (none) and tried running via the wrapper binary
instead of calling QMAILQUEUE from tcpserver.
tcpserver is being called with these parameters from my qmail init script:
/usr/bin/tcpserver -x /etc/tcpcontrol/tcp.smtp.cdb -c 2 -u 32000 \
-g 32000 tornado.reub.net smtp /var/qmail/bin/qmail-smtpd \
2&>1 | /var/qmail/bin/splogger smtpd 3 &
Yes, qmail-scanner-queue.pl is setuid qmailq (4755, qmailq) and can write
to /var/spool/qmailscan and all files within it. id 32000 is qmaild, btw.
In /var/log/mail this is logged:
Jul 6 18:56:53 tornado 2[7407]: From: [EMAIL PROTECTED] [EMAIL PROTECTED]
typhoon.reub.net (203.29.67.171)
...but that's it. Mail gone.
In /var/spool/qmailscan/qmail-queue.log I get this:
<stuff before snipped out>
Files: 2
MBRs: 0
Boot sectors: 0
Objects scanned: 2
Time: 0:00
No viruses or suspicious files/boot sectors were found.
--
06/07/2002 18:56:54:7408: fprot: finished scan of dir
"/var/spool/qmailscan/tornado10259458144087408" in 0.217957 secs
06/07/2002 18:56:54:7408: scanloop: finished scan of
"/var/spool/qmailscan/tornado10259458144087408"...
06/07/2002 18:56:54:7408: d_m: unpacking and scanning message took 0.258791
seconds
06/07/2002 18:56:54:7408: unsetting QMAILQUEUE env var
06/07/2002 18:56:54:7408: g_e_h: no sender and no recips.
06/07/2002 18:56:54:7408: cleanup: /bin/rm -rf
/var/spool/qmailscan/tornado10259458144087408/
/var/spool/qmailscan/working/new/tornado10259458144087408
<end>
I've replaced qmail-queue with that from another machine as well as that of
qmail-inject to check, still no go.
One more thing! If I start QMS with the -w option, I get this:
----------------
bash-2.05a$ /var/qmail/bin/qmail-scanner-queue.pl -v
Segmentation fault
bash-2.05a$ /var/qmail/bin/qmail-scanner-queue.pl -v
"my" variable $smtp_sender masks earlier declaration in same scope at
/var/qmail/bin/qmail-scanner-queue.pl line 328.
"my" variable $remote_smtp_ip masks earlier declaration in same scope at
/var/qmail/bin/qmail-scanner-queue.pl line 328.
"my" variable $spamassassin_status masks earlier declaration in same scope
at /var/qmail/bin/qmail-scanner-queue.pl line 1530.
qmail-scanner-queue.pl
Version: 1.12
Perl: Summary of my perl5 (revision 5.0 version 8 subversion 0)
configuration:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic
-Wl,-rpath,/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE'
/usr/lib/perl5/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl
Scanners: perlscanner, fprot, spamassassin
Scanner versioning: F-PROT: 3.12spamassassin: 2.31.
Operating System: Linux, 2.4.19-pre10
Hardware: i686
-----------------
Is that a hint? :)
Has anyone got any ideas as to what it may be, what else I can test to help
me find out what is going on, or what more information I should post? I've
almost gone mad trying to nut out what is wrong...
Thanks,
REuben
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Got root? We do.
http://thinkgeek.com/sf
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general