hi all,

at time i am trying to set up qmail-scanner - qmail is already running
(already 3-4 years). QMAILQUEUE patch is applied and working.

So i've altered tcp.smtp so that from an specified ip (where i have
access) mails get through qmail-scanner-queue - which also works (i can
see the logs). But the mails are getting lost after qmail-scanner-queue
and i don't know exactly why.

here my qmail-scanner-queue.pl -v
--------------
qmail-scanner-queue.pl
 
Version: 1.13
 
Perl:    Summary of my perl5 (revision 5.0 version 6 subversion 1)
configuration:
    config_args='-Dccflags=-DDEBIAN -Dcccdlflags=-fPIC
-Darchname=i386-linux -Dprefix=/usr -Dprivlib=/usr/share/perl/5.6.1
-Darchlib=/usr/lib/perl/5.6.1 -Dvendorprefix=/usr
-Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/perl5
-Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.6.1
-Dsitearch=/usr/local/lib/perl/5.6.1 -Dman1dir=/usr/share/man/man1
-Dman3dir=/usr/share/man/man3 -Dman1ext=1 -Dman3ext=3perl
-Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Uusesfio -Duseshrplib
-Dlibperl=libperl.so.5.6.1 -Dd_dosuid -des'
    /usr/lib/perl5
    /usr/share/perl5
 
Scanners: perlscanner, clamscan_scanner
 
Scanner versioning: clamscan: 0.65.
 
Operating System: Linux, 2.4.18
Hardware:         i686
-----------------

and here are the log entries:
-----------------
07/01/2004 17:38:05:12880: +++ starting debugging for process 12880 by
uid=0 at 07/01/2004 17:38:05
07/01/2004 17:38:05:12880: setting UID to EUID so subprocesses can
access files generated by this script
07/01/2004 17:38:05:12880: program name is qmail-scanner-queue.pl,
version 1.13
07/01/2004 17:38:05:12880: incoming pipe connection from via local
process 12880
07/01/2004 17:38:05:12880: w_c: mkdir
/var/spool/qmailscan/kenobi107349348542312880
07/01/2004 17:38:05:12880: w_c: start dumping incoming msg into
/var/spool/qmailscan/working/tmp/kenobi107349348542312880
[1073493485.7139]
07/01/2004 17:38:05:12880: w_c: rename new msg from
/var/spool/qmailscan/working/tmp/kenobi107349348542312880 to
/var/spool/qmailscan/working/new/kenobi107349348542312880
[1073493485.71513]
07/01/2004 17:38:05:12880: d_m: starting /usr/bin/reformime 
-x/var/spool/qmailscan/kenobi107349348542312880/
</var/spool/qmailscan/working/new/kenobi107349348542312880
[1073493485.71584]
07/01/2004 17:38:05:12880: d_m: finished /usr/bin/reformime 
-x/var/spool/qmailscan/kenobi107349348542312880/ [1073493485.72659]
07/01/2004 17:38:05:12880: d_m: Checking all attachments to see if
they're MS-TNEF
07/01/2004 17:38:05:12880: d_m: is
/var/spool/qmailscan/kenobi107349348542312880/1073493485.12882-0.kenobi
is a TNEF file?: -1 [1073493485.72934]
07/01/2004 17:38:05:12880: d_m: Manually unpack any zip files as some
virus scanners don't do zip under Unix!
07/01/2004 17:38:05:12880: d_m: unpacking message took 0.014214 seconds
07/01/2004 17:38:05:12880: unsetting QMAILQUEUE env var
07/01/2004 17:38:05:12880: g_e_h: no sender and no recips.
07/01/2004 17:38:05:12880: cleanup: /bin/rm -rf
/var/spool/qmailscan/kenobi107349348542312880/
/var/spool/qmailscan/working/new/kenobi107349348542312880
--------------

there is one line "g_e_h: no sender and no recips." which i think is the
relevant part. I've taken a short look into the source code - but i
don't know what went wrong there.

Anyone here who knows what went wrong ?

have a nice day
Wolfgang



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to