Daniel Azuelos wrote: > I just found an email incorrectly filtered by my .procmailrc, > because the To: wasn't postfix-users@postfix.org: ... > To: postfix-us...@cloud9.net
Instead of filtering on the To the better idea is to use the standard mail headers that the mailing list adds to the message. Then it would not matter how it got to the list but only that the list processed it and sent it out. List-Id: Postfix users <postfix-users@postfix.org> List-Post: <mailto:postfix-users@postfix.org> List-Help: <http://www.postfix.org/lists.html> List-Unsubscribe: <mailto:majord...@postfix.org> List-Subscribe: <mailto:majord...@postfix.org> For mailing lists using List-Id is the recommended method. :0 * ^List-Id: .*<postfix-users@postfix\.org> * ^list-Id: .*<postfix-\/[-a-zA-Z0-9]+ $MAILDIR/Lists/postfix/$MATCH/ This is a typical pattern for most mailing lists such that there can be many associated lists and each will get filed automatically into the associated list specific Maildir folder. Bob