# yum install ssmtp logwatch
MailTo = firstname.lastname@example.org
Range = Yesterday
Detail = 10
Service = xxx
mailer = /usr/sbin/ssmtp -t
The available services are on /usr/share/logwatch/scripts/services
to config ssmtp you can check
Mail Forwarder Post
and check your e-mail!
Posted in linux tips
I read about mail in linux and I installed mailutils to send mail in command lines.
at first when I pressed ctrl+D to end the mail body, mail text ended. but the problem was that it didn't send mails at all. now moreover than that problem, even ctrl+D also does not work and after ctrl+D, I must use ctrl+C to end the mail.
I have an ubuntu Amazon EC2's instance and a godday domain.
When I try to send emails from ubuntu using the godaddy's smtp I get this error from /va/log/mail.err:
sSMTP:STARTTLS not working
sSMTP: Cannot open smtpout.secureserver.net:80
The /etc/ssmtp/ssmtp.conf configuration is
I get an error mail from the server, about an email that could not be sent.
The error mail is sent successfully by ssmtp.
The mail that failed to get delivered, is failed because it's sent by the cron service to:
andre@odin2 (no such email address exist)
Technical details of permanent failure:
DNS Error: Domain name not found