[pfx] Re: question about relay hostname

2024-07-25 Thread Matus UHLAR - fantomas via Postfix-users
On 2024-07-25 11:15, Corey H via Postfix-users wrote: So, relayhost = mail.example.net without '[]' will lookup MX records for mail.example.net? On 25.07.24 15:40, Corey H via Postfix-users wrote: OK I got the idea. when sending email to u...@foo.com, and relayhost = [mail.example.net], this

[pfx] Re: question about relay hostname

2024-07-25 Thread Corey H via Postfix-users
On 2024-07-25 11:15, Corey H via Postfix-users wrote: So, relayhost = mail.example.net without '[]' will lookup MX records for mail.example.net? Thanks. OK I got the idea. when sending email to u...@foo.com, and relayhost = [mail.example.net], this postfix won't lookup MX records for foo.com

[pfx] Re: question about relay hostname

2024-07-25 Thread Corey H via Postfix-users
So, relayhost = mail.example.net without '[]' will lookup MX records for mail.example.net? Thanks. On 2024-07-25 11:12, Serhii via Postfix-users wrote: From postfix docs: "The form [hostname] turns off MX or SRV lookups." https://www.postfix.org/postconf.5.html#relayhost On 7/25/24 09:09, Co

[pfx] Re: question about relay hostname

2024-07-25 Thread Emmanuel Seyman via Postfix-users
* Corey H via Postfix-users [25/07/2024 11:09] : > > relayhost = [mail.example.net]:587 > but what does this mean with '[]' and hostname in it? >From the documentation[1]: "The form [hostname] turns off MX or SRV lookups." Emmanuel 1: https://www.postfix.org/postconf.5.html#relayhost ___

[pfx] Re: question about relay hostname

2024-07-25 Thread Serhii via Postfix-users
From postfix docs: "The form [hostname] turns off MX or SRV lookups." https://www.postfix.org/postconf.5.html#relayhost On 7/25/24 09:09, Corey H via Postfix-users wrote: Hi list, I saw this configuration in my company's postfix. relayhost = [mail.example.net]:587 Generally I would write it