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

a little [OFF-TOPIC] Exim .forward files



This message is a little off-topic, but I was wondering if any of the exim
.forward "guru's" would be willing to answer a question for me.

I'm trying to split my email with a .forward file, now this has been
working great, but just recently I started to notice a few of my
"supposedly" forwarded emails popping up in my normal inbox.  I've since
found that this was caused by a confusion between header fields, no biggy,
add the extra fields as extra .forward styles... hey it worked... umm...
sorta.

It's been forwarding all mail which includes debian-user (including
debian-user-digest) into my debian-user mailbox, but I set the
debian-user-digest filter first... why is this happening?

Also, how can I shrink down the three or four email filters which all do
the same thing (search the header for debian-user@lists.debian.org, and
transfer the email to my debian-user mailbox), into the one filter?  Is
this even possible?

Basically I'm in a few debian mailing lists and want to make sure that
everything goes where it is supposed to go (meaning that if a message is
for debian-cd & debian-user, then I want it in debian-cd), and so I would
like to make sure that I'm doing everything the easiest method :)

I don't want to waste too much time on it, so I'm throwing it up in the
air...

Here's my .forward file :-
-------------------------------------------------------------------------
# Exim filter

if $header_Resent-From: contains debian-isp then
    save $home/mail/debian-isp
endif


if $header_Resent-From: contains debian-cd then
    save $home/mail/debian-cd
endif


if $header_To: contains debian-user-digest then
    save $home/mail/debian-digest
endif


if $header_Resent-From: contains debian-user@lists.debian.org then
    save $home/mail/debian-user
endif

if $header_Resent-To: contains debian-user@lists.debian.org then
    save $home/mail/debian-user
endif

if $header_To: contains debian-user@lists.debian.org then
    save $home/mail/debian-user
endif

finish
-------------------------------------------------------------------------

Thanx in advance,
	Peter Ludwig



Reply to: