The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
2answers
3k views

PHP Mail ssmtp wont work

I can send an email through the terminal command ssmtp just fine but I cant send an email through PHP with the mail() function. I have configured it to do so correctly (afaik) through php.ini. ...
1
vote
1answer
523 views

Centos 5.xx Nagios sSMTP mail cannot be sent from nagios server, but works great from console

I spent last 3 hours of reasearch on how to get nagios to work with email notifications, i need to send emails form work where the only accesible smtp server is the company's one. i managed to get it ...
1
vote
1answer
4k views

sSMTP on Ubuntu: “ssmtp: Cannot open smtp.gmail.com:587”

I have configured sSMTP on Ubuntu and it worked fine yesterday. But today when I am trying to send email it shows "ssmtp: Cannot open smtp.gmail.com:587" error message. $ apt-get install ssmtp $ ...
0
votes
1answer
41 views

ssmtp root alias doesn't work

my ssmtp doesn't change "To" from 'root' to my email. In my ssmtp.conf I have: root=servers@latina.com In debug output I found only one difference between working and not working commands: working ...
0
votes
1answer
113 views

Sending mail from perl applications with SSMTP

I am on host-server with Centos 7 and KVM virtualization. I have 2 guest systems which are in routed virtual LAN. One of them is WEB server, the other is a mail server. Web server has hostname ...
0
votes
1answer
174 views

Sending outgoing mail from multiple e-mail accounts (of different domains hosted on the same server) using sSMTP

I'm hosting multiple domains in my public html folder of an ubuntu-nginx vps server. And I currently have my 'ssmtp.conf' file set up successfully to send outgoing mail(contact, registration, ...
0
votes
1answer
186 views

Unable to send external email via crontab

I'm trying to send email out from crontab. I've tried making crontab run a basic shell script, as well as specifying the actual command within the crontab. I've tried doing this with mpack and ssmtp . ...
0
votes
1answer
555 views

Ubuntu 12.10 Sendmail cannot connect ip:25

I have recently set up an old box with Ubuntu 12.10 and LAMP running on it. I am using php as my cron jobs and would like to send an email as part of the scripts. I have set up sSMTP / Sendmail ...
2
votes
0answers
984 views

Xenserver 6.2 cannot send alert using gmail smtp

I'm using Xenserver 6.2 and configured ssmtp.conf an mail_alert.conf in order to receive alerts through email. I followed the instructions on ...
1
vote
0answers
144 views

SSMTP disable root mail sending

I installed SSMTP to easily send emails from cli with GMail. There is a problem that all system messages from root (xy@gmail.com) are sent with email to ubuntuuser@gmail.com. How I can disable this? ...
1
vote
0answers
371 views

global alias on sSMTP revaliases file

To send mail with sSMTP you have to add aliases for each user on /etc/ssmtp/revaliases My issue: User "user1" tries to send mail with ssmtp user1 don't have an entry in revaliases file ssmtp ...
1
vote
0answers
223 views

Using SSMTP with PHPMailer

I'm not sure if this need to be posted here or on StackOverflow because I'm not sure if the problem is with PHPMailer or SSMTP. I'm having some trouble sending emails using PHPMailer and SSMTP. I ...
1
vote
0answers
545 views

How to configure SSMTP to use the hostname from the host instead of hardcoding it in ssmtp.conf?

I want to deploy the ssmtp config to multiple machines and not have to hardcode the hostname to /etc/ssmtp/ssmtp.conf How can I do this?
0
votes
0answers
41 views

smtp sending mail as “Charlie &”

I'm trying to use ssmtp to send mail from my jails to the mail hub in one of them. However, the from name isn't properly being renamed. The & isn't being replaced with root so I'm getting mails ...
0
votes
0answers
75 views

How to add a custom header to email sent with sSMTP?

For security purpose I need to add a custom header to each email depending on the sending virtual host. We are using sSMTP MTA and I think that the best way to this is to create a small script and ...
0
votes
0answers
94 views

Daemon is sending email to root@vpsxxxxx but which deamon?

I have an email address host a Gandi which is: test@mydomain.com password: 1234 I set up an ssmtp deamon on a VPS debian to be able to send email through this address. /etc/ssmtp/ssmtp.conf is: # ...