On Thu, 2004-01-08 at 02:57, Samuel Murez wrote: > Hello-- > > I'm back and have been working all this time trying to get qmail + > qmail-scanner + vpopmail + getmail to play nice together. Gour has been > helping me but at this point we're both stuck. Please give me some hints > ... I don't know where to look to see what's happening when qmail-inject > injects the message. > > My basic setup is fine ie if somebody sends me mail to a local > (vpopmail) account, it gets scanned by qmail-scanner (extra headers > written, and delivered). > > What doesn't work, is when getmail delivers via qmail-inject, > qmail-scanner doesn't scan ! > > /etc/tcp.smtp : > > # No Qmail-Scanner at all for mail from 127.0.0.1 > 127.:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-queue" > # Use Qmail-Scanner with SpamAssassin on any mail from the rest of the world > :allow,QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"
qmail-inject does not make a SMTP connection, it inserts directly into the queue. (Check the qmail "big picture" diagrams). So you need to set the QMAILQUEUE environment var before you run getmail. Big Picture: http://www.nrg4u.com/qmail/the-big-qmail-picture-103-bw-a4.pdf -- Greg
signature.asc
Description: This is a digitally signed message part