Dear All,
I want to run SSMTP server on my SUSE 11 SP2.
I have downloaded package from official repository
ssmtp-2.64-5-x86_64.pkg.tar
and I have this .tar file in folder onto my SUSE now.
How to install this SMTP server from this package from cmd line as root?
Regards
GN
On 06/03/2014 12:54, gniecka wrote:
[color=blue]
I want to run SSMTP server on my SUSE 11 SP2.[/color]
Since you’ve posted in a SLES forum by “SUSE 11 SP2” do you mean SLES11
SP2? Please post the output from “cat /etc/*release”.
[color=blue]
I have downloaded package from official repository[/color]
Which official repository? Please post URL.
[color=blue]
ssmtp-2.64-5-x86_64.pkg.tar
and I have this .tar file in folder onto my SUSE now.
How to install this SMTP server from this package from cmd line as
root?[/color]
…pkg files are normally associated with (Mac) OS X but they could apply
to some variants of Linux too (but with a different file format).
Perhaps if you could let us know what you’re trying to achieve we can
advise on the best way of getting there. I’m guessing (with the help of
Google) that SSMTP is either a Simple or Secure SMTP server?
HTH.
Simon
SUSE Knowledge Partner
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below. Thanks.
Dear Simon,
Yes, I’ mean SLES11 SP2 for SAP Applications.
All I want to do is to send email notification after one of my cron job (backup script) is finished.
I though that can be done by installing, configuring and running Simple SMTP server, smth like:
http://www.nixtutor.com/linux/send-mail-with-gmail-and-ssmtp/
While my evaluation period for SLES11 is expired (no working repos on my SLES) I have to do this “by hand” manually.
Cheers
GN
On 06/03/2014 14:34, gniecka wrote:
[color=blue]
Yes, I’ mean SLES11 SP2 for SAP Applications.[/color]
Okay (and note there is a dedicated forum for SLES for SAP
Applications[1] but your question is fine here as relates to SLES more
generally).
[color=blue]
All I want to do is to send email notification after one of my cron job
(backup script) is finished.
I though that can be done by installing, configuring and running Simple
SMTP server, smth like:
http://www.nixtutor.com/linux/send-mail-with-gmail-and-ssmtp/
While my evaluation period for SLES11 is expired (no working repos on my
SLES) I have to do this “by hand” manually.[/color]
Ah nothing so complicated as your original post suggested.
I’m not familiar with SLES for SAP Applications but I suspect you’ll
find that you already have a package called postfix installed which can
handle this. What does “rpm -q postfix” output?
If it produces “postfix-” then you have postfix already
installed. If not you should be able to install it via “zypper in postfix”.
If/once installed you should edit /etc/postfix/main.cf and set relayhost
= [<DNS_name_or_IP_address_of_your_SMTP_host>] like
relayhost = [mail.example.com]
then run “rcpostfix restart” to restart the Postfix process to put that
change into effect.
Next edit /etc/aliases and set/add an alias for root:
<your_email_address> like
root: email@example.com
before running “newaliases” for that last change to take effect.
Now when cron runs it should email the root user which then gets
redirected to your email address via Postfix.
HTH.
Simon
SUSE Knowledge Partner
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below. Thanks.
[QUOTE=smflood;19719]On 06/03/2014 14:34, gniecka wrote:
If it produces “postfix-” then you have postfix already
installed. If not you should be able to install it via “zypper in postfix”.
[/QUOTE]
I have postfix by defaul onto my SUSE.
Simon, thank You for your support!