On Mon, Oct 06, 2003 at 06:29:17PM -0300, Eduardo Gargiulo wrote:QMAILQUEUE="/usr/local/bin/spamassassin -P" export QMAILQUEUE...but the messages are not delivered. The logs says "unable to exec qq".
Is eem to remember, that the QMAILQUEUE-Variable does not contain a program's 'call' but ONLY THE PATH!
So to add the Parameter '-P' you would need to write a script, then put the Script's PATH (without parameters) in QMAILQUEUE.
BUT if your 'spamassassin' is 'new enough' it will *DEFAULT* to exactly this '-P', so you should try first just to remove the ' -P' and run it with:
QMAILQUEUE="/usr/local/bin/spamassassin"; export QMAILQUEUE
Thanks! it was one of the problems ;)
After remove -P, the qmail accepted the messages (I also increase memory to 20M), but the smtpd log says
@400000003f82e3f108213ed4 Cannot write to /var/qmail/.spamassassin/user_prefs: No such file or directory @400000003f82e3f1082a56f4 Failed to create default user preference file /var/qmail/.spamassassin/user_prefs @400000003f82e40423acc63c tcpserver: end 8374 status 0 @400000003f82e40423ad23fc tcpserver: status: 0/20
how should I create those directories/files with qmaild permissiones? I mean if there is some spamassassin command to create them or should I do it by hand.
(PS. the Semicolon makes it old-'sh' compatible)
I also remove de semicolon.
thanks again and sorry for my english
-ejg
pgp00000.pgp
Description: PGP signature