Procmail help?

telecon at infosyndicate.net telecon at infosyndicate.net
Tue Jul 3 18:00:15 UTC 2007


On Sat, Jun 16, 2007 at 12:34:27PM -0500, Scott Lockwood wrote:
> I'd like to pair down my .procmailrc some, so I tried to make a rule for
> list traffic based on the List-Id header, rather than having to have one
> for the To header, and one for the Cc header. This doesn't seem to work,
> however. Anyone have a rule already they care share that works on the
> List-Id line in the header?

Are you trying to have one recipe to rule them all?

Them being the mailing lists.  You'd have to extract the list id using shell
or formail magic, then forge that back in to your destination folder.

It could get ugly, but should be doable.




More information about the ubuntu-users mailing list