[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: need some procmail help



Quoting Mithrandir (mithrandir007@gmx.de):
> 
> I have still some problems with procmail, it will not deliver the mail as
> wanted, does anyone can help please?? as attachment there are my .procmailrc
> and a file called mail which is a copy off the mail as they arrived to root
> (and not the user).
> The user doesn't get any mails anymore :((

I think you're filtering off the wrong line; "From " has timedate
garbage at the end. Why not use something like:

:0:
* ^X-Mailing-List:.*debian-user@lists.debian.org>
User

:0:
* ^X-Mailing-List:.*debian-project@lists.debian.org>
User

:0:
* ^X-Mailing-List:.*debian-devel@lists.debian.org>
Devel

:0:
* ^X-Mailing-List:.*debian-flame@lists.debian.org>
/dev/null

:0:
* ^X-Mailing-List:.*@lists.debian.org>
Debian

In other words:
1) don't bother with H and fancy nested patterns: just have another
recipe for the same mailbox,
2) use a cleaner mail header that's always the same,
3) by throwing away one list, you might be able to have a simple
catcher at the end as above.

I hope that helps.

Cheers,

-- 
Email:  d.wright@open.ac.uk   Tel: +44 1908 653 739  Fax: +44 1908 655 151
Snail:  David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer:   These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.


Reply to: