Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-04-2003, 10:09 PM   #1
Registered: May 2003
Location: Somewhere over the Rainbow
Distribution: Slackware 9.x, Knoppix, Damn Small Linux, RedHat.
Posts: 465

Rep: Reputation: 30
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?

Old 05-11-2016, 03:52 AM   #2
LQ Newbie
Registered: May 2016
Posts: 4

Rep: Reputation: Disabled
Thumbs up 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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sending attachments using mailx wolfman423 Linux - Newbie 0 10-14-2005 09:27 AM
mailx and slackware mikz Slackware 2 05-11-2005 10:35 AM
mail(mailx) to be nullclient? Chowroc Linux - Networking 0 12-18-2004 06:17 AM
installing mailx skverma_in Linux - Software 2 11-25-2004 11:56 PM
configuraring mailx without name server doraemona Linux - General 2 05-20-2002 12:21 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:47 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration