[EMAIL PROTECTED] writes:
>    If I ping the hostname, yes it returns the internal address.
>
Then probably what is happening is that sendmail is looking for an MX
record on the authoritive (external) DNS server which returns the external
address of your mail server as the mail server for your domain. HOSTS
simply won't fix this...
>
>    Sendmail, when trying to deliver email, will resolve the same
>hostname to
>the external IP.  And this is where the problem sits, we need it to
>resolve to
>the internal IP, just as ping would do.


Probably the easiest thing is just address it to the IP instead... for
example:

Mail server:            mail.bar        10.0.0.1
Sending to:             foo@bar

Instead send to:        [EMAIL PROTECTED] 
in your web form processor.

Another note, too. If you are not going to be receiving e-mail on that
machine (just sending from a web form) make sure you disable the sendmail
daemon. Mail will still get sent without running the daemon... You may
need a switch on the sendmail path though in your php.ini or equivalent
file.

james   



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to