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

Dmitry rcpt.dmitry at gmail.com
Wed Jan 22 14:39:51 EET 2014


Hi,

My problem is that when vacation auto-reply sent the field from=<>
Because of this does not work "sender_dependent_relayhost_maps" in postfix.

My scheme is:
There are several postfix on different machines
1.1.1.1 - domain1
2.2.2.2 - domain2
3.3.3.3 - domain3
All they send messages to one server
virtual_transport = lmtp:10.10.10.10:24
where mail is stored.
In 10.10.10.10 installed dovecot 2.2.9, dovecot-pigeonhole 0.4.2 and another posfix

In postfix
inet_interfaces = 10.10.10.10
sender_dependent_relayhost_maps = hash:$config_directory/relayhost_maps

relayhost_maps
@domain1	[1.1.1.1]
@domain2	[2.2.2.2]
@domain3	[3.3.3.3]

Sieve script make from Roundcube

require ["vacation"];
# rule:[autoreply]
if true
{
	vacation :days 1 :subject "Test." "Test.";
}

(if add [":from" string] nothing changes)

The letter comes, script fulfills, vacation auto-reply sent. But either
/usr/sbin/sendmail -i -f <> -- user at senddomain
or, if write in 15-lda.conf
submission_host = 10.10.10.10:25
postfix log
Jan 1 00:00:00 mail pf-OUT/cleanup[6098]: 4CD104A8A4: message-id=<dovecot-sieve-1390316174-295666-0 at mail>
Jan 1 00:00:00 mail pf-OUT/qmgr[5950]: 4CD104A8A4: from=<>, size=693, nrcpt=1 (queue active)

How to make dovecot and dovecot-pigeonhole write in field MAIL FROM:?


Also, I noticed that does not work
protocol lda {
 ..
  # remember to give proper permissions for these files as well
  log_path = /var/log/dovecot-lda-errors.log
  info_log_path = /var/log/dovecot-lda.log
}
from
http://wiki2.dovecot.org/LDA
Logs are not written.


Thanks and regards,
Dmitry


More information about the dovecot mailing list