>>You might want to use sender_dependent_relayhost_maps, to set an empty 
>>relayhost for this sender My >>doc says it appeared in 2.3, so it should be 
>>Ok in 2.6.6

The warning is returned when I run the following command:

# postmap /etc/postfix/relayhost_maps
postmap: warning: /etc/postfix/relayhost_maps, line 1: expected format: key 
whitespace value

Carl

-----Original Message-----
From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] 
On Behalf Of Erwan David
Sent: Tuesday, April 22, 2014 1:40 PM
To: postfix-users@postfix.org
Subject: Re: How to configure to let one specific sender to bypass the relay 
host in /etc/postfix/main.cf?

Le 22/04/2014 19:28, Xie, Wei a écrit :
>
> Need help!!!
>
>  
>
> We are using Postfix-2.6.6 running on RHEL 6.4.
>
>  
>
> We define all outgoing emails are relayed to Windows Antispam System – 
> FOPE for scanning in file /etc/postfix/main.cf.
>
>  
>
> relayhost = mail.us.messaging.microsoft.com
>
>  
>
> Here we have a special requirement - we need configure to let outgoing 
> emails from sender seiad...@osu.edu <mailto:seiad...@osu.edu> bypass 
> the above relay host and directly connect to MX host of domain of 
> every recipient address (i.e. a...@yahoo.com <mailto:a...@yahoo.com>, 
> c...@gmail.com <mailto:c...@gmail.com>, a...@hotmail.com,etc 
> <mailto:a...@hotmail.com,etc>).
>
>  
>
> Can Postfix be configured to meet our above requirement?
>
>  
>
> Thanks to all,
>
>  
>
> Carl Xie
>
> OCIO/Enterprise messaging Group
>
> Ohio State University
>

You might want to use sender_dependent_relayhost_maps, to set an empty 
relayhost for this sender My doc says it appeared in 2.3, so it should be Ok in 
2.6.6


Reply via email to