Claudio Jeker <[EMAIL PROTECTED]> writes:
[...]
> > I think this is a situation that should be handled in the
> > autoresponder; see my previous post in this same thread for details on
> > how Berkeley vacation(1) handles messages like this.
> >
>
> But Berkeley vacation(1) will also fail because you send the message to
> info@ and then will be forwarded to whoever@ so To: and Cc: are
> definitifly different.
vacation(1) has the "-a" flag for this:
Available options:
-a alias
Handle messages for alias in the same manner as those
received for the user's login name.
So if you wanted the mailbox for "whoever" to autorespond for "info"
as well, you would set up vacation as:
vacation -a [EMAIL PROTECTED]
> > Alternatively, an LDAP attribute which would cause the "Precedence:
> > bulk" header to be included might be useful.
> >
> Probably a solution but is it realy needed?
> As I worked the first time on qmail-reply I thought that it would be
> usefull to have a full configuration (bad From: addresses and so) but this
> will make qmail-reply much more compilicated (but probably it is the only
> solution).
I don't think so, but the direction right now seems to be to set
"Precedence: bulk" whenever an address is forwarded to more than one
person, without any options at all that can override it, which strikes
me as a bad idea.
> > Or, as others have suggested, for those situations where you want this
> > header included, just put a small script in .qmail which adds it.
> >
> This is not a solution, we have a deliverymode reply and I want to use
> that instead of some programdelivery.
We actually didn't use programdelivery, we hacked up our qmail to run
a modified vacation(1) if mailDeliveryMode was set to "reply". Other
options were stored in another LDAP attributes:
1.1.11 mailReplyOptions
A set of flags which are passed to the autoresponder program. The
autoresponder program is a version of standard Berkeley vacation,
modified to take its settings from LDAP. This attribute is
basically a set of command line flags to be passed to
vacation. The flags that are recognized are these:
* -d time: Gives the time, in standard UNIX epoch time (seconds
since Jan 1, 1970 UTC), when the autoresponder setup was last
changed. When using settings which tell vacation to respond
only, for example, once a week, any time before this date is not
counted.
* -a alias: Aliases of this account. The Berkeley vacation program
only responds to messages when it sees the user's email address
in the To: or Cc: field of the header, to avoid responding to
mailing lists or junk mail. This version of vacation will
respond for any addresses in the mail attribute or
mailAlternateAddress attribute, or any addresses specified by
the -a option. You would use this if, for example, you have mail
from Yahoo forwarded to OneMain, and you want mail sent to your
Yahoo account to be correctly autoresponded to by the OneMain
autoresponder. For multiple aliases, specify the -a option
multiple times.
* -r dayspereply: The number of days that must pass between the
same user being autoresponded to. For example, to respond once a
day, you would use -r 1; to respond once a week, you would use
-r 7. To respond every time a message is sent, use -r 0; to
respond only once ever to each sender, use -r once.
-----ScottG.