Re: Use MX record when sending to $mydomain
Thanks Ansgar, As I copied the output of postconf something did stood out as 'fix me': the $mydestination included $mydomain, I changed $mydestination to be localhost only and it works fine. Regards, ~ Remus On Nov 19, 2009, at 12:25 AM, Ansgar Wiechers wrote: On 2009-11-18 cont...@rusanu.com wrote: I'm using sendmail to send to "someu...@mydomain.com" from the machine that is the A DNS of mydomain, but is not the MX one. postfix relays this to 127.0.0.1 and it gets rejected with 450 user unknown. I want it to use the normal rules and deliver it to the MX registered address for "mydomain.com", where my pop box is. I looked over the main.cf but nothing jumped out 'fix me here' to solve this. Any hint? Please post the output of "postconf -n". And if you must obfuscate your domain name, please use names from RFC 2606. They're reserved for exactly this purpose. Regards Ansgar Wiechers -- "All vulnerabilities deserve a public fear period prior to patches becoming available." --Jason Coombs on Bugtraq
Re: Use MX record when sending to $mydomain
On 2009-11-19 Eero Volotinen wrote: > Quoting Ansgar Wiechers : >> On 2009-11-18 cont...@rusanu.com wrote: >>> I'm using sendmail to send to "someu...@mydomain.com" from the >>> machine that is the A DNS of mydomain, but is not the MX one. >>> postfix relays this to 127.0.0.1 and it gets rejected with 450 user >>> unknown. I want it to use the normal rules and deliver it to the MX >>> registered address for "mydomain.com", where my pop box is. >>> >>> I looked over the main.cf but nothing jumped out 'fix me here' to >>> solve this. Any hint? >> >> Please post the output of "postconf -n". And if you must obfuscate >> your domain name, please use names from RFC 2606. They're reserved >> for exactly this purpose. > > You can bypass mx lookup for example using following syntax on > transport maps: > > domain.net :[mx.domain.net] Since he wants to send mail within the same domain, MX lookups should not fail, so I'd recommend to fix the issue rather than work around it. Regards Ansgar Wiechers -- "All vulnerabilities deserve a public fear period prior to patches becoming available." --Jason Coombs on Bugtraq
Re: Use MX record when sending to $mydomain
Quoting Ansgar Wiechers : On 2009-11-18 cont...@rusanu.com wrote: I'm using sendmail to send to "someu...@mydomain.com" from the machine that is the A DNS of mydomain, but is not the MX one. postfix relays this to 127.0.0.1 and it gets rejected with 450 user unknown. I want it to use the normal rules and deliver it to the MX registered address for "mydomain.com", where my pop box is. I looked over the main.cf but nothing jumped out 'fix me here' to solve this. Any hint? Please post the output of "postconf -n". And if you must obfuscate your domain name, please use names from RFC 2606. They're reserved for exactly this purpose. You can bypass mx lookup for example using following syntax on transport maps: domain.net :[mx.domain.net] -- Eero
Re: Use MX record when sending to $mydomain
On 2009-11-18 cont...@rusanu.com wrote: > I'm using sendmail to send to "someu...@mydomain.com" from the machine > that is the A DNS of mydomain, but is not the MX one. postfix relays > this to 127.0.0.1 and it gets rejected with 450 user unknown. I want > it to use the normal rules and deliver it to the MX registered address > for "mydomain.com", where my pop box is. > > I looked over the main.cf but nothing jumped out 'fix me here' to > solve this. Any hint? Please post the output of "postconf -n". And if you must obfuscate your domain name, please use names from RFC 2606. They're reserved for exactly this purpose. Regards Ansgar Wiechers -- "All vulnerabilities deserve a public fear period prior to patches becoming available." --Jason Coombs on Bugtraq