Sendmail -> Procmail -> SpamAssassin -> IMAP
"Christian Hack" <christianh-EwM+tGBLom00n/[email protected]> Fri, 19 Dec 2003 17:20:43 +1000
| Newsgroups | gmane.linux.admin.managers |
|---|---|
| Organization | EDMI |
| Message-ID | <02ec01c3c600$9d4a2e90$1c01010a@christianh> |
Me again... I have a stock brand new Fedora Core 1 install, running the supplied sendmail, procmail and spamassassin. I have built cyrus-imap from src.rpms and it essentially works fine except when it comes to procmail piping the mail into Cyrus-IMAP sendmail.cf/sendmail.mc are the standard ones supplied with Fedora Core 1 using procmail Because sendmail is adding a bad "From " header with no colon, the cyrus-deliver program is correctly rejecting it. Currently my kludge is to remove it via procmail filter but I know that will be dropping lines that are good. Here's my /etc/procmailrc: LOGFILE=/var/log/procmail.log # Send all mail through spam assassin :0 fw * < 1048576 | /usr/bin/spamc -f # Drop evil From line. Evil kludge here :0 fw | grep -v "^From " # Pass to cyrus-imap :0 fw | /usr/lib/cyrus-imapd/deliver -m "user.$USER" What is the correct/preferred way to prevent sendmail from adding this >From line Thanks CH _______________________________________________ LinuxManagers mailing list - http://www.linuxmanagers.org submissions: LinuxManagers-35TzE1X9F6582KRnZfj+bdi2O/[email protected] subscribe/unsubscribe: http://www.linuxmanagers.org/mailman/listinfo/linuxmanagers