in reply to Dealing with returned mail

First, you need to solve the problem of getting the bounce message. To do this, make sure that your SMTP envelope sender is the address that should receive bounces, and proper RFC-compliant mailservers will send the bounces there.

Once that's done, you can use Mail::DeliveryStatus::BounceParser to parse the bounce message and figure out what addresses to remove.

Replies are listed 'Best First'.
Re^2: Dealing with returned mail
by shiza (Hermit) on Jun 22, 2005 at 00:20 UTC
    If you're using an account specifically for sending messages to users in your list, I suggest setting up a .forward file in the home directory of that user and forward the mail to your bounce parser.