Did some minor modifications on the delpenbounce script since I prefere loging and TMDA to handle the pending maildir. Add an -q and it's quiet.
delpenbounce ----- #!/bin/sh
FILE=$1 CONFIRMADDR=`cat $FILE | grep '^Reply-To:.*-confirm-' | cut -f2 -d' '`
if [ -z "$CONFIRMADDR" ]; then
exit
fiPENDINGFILE=`echo $CONFIRMADDR | sed 's/-confirm-/:/' | cut -f2 -d: | cut -f1-2 -d.`.msg
if [ -a ~/.tmda/pending/$PENDINGFILE ]; then
tmda-pending -b -d $PENDINGFILE
else
echo "File $PENDINGFILE does not exist!"
fi
----
--
--------------------------------------------
bordewich.NET network consultant
Einar Bordewich phone: +47 911 52 777
e-Mail: einar(at)bordewich.net
UTM/WGS84: 32 614249E 6657199N
------------------------------------------------- Original Message ----- From: "Mark Horn" <[EMAIL PROTECTED]>
To: "Einar Bordewich" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, December 01, 2004 3:08 PM
Subject: Re: TmdaBouncedDeletePendingHowto
On Wed, Dec 01, 2004 at 02:29:40PM +0100, Einar Bordewich wrote:http://wiki.tmda.net/TmdaBouncedDeletePendingHowto
You might try this solution instead:
http://mla.libertine.org/tmda-users/2004-04/msg00135.html
It's quite a bit simpler. My solution looks for a confirm address and deletes any pending messages associated with that confirm address.
$.02. - Mark _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
_____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
