Salvatore,
Even if I install this patch.. it's still gonna apply only when it reaches
qmail and not before. QS is working before qmail is working and so this
won't do much good.

Am I wrong?


You can find some documentation in the source of qmail, whe a mail arrives qmail (understood as a group of programs) deal it more or less in this way:


1) tcp-server open a socket, recieves tcpremoteip, checks tcp.smtp.cdb, accept or not and sets some enviroment variables.

2) rblsmtpd is called (if it is configured)

3) qmail-smtpd starts his dialog gets the DATA, checks badmailfrom (and other stuff, databytes, rcpthosts...) and invokes qmail-queue (or what it set in the enviroment variabile), doesn't close the connection

4) qmail-queue get the messages and try to save it to disk, or qmail-scanner does some scanner. If it returns and exit 0, qmail-smtpd close the connection, and the message go ahead to qmail-send. Or if it returns an error code qmail-smtpd answer the remote server that there is some kind of problem.

5) At this point qmail-send read the file from the disk and starts a local o remote delivery, if it is a local delivery it search for the user...

So I think that that patch would work in step 3, so qmail-scanenr won't receive the messages.

I'm sorry if I have annoyed you with all of this...

Salvatore


------------------------------------------------------- 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_id=1278&alloc_id=3371&op=click _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to