> I have in my postfix main.cf
> sender_dependent_relayhost_maps = hash:/etc/postfix/sender_transport
> and in this file
> [hidden email] smtp:[192.168.2.105]
> This format is not correct apparently , because I am getting an error
> when sending a mail
The lookup result has the same syntax as the relayhost configuration
On Mon, Jun 09, 2008 at 09:30:06PM +0530, ram wrote:
> On Mon, 2008-06-09 at 10:49 -0400, Wietse Venema wrote:
> > ram:
> > > I have in my postfix main.cf
> > > -------
> > > sender_dependent_relayhost_maps = hash:/etc/postfix/sender_transport
> > > -------
> > >
> > > and in this file
> > > ---------
> > > [hidden email] smtp:[192.168.2.105]
> > > ----------
> Ok thanks , got it
> I have another question , Can I make sender_dependent_relayhost_maps
> override the transport_maps
No, this is a bad idea, because local recipients and remote recipients
should not generally be sent to the same place. If you really want force
traffic from a particular sender to the same place, regardless of the
recipient address, and the mail arrives via SMTP, you may be able to
use a "FILTER" rule in an access table.
Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.
If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.