Dmitry
2014-Jan-22 12:39 UTC
[Dovecot] Problem with LDA. When vacation auto-reply sent, the field from=<>.
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
Reindl Harald
2014-Jan-22 13:18 UTC
[Dovecot] Problem with LDA. When vacation auto-reply sent, the field from=<>.
Am 22.01.2014 13:39, schrieb Dmitry:> My problem is that when vacation auto-reply sent the field from=<> > Because of this does not work "sender_dependent_relayhost_maps" in postfix<> is correct in case of auto-responders why? to prevent mail-loops if both sides have a responder well, there are special headers too for this but they rely on be respected by the final destination while null sender never get bounces and replies http://en.wikipedia.org/wiki/Bounce_message Bounce messages in SMTP are sent with the envelope sender address <>, known as the null sender address. They are frequently sent with a From: header address of MAILER-DAEMON at the recipient site. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 246 bytes Desc: OpenPGP digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20140122/858d755d/attachment.bin>