* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2003-12-10 01:39]: > hello,
> how can i do the qmail-scanner work with the qmail-smtp-auth??? > where i hafe to define the QMAILQUEUE="/var/qmail/bin/xxx.pl" ??? if i donīt > use the smtp-auth then i usually put this in the /etc.smtp but i donīt know > where to put it when i use the smtp-auth or the roaming users with > vpopmail!!??? While there are other methods, I prefer patching vpopmail.c Search for the line: fprintf( fs1, "%s:allow,RELAYCLIENT=\"\",RBLSMTPD=\"\"\t%d\n", and replace it with fprintf( fs1, "%s:allow,RELAYCLIENT=\"\",RBLSMTPD=\"\",QMAILQUEUE=\"/var/qmail/bin/qmail-scanner-queue.pl\"\t%d\n", In other words: add QMAILQUEUE to the line vpopmail writes to the "open-smtp" file. Versions of vpopmail that are older than 5.3.2x (read twenty-something) need an additional patch some lines above: - while ( fgets(TmpBuf1, 100, fs ) != NULL ) { + while ( fgets(TmpBuf1, 150, fs ) != NULL ) { You may see if you need it, if the lines in "open-smtp" are truncated. You might also read the vpopmail list archive. Hope this helps, Alex -- Alex Pleiner zeitform Internet Dienste Fraunhoferstrasse 5 64283 Darmstadt, Germany http://www.zeitform.de Tel.: +49 (0)6151 155-635 mailto:[EMAIL PROTECTED] Fax: +49 (0)6151 155-634 GnuPG/PGP Key-ID: 0x613C21EA ------------------------------------------------------- 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_id78&alloc_id371&op=click _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general