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

General support questions
User avatar
TrevorH
Forum Moderator
Posts: 21174
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

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

Postby 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.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. 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

Postby 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: 804
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

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

Postby 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

Postby 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

Postby 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
Forum Moderator
Posts: 21174
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

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

Postby 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?".
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke


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

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

Postby 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...