Hello,
I have a problem with sieve vacation.
The out-of-office reply is (often) rejected because it does not comply with DMARC or DKIM rules.
My MX Server has a RedHat 9.6 OS with Exim 4.98.2 (Epel Repos) and Dovecot 2.3.16 (Red Hat Repos).
It seems to be the same problem solved in this post https://forum.directadmin.com/threads/update-to-latest-dovecot-fail-to-start.72919/#post-384496
Unfortunately, it doesn't work the same way.
If I leave
Sieve tries to send the email with User <>
Here is the complete error in exim.log
If, on the other hand, I set
the user
in log there is [email protected]
hier the complete error
the sieve puts the linux account@hostname as the sender (instead of account@domain) and the email is still rejected by the serious Mail Server.
But my impression is that the exim daemon is working correctly, because emails are being received and sent.
But when sieve tries to send an email (triggered by vacation), it uses the sendmail command incorrectly.
Any ideas?
I have a problem with sieve vacation.
The out-of-office reply is (often) rejected because it does not comply with DMARC or DKIM rules.
My MX Server has a RedHat 9.6 OS with Exim 4.98.2 (Epel Repos) and Dovecot 2.3.16 (Red Hat Repos).
It seems to be the same problem solved in this post https://forum.directadmin.com/threads/update-to-latest-dovecot-fail-to-start.72919/#post-384496
Unfortunately, it doesn't work the same way.
If I leave
Code:
sieve_vacation_send_from_recipient = no
Code:
<= <> U=vmail P=local S=811 id=dovecot-sieve-1758110008-409730-0@hostname
Code:
1uyqiu-00000001UQj-FjW7 <= [email protected] U=exim P=spamd S=3679 id=CA+TmJzWPrT1AhMZNfUS3uS03gpiXLMdEN7jzTCA=oaME2HusMQ@mail.gmail.com
1uyqj2-00000001UR3-FZoY <= <> U=vmail P=local S=811 id=dovecot-sieve-1758110008-409730-0@hostname
1uyqiu-00000001UQj-FjW7 => account<[email protected]> R=local T=spam_local
1uyqiu-00000001UQj-FjW7 Completed
1uyqit-00000001UQN-GMCp => account<[email protected]> R=spam_check T=spam_check
1uyqit-00000001UQN-GMCp Completed
1uyqj2-00000001UR3-FZoY H=gmail-smtp-in.l.google.com [2a00:1450:400c:c1d::1a]: SMTP timeout after initial connection: Connection timed out
1uyqj2-00000001UR3-FZoY ** [email protected] R=remote T=remote H=gmail-smtp-in.l.google.com [142.251.168.26] I=[xxx.xxx.xxx.xxx] X=TLS1.3:TLS_AES_256_GCM_SHA384:256 CV=yes DN="/CN=mx.google.com": SMTP error from remote mail server after pipelined end of data: 550-5.7.26 Unauthenticated email from mailing-test.li is not accepted due to\n550-5.7.26 domain's DMARC policy. Please contact the administrator of\n550-5.7.26 mailing-test.li domain if this was a legitimate mail. To learn about\n550-5.7.26 the DMARC initiative, go to\n550 5.7.26 https://support.google.com/mail/?p=DmarcRejection 5b1f17b1804b1-46137d04086si16968885e9.24 - gsmtp
Code:
sieve_vacation_send_from_recipient = yes
in log there is [email protected]
Code:
<= account@hostname U=vmail P=local S=856 id=dovecot-sieve-1758104493-152507-0@hostname
Code:
1uypHz-00000001TWr-Elxn <= [email protected] H=mail-vk1-f171.google.com [209.85.221.171] I=[xxx.xxx.xxx.xxx]:25 P=esmtps X=TLS1.3:TLS_AES_256_GCM_SHA384:256 CV=no SNI=mx.mailing-test.li S=3213 DKIM=gmail.com id=CA+TmJzUZu2w3s7wSZ6J9ba7ebyQ26ghiN19F=w4DTu3j7A8cjQ@mail.gmail.com
1uypHz-00000001TXC-GdKb <= [email protected] U=exim P=spamd S=3684 id=CA+TmJzUZu2w3s7wSZ6J9ba7ebyQ26ghiN19F=w4DTu3j7A8cjQ@mail.gmail.com
1uypI5-00000001TXV-F2Zk <= account@hostname U=vmail P=local S=856 id=dovecot-sieve-1758104493-152507-0@hostname
1uypHz-00000001TXC-GdKb => account<[email protected]> R=local T=spam_local
1uypHz-00000001TXC-GdKb Completed
1uypHz-00000001TWr-Elxn => account<[email protected]> R=spam_check T=spam_check
1uypHz-00000001TWr-Elxn Completed
1uypI5-00000001TXV-F2Zk ** [email protected] R=remote T=remote H=gmail-smtp-in.l.google.com [142.250.101.27] I=[xxx.xxx.xxx.xxx] X=TLS1.3:TLS_AES_256_GCM_SHA384:256 CV=yes DN="/CN=mx.google.com": SMTP error from remote mail server after pipelined end of data: 550-5.7.26 Unauthenticated email from domain.com is not accepted due to\n550-5.7.26 domain's DMARC policy. Please contact the administrator of\n550-5.7.26 domain.com domain if this was a legitimate mail. To learn about\n550-5.7.26 the DMARC initiative, go to\n550 5.7.26 https://support.google.com/mail/?p=DmarcRejection 98e67ed59e1d1-32ed9caf4d2si1182734a91.65 - gsmtp
1uypI7-00000001TXb-Fms8 <= <> R=1uypI5-00000001TXV-F2Zk U=exim P=local S=3206
1uypI5-00000001TXV-F2Zk Completed
1uypI7-00000001TXb-Fms8 ** [email protected]: Unrouteable address
1uypI7-00000001TXb-Fms8 Frozen (delivery error message)
But my impression is that the exim daemon is working correctly, because emails are being received and sent.
But when sieve tries to send an email (triggered by vacation), it uses the sendmail command incorrectly.
Any ideas?