Change SMTP on Sendmail

Discussion in 'Linux Guest OS Discussion' started by webregie, Aug 23, 2010.

  1. webregie

    webregie Bit poster

    Messages:
    6
    Hi,

    I must change the SMTP port of sendmail 25---->587 (or another one)

    Do u know how to do this ?

    Regards

    Seb
     
  2. webregie

    webregie Bit poster

    Messages:
    6
    Hi

    Finally, i found the solution


    Edit this file (make a backupo before;

    /etc/mail/sendmail.cf

    Find :
    # SMTP daemon options
    O DaemonPortOptions=Name=MTA


    Add this line below
    O DaemonPortOptions=Port=587, Name=MSA, M=E

    Of course, u must reboot sendmail
    /etc/init.d/sendmail restart

    Regards

    Seb
     

Share This Page