💻 Software
Does mailx send mail using an SMTP relay or does it directly connect to the target SMTP server?
Fresh5 days ago
Mar 15, 2026202770 viewsConfidence Score0%
0%
Problem
Suppose i send a mail using the following the following command: 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 …
Error Output
mailx person@x.com
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Does mailx send mail using an SMTP relay or does it directly connect to the target SMTP server?
Low Risk
mailx can use SMTP. It's configure file is ~/.mailrc One example is mailx using Gmail's SMTP. The configure can even be in one command: If a normal SMTP server is used, it is much easier (see a detailed introduction here): You can also put these int…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix