Mathias Wrede wrote on 22/12/2005 19:04:
> I hope there's someone who could give me a hint.
> 
> I would like to create an autoresponder for one IMAP-mailbox. I know
> about sieve vacation but this won't work. All replies are sent to the
> envelope-sender and not to sender (from).
[...]
> I want to create replies to the from-address.

Neither postfix nor cyrus (except sieve) ever look at the content of a
mail (and the From: header line is just a part of this content), they
only see the envelope. So you will have to use some external script
invoked from the MTA's (i.e. postfix's) aliases file. Which means that
if you use virtual domains, you will first need a virtual alias
redirecting the mail to a "local" address (mydestination), which is then
sent to the external script by a normal alias.

Using a proper mailinglist software and adjusting the formmailer output
(the mail it sends) to match that might be a better way then doing this
all by yourself.

cu,
sven
----
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Reply via email to