procmail
[Top] [All Lists]

Re: Cyrus and procmail

2008-07-21 15:03:12
At 14:51 2008-07-21 -0600, Steve Webb wrote:

I just switched our company over to Cyrus pop/imap recently and I've found
an issue where procmail is not detecting the "From" header properly and
even in the log file, procmail is getting confused.

Good, you have logs. So, how come you didn't post excerpts, along with headers from a supoosedly misprocessed message, along with the recipe which failed to "detect" the From header?

I think that it's mis-interpreting the "Return-Path:" header as the "From:" header. Is there a way to have procmail be smarter about the From: header?

If you have a recipe that has:

:0
* ^From:(_dot_)*somaddr(_at_)domain
delivery

It is NOT going to use the Return-Path header instead of From.

Whatever your vague problem is, it would surely be useful to see the recipe in question.

Currently, all emails now get processed as if they're from "cyrus(_at_)mail".

In your MTA, make a copy of the messages so you can see what they look like without your impression of Procmail mangling them.

Is this a known problem?  Should I be contacting the Cyrus people about
this instead?

Probably, since procmail doesn't know cyrus from a hole in the ground, and certainly wouldn't be inserting a header into them using a string which happens to be particular to your IMAP implementation.


Was procmail functioning fine BEFORE your switch to Cyrus? Did you make changes to your procmail config (or even recompile it), or is it just your IMAP daemon that you changed? Are you calling some Cyrus component from within the /etc/procmailrc, or perhaps invoking it from your MTA?

---
 Sean B. Straw / Professional Software Engineering

 Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>