Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-24-2014, 08:34 AM   #1
Registered: Nov 2010
Location: Stuttgart, Germany
Distribution: Debian like
Posts: 785
Blog Entries: 2

Rep: Reputation: 75
How to setup "mailx" ?

I implemented a proposal indicated here
The mails seems not to go out/in.. (error in mail.log).
It seems I need to install a mailserver; I dont know how...
In order to make following running...
I would like to implement this on one "raspberry PI" (raspbian) which is connected continously with the internnet.
Any advice is welcome.
Old 10-24-2014, 11:36 AM   #2
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,043
Blog Entries: 14

Rep: Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212
As noted in the link you posted you'd have to install a package like "sendmail". Another popular one is "postfix". The "mailx" command is just a front end that sends mail using the installed mailer. "mailx" isn't required (but makes life easier) but a mailer like sendmail or postfix is required.
Old 10-24-2014, 09:05 PM   #3
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,773
Blog Entries: 17

Rep: Reputation: 3313Reputation: 3313Reputation: 3313Reputation: 3313Reputation: 3313Reputation: 3313Reputation: 3313Reputation: 3313Reputation: 3313Reputation: 3313Reputation: 3313
A program for sending mail that is very easy to configure is msmtp.

I use fetchmail to get mail, procmail and formail to process it, mutt to read it, and msmtp to send it, based on this Gentoo tutorial (leaning how to use a command line mail client was my summer Linux project):

Even though the tutorial does not reference mailx, it is a good intro to handing mail via the command line.

Last edited by frankbell; 10-24-2014 at 09:07 PM.


mailx, raspbian, setup

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
[SOLVED] LM13, How to setup bridge? USB wlan1 -->wireless eth1 / ad-hoc "hotspot"? / "ICS" ? Scott1265 Linux - Wireless Networking 1 05-08-2013 12:15 PM
Getting a "Deferred: 451 4.3.5 Server configuration error" while running mailx threezerous Linux - Newbie 0 01-30-2011 10:27 AM
"Invalid or incomplete multibyte.." using cat textfile | mailx recipient@domain pargilo Linux - Software 0 04-01-2006 06:58 AM
"mythtv-setup" giving "Session management error: Authentication Rejected" Mitchua Ubuntu 0 10-09-2005 05:32 PM
"mail" and "mailx" lost. yapp Slackware 2 10-27-2003 12:35 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:22 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration