Author Topic: Are "auto reply" emails treated as bounces?  (Read 1602 times)

getresults

  • Posts: 4
    • View Profile
Are "auto reply" emails treated as bounces?
« on: October 26, 2007, 06:12:49 pm »
Quick question:

If users on our mailing list have an "auto reply" email that is returned automatically when someone emails them, will these auto reply emails be seen by LMP as a bounce?

Or is there some other factor in the mail headers that LMP uses to determine emails have actually bounced?

Thanks!

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Are "auto reply" emails treated as bounces?
« Reply #1 on: October 30, 2007, 12:00:19 pm »
Greetings,

The "Bounce to Email" on the ListMail Configuration page turns into a hidden "Return-path" header in the received email.  The "Send From Email" for each list is set as the "From" header and is used for display and replies.

Some auto-reply systems correctly send messages to the "From" address.  Others send to the "Return-path", which would be processed as a bounce.  This unfortunately cannot be avoided as the most popular methods of bounce handling entail using the "Return-path".  There are ways to ignore bounces containing certain strings.

In bounce.cgi, after this line:
Code: [Select]
if($email){
Add this, for example:
Code: [Select]
# skip if an auto-reply
if(index(lc $email,'autoreply')>-1){ exit; }
if(index(lc $email,'auto-reply')>-1){ exit; }
if(index(lc $email,'out of office')>-1){ exit; }
if(index(lc $email,'will be away')>-1){ exit; }

I plan on providing an interface for setting such strings in LMP soon.

Regards
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting