LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Configure Mailx (https://www.linuxquestions.org/questions/linux-software-2/configure-mailx-100321/)

Gerardoj 10-04-2003 09:09 PM

Configure Mailx
 
I like to configure mailx so that I can send/receive emails to/from outside.
Can someone tell me how to configure mailx SMTP, for this purpose?

Regards,

mx1 05-11-2016 02:52 AM

Just use .mailrc
 
Hello, Gerardoj (and whoever may read this post):

To send mail using an external smtp, just add the lines

set smtp=<your-smtp>
set from='<your-email-address> (<your-display-name>)'

to your ~/.mailrc file.

If you also want to receive mail as ususal, just look in the man-page of mailx for "account" for more settings.


All times are GMT -5. The time now is 02:20 AM.