Hi Everyone, I am trying to set up a new mail server with spam filtering using procmail.

 

My MTA is Postfix 1.1.11, configured with

mailbox_command = /usr/bin/procmail USER=$USER EXTENSION=$EXTENSION

which seems to get the mail over to procmail, which then uses procmail filters to filter out the spam.

 

My cyrus version right now is v2.1.9.

 

Then I use deliver to deliver the message to the correct mailbox depending on if it is spam or a good message…

 

The problem I seem to be having is that for some reason my mailbox which is set up as (cyradm output)

lam user.bill

bill lrswipcda

 

By default, but this does not work, when I try the deliver by hand, the message just disappears.

If I change the permissions to add anyone capabilities (someone other than the mailbox user) then I can use the

deliver command by hand, and it will successfully deliver the message to the correct mailbox.

 

> lam user.bill

bill lrswipcda

anyone lrswipcda

 

> lam user.bill.SPAM

bill lrswipcda

anyone lrswipcda

 

So, I have a few questions for the experts out there:

What are the repercussions of adding this permission set to the mailboxes?

Is this the best way to get the mail into procmail so it can filter? Or is there some other way to do this better?

Is there a way to debug the deliver app?  I am having trouble tracing things along the way and this would help a lot.

 

Thanks for any help!

 

bill

 

Reply via email to