Search

Enter a search word or two and press return to see the search results.

Who am I?

Hi, I’m Graeme and these are my notes, from my messy desk. I started this blog because Google proved to be more useful at finding content than anything else I’ve used.

So I started adding my own content in the hopes that Google would index it and allow me to find things again in the future.

It works.

You can find out more about me here, and you should follow me on Twitter here.

Keeping up

You can automatically receive new content here by subscribing to the “Blog RSS” (link below). This is the easiest way to keep up with what I write here.  See this BBC article for a good introduction on RSS and keeping up with the goings on of the Internet more easily.

« I'm Linked In, I'm Linked In | Main | Upgrading Wordpress »
Wednesday
Nov092005

Writing an auto responder

OK, mostly these are notes just now, as I do a little research for #1350425. I'm trying to figure out what the 'correct' behaviour for an email auto responder is. MailManager has an auto response system which will send out an email when a ticket is submitted, to acknowledge its receipt. I want to get it right.



There are two problems:




  • Do you send an automatic response at all? Is there going to be a human being on the other end to receive it, or are you going to wind up spamming a mailing list, creating mailing loops, sending a message that will bounce?

  • If you do decide to send a message, who do you send it to? That might sound daft, but there are a number of header fields which indicate who might wish receipt of a message, including ('From', 'Sender', 'Reply-To', 'Return-Path', 'Resent-From').



Currently MailManager will refuse to send a response if any of the following conditions are met:




  1. It's a mailing list identified by the existence of any header in ('list-id', 'list-help', 'list-unsubscribe', 'list-owner').

  2. The Precedence header is set to one of ('junk', 'bulk', 'list').

  3. There is no Return-Path, or Return-Path is empty.

  4. The Return-Path starts with any of ('mailer-daemon', 'owner-').



And it will unconditionally send the auto response message to the address in Return-Path. For dropping the message, I agree with everything but point 3 (which I'm not entirely sure about). And I'm not convinced that the algorithm for choosing the reply address is robust enough. So let's start digging into the RFCs.


PrintView Printer Friendly Version

EmailEmail Article to Friend

Reader Comments (3)

This looks really thorough. There's probably no urgency on it though, it looks like we're doing a better job than most mail agents.

November 9, 2005 | Unregistered CommenterAndrew Veitch

Yeah, I've satisfied myself that we do (enough of) the right thing now, so I've closed the bug in question. Turns out it was his MTA (http://www.merakmailserver.com/" rel="nofollow">Merak) not setting Return-Path...

November 9, 2005 | Unregistered Commentermathie

Nice that you're working on auto-reply features. I don't know MailManager, but I've just written a comment indicating three features that are currently missing from a lot of auto-reply setup interfaces, maybe you'll want to read this:
http://braintickle.blogspot.com/2005/11/auto-reply-interface-priorities.html

Cheers,

Philipp

November 17, 2005 | Unregistered CommenterPhilipp Wesche

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>