[Exim] newbi^Wstupid mail loop

Top Page
Delete this message
Reply to this message
Author: Otavio Exel
Date:  
To: Exim mailing list
Subject: [Exim] newbi^Wstupid mail loop
hello eximmers,

today I generated a stupid mail loop! aparently it has nothing to do
with exim itself..

- for some reason I (oexel) need to be warned of incoming messages to a
given username (katia);
- so I wrote a procmail recipe to send me email with the main headers of
her incoming message (sources below);
- but due to a typo in my own username (I was sending it to 'oexe'
instead of 'oexel') exim could not deliver it and sent an error
message to katia and the loop started.. :-(
- AFAIK there was no way for exim to detect the loop; actually I don't
think it *is* a loop as a new message was beeing created;

so my questions are:

- is there a better way to handle this problem?

- is there a way to hint exim that this is a loop?
perhaps copying some headers to the new-born message?

TIA for reading!
sorry for the awfull english..

--- tof --- ~katia/.procmailrc ---
:0 ci
| sed -f procmessage | /usr/sbin/exim oexe

--- eof --- ~katia/.procmailrc ---

--- tof --- ~katia/procmessage ---
1i\
Subject: message to katia\

/^$/q
/^\(To\|From\|Subject\|Reply-To\|Date\)\>/!d
s/^/> /
--- eof --- ~katia/procmessage ---

--
Otavio Exel /<\oo/>\ oexel@???