STARTTLS not working / Cannot open smtp.gmail.com:587

General support questions
User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: STARTTLS not working / Cannot open smtp.gmail.com:587

Post by TrevorH » 2017/11/21 17:08:45

You can have many MTAs installed but you can only run one at a time. If you have ssmtp running then you cannot start sendmail or postfix.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Tadas.juska
Posts: 8
Joined: 2017/11/02 12:26:50

Re: STARTTLS not working / Cannot open smtp.gmail.com:587

Post by Tadas.juska » 2017/11/21 17:50:43

TrevorH wrote:You can have many MTAs installed but you can only run one at a time. If you have ssmtp running then you cannot start sendmail or postfix.
So why the MR. akhtar4ever confusing me :D?

I can also use Postfix as you said, but zabbix using Ssmtp integration with notifications, i can run additional script, but i don't like the solution of the problem.

hunter86_bg
Posts: 2019
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: STARTTLS not working / Cannot open smtp.gmail.com:587

Post by hunter86_bg » 2017/11/23 05:01:50

My idea was to take the 'Execstart' stanza from the systemd service and then to strace that.
I'll check your previous message on a computer.

zainul
Posts: 2
Joined: 2017/11/24 13:46:07

Re: STARTTLS not working / Cannot open smtp.gmail.com:587

Post by zainul » 2017/11/24 13:53:31

I was also having the same problem.
The solution provided by akhtar4ever is pretty straight forward and worked fine in my case.
So why the MR. akhtar4ever confusing me :D?
Dont know why its confusing for you. :P :P :P

Tadas.juska
Posts: 8
Joined: 2017/11/02 12:26:50

Re: STARTTLS not working / Cannot open smtp.gmail.com:587

Post by Tadas.juska » 2017/11/24 14:32:09

zainul wrote:I was also having the same problem.
The solution provided by akhtar4ever is pretty straight forward and worked fine in my case.
So why the MR. akhtar4ever confusing me :D?
Dont know why its confusing for you. :P :P :P
But now you are using sendmail instead of ssmtp.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: STARTTLS not working / Cannot open smtp.gmail.com:587

Post by TrevorH » 2017/11/24 14:32:49

Well, installing a 2nd or 3rd MTA when one will do is usually not the best answer. In my experience, sendmail is usually not the answer to anything except the question "what is the most complex and unmanageable MTA there is?".
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke


zainul
Posts: 2
Joined: 2017/11/24 13:46:07

Re: STARTTLS not working / Cannot open smtp.gmail.com:587

Post by zainul » 2017/12/01 10:22:25

Tadas.juska wrote:
zainul wrote:I was also having the same problem.
The solution provided by akhtar4ever is pretty straight forward and worked fine in my case.
So why the MR. akhtar4ever confusing me :D?
Dont know why its confusing for you. :P :P :P
But now you are using sendmail instead of ssmtp.
Yes am using sendmail on centos7..getting all auto generated mails...

Post Reply