Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Bulkmail Ethics/Parsing Mail Logs

by Corion (Patriarch)
on Jul 23, 2008 at 06:31 UTC ( [id://699517]=note: print w/replies, xml ) Need Help??


in reply to Bulkmail Ethics/Parsing Mail Logs

Your users will find and use any way to add people without having them subscribed. Especially because non-profits are driven by a Greater Good and the workers for that nonprofit actually believe in their plight. They'll believe they are helping those who they are spamming.

In short, any measure you create to "add people" without them confirming will just end up in being used, together with a dummy reason, to add people without their consent.

On the technical side of things, have your script add a Bounces-To header, which lists the email to which the bounce should go. Having a custom Bounces-To header for each recipient and a custom script that gets called by Procmail for all bounces means you can update the status of your recipients as the bounces come in.

Replies are listed 'Best First'.
Re^2: Bulkmail Ethics/Parsing Mail Logs
by clinton (Priest) on Jul 23, 2008 at 09:58 UTC

    I've never heard of the Bounces-To header, and googling for it reveals precious little. I see that Amazon uses it, but there doesn't seem to be an RFC which mentions it. There isn't even a wikipedia article about it, and it is not mentioned in their article on Bounce message. Are you sure that it is widely supported?

    The way I know to handle this is to set the Return-Path to your bounce address, and the From header to the value that you want the user to see. For instance:

    Return-Path: user_123@bounces.domain.com From: help@domain.com

    Update: Of course, you would also need to process the bounce messages correctly, distinguishing temporary from permanent failures. There is the module Mail::DeliveryStatus::BounceParser but I've never used it and have no idea how effective it is.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://699517]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (3)
As of 2024-04-18 23:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found