my hostname defined by dhcp is hovel2. but it's not qualified hostname, and sendmail can't work properly. I used posftix with halo as a temporary solution, but i hope it will be fixed.
Hosting General: Sendmail and Hostname
You should be logged in to post new messages. Create an account.
- By:
Pavel Zhukov - Date: on 2008 Mar. 3 22:25
- Subject: Sendmail and Hostname
- By:
Bradley Heikes - Date: on 2008 Mar. 21 07:21
- Subject: Re: Sendmail and Hostname
On Mar, 3 2008 22:25 CET, Pavel Zhukov wrote:
my hostname defined by dhcp is hovel2. but it's not qualified hostname, and sendmail can't work properly. I used posftix with halo as a temporary solution, but i hope it will be fixed.
I believe this can be fixed by running postconf -e 'myhostname = mail.yourhost.TLD' However, you'll need permissions to run it. I wasn't able to su since root is disabled, and my server account isn't on the sudo list. Argh. I also tried manually editing the file, again permissions.