Procmail and Sendmail

Ok. I'm running Fedora Core 1 with webmin, sendmail, procmail, and spamassassin. I've got spamassassin setup to run through procmail. Now, how do I get sendmail to relay(?) through procmail? Is it something in the mailertable? If so, what do I need to set?

Thanks

MShoup

2 Replies

Someone correct me if I'm wrong, but I believe procmail is used for local delivery… you'd need to have configs set up in your .procmailrc file to pipe your mail through spamassassin before being inserted into your mailbox.

I know there are a lot of other ways to set these things up… The config I've used and have been happy with is using qmail for my MTA, with procmail for local delivery and a heavily customized .procmailrc file that not only runs it through spamassassin but also sorts into folders for me.

I guess the big question is, how many people are receiving mail through your system, and is it performing local delivery (for access either via a shell or POP or IMAP or something) to those users or is it relaying? If the mail is being relayed to a remote server, I have no idea how to get sendmail working with spamassassin for that…

Check /etc/mail/sendmail.mc - there should be FEATUREs related to

procmail, and also MAILER(procmail). Make sure they're uncommented,

and rerun m4 to generate a new sendmail.cf.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct