Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Bouncing mail off of my ISP's server 1

Status
Not open for further replies.

linuxpyro

Technical User
Feb 11, 2003
38
US
Hello, I run a mail server off of a residential cable modem, and so have a dynamic IP (I use Zoneedit for dynamic DNS, this setup does not create many problems at all.). For the most part it works fine, but ISPs like AOL won't accept mail from addresses in an ISP's dynamic address list. However, my ISP's SMTP server will relay mail for any of its customers. I can bounce mail for my domain off of this server. What I would like to do is set up sendmail to bounce all of my mail off of my ISP's mail server. What do I need to do to the sendmail.cf file to get it to do this?
 
I think you just have to add this line to sendmail.mc to relay through your isp but you'll have to run m4 when your done editing:

Code:
define(`SMART_HOST',`smtp.your.provider')dnl

I don't know what to edit in sendmail.cf. I opened it once and it scared me so bad I closed it real quick and never looked at it again.

 
How do I run m4? I made the edit, and restared send mail but it still doesn't work, so how?
 
The line will look like this:

Code:
m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf

Change the path to what they are on your machine or execute m4 from the same dirctory those two files are in.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top