(This isn't really Debian development related, so further discussion should probably be taken somewhere else, but I can't think of a suitable forum at the moment.) Michael Meskes <firstname.lastname@example.org>: > Unfortunately even this gets some real mail. There are people out there who > generally reply to email by sending it to themselves and just CCing the real > recipient. > > Anyway, anyone has an easy procmail rule for this? Here's my current procmail rule file (minus irrelevant stuff such as logfile settings). It assumes Maildir format folders, adjust accordingly. # # Try to deduce name of mailing list (and thus its folder) from headers. # :0 * ^X-mailing-list: <\/[^@]* Maildirs/Lists/$MATCH/ :0 * ^Delivered-To: mailing list \/[^@]* Maildirs/Lists/$MATCH/ :0 * ^Sender: owner-\/[^@]* Maildirs/Lists/$MATCH/ # # Lists not caught by the generic filters. # :0 * ^TOfhsemail@example.com Maildirs/Lists/fsstnd/ :0 * ^TOldp-l@ Maildirs/Lists/ldp-l/ :0 * ^TOiki-aktivistit Maildirs/Lists/iki-aktivistit/ # # The rest goes into inbox, on the assumption that it is personal mail. # Except that if it doesn't have my address on the To or Cc lines, it's # spam and goes into a crap folder. # :0 W: inbox.lock * ^TO(liw|wirzeniu|root) Maildirs/inbox/ :0 Maildirs/zzz-crap/ -- Stupid little mailer under construction, sorry for any problems.
Description: PGP signature