Matthew T. O'Connor wrote:
> I tried to do the same recently.  I got everything working except
> procmail.  RH9 defaults to using sendmail, runs your email through
> procmail before delivery, I use this to do all my mail sorting server
> side.  I couldn't figure out how to use postfix + dbmail + procmail.
> 
> Any thoughts?

Postfix delivers via the local agent, and doesn't check by default for a
.procmailrc, but it does for .forward

The way I currently deliver thru procmail is:

.forward (keep the "):
"|IFS=' ' && exec /usr/bin/procmail -f- || exit 75 #user"

.procmailrc:
:0
| /usr/local/sbin/dbmail-smtp -u username_here


Obviously In the .procmailrc you can then pipe it to spamassassin stuff,
this is better than via transport because one is therefore able to have
individual user prefs(bayes,AWL), rather than site wide ones. Oh, and make
sure "chmod a+x dbmail-smtp" because procmail runs as the user, and they
probably won't have permissions on the dbmail-smtp.

hth,

Matt

Reply via email to