Comment 1 for bug 776753

Revision history for this message
halfgaar (wiebe-halfgaar) wrote :

I confirmed that running "MailScanner --lint" as user postfix (which it should, according to my configuration) doesn't give that error. I set postfix' shell to /bin/bash and ran

su -c "MailScanner --lint" postfix

successfully.

The fix posted in that forum post (adding -c ${user} to the start-stop-daemon command) may work, but it's not the way it should (for one, my working Debian install doesn't have this). Apparently, MailScanner doesn't set its run-as user properly, even though ps axu shows:

postfix 11138 0.2 3.3 106580 33892 ? SNs 09:34 0:00 MailScanner: starting children
postfix 11139 7.2 0.0 0 0 ? ZN 09:34 0:01 [MailScanner] <defunct>
postfix 11173 10.0 0.0 0 0 ? ZN 09:34 0:01 [MailScanner] <defunct>
postfix 11269 15.8 0.0 0 0 ? ZN 09:34 0:01 [MailScanner] <defunct>
postfix 11303 26.2 0.0 0 0 ? ZN 09:34 0:01 [MailScanner] <defunct>
postfix 11354 70.5 8.1 174156 82940 ? SN 09:35 0:01 MailScanner: checking with Spam Lists
postfix 11364 2.0 7.9 178376 80976 ? RNs 09:35 0:00 MailScanner: checking with Spam Lists