At the moment, I use shadow passwords for cyrus-imapd authentication and I would like sendmail to reject any message for which the recipient does not have an account on the server.

This is complicated because I use "plussed" addresses with cyrus-imapd; if I enable the "w" sendmail mailer option, then it rejects plussed address messages - since that account doesn't exist. However, if I disable the preserve_local_plus_detail option in sendmail it performs the local account check correctly but then doesn't pass on the folder detail (ie the section after, and including, the +)...

Is there anyway to instruct sendmail to remove the plus detail for the local account check but to use it when passing the message to cyrus (via dspam in my case)? I've scoured the sendmail docs and done many google searches but can't find an answer, and concluded that a cyrus-imapd admin would be the best person to know! :-)

I intend to migrate over to postfix and ldap in a few months - but would prefer to solve this problem now as my mail queue is filling up with bounces to fake addresses in response to spam messages to non-existent accounts.

Take care,

Ben
----
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Reply via email to