[Bug 544477] [NEW] setting localhost in postfix_lmtp breaks delivery

Public bug reported:
Setting localhost in postfix_lmtp works against Postfix defaults and breaks delivery.
Reason: The Postfix lmtp client only uses dns queries by default to search for hostnames. If the DNS server does not provide an answer for "localhost" delivery from the lmtp client to mailman fails.
Solution: Provide "127.0.0.1" instead of "localhost". This does not require DNS and is even faster because it saves DNS lookups.
Example:
hey2@mailman.state-of-mind.de lmtp:[localhost.localdomain]:8024
** Affects: mailman Importance: Undecided Status: New
** Tags: 3.0 mailman

Silly me Provided a bad example. Here's the good one:
hey2@mailman.state-of-mind.de lmtp:[127.0.0.1]:8024

Is the suggestion then to change lmtp_host in schema.cfg to 127.0.0.1 instead of localhost? Is there anything else that needs to be done?

** Branch linked: lp:mailman

** Changed in: mailman Status: New => Confirmed

r6897
** Changed in: mailman Importance: Undecided => Medium
** Changed in: mailman Assignee: (unassigned) => Barry Warsaw (barry)
** Changed in: mailman Milestone: None => 3.0.0a6
** Changed in: mailman Status: Confirmed => Fix Committed

Yes, the suggestion is to change lmtp_host in schema.cfg to 127.0.0.1 instead of localhost? At the moment I don't see anything else that needs to be done?

** Branch unlinked: lp:mailman
participants (4)
-
Barry Warsaw
-
huawei
-
Launchpad Bug Tracker
-
Patrick Ben Koetter