LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-27-2012, 10:28 PM   #1
angelo.c
Member
 
Registered: Jul 2011
Location: Hong Kong
Distribution: Slackware 13.1,CentOS 6.4,Fedora 16
Posts: 56

Rep: Reputation: Disabled
ssmtp package


Hello,everyone.

I would like to send an email from my server when there are many server log files which I want to keep an eye on.After searching on the web,It comes up with a program called ssmtp which I can use to send email via gmail, so I don't have to install an smtpd like sendmail or postfix to do such an easy task.

However,I couldn't find the program in slackware or slackbuild.How do you guys get this program then?

Please drop me a line if you use this program called "ssmtp".

Thanks.
 
Old 02-27-2012, 11:25 PM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,105

Rep: Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178
You are probably talking abound msmtp: here you can see an example configuration file for gmail.
 
Old 02-28-2012, 12:12 AM   #3
angelo.c
Member
 
Registered: Jul 2011
Location: Hong Kong
Distribution: Slackware 13.1,CentOS 6.4,Fedora 16
Posts: 56

Original Poster
Rep: Reputation: Disabled
Actually,I visited this website - http://www.cyberciti.biz/tips/linux-...smarthost.html

I thought they really mean ssmtp and don't know whether they are the same.

Thanks.
 
Old 02-28-2012, 12:28 AM   #4
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,105

Rep: Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178
yes, you're right, they're two different piece of software, and I wasn't aware of ssmtp (or just forgot that it exists ).

as far as I know looks unmaintaned for slackware.

I can only suggest you to have a try with msmtp, seems also easier to configure.

Last edited by ponce; 02-28-2012 at 12:31 AM.
 
Old 02-28-2012, 04:44 AM   #5
angelo.c
Member
 
Registered: Jul 2011
Location: Hong Kong
Distribution: Slackware 13.1,CentOS 6.4,Fedora 16
Posts: 56

Original Poster
Rep: Reputation: Disabled
ponce,thanks for the reply.

It doesn't matter if they are different as I just want to send email via gmail so I don't have to install postfix on my server.

However, I found it hard to find the certificate as I am not using archlinux but Slackware.

Have you ever set it up on your computer?

Thanks again.
 
Old 02-28-2012, 05:26 AM   #6
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Some detail about the certs (and a great deal more) here:

http://www.andrews-corner.org/mutt.html
 
Old 02-28-2012, 10:43 AM   #7
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,105

Rep: Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178
from "man msmtp"
Code:
       tls_trust_file [file]
              This command activates strict server certificate verification.
              The filename must be the absolute path name of a file in PEM format containing one or more certificates of trusted  Certification  Authori-
              ties (CAs).
              On Debian based systems, you can install the ca-certificates package and use the file /etc/ssl/certs/ca-certificates.crt
this file, part of the ca-certificates package, is also on slackware in the default installation.
 
  


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
[SOLVED] sSMTP issue mail2mphani Linux - Server 5 10-03-2011 08:20 AM
[SOLVED] how to use the ssmtp or sendmail ted_chou12 Linux - Software 1 04-05-2011 01:40 AM
ssmtp problem karlochacon Debian 4 12-02-2008 06:21 PM
How to configure ssmtp ryy705 Linux - Software 1 05-29-2008 08:20 AM
SSMTP and mailhub iskrem Linux - Software 2 02-11-2006 09:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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