Changes needed after ISP switch
Posted: Tue Dec 04, 2018 7:31 pm
ISPs have their own SMTP servers and they may use different ports. In the past, they just use port 25 but had enforced security by using SSL or TLS and they have different ports. For example, Verizon and Frontier use SSL/TLS pver port 465 for encryption. Spectrum/Charter/Time Warner/Road Runner is using STARTTLS over port 587.
In order for the mail server (sendmail) to work, the following items may need to be updated first:
Just make sure the following settings in sendmail.mc:
Use m4 to generate a new sendmail.cf:
Restarted sendmail and all worked.
In order for the mail server (sendmail) to work, the following items may need to be updated first:
- Stunnel (Only if ISP is forcing port 465)
/etc/stunnel/stunnel.conf - Sendmail
/etc/mail/auto/client-info (the hash db file is needed)Code: Select all
AuthInfo: "U:<ISP username>" "I:<ISP username>" "P:<ISP password>"
Code: Select all
makemap hash client-info < client-info
Just make sure the following settings in sendmail.mc:
Code: Select all
define(`SMART_HOST', `<ISP SMTP server>')dnl
define(`RELAY_MAILER_ARGS', `TCP $h 587')
define(`ESMTP_MAILER_ARGS', `TCP $h 587')
Code: Select all
m4 sendmail.mc > sendmail.cf