[CentOS] SMTP Port 465 - Postfix

Bob Hoffman bob at bobhoffman.com
Sat Mar 31 11:26:29 UTC 2012


On 3/31/2012 7:11 AM, Prabhpal S. Mavi wrote:
> Hello BoB,
>
> Thanks for you kind assistance, your solution opened the SMTP:465 on the
> postfix server.
>
>
> But when i telnet 587, i can see 220 in response.
> [root at jet postfix]# telnet localhost 587
> Trying ::1...
> Connected to localhost.
> Escape character is '^]'.
> 220 mail.digital-infotech.com ESMTP Postfix (2.6.6)
>
> But when i telnet to 465, i do not see 220 in response. is it normal?
> [root at jet postfix]# telnet localhost 465
> Trying ::1...
> Connected to localhost.
> Escape character is '^]'.
>
> Thanks / Regards
>
>
>
>> On 3/30/2012 12:49 PM, Prabhpal S. Mavi wrote:
>>> Hi Dear All,
>>>
>>>
>>> Just updating with the post, following configured Postfix to listen on
>>> Port 587. Yet to find out, how to enable 465.
>>>
>>>
>>> submission inet n       -       n       -       -       smtpd
>>>     -o smtpd_tls_security_level=encrypt
>>>     -o smtpd_sasl_auth_enable=yes
>>>     -o smtpd_client_restrictions=permit_sasl_authenticated,reject
>>>     -o milter_macro_daemon_name=ORIGINATING
>> port 465 is default for smtps...not smtp
>> smtps     inet  n       -       n       -       -       smtpd
>>     -o smtpd_tls_wrappermode=yes
>>
>> open it on your iptables too
>> _______________________________________________
>> CentOS mailing list
>> CentOS at centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>
>
> Thanks / Regards
> Prabhpal S. Mavi
>
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>
you have to also add stuff to postfix to properly deal with sasl/ssl 
connections in the main.cf. Google for a tutorial..there are a few 
commands that have to be added.



More information about the CentOS mailing list