Suppose i send a mail using the following the following command:
mailx
[email protected]
then does mailx first try to find out the SMTP server of my ISP for relaying the mail or does it connect directly. Does it depend on whether my PC has a public IP address or it is behind a NAT.
How do I check the settings of mailx on my PC?
How can I verify this using tcpdump?