LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 10-04-2003, 09:09 PM   #1
Gerardoj
Member
 
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?

Regards,
 
Old 05-11-2016, 02:52 AM   #2
mx1
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.
 
  


Reply



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 08:27 AM
mailx and slackware mikz Slackware 2 05-11-2005 09:35 AM
mail(mailx) to be nullclient? Chowroc Linux - Networking 0 12-18-2004 05:17 AM
installing mailx skverma_in Linux - Software 2 11-25-2004 10:56 PM
configuraring mailx without name server doraemona Linux - General 2 05-20-2002 11:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:26 PM.

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