Enabling alternate ports in Postfix

I have a customer on a virtual domain whose ISP blocks port 25. I have gone through the forum and docs and follow the instructions to enable submission (587) and smtps (465) in postfix. I can telnet to both ports on my server which means they are open.

When I try using an email client to send mail using SSL on both ports, it always results in a timeout. I check the maillogs, it shows that the following

Jun 29 22:11:09 ns5 postfix/smtpd[4437]: fatal: No server certs available. TLS can't be enabled Jun 29 22:11:10 ns5 postfix/master[2860]: warning: process /usr/libexec/postfix/smtpd pid 4437 exit status 1 Jun 29 22:11:10 ns5 postfix/master[2860]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling

can you please advise what I can do about this?



Howdy -- can you post your /etc/postfix/main.cf file?

It sounds like smtpd_tls_cert_file and smtpd_tls_key_file may not be set, but seeing your config file would help diagnose the issue.

Also, how did you install Virtualmin -- did you use the install.sh script?

Also, could you attach your /etc/postfix/master.cf file? That is where additional ports are defined..


I did the install via install.sh. There are a few virtual domains on this server. I did enable SSL website for the domain which requires this feature and now I cannot access the File Manager through Webmin. It replies with a Java cannot trust this site error. In any case, I have attached the main.cf file here for your kind assistance.

Thanks .. but could you attach master.cf as well?