On Sat, 02 Oct, 2004 at 16:55:11 +0000, C Hamel wrote:
Seems that no matter how I pharse the SuSE rule I cannot get the SuSE-list emails to go to the correct directory using procmail. I have tried different variations:
To:.*suse-linux-e\@suse.com
To:.*suse-linux-e
To:.*suse.com
..all of which fail. Anyone care to share how they're doing it?
I'm using the "X-Mailinglist" header. It's a nonstandard header, but it works fine, and I'm guessing they add it specificly to simplify procmail filtering: # suse-linux-e: :0 * ^X-Mailinglist: suse-linux-e | $IMAPCOMMAND $SLE # suse-linux-ot: :0 * ^X-Mailinglist: suse-ot | $IMAPCOMMAND $SLEot The use of variables in the pipe is something I picked up in some howto or other. It complicated the initial setup, but now I'm happy with it. Although a large part of that complication stemmed from me wanting to set up Postfix, Procmail, Spamassassin and Cyrus all in one go, neither of which I knew very well at the time :P /Jon -- Just say "know!"