Andre Oppermann <[EMAIL PROTECTED]> writes:

[...]

> My question is what is the best way to detect a forwarded message
> and hinder the reply program to reply to the mail?

[...]

> Is there any standard way of handling this kind of situation? If
> yes I'll implement that into qmail-ldap, otherwise the forwarded-
> to header.

Berkeley vacation ignores all messages that don't have the user's
address specifically in the "To:" or "Cc:" header.  It uses the user's
default address, and it lets the user specify other aliases that
should be autoresponded to on the command line.  You might want to
look at using Berkeley vacation in their .qmail file for
autoresponses.

In our qmail-ldap installation, we hacked up Berkeley vacation to get
the information from LDAP, and had an LDAP attribute
"mailReplyOptions" which let users set command-line options for
vacation.  We had a nice Web interface for setting options, including
other addresses besides their primary ones that should trigger
autoresponses.

I'd be happy to try and dig up this hacked vacation if you'd like a
copy.

----ScottG.

Reply via email to