For anything going through qmail-smtpd, you will want to setup your qmail-smtpd/run file to include something like the following:
QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"; export QMAILQUEUE This should handle everything sent through that method. For anything directly injected, there's really not much that you can do to trap it, short of perhaps writing a wrapper for the inject. > Since I'm using vpopmail, qmail-scanner's faq explicitly says not to set > QMAILQUEUE in the tcp.smtp file because it'll get stripped. Thus this > won't > work. > > -Patrick > > Quoting Ahmad Masood Shah <[EMAIL PROTECTED]>: > >> vi /etc/tcp.smtp >> >> 127.0.0.1:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail- >> scanner-queue.pl" >> >> It will work :) >> >> -- >> >> Best Regs, >> Masood Ahmad Shah >> System Administrator >> >> ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ >> | * * * * * * * * * * * * * * * * * * * * * * * * >> | Fibre Net (Pvt) Ltd. Lahore, Pakistan >> | Tel: +92-42-6677024 >> | Mobile: +92-300-4277367 >> | http://www.fibre.net.pk >> | * * * * * * * * * * * * * * * * * * * * * * * * >> ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ >> Free Microsoft support: Retry, Reboot, Reinstall. >> "All I want is a few minutes alone with the source code for the universe >> and >> a quick recompile." >> >> >> ----- Original Message ----- >> From: <[EMAIL PROTECTED]> >> To: "qmail-scanner" <[EMAIL PROTECTED]> >> Sent: Saturday, May 31, 2003 5:15 PM >> Subject: [Qmail-scanner-general]local to local question >> >> >> > >> > >> > Is it possible to invoke qmail-scanner on local to local deliveries? >> I >> noticed >> > that it only seems to work on emails sent from a remote box to my box >> by >> > checking the headers. If I send from one local domain (cykotix.com) >> to >> another >> > local domain (realirc.org), both managed by vpopmail, qmail-scanner >> isn't >> > invoked. I couldn't find anything in the docs/faq. >> > >> > Any ideas? >> > >> > -Patrick >> > [EMAIL PROTECTED] >> > >> > ------------------------------------------------- >> > This mail sent through IMP: http://horde.org/imp/ >> > >> > >> > ------------------------------------------------------- >> > This SF.net email is sponsored by: eBay >> > Get office equipment for less on eBay! >> > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 >> > _______________________________________________ >> > Qmail-scanner-general mailing list >> > [EMAIL PROTECTED] >> > https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general >> > >> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: eBay >> Get office equipment for less on eBay! >> http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 >> _______________________________________________ >> Qmail-scanner-general mailing list >> [EMAIL PROTECTED] >> https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general >> > > > > > ------------------------------------------------- > This mail sent through IMP: http://horde.org/imp/ > > > ------------------------------------------------------- > This SF.net email is sponsored by: eBay > Get office equipment for less on eBay! > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Qmail-scanner-general mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general > -- Benjamin Tomhave, Senior Systems Engineer [EMAIL PROTECTED] Sofast Communications www.sofast.net ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general
