I installed sSMTP in ubuntu 12.04
This works goed but I have two problems and I don't
find a answer with google.
I don't find how to stop sSMTP so this server only
works when I want.
sudo etc//init.d/ssmtp stop doesn't work because
ssmtp isn't in init.d
When I start truecrypt than I always have a file
in my home "dead_letter" with information about truecrypt.
I installed sSMTP in ubuntu 12.04
This works goed but I have two problems and I don't
find a answer with google.
I don't find how to stop sSMTP so this server only
works when I want.
sudo etc//init.d/ssmtp stop doesn't work because
ssmtp isn't in init.d
When I start truecrypt than I always have a file
in my home "dead_letter" with information about truecrypt.
Without knowing the package in question, some general hints.
There must be some sort of start-script. Analyze this and find out what the process' name is (it doesn't have to be "ssmtp" at all). Maybe you find a stop-script in the process, by analyzing the packages contents, etc.. Use this. In case you find no such script/command:
First possibility: there are system-related mechanisms to start subsystems, like the system resource controller in AIX. I don't know of such a mchanism in Ubuntu, though.
Second possibility: the process maintains a PID file in /var/run. In this case use the content of the PID file to kill it and remove the file once it succeeds:
This is the most preferable way daemons should behave in case they don't rely on a system-specific way of doing it, like the above-mentioned.
Third possibility: using the process' name search the process list and kill it:
If kill -15 (SIGTERM) won't work (but only then!) replace it with kill -9 (SIGKILL).
I don't find how to stop sSMTP so this server only
works when I want.
sudo etc//init.d/ssmtp stop doesn't work because
ssmtp isn't in init.d
I do not use ssmtp, but from apt-cache show ssmtp I can read:
Quote:
A secure, effective and simple way of getting mail off a system to your
mail hub. It contains no suid-binaries or other dangerous things - no mail
spool to poke around in, and no daemons running in the background. Mail is
simply forwarded to the configured mailhost. Extremely easy configuration.
.
WARNING: the above is all it does; it does not receive mail, expand aliases
or manage a queue. That belongs on a mail hub with a system administrator.
ssmtp has been running well under Kubuntu 12.04.1 for plain text messages. I would like to send html messages with ssmtp -t < /path/to/the/message.txt, but I cannot seem to get the message.txt file properly formatted. I have tried various charsets,
Content-Transfer-Encoding, rearranging the... (0 Replies)
Hi guys!
Im trying to setup my box so it can send its emails through Office 365 SMTP. I spent 8 hours yesterday trying to configure sendmail to do this, but I gave up.
Now Im trying to do it with SSMTP and I followed this guide to configure it How to install and configure sSMTP on CentOS /... (0 Replies)
I have installed sSMTP and set it up to use my gmail.
Sending from cli does work fine:
msg file:From: test@gmail.com
To test2@gmail.com
Subject: test post
This is a test
Executing from console:ssmtp -t < msg
does work fine.
But from script it does not work:#!/bin/sh
ssmtp -t < msg... (0 Replies)
Hi,
I have trouble in configuring ssmtp for sending mail to gmail. I have configured the following way, plz suggest/correct me if i have done something wrong
root=nagiostool@gmail.com
mailhub=smtp.gmail.com:587
#RewriteDomain=
# The full hostname
Hostname=nagiosxi
# Set this to... (1 Reply)
Hello,
I am facing a problem with ssmtp mailing agent.
I have installed and configured ssmtp in my RHEL5.3 system. I have written a shell script which sends mail to a couple of email id's. The script uses ssmtp to send mails. When I am running the scipt manually i.e. sh <script_name>.sh then... (3 Replies)