Sendmail changes after switching from Frontier to Spectrum
Posted: Sun Mar 10, 2024 1:44 am
Due to price increase by Frontier, I decided to switch to Spectrum for lower price ($39.99/month for 1 Gbps download).
Today (03/09/2024), the technician came to connect the internet feed to the cable modem. The Ethernet cable was swapped from ONT box to cable modem's only ethernet port and the existing ethernet cable is run to the router. Therefore, no change is needed inside the house.
Making DNS change for the new IP address and found out Google domains had sold its business to Squarespace (https://krill-helicon-ybp6.squarespace. ... ig/domains).
1. Update /etc/hosts.allow
2. Update /etc/mail/access
3. Create a new access hash
After making DNS change, all server functions came back except the sendmail.
There are changes needed to get sendmail to work.
1. Create a new account with Spectrum
2. Update /etc/mail/auth/client-info with the new account
3. Create the new hash for /etc/mail/auth/client-info.db
4. Update /etc/mail/sendmail.mc
* change SMARTHOST to mobile.charter.net
* change port from 587 to 25
5. Create the new sendmail.cf
Mail client needs to use the new spectrum user to send email or it will fail (due to the limitation from Spectrum). Mail clients need to set Reply-To to the original email address to receive people's replies.
I may update with more details later if I missed something.
Today (03/09/2024), the technician came to connect the internet feed to the cable modem. The Ethernet cable was swapped from ONT box to cable modem's only ethernet port and the existing ethernet cable is run to the router. Therefore, no change is needed inside the house.
Making DNS change for the new IP address and found out Google domains had sold its business to Squarespace (https://krill-helicon-ybp6.squarespace. ... ig/domains).
1. Update /etc/hosts.allow
2. Update /etc/mail/access
3. Create a new access hash
Code: Select all
makemap hash /etc/mail/access < /etc/mail/access
There are changes needed to get sendmail to work.
1. Create a new account with Spectrum
2. Update /etc/mail/auth/client-info with the new account
3. Create the new hash for /etc/mail/auth/client-info.db
Code: Select all
cd /etc/mail/auth
makemap hash client-info < client-info
* change SMARTHOST to mobile.charter.net
* change port from 587 to 25
5. Create the new sendmail.cf
Code: Select all
m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
I may update with more details later if I missed something.