From: Morten K. Poulsen Date: Thu, 31 May 2007 17:09:09 +0000 Subject: Re: virtual domain support Message-Id: List-Id: References: <464DAF4C.1030800@gmail.com> In-Reply-To: <464DAF4C.1030800@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: mlmmj@mlmmj.org Hi Mehul, "Mehul N. Sanghvi" wrote: > In trying to send a message to the list I get the following > entries in the /var/log/mail.log file: [snip] > May 30 23:54:51 REAL_HOST postfix/smtpd[17679]: NOQUEUE: reject: RCPT from > localhost.localdomain[127.0.0.1]: 504 5.5.2 : Helo command > rejected: > need fully-qualified hostname; from= > to= proto=SMTP helo= [snip] > Why is getting rejected ? Because your host does not know its own FQHN. > I would like mlmmj to use the VHOST.TLD in the HELO rather then the > REAL_HOST, is that possible ? No, that is not possible. Mlmmj asks the operating system - via gethostname() - what its hostname is. Then it does a lookup - via gethostbyname() - to get the host's FQHN. How does your /etc/hosts look? Morten -- Morten K. Poulsen http://www.afdelingp.dk/