Hello Vanessa,

> I'm looking for a possibility to extract email adresses out of bounce
> messages.
> I have a opt-in mailing list(with confirmation and so on, no spam) but
> some email addresses expire, can't be delivered and so on.
> So when I send a newsletter i get a lot of bounce mails like:
<snipped a bit>

You don't say if you are running your mailing list with TB or other
software. Anyway, I have a similar situation, so I'll tell you what I
do in case it may give you any ideas.

I'm running my mailing list (several) with Mercury/32, my mail server.
I have a filter (a couple) that will sort all bounced messages to a
Postmaster folder. Because there are different type and flavours of
bounce messages, I thought it was easier to set up a New message
folder template for this folder so that the only thing I have to do is
double click on the e-mail "address" appearing on in the text, which
will open the editor with a new message with "address" in the To:
field and my "folder template".

,----- [ Postmaster folder new message template ]
| %From=""%From="[EMAIL PROTECTED]"%-
| MSET%Cursor
`-----

MSET is a QT (Quick Template). Well, because I have two mailing lists,
one in Spanish and one in English, I have two QTs: MSETI and MSETE.
So, as the cursor is placed right after MSET, all I have to do is type
I or E and Ctrl+Space to execute the appropriate QT.

,----- [ MSETE QT ]
| REMOVE Noticias_MED %TOADDR
| %TO=""%TO="[EMAIL PROTECTED]"%-
| %SUBJECT="Not"%-
| EXIT
| %Cursor
`-----

,----- [ MSETI QT ]
| REMOVE MED_Newsletter %TOADDR
| %TO=""%TO="[EMAIL PROTECTED]"%-
| %SUBJECT="News"%-
| EXIT
| %Cursor
`-----

As you can see, the QT includes the appropriate REMOVE command for the
list server. %TOADDR gets the e-mail address to remove from the To:
field, which was included in To: when I double clicked on the
"address".

It then clears the To: field and includes the address of the mail list
server and a subject because my mail server will not accept messages
with a blank subject.

It also includes the list server command EXIT although it isn't really
needed.

So, to remove a bounced address from the corresponding list, all I
have to do is:
  - Double click on the address.
  - Type I or E and Ctrl+Space
  - Click Send

-- 
Best regards,

Miguel A. Urech (El Escorial - Spain)
Using The Bat! v1.61


________________________________________________
Current version is 1.62 | "Using TBUDL" information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to