Re: How to make Postfix use hostnames from /etc/hosts ?

2019-10-07 Thread Viktor Dukhovni
> On Oct 7, 2019, at 7:46 PM, Jaroslaw Rafa wrote: > >> Unless your system sends all mail to statically configured >> relays listed in /etc/hsots, you MUST NOT set: >> >> smtp_host_lookup = native > > But "native" doesn't mean /etc/hosts only! Native means system-configured > name

Re: How to make Postfix use hostnames from /etc/hosts ?

2019-10-07 Thread Jaroslaw Rafa
Dnia 7.10.2019 o godz. 19:40:40 Viktor Dukhovni pisze: > > Unless your system sends all mail to statically configured > relays listed in /etc/hsots, you MUST NOT set: > > smtp_host_lookup = native But "native" doesn't mean /etc/hosts only! Native means system-configured name resolution

Re: How to make Postfix use hostnames from /etc/hosts ?

2019-10-07 Thread Viktor Dukhovni
> On Oct 7, 2019, at 6:09 PM, Jaroslaw Rafa wrote: > > I found in the documentation that I have to add the parameter > "smtp_host_lookup=native" to main.cf to make Postfix use system configured > name resolution instead of trying to resolve names by itself. Unless your system sends all mail to

Re: How to make Postfix use hostnames from /etc/hosts ?

2019-10-07 Thread Rich Shepard
On Tue, 8 Oct 2019, Jaroslaw Rafa wrote: (However, it didn't help with my original Gmail issue - even mail relayed via another server still goes to spam on the receiving side :() Jaroslaw, While not directly related to your issue, I've found that some clients who use gmail end up with

Re: How to make Postfix use hostnames from /etc/hosts ?

2019-10-07 Thread Jaroslaw Rafa
Dnia 8.10.2019 o godz. 00:09:34 Jaroslaw Rafa pisze: > As I have trouble with sending emails to Gmail (I wrote about it in a > different thread), I try to configure Postfix to send mail to Gmail via a > different mail server as a relay. However, for reasons too long to explain > here, I would

How to make Postfix use hostnames from /etc/hosts ?

2019-10-07 Thread Jaroslaw Rafa
As I have trouble with sending emails to Gmail (I wrote about it in a different thread), I try to configure Postfix to send mail to Gmail via a different mail server as a relay. However, for reasons too long to explain here, I would like Postfix to refer to that server via hostname that I defined