Stephen Usher
2007-Mar-20 15:00 UTC
[Dovecot] Wiki needs updating: Dovecot LDA + Dovecot Sieve + Exim
So as to make sure that Dovecot Sieve's vacation system works Exim has to be forced to generate a "Reply-To:" header in the message (which it doesn't do by default). The current example for using the Dovecot LDA with Exim doesn't do this. Here is a replacement example for the local_delivery transport:- local_delivery: driver = pipe command = /usr/local/libexec/dovecot/deliver -d $local_part message_prefix message_suffix log_output delivery_date_add envelope_to_add return_path_add headers_add = Reply-To: ${if def:header_reply-to:{$h_reply-to:}{$h_from:}} #group = mail #mode = 0660 Basically, if the Reply-To: header exists than it merely gets overwritten with itself. If it doesn't then the header is created and the contents of the From header is put into it. If this is not done then the libsieve over restrictive rules (requiring a "Reply-To:" header even though the RFC doesn't require it) will not allow the vacation system to work. Steve -- --------------------------------------------------------------------------- Computer Systems Administrator, E-Mail:-steve at earth.ox.ac.uk Department of Earth Sciences, Tel:- +44 (0)1865 282110 University of Oxford, Parks Road, Oxford, UK. Fax:- +44 (0)1865 272072
Egbert Jan
2007-Mar-20 15:38 UTC
[Dovecot] Wiki needs updating: Dovecot LDA + Dovecot Sieve + Exim
> -----Original Message----- > From: dovecot-bounces at dovecot.org > [mailto:dovecot-bounces at dovecot.org] On Behalf Of Stephen Usher > Sent: Tuesday, March 20, 2007 4:01 PM > To: dovecot at dovecot.org > Subject: [Dovecot] Wiki needs updating: Dovecot LDA + Dovecot > Sieve + Exim > > > So as to make sure that Dovecot Sieve's vacation system works > Exim has to be > forced to generate a "Reply-To:" header in the message (which > it doesn't do > by default). The current example for using the Dovecot LDA > with Exim doesn't > do this. > > Here is a replacement example for the local_delivery transport:- > > local_delivery: > driver = pipe > command = /usr/local/libexec/dovecot/deliver -d $local_part > message_prefix > message_suffix > log_output > delivery_date_add > envelope_to_add > return_path_add > headers_add = Reply-To: ${if > def:header_reply-to:{$h_reply-to:}{$h_from:}} > #group = mail > #mode = 0660 > > Basically, if the Reply-To: header exists than it merely gets > overwritten with > itself. If it doesn't then the header is created and the > contents of the From > header is put into it. > > If this is not done then the libsieve over restrictive rules > (requiring > a "Reply-To:" header even though the RFC doesn't require it) > will not allow > the vacation system to work. > > SteveThe nice thing of Wiki's is that you can update pages YOURSELF. Just register (if needed at all) and add/change what you want. Me think Timo can spend his time better on patching the source. CU Egbert Jan
Timo Sirainen
2007-Mar-21 23:16 UTC
[Dovecot] Wiki needs updating: Dovecot LDA + Dovecot Sieve + Exim
On Tue, 2007-03-20 at 15:00 +0000, Stephen Usher wrote:> So as to make sure that Dovecot Sieve's vacation system works Exim has to be > forced to generate a "Reply-To:" header in the message (which it doesn't do > by default). The current example for using the Dovecot LDA with Exim doesn't > do this.Hmm. Really? Not in my tests and I don't see hardly anything related to Reply-To in the code. It should send it to the address specified in Return-Path. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20070322/3df5a049/attachment.bin>