Mark Constable wrote:
> On 2008-08-27, Jeff Jansen wrote:
>>> I have a number of .courier files pointing to external email
>>> addresses and I would like to rewrite the From_ line to avoid
>>> SPF blocking on destination mail servers that use SPF checking.
> 
>> By "From_" line do you mean the SMTP envelope "MAIL FROM:"?  If so then
>> I think you could simply change your .courier to be
>>
>> | sendmail -f <some-good-address> [EMAIL PROTECTED]
>>
>> That would pump the message back out through sendmail, but with a
>> different "MAIL FROM:"  I haven't tried this, so YMMV, as they say. ;-)
> 
> Yes, brilliantly simple, thank you for that hint, it works :-)
> 
> So the above can be used to prevent SPF blocking on remote servers,
> from locally forwarded aliases, assuming the remote server checks for
> MAILFROM using the equivalent of couriers mailfromok...

Careful though; if the remote delivery fails for some reason, the 
envelope sender address may receive a bounce, which will cause a 
mail-loop if it's the same same address as the one that has this forward 
(or has a similar forward set up).



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to