paisley
Verified User
- Joined
- Aug 17, 2013
- Messages
- 34
I use Amazon SES for email only forwarders giving errors because the domain need to be verified. (gmail.com)
So the from is: name@gmail.com and of course gmail.com domainname cannot be vertified.
I tried to fix that with rewriting the headers in /etc/exim.acl_check_recipient.pre.conf:
But still gives the error, or not the from name (user@gmail..com) i want, anyone an idea how to fix this, or trick amazon ses their vertification ?
(so it looks like user@domain.nl sends it, but the recipient see user@gmail.com ?
So the from is: name@gmail.com and of course gmail.com domainname cannot be vertified.
I tried to fix that with rewriting the headers in /etc/exim.acl_check_recipient.pre.conf:
Code:
warn
domains = +local_domains
condition = ${lookup{$local_part}lsearch{/etc/virtual/${domain}/aliases}{1}{0}}
remove_header = From
remove_header = Source
remove_header = Sender
remove_header = Return-Path
remove_header = DKIM-Signature
remove_header = Reply-to
add_header = Reply-to: $sender_address
add_header = X-Original-Sender-Address: $sender_address
add_header = X-original-Recipient-Address: $local_part@$domain
add_header = From: $local_part@$domain
(so it looks like user@domain.nl sends it, but the recipient see user@gmail.com ?