Tim Legg a écrit :
> According to 'postconf -d', myhostname is set to genex.localdomain where 
> genex is an arbitrary name I chose for a hostname when I installed Debian 
> Lenny.
> 
> When I look in /etc/postfix/main.cf,
> myhostname = genex.example1.com
> 
> Is this a normal discrepancy?

use 'postconf -n' instead of '-d'.

> 
> Is it even neccessary to have a hostname at all since the days of having 
> seperate machines for seperate daemons are behind us for most websites?  
> After all, mail.example1.com, www.example1.com, pop3.example1.com,... are all 
> the same machine these days.
> 

- an MTA needs a name to use as a HELO/EHLO argument.
- an MTA needs a name to show in the smtp banner.
- an MTA needs a name to put in Received header.

myhostname provides a handy default for these, because most people are
happy with a single name.


Reply via email to