> -----Original Message----- > From: Mr. Adam ALLEN > Sent: Monday, June 23, 2003 5:39 PM > Subject: sendmail redirecting mail to aol.com/rr.com/isps blocking > dynamic ip's > > > I've done quite a bit of searching and reading but haven't found an > answer yet. > > AOL.com and RoadRunner block incoming mail from IP's that belong to > residential customers- my ISP's server is a bit flaky at times. > > I want to instruct sendmail (can be convinced to use postfix > easily), to forward mail for specific domains to the ISP's SMTP > server, and all other mail through my own sendmail. > > I've only found smarthost and mailhub options so far which > aren't quite what I want (don't want all external mail to go via > the ISP). > > My only solution in mind is to play about with BIND so that MX queries > for AOL.com are answered with my ISP's MX - and see if that solves the > problem. That's probably not the *right* solution though > For each domain you want to send through your ISP's SMTP server - add an entry to /etc/mail/mailertable. Example: # cd /etc/mail # vi mailertable (add the following, modify to your requirements) aol.com esmtp:smtp.yourisp.net rr.com esmtp:smtp.yoursip.net # make No need to restart sendmail because your editing a database file. The "make" recreates the database from the ascii file you edited using vi. Now test by sending an email to a buddy at aol.com or rr.com. Steve Cowles