OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
need to relay mails to smtps enabled server

From: Ashay Chitnis (chitnis.ashaygmail.com)
Date: Wed Mar 26 2008 - 10:40:30 CDT


Hi all

greetings..

Need to know how to submit mails on smtps port 465 of a server that listens
on 465. My version of postfix is postfix-2.1.4. My configuration is as
below. The problem is the mails tried on 25 port of the relayhost instead of
465. tried using [server-ip:465] - smtps:[serverip] but its not working..

main.cf:

relayhost = [relayserver-where-tls-is-enabled]

smtp_use_tls = yes
smtp_tls_loglevel = 4
smtp_tls_CAfile = /usr/share/ssl/cert.pem

master.cf

smtps inet n - n - - smtpd
  -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes

regards,

Ashay

Ashay