Johannes Nohl wrote:

> master.cf:
> 
> smtp      unix  -       -       n       -       -       smtp
> # ^ first IP for all except example.com
> # bind second IP for example.com
> smtp155   unix  -       -       n       -       -       smtp
>     -o smtp_bind_address=xx.xx.xx.155

Looks good. 

> main.cf:
> 
> sender_dependent_relayhost_maps = hash:/etc/postfix/sender_relay

Good.

> /etc/postfix/sender_relay:
> 
> @example.com                       smtp155:

Good.

> I send a test mail:
> 
> mail -r [EMAIL PROTECTED] -s test [EMAIL PROTECTED]
> 
> It returns the described error:
> <[EMAIL PROTECTED]>: Host or domain name not found. Name service
>     error for name=smtp155 type=AAAA: Host found but no data record of
>     requested type

This looks to me as if postfix is trying to lookup an IPV6 address
for 'smtp155' when trying to deliver mail to xyz.com.  
I don't understand why 'smtp155' is somehow being seen as a hostname,
instead of just a symbolic name of a transport. 



/Per Jessen, Zürich

-- 
http://www.spamchek.com/ - your spam is our business.

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to