Welcome to the most active Linux Forum on the web.
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 06-11-2015, 10:27 PM   #1
Registered: Dec 2014
Posts: 56

Rep: Reputation: Disabled
ssmtp and mailutils, can not send mail...

Hey guys, at work, mpack is working great. I can email my log files. Now, I am trying to replicate the same at home.

I have log files I am trying email myself using mpack. I know I need to install mailutils and ssmtp and configure the /etc/ssmpt/ssmtp.conf file.

when I echo "testingtesting" | mail -s "test"
i get this error

mail: cannot send message: Process exited with a non-zero status

as for my ssmtp.conf it looks like this (i also chown willc86:willc86 and chmod 775 ssmtp.conf)

willc86@venus:~$ cat /etc/ssmtp/ssmtp.conf


any idea why it is not sending mail for me? Am I missing something? I tried a few articles and it seems like I have done everything correctly; so I am a bit stuck on this

another clue; when I run the mpack command, I get this error
sendmail: Authorization failed (534 5.7.14 j1sm1843724obj.19 - gsmtp)

thanks for the help guys!

Last edited by willc86; 06-11-2015 at 10:29 PM.


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
GNU Mailutils 2.99.98 is not saving mail in the correct directory Alpha90 Linux - Software 0 01-07-2015 09:44 AM
send mail to all email-id's in a file using ssmtp aavika Linux - Newbie 3 12-10-2014 06:23 AM
Mailutils (mail command) seprob Linux - Server 9 10-31-2008 03:16 AM
troubles of mailutils & mail command tatsuya Linux - Newbie 2 06-15-2008 08:52 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:21 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