logo       

Re: Hostname in delivery status: Reporting-MTA: msg#00026

mail.ims.general

Subject: Re: Hostname in delivery status: Reporting-MTA

On Mon, 08.10.2007 at 22:16:39, Kristin Hubner wrote:
> >How SJSMS was installled isn't relevant. What's relevant is how you
> >have the
> >host name configured in the operating system. gethostname looks at OS
> >configuration, not the MTA configuration. And what gethostbyname does
> >depends
> >on how you have name resolution configured. Try the hostname command
> >and see
> >what it says, and if it returns a shortform name see what that
> >resolves to
> >using whatever resolution mechanism you have configured.
>
> Look at your /etc/hosts file in particular.
>
> Note that as of JES MS 6.0, if gethostname returns a shortform name
> (corresponding
> to /etc/hosts listing a shortform name first), then the MTA will next
> check if the
> first alias appears to be a FQDN (has a period in it) and if so, will
> use that
> instead of the bogus shortform name.

I am aware that gethostname/hostname will return the nodename. What is
strange for me that in previous version (or maybe configuration diffe-
rence) MSG uses local name obtained from imta.cnf in MTA report.

I try to gain the same result but I fail.

To preserve nodename and fqdn in MTA report I put the logical-fqdn in
second place in /etc/hosts.

Regards,
Ernest Wypierowski

Attachment: smime.p7s
Description: S/MIME cryptographic signature

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise