Oct 10, '03 10:20:00AM • Contributed by: lewildbeast
Anyway, the problem that I had was that I could send mails from my TiBook to my Lombard from behind the Airport, but I could not recieve mail from the internet! This implied that sendmail was working (since it permitted outbound emails but not inbound emails). After several days of agnozing, I realized the problem arose because the mail server would assume the Rendezvous address (e.g. 10.0.1.112), and not the address of the mail server (e.g test.ath.cx).
I localized the problem to the following files: hostconfig and boot.rc. To make your sendmail work properly:
- Remember to back up your files first. (sudo cp /etc/hostconfig /etc/hostconfig.original; sudo cp /etc/rc.boot /etc/rc.boot.original).
- Edit /etc/hostconfig as root: (ie. sudo pico /etc/hostconfig). Under # network configuration, change HOSTNAME=-AUTOMATIC- to HOSTNAME-test.ath.cx- (or whatever your hostname is).
- Edit /etc/rc.boot as root: (ie. sudo pico /etc/rc.boot). Under hostname localhost (you will have to scroll down quite a bit or use control-W to search), change localost to the hostname used in the previous step.
- Reboot
