Hello!
FreeBSD, Exim 4.71 + MySQL
I have Alias router defined as:
mysql_alias:
driver = redirect
domains = +local_domains
allow_fail
allow_defer
data = ${lookup mysql {SELECT send_to FROM mail_alias WHERE
mail_domain='${quote_mysql:$domain}'
AND mail_user='${quote_mysql:$local_part}'}}
All work ok until "send_to" columns = [email protected] or
external domain without SPF checking.
Problems starts when target server have strong SPF checking.
For example when user sent mail
from: [email protected] (wp.pl is one of biggest web portals in Poland)
to alias: [email protected]
target mail: [email protected]
I suppose I must rewrite "FROM" mail to [email protected]
AND put [email protected] to "REPLY-TO" and then SPF checking will pass.
How can I do that best?
Best Regards!
--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/