Hi All,

 

I’ve added the following to my /etc/profile

 

export QMAILQUEUE='/usr/bin/qmail-spamc'

 

Now I am supposed to “add a similar line to the run script for the smtpd service”.

 

I believe this script is /var/qmail/rc which looks like the following.

 

#!/bin/sh

 

# Using splogger to send the log through syslog.

# Using qmail-local to deliver messages to ~/Mailbox by default.

 

exec env - PATH="/var/qmail/bin:$PATH" \

export QMAILQUEUE='/usr/bin/qmail-spamc'

qmail-start ./Maildir/ splogger qmail

 

 

Now when I run my startup script by doing /var/qmail/rc I get the following:

 

env: export: No such file or directory

 

However the /usr/bin/qmail-spamc is there. I did a “make qmail/qmail-spamc.c” from the spamassassin directory and then “cp qmail/qmail-spamc.c /usr/bin/qmail-spamc”

 

Does anyone see anything wrong with my process here? Maybe I need some more detailed instructions on how to get spamassassin working with qmail?

 

-Axiom

Reply via email to