Noah Silverman writes:

Hi,

Sorry to keep throwing problems out to the group, but this thing is really tricky to configure.

I'm trying to get ALL incoming mail to run through spamassassin. (no exceptions, ever.)

I've put the following line in courierd:

courierd:DEFAULTDELIVERY="| /usr/local/bin/spamc -f | /usr/lib/courier/bin/maildrop"

I don't get any errors. Mail is delivered just fine, BUT there isn't one mark on the mail to indicate that spamassassin has evaluated it.

I know that spamd is running and that spamc works. I can execute the followig from a command line and it works fine.
cat foo.txt | /usr/local/bin/spamc -f


help?

Look at your authentication configuration. DEFAULTDELIVERY is used only when:

A) $HOME/.courier does not exist.

B) The default system mailbox location is always $HOME/Maildir, because
  whatever authentication module you are using, you are not explicitly
  specifying the account's mailbox location, thus it defaults to
  $HOME/Maildir.



Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to