wait a sec. actually.. if your mail server is acting as a relay..
why not just define 'relay host' in sendmail.cf? and specify the internal ip address of the mail server? i think that should work too.. mp. > > ashley, > > from your email, it is unclear as to what you want.. > but maybe this advice will help. > > so i am assuming that the mail server in question is acting as a mail > relay. i am also assuming that you have your pix firewall configured so > that it is translating a public or external ip to the mail server, but > the mail server is actually assigned an internal ip. > > the cause of this problem could be that your redhat 7.2 machine is > CORRECTLY resolving the ip address of the mail server. yes, CORRECTLY. > and so when it tries to send mail, it is CORRECTLY resolving the public > or external ip address of the mail server, as it should. however, > depending on how your pix firewall is setup, it is probably denying your > redhat 7.2 box, which is assigned an internal ip address from reaching > that public or external ip address. > > however, there may be a way to get around this. i further assume that > your dns and mail relay are setup properly. so, try this.. > > in /etc/sendmail.cf there is an option that is commented out by default. > > # fallback MX host > #O FallbackMXhost=fall.back.host.net > > modify this setting so that it looks like.. > > # fallback MX host > O FallbackMXhost=X.X.X.X > > replacing the X.X.X.X with the internal ip address of your mail server > (mail relay server). > > see if that solves your problems. > > mp. > > >> >> I have an RH7.2 system sitting behind a PIX firewall and I need it >> to >> resolve the mail server hostname so it can send email to internal >> accounts. I have the mail server listed in /etc/hosts with the >> internal IP, however sendmail still resolves the hostname to the >> external IP. Any ideas what needs to happen so that sendmail resolves >> the mail server hostname to the internal IP, not the external one? >> >> >> -- >> W | I haven't lost my mind; it's backed up on tape somewhere. >> +-------------------------------------------------------------------- >> Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130 >> IT Director / SysAdmin / WebSmith . 800.441.3873 x130 >> Photo Craft Laboratories, Inc. . 3550 Arapahoe Ave. #6 >> http://www.pcraft.com ..... . . . Boulder, CO 80303, U.S.A. >> >> >> >> >> >> -- >> redhat-list mailing list >> unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe >> https://listman.redhat.com/mailman/listinfo/redhat-list > > > > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe > https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list