SCIENTIFIC-LINUX-USERS Archives

May 2011

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Patrick Riehecky <[log in to unmask]>
Reply To:
Patrick Riehecky <[log in to unmask]>
Date:
Tue, 31 May 2011 09:55:13 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (61 lines)
On 05/31/2011 09:39 AM, Marc Muehlfeld wrote:
> Am 31.05.2011 16:35, schrieb Patrick Riehecky:
>> If I were to hazard a guess, I would suspect that /etc/hosts is to blame here.
> This was the first place I looked at, but:
>
> 127.0.0.1       localhost.localdomain   localhost.localdomain   localhost4
>     localhost4.localdomain4 localhost
>
> 192.168.29.14   vm01.test.local    vm01
>
>
>
>
>   >  ... as well as, postconf -d |grep my and seeing how those match up.
>
> # postconf -d |grep my
> append_at_myorigin = yes
> append_dot_mydomain = yes
> lmtp_lhlo_name = $myhostname
> local_transport = local:$myhostname
> milter_macro_daemon_name = $myhostname
> mydestination = $myhostname, localhost.$mydomain, localhost
> mydomain = localdomain
> myhostname = vm01.localdomain
That is curious  Postfix seems to be automatically determining your 
domain as 'localdomain', exactly as your reported.  If I continue to 
guess, and this is firmly in the guest camp, I'd guess that postfix 
postfix doesn't like '.local' as a tld.  The default in postfix 2.3 and 
later is to revert to 'localdomain' when it doesn't know the domain ( 
http://www.postfix.org/postconf.5.html#mydomain ).  Since .local isn't 
reserved as an official tld, this is my best theory for explaining the 
behaviour.
> mynetworks = 127.0.0.0/8 192.168.29.0/24 192.168.20.0/24
> mynetworks_style = subnet
> myorigin = $myhostname
> parent_domain_matches_subdomains =
> debug_peer_list,fast_flush_domains,mynetworks,permit_mx_backup_networks,qmqpd_authorized_clients,relay_domains,smtpd_access_maps
> proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps
> $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains
> $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps
> $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks
> $sender_bcc_maps $recipient_bcc_maps $smtp_generic_maps $lmtp_generic_maps
> relay_domains = $mydestination
> smtp_helo_name = $myhostname
> smtpd_banner = $myhostname ESMTP $mail_name
> smtpd_client_event_limit_exceptions =
> ${smtpd_client_connection_limit_exceptions:$mynetworks}
> smtpd_proxy_ehlo = $myhostname
> smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination
>
>
>
>
>
> "myhostname = vm01.localdomain" - but where does postfix get the "localdomain"
> from, instead of the real domain of the host.

Just a guess,

Pat

ATOM RSS1 RSS2