J. Bakshi wrote:
> Hello mouss,
>
> Thanks for your kind help. I am now in a position to give you some
> really good news. When I was looking close to my logs and got the error
> "can not connect to port 25" then your mail arrived and enlighten me.
>
> I have modified my main.cf as below
> #inet_interfaces = localhost
>
> then the master.cf as below
> smtp      inet  n       -       n       -       -       smtpd
> submission inet n      -       n       -       -       smtpd
>    -o smtpd_etrn_restrictions=reject
>    -o smtpd_client_restrictions=permit_sasl_authenticated,reject
> smtps    inet  n       -       n       -       -       smtpd -o
> smtpd_tls_wrappermode=yes smtpd_sasl_auth_enable
>   

This is incorrect.  One -o for each option you wish to change.
smtpd -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes 

(but since you have the last option in main.cf.. what's the point)?


> The good news is after restarting the postfix the mail server is
> collecting the emails from the net.
>
> The unsolved one is smtps is still not working. I have tried the either
> way too as you suggested to use TLS but both the cases it says can't
> connect to the smtp server.
>   

Why try to use the archaic and obsolete smtps port when you already have
TLS on port 25?
Most modern clients will support TLS on any port if you ask it to look.

> The mail.warn log provides a message
> postfix/master[1912]: warning: /usr/lib/postfix/smtpd: bad command
> startup -- throttling
>   
See above.

Brian

Reply via email to