Quote:
Originally Posted by michaelk
As Disillusionist posted postfix by default only listens to localhost. Edit inet_interfaces in the file /etc/postfix/main.cf
# Listen to all interfaces rather than strict to localhost
inet_interfaces = all
Just curious as to what you are trying to accomplish.
|
I am learning Linux networking.
Can you recommend a good way of learning Linux networking?
When I set inet_interfaces=all, and did this:
Code:
systemctl restart postfix
or
systemctl reload postfix
both did not work. Meaning I could not telnet from host.
I had to reboot the VM.
Strange.
Why?
To telnet into smtp form host to VM (guest) to work,
I also had to disable firewall,
or include postfix daemon in appropriate zone.
virbr0 did not work since it is in DOWN state.
How do you turn it to UP state?
However virtual ethernet (eno16777736) works:
Quote:
2: eno16777736: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:0c:29:e1:93:0b brd ff:ff:ff:ff:ff:ff
inet 10.0.0.145/24 brd 10.0.0.255 scope global dynamic eno16777736
... ...
|
I learned a whole bunch for this post.
Thank you everyone for your generous time.