Jost Krieger wrote: > > On Tue, Oct 09, 2001 at 04:18:14PM +0200, Andre Oppermann wrote: > > Hello guys, > > what about the gals (no, not me).
Haven't seen many (any?) on this list... But in case the is the rare species of gals, then hello too! ;-) > > There are a number of generic accounts on the system (such as info@ > > and sales@) which are only forwarded to a number of people but are > > not a mailbox by themselfes. The problem that came up now is that > > if one of those recipients sets a reply message also the senders of > > mail to the generic address get a reply. Unfortunatly this confuses > > the senders and is not intented since some else of that department > > is taking care of the messages. > > I don't think this is what you want to hear, but ... > > Unrestricted automatic replies are a really bad idea, except > for purposes of delivery notification. I had vacation or out of office replys in mind. No delivery notification. What I want to do is to limit the replies! > The best idea is to look at the mail if it is really directed at the > account in question (by inspectinmg the To: and possibly the Cc: field). Not really for the generic case. I for example have about a dozen aliases for my mailbox. There is no easy way match them all in a reply program. > Additionally, rate limiting would be nice. > > Any *good* vacation program will do that both. Yes, I know... we are taling about qmail-ldap's qmail-reply. > > My question is what is the best way to detect a forwarded message > > and hinder the reply program to reply to the mail? > > You won't need that then. But I do need something like that. > > One way I could image is to add a header while forwarding like: > > forwarded-to: <[EMAIL PROTECTED]> > > and make the reply program to recognise this (like precedence > > bulk). > > That header is called Delivered-To:, but there are ways to not get it. > In these cases, preline is your friend. Just because of that it doesn't help at all. Also I can't run preline for all deliveries. PS: I am one of the authors of qmail-ldap. -- Andre
