configuring Sendmail client in centos

R

R Ramanathan

Guest
Hi All,

I am trying to configure SMTP client my linux machine, where i will be using external SMTP server for oubound mail.
I have added below line in my sendmail.mc and create sendmail.cf using m4.
define(`SMART_HOST', `my.host.com')dnl
define(`confCACERT_PATH', `/etc/pki/tls/certs')dnl
define(`confCACERT', `/etc/pki/tls/certs/ca-bundle.crt')dnl
define(`confSERVER_CERT', `/etc/pki/tls/certs/sendmail.pem')dnl
define(`confSERVER_KEY', `/etc/pki/tls/certs/sendmail.pem')dnl
define(`confCLIENT_CERT', `/etc/pki/tls/certs/sendmail.pem')dnl
define(`confCLIENT_KEY', `/etc/pki/tls/certs/sendmail.pem')dnl
DAEMON_OPTIONS(`Port=465, Name=TLSMTA, M=s')dnl

but i could see still the request going on default port 25. How can i send forward it through port 465.

Further do i need to make any configuration changes in submit.mc???

Regards,
Raman
 
Last edited:


R

R Ramanathan

Guest
Hi all,

This is inform that the above issue is fixed after adding 465 in submit.cf at the end of Mrelay Tag:

Mrelay, P=[IPC], F=mDFMuXa8k, S=EnvFromSMTP/HdrFromSMTP, R=MasqSMTP, E=\r\n, L=2040,
T=DNS/RFC822/SMTP,
A=TCP $h 465


But now i m not getting client greeting and connection getting timeout.

Just to inform you when i am using other client like thunderbird i am able to send mail with the same configurations.

Please suggest/help to fix this issue

 
G

Ghulam Yaseen

Guest
Hello,

You need to reconfigure send-mail by the below attachment,

---
linuxfreakz
 

Attachments



Members online


Latest posts

Top