I don't understand.

My authentication is "authdaemon".
I'm using virtual users with the userdb file.
Each user has the same home, but a different mailbox.
noah uid=8680|gid=1000|home=/data/Mail|mail=/data/Mail/noah|systempw=xxxxxxx


Is there another way to do this? I would really like to have all mail filtered through spamassasin. Additionally, it would be nice to understand where/how to set up additional mail filters for each user.

Please help, I get hundreds of spam a day. I'm desperate.

-N



Sam Varshavchik wrote:

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.





------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to