How to enable port 587 and TLS for sending and receiving emails

Questions and answers about how to do stuff
Post Reply
curibe
Posts: 74
Joined: 26 Feb 2014 22:38

How to enable port 587 and TLS for sending and receiving emails

Post by curibe »

Can this be done in EFA??
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: How to enable port 587 and TLS for sending and receiving emails

Post by shawniverson »

yes
zohman
Posts: 42
Joined: 12 Sep 2015 07:36

Re: How to enable port 587 and TLS for sending and receiving emails

Post by zohman »

mac.linux.free wrote:how ?
To enable port 587, edit the file /etc/postfix/master.cf
and remove the # in front of the line:

#submission inet n - n - - smtpd

so that it looks like this:

submission inet n - n - - smtpd

and restart postfix:

service postfix restart

for SASL authentication:
http://www.postfix.org/SASL_README.html

Zohman.
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: How to enable port 587 and TLS for sending and receiving emails

Post by pdwalker »

thank you zohman, I appreciate the help you've been giving.
zohman
Posts: 42
Joined: 12 Sep 2015 07:36

Re: How to enable port 587 and TLS for sending and receiving emails

Post by zohman »

pdwalker wrote:thank you zohman, I appreciate the help you've been giving.
:obscene-drinkingcheers:

i don't here for medal i'm here for
this project to succeed.

Regards,
Zohman. :D
mac.linux.free
Posts: 28
Joined: 31 May 2015 20:37

Re: How to enable port 587 and TLS for sending and receiving emails

Post by mac.linux.free »

Thank you...found out myself...do not forget the iptables rules ;)
Justin
Posts: 111
Joined: 18 Sep 2014 13:00
Location: The Netherlands
Contact:

Re: How to enable port 587 and TLS for sending and receiving emails

Post by Justin »

zohman wrote:
mac.linux.free wrote:how ?
To enable port 587, edit the file /etc/postfix/master.cf
and remove the # in front of the line:

#submission inet n - n - - smtpd

so that it looks like this:

submission inet n - n - - smtpd

and restart postfix:

service postfix restart

Zohman.
Is this the only thing required?
Or do i also need the SASL part, becuase i lack of skills on that part :think:
jsegarra
Posts: 6
Joined: 19 Aug 2016 07:51

Re: How to enable port 587 and TLS for sending and receiving emails

Post by jsegarra »

First of all thanks for your post it was the first pas to enable it, but I had to update the IPTables rules to open the port too.

Thanks!!
curibe
Posts: 74
Joined: 26 Feb 2014 22:38

Re: How to enable port 587 and TLS for sending and receiving emails

Post by curibe »

how would i update the IPtables to allow 587 outgoing. Sorry im not good with linux??
:D
jsegarra
Posts: 6
Joined: 19 Aug 2016 07:51

Re: How to enable port 587 and TLS for sending and receiving emails

Post by jsegarra »

Sorry for my late answer.

For the users that don't know how to modify iptables I done editing /etc/sysconfig/iptables.

In this case I added this line above the COMMIT line and the REJECTS that I have:
-A INPUT -m state --state NEW -m tcp -p tcp --dport 587 -j ACCEPT

I hope this help someone.
jamerson
Posts: 164
Joined: 19 Aug 2017 18:57
Location: kaaskop

Re: How to enable port 587 and TLS for sending and receiving emails

Post by jamerson »

I know this a old post but has been configured on the latest version of today ?
the version is 3.0.2.6
enabling the tls won't cause emails to be rejected or not deleverd for some mail servers ?
Version eFa 4.0.0 RC1 now available in testing repo. Come join us in advancing eFa!
Post Reply