dovecot sieve vacation + lmtp protocol
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello,
Here is my setup:
dovecot - 2.2.11 pigeonhole - 0.4.2 qmail
I was trying to create a vacation message, but after the sive script has been created and I was checking the logs I saw some strange errors:
DOVECOT LOG
Jun 18 16:52:24 lda(portase.florin@medianetork.ro): Error: lmtp client: connect(medianetork.ro, 25) failed: Connection refused Jun 18 16:52:24 lda(portase.florin@medianetork.ro): Error: smtp(medianetork.ro): RCPT TO failed: 451 4.4.0 Remote server not answering (connect) Jun 18 16:52:24 lda(portase.florin@medianetork.ro): Error: sieve: msgid=<OF380D0FC2.6E61F37A-ONC1257CFB.0051127E-C1257CFB.00511452@XXX.com>: failed to send vacation response to <ZZZ@XXX.com> (refer to server log for more information)
DOVECOT config
service lmtp { chroot = client_limit = 0 drop_priv_before_exec = no executable = lmtp extra_groups = group = idle_kill = 0 privileged_group = process_limit = 0 process_min_avail = 0 protocol = lmtp service_count = 0 type = #inet_listener lmtp { # address = 0.0.0.0 # port = 24 #} unix_listener lmtp { group = mode = 0666 user = } user = vsz_limit = 0 }
protocol lmtp { #mail_fsync = optimized log_path = /var/log/dovecot/lmtp-errors.log info_log_path = /var/log//dovecot/lmtp.log mail_plugins = quota sieve autocreate expire }
Am I missing something ???
Just to specify: domain medianetork.ro is accessible from outside on port 25 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJTobZ9AAoJECEzxtLP+204AisH/2t83NS5GzFEv6JET3rJFW/k yN1/EM+Veg2CX7qvh0NPAQ/5/1f9MOdlyFUEs5vg1n2YGtBCfig6RFhP0OZNa2lK 38n99Vq3uutrTmviuv5pl4c8Jwlq68jlUlTK6DvKub58AVcqln6ljQt82HhfKl1+ lzQ/Igg6V9XT9vzcgdtumac4h+jNHuvoMv697dhK5/UfaV5tuFqKIHgLMampf4lz kc7x85xocK3C1+DQIepmpOgyHpjwBRi2KYzFii2s2jT0QWmhUHaD88BNnN8mkJxZ +1+IsWqyqSpxTx5ghIh0QiiUUBKmWcngRTs67PisDuVwvOmEy/ULkp1aEYwpD7Y= =3/1y -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Florin Portase wrote:
Hello,
Here is my setup:
dovecot - 2.2.11 pigeonhole - 0.4.2 qmail
I was trying to create a vacation message, but after the sive script has been created and I was checking the logs I saw some strange errors:
DOVECOT LOG
Jun 18 16:52:24 lda(portase.florin@medianetork.ro): Error: lmtp client: connect(medianetork.ro, 25) failed: Connection refused Jun 18 16:52:24 lda(portase.florin@medianetork.ro): Error: smtp(medianetork.ro): RCPT TO failed: 451 4.4.0 Remote server not answering (connect) Jun 18 16:52:24 lda(portase.florin@medianetork.ro): Error: sieve: msgid=<OF380D0FC2.6E61F37A-ONC1257CFB.0051127E-C1257CFB.00511452@XXX.com>:
failed to send vacation response to <ZZZ@XXX.com> (refer to server log
for more information)
DOVECOT config
service lmtp { chroot = client_limit = 0 drop_priv_before_exec = no executable = lmtp extra_groups = group = idle_kill = 0 privileged_group = process_limit = 0 process_min_avail = 0 protocol = lmtp service_count = 0 type = #inet_listener lmtp { # address = 0.0.0.0 # port = 24 #} unix_listener lmtp { group = mode = 0666 user = } user = vsz_limit = 0 }
protocol lmtp { #mail_fsync = optimized log_path = /var/log/dovecot/lmtp-errors.log info_log_path = /var/log//dovecot/lmtp.log mail_plugins = quota sieve autocreate expire }
Am I missing something ???
First of all, we miss your _full_ doveconf -n output.
Just to specify: domain medianetork.ro is accessible from outside on port 25
is it [the IP aka A record of medianetork.ro] connectable from the local machine as well?
Steffen -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin) Comment: Using GnuPG with undefined - http://www.enigmail.net/
iQEVAwUBU6IM+HD1/YhP6VMHAQJBgAf/aJQievG2cki4crRjxcixEOFOAgXbkzOi fILPAPfOEkgzs6e8x7Ew9Ocfe73fmleenbhp5su+3a5rRaJSRLg0ExBCCqIwEnA/ OYoqB4M3yNdg++RbOsLG6MA3MrNnXFfo7J1SF0xFRDGJ0cWBeMjDYM40mIwBjP1J piuYyFa4mICsoeShL1N4V66tycSUWrBhqmcJxvu0Hj7VrZMYGodpX3Mw4HlJOJfh NLqMDwQwVKRfBZP7xZZj5ay3p7WCyXPjEZ2TYg4U/ZeDnUiyHy8xjU9MFTrDSx9V /x7PTwZ3Xm/0B/VbTa3lxhWjUsYu7QvomqAIbphjszgspBF8HbFV5A== =hlk6 -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 06/19/2014 12:04 AM, Steffen wrote:
Florin Portase wrote:
Hello,
Here is my setup:
dovecot - 2.2.11 pigeonhole - 0.4.2 qmail
I was trying to create a vacation message, but after the sive script has been created and I was checking the logs I saw some strange errors:
DOVECOT LOG
Jun 18 16:52:24 lda(portase.florin@medianetork.ro): Error: lmtp client: connect(medianetork.ro, 25) failed: Connection refused Jun 18 16:52:24 lda(portase.florin@medianetork.ro): Error: smtp(medianetork.ro): RCPT TO failed: 451 4.4.0 Remote server not answering (connect) Jun 18 16:52:24 lda(portase.florin@medianetork.ro): Error: sieve: msgid=<OF380D0FC2.6E61F37A-ONC1257CFB.0051127E-C1257CFB.00511452@XXX.com>:
failed to send vacation response to <ZZZ@XXX.com> (refer to server log
for more information)
DOVECOT config
service lmtp { chroot = client_limit = 0 drop_priv_before_exec = no executable = lmtp extra_groups = group = idle_kill = 0 privileged_group = process_limit = 0 process_min_avail = 0 protocol = lmtp service_count = 0 type = #inet_listener lmtp { # address = 0.0.0.0 # port = 24 #} unix_listener lmtp { group = mode = 0666 user = } user = vsz_limit = 0 }
protocol lmtp { #mail_fsync = optimized log_path = /var/log/dovecot/lmtp-errors.log info_log_path = /var/log//dovecot/lmtp.log mail_plugins = quota sieve autocreate expire }
Am I missing something ???
First of all, we miss your _full_ doveconf -n output.
Just to specify: domain medianetork.ro is accessible from outside on port 25
is it [the IP aka A record of medianetork.ro] connectable from the local machine as well?
Hello Steffen,
It seems I found the error:
it was this variable "submission_host"
I had to setup "submission_host=localhost"
If I'll change submission_host=medianetork.ro, vacation response did not work.
Also, from localhost I can connect to A record of medianetork.ro .
But I have to admit, I do not have a clear idea what's the purpose of this variable. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJTorDaAAoJECEzxtLP+204ipYIAIh/6iEVppz4i3aRpLD1a6zP y2oY+VIPjPRO5OOwS6tTtRAg948LrRGMJweDBLRHmxfCLqtVuVI+eKjDVUIsQ+bY /DomDMRIl5FWZaXvhaY7iaLRBY/ZJL9TVIo5i+rEZAlrzEtaL7Aqf6xrkmltFR33 FaOkrw+9oM2E612/eyCeXvhpHrmvyMXkXyNvEcemFJ3GaF4Z+xeyq9rgcBSgoJHs ld0b5o4QpJiS8SY9Ale/yn1OOcaxRNAYPXFR7zbc1aFhsAg1VkTpbpdcXIiurRJw KG0UcLwEqOX2QP8Kh1YSniDAcyXGmVSfOXgElVY7NfaQA0r55D678XC4PBXkWGs= =/P+2 -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Thu, 19 Jun 2014, Florin Portase wrote:
It seems I found the error:
it was this variable "submission_host"
I had to setup "submission_host=localhost"
fine
If I'll change submission_host=medianetork.ro, vacation response did not work.
Also, from localhost I can connect to A record of medianetork.ro .
But maybe the SMPT server rejected the message for some reason.
But I have to admit, I do not have a clear idea what's the purpose of this variable.
see: http://wiki2.dovecot.org/LDA?highlight=%28submission_host%29 you say to use SMTP to submit message instead of using the sendmail binary.
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBU6fQM3z1H7kL/d9rAQJQxAgAuNL6kRIrPH3JAGKsT1nQljZQRhaLcuzS HqxIXY2BK7yOEekChQzS52+Jxa2OjfmNnQWFzKrMKxgDnrXS+dlNhODZ0XNmk3BR 7VQx0/1OdfE69Qf3Zc8XI0GZt7wzPdXTetmY1BWfbK7wr45qFZ7P8k8henkX6bev LLno2+FiJiTWa5BHHU93nQm6X9dvr7E6yVRtA8YlSwM26sIdEz5qzCrLoeNtRj2v 05tR24ZYZSXDMYorO294mTMEhhFKcHBtB0W+cQa4E94vv4o0i9xTzOObS9fIkmAD ktwiGkAzE4VidgIqfF/0Saf5Ys9XYCp2MJwIwzJpIsCVAiZo1XKw2g== =t1MA -----END PGP SIGNATURE-----
participants (3)
-
Florin Portase
-
Steffen
-
Steffen Kaiser