[Dovecot] Problem with LDA. When vacation auto-reply sent, the field from=<>.

Andreas Schulze sca at andreasschulze.de
Thu Jan 23 00:14:38 EET 2014


Zitat von Dmitry <rcpt.dmitry at gmail.com>:

> Users imap - 10.10.10.10:143
> User smtp - 10.10.10.10:25
> 10.10.10.10:25 - postfix with
> sender_dependent_relayhost_maps = hash:$config_directory/relayhost_maps

Dmitry,

just an untested idea:

leave the RFC5321.MAILFROM empty. That's fine as it avoid loops.
let the user set a RFC5322.From via sieve:

vacation :addresses "user at domain1 :from "user at domain1"
"vacation message"

Now you could filter using header_checks  
(http://www.postfix.org/header_checks.5.html)
/From: .*@domain1/ FILTER transport1:[1.1.1.1]
...


Andreas



More information about the dovecot mailing list