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.
|