Re: Reinjecting email after quarantine

John Simpson <[email protected]>
Newsgroups gmane.mail.qmail.scanner
Message-ID <[email protected]>
On 2006-12-28, at 0514, Miloska wrote:
>> then decide to let it pass through normal at a later time. Does is  
>> have to
>> be re-injected with qmail-inject or qmail-queue?
>
> use qmail-inject for that.
> be careful, qmail-scanner won't scan the mail if you use qmail-inject

unless you set (and export) the QMAILQUEUE environment variable  
before running qmail-inject, of course.

and yes, you can do this... with the QMAILQUEUE patch, the QMAILQUEUE  
environment variable is recognized by any program which calls the  
qmail_open() function... which means all of the following:

condredirect
forward
qmail-inject
qmail-local
qmail-qmqpd
qmail-qmtpd
qmail-send
qmail-smtpd
qreceipt

any time any of these programs needs to inject a message into the  
queue, it calls the qmail_open() function- which normally runs the  
"qmail-queue" program, but with the patch, if the QMAILQUEUE  
environment variable exists, it will run the named program instead.

----------------------------------------------------------------
| John M. Simpson    ---   KG4ZOW   ---    Programmer At Large |
| http://www.jms1.net/                         <[email protected]> |
----------------------------------------------------------------
| http://video.google.com/videoplay?docid=-4312730277175242198 |
----------------------------------------------------------------

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Qmail-scanner-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general
PGP.sig (application/pgp-signature, 186 B) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.