Postby jpreston » Fri Apr 20, 2007 11:53 am
Jillrae,
Well, those lines do not go into the /etc/sendmail.cf file, instead, they go into the /etc/sendmail.mc file. Then you have to compile /etc/sendmail.mc with m4 and use that result as your /etc/sendmail.cf.
This is from the MailWasher HowTo...
Modify sendmail.mc to configure MailWasher
Next, we need to add two lines to the end of your /etc/mail/sendmail.mc file.
Code:
INPUT_MAIL_FILTER(`mailwasher_server', `S=unix:/var/run/mwserver/mpd.sock, F=T, T=S:4m;R:4m')
define(`confINPUT_MAIL_FILTERS', `mailwasher_server')
NOTE: For the sake of argument, do not include any blank lines between commands in the sendmail.mc file!
Compile sendmail.mc into a fresh sendmail.cf
Now, we need to compile the sendmail configuration. This step requires the sendmail-cf package to be installed, so if it isn't installed, please do so before proceeding.
Code:
m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
...
Or for your install,
m4 /etc/sendmail.mc > /etc/sendmail.cf
Hope that helps.
Joshua.