Welcome to Our Community

While Linux.org has been around for a while, we recently changed management and had to purge most of the content (including users). If you signed up before April 23rd, 2017 please sign up again. Thanks!

  1. Note: we recently updated out site software, please report any unseen issues - we do this often to insure your information is secure.
    Dismiss Notice

configuring Sendmail client in centos

Discussion in 'Mail Server' started by R Ramanathan, Sep 9, 2013.

  1. R Ramanathan

    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
     
    #1 R Ramanathan, Sep 9, 2013
    Last edited: Sep 9, 2013
  2. R Ramanathan

    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

     
  3. Hello,

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

    ---
    linuxfreakz
     

    Attached Files:

Share This Page