localhost is a name that Centos resolves.
https://www.liquidweb.com/kb/what-is-localhost
https://forums.centos.org/viewtopic.php?t=47101 discusses how it gets
interpreted/set.
lo and ifconfig does not enter into the discussion.
On 2020-10-12 12:44 p.m., Jason Long wrote:
I disabled IPv6 i
Thank you.I edited both "/etc/hosts" and "/etc/sysconfig/network" files and put
my domain name there.What is my server problem?
Sent from Yahoo Mail on Android
On Mon, Oct 12, 2020 at 8:24 PM, Ron Wheeler
wrote:localhost is a name that Centos resolves.
https://www.liquidweb.com/kb/w
I disabled IPv6 in CentOS but connect with localhost not affected.
Sent from Yahoo Mail on Android
On Mon, Oct 12, 2020 at 6:48 PM, Jason Long wrote: #
ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:80230 errors:0 dropped:0 overruns:0 frame:0
TX packets:80230 errors:0 dropped:0
" ::1" is a local address for IPv6
"127.[something]" is a local address of IPv4.
https://en.wikipedia.org/wiki/Localhost
My guess is that you didn't include IPv6 address to the list of
"mynetworks", so Postfix can't "trust" it, because
"smtpd_relay_restrictions" is default to: "permit_mynetworks,
On Mon, Oct 12, 2020 at 02:54:55PM +, Jason wrote in
<1093127483.422330.1602514495...@mail.yahoo.com>:
Thank you for your reply.
How can I sure I'm using IPv4 or IPv6?
You have both on your system. When you telnetted to localhost, it used ipv6 (see
the "Trying ::1..." part). You do not have
Thank you for your reply.
How can I sure I'm using IPv4 or IPv6?
On Monday, October 12, 2020, 06:18:10 PM GMT+3:30, IL Ka
wrote:
> mynetworks = 127.0.0.0/8, My Public IP
> Trying ::1...
It could be that you are using IPv6 to connect while "mynetworks" is IPv4
address.
Try "telnet 127
> mynetworks = 127.0.0.0/8, My Public IP
> Trying ::1...
It could be that you are using IPv6 to connect while "mynetworks" is IPv4
address.
Try "telnet 127.0.0.1 25"
On Mon, Oct 12, 2020 at 3:25 PM Jason Long wrote:
> Hello,
> I installed Postfix on CentOS and my "main.cf" file is as below:
>
>
Hello,
I installed Postfix on CentOS and my "main.cf" file is as below:
myhostname = mail.my-example.com
mydomain = my-example.com
myorigin = $mydomain
## Uncomment and Set inet_interfaces to all ##
inet_interfaces = all
## Change to all ##
inet_protocols = all
## Comment ##
##- Uncomment ##
mydes