A bit over a week ago, I posted an article about a problem I'm having with
forwarding mail from one location to another -- but if the forward bounces,
it hoses the system. I didn't see any followups; of course, apparently in
the flurry of bounces I got, my Procmail subscription was stopped -- I
guess the list auto unsusbscribes on bounces?
The core of my problem is that I want to catch messages that are bouncing
SPECIFICALLY from the attempt to forward to my other address (to a POP
mailbox on another system, where I can retrieve the mail) -- I don't want
those messages to attempt to be forwarded themselves (which causes grief
when THEY bounce too). However, I want all other messages (and bounces
too) to be forwarded.
(Yea, the FORWARD address should always be valid, and I made that stupid
assumption -- and then the ISP I use for POP mail had server problems and
bounced inbound mail.)
Attempting to do this, I have the following at the top of my recipes:
:1 $TEMP/DAEMON$LOCKEXT
* ^FROM_MAILER
ARCHIVE-daemon
The problem with this, is that ALL bounces are filed away (I never see when
messages *I send* bounce). I'd be using FROM_DAEMON, but it seems to catch
too many mailing lists -- but I'm finding that FROM_MAILER does this too!
Following the above (to be modified with a c flag), I wanted to have a
filter to stop processing if the message was a bounce of a forward to
myself (or possibly insert a simple text line into a report file, then stop).
The trick, is that I need to be able to catch the BOUNCE itself, not just
messages that might contain my address...
Can someone help?