On 08/20/2012 01:59 PM, David Good wrote:
On 8/20/2012 3:52 PM, David Good wrote:

On 8/20/2012 3:05 PM, Kelly Cobean wrote:
I did add the QMAILQUEUE line as mentioned in #2 above and restarted
qmail
via qmailctl.  Unfortunately, I still don't see any spam headers in
received email.

sorry, the QMAILQUE bit needs to be on the line that just starts with a
colon, that is the default processing instruction line.

the default tcp.smtp file has 2 lines

127:blah
:blah,blah, blah,QMAILQUE....(<---move it to here)

qmailctl cdb

qmailctl restart


---------------------------------------------------------------------

Thanks for helping out, David.

Just for the record, doing "qmailctl restart" should not be necessary in this instance. When cdb files are modified by the cdb option, they are automagically refreshed by whatever process uses them.

The restart function only restarts the qmail-smtpd process on port 25 and the qmail-send process (only). I just had a look at the code, and come to think of it, it should probably be restarting the qmail-smtpd on port 587 as well. It's a little confusing, as "restart" only acts on qmail processes, while "start" and "stop" affect everything that supervise controls under the /var/qmail/supervise tree, including spamd, clamd, etc.

Also FWIW, doing "qmailctl" is the same as "service qmail". They both run the exact same code.

--
-Eric 'shubes'




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to