Hello,
I have a autoreply for a certain mailbox, everything works well. except the automatic replies to gmail accounts.
Exim.conf
If I send a mail directly from the same mailbox to the same gmail account it works. The authentication is done correctly.
Here are the results from mail-tester:
https://ibb.co/cufrz5
The exim mainlog:
So I think, the problem is when the automatic mail is send, not the correct headers are added (DKIM, SPF, ...) But how can I add that?
Thanks in advance.
Jordy
I have a autoreply for a certain mailbox, everything works well. except the automatic replies to gmail accounts.
Exim.conf
Code:
userautoreply:
driver = autoreply
bcc = ${lookup{${local_part}} lsearch {/etc/virtual/${domain}/autoresponder.conf}{$value}}
file = /etc/virtual/${domain}/reply/${local_part}.msg
from = "${local_part}@${domain}"
log = /etc/virtual/${domain}/reply/${local_part}.log
no_return_message
subject = "${if def:h_Subject: {Autoreply: ${lookup{$domain}lsearch* {/etc/virtual/domainowners}{$value}} ${quote:${escape:$h_Subject:}}} {Autoreply $
to = "${sender_address}"
user = mail
#once re-added May 16, 2008:
once = /etc/virtual/${domain}/reply/${local_part}.once
once_file_size = 100K
once_repeat = 1m
If I send a mail directly from the same mailbox to the same gmail account it works. The authentication is done correctly.
Here are the results from mail-tester:
https://ibb.co/cufrz5
The exim mainlog:
Code:
2017-08-19 17:12:55 1dj5Ql-0005Dr-Cc <= <> R=1dj5Ql-0005Dl-Be U=mail P=local S=523 T="Autoreply: \"autoresponder test\"" from <> for [email protected]
2017-08-19 17:12:55 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1dj5Ql-0005Dr-Cc
2017-08-19 17:12:56 1dj5Ql-0005Dr-Cc ** [email protected] F=<> R=lookuphost T=remote_smtp H=gmail-smtp-in.l.google.com [2a00:1450:4013:c06::1b] X=TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128 CV=yes: SMTP error from remote mail server after pipelined end of data: 550-5.7.1 This message does not have authentication information or fails to pass\n550-5.7.1 authentication checks. To best protect our users from spam, the\n550-5.7.1 message has been blocked. Please visit\n550-5.7.1 https://support.google.com/mail/answer/81126#authentication for more\n550 5.7.1 information. u25si7115210eda.312 - gsmtp
2017-08-19 17:12:56 1dj5Ql-0005Dr-Cc Frozen (delivery error message)
So I think, the problem is when the automatic mail is send, not the correct headers are added (DKIM, SPF, ...) But how can I add that?
Thanks in advance.
Jordy