If the relayhost is empty in the file 
sender_dependent_relayhost_maps=/etc/postfix/relayhost_maps; the email sent 
from seiad...@osu.edu will be relayed by relay host in the file 
/etc/postfix/main.cf.

Thanks for help from David and Wietse!!!

Carl


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

Erwan David:
> >>> 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
> 
> I never used the feature so never had to define an empty relayhost 
> this way...

His problem is with the relayhost_maps file, he needs to specify a lookup key 
(sender address) and result value (relay host).

        Wietse


Reply via email to