Re: [exim] Alias to external server and SPF failure

Top Page
Delete this message
Reply to this message
Author: Edward St Pierre
Date:  
To: Adam Major
CC: exim-users
Subject: Re: [exim] Alias to external server and SPF failure
There are details about the SRS scheme on the exim wiki:

http://wiki.exim.org/SRS

Ed

On 19 May 2010 12:46, Adam Major <adi@???> wrote:

> 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 = login@??? or
> external domain without SPF checking.
>
> Problems starts when target server have strong SPF checking.
> For example when user sent mail
> from: login@??? (wp.pl is one of biggest web portals in Poland)
> to alias: login@???
> target mail: other@???
>
> I suppose I must rewrite "FROM" mail to login@???
> AND put login@??? 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/
>