setting localhost in postfix_lmtp breaks delivery

Bug #544477 reported by Patrick Ben Koetter
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
Fix Committed
Medium
Barry Warsaw

Bug Description

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:

<email address hidden> lmtp:[localhost.localdomain]:8024

Tags: 3.0 mailman
Revision history for this message
Patrick Ben Koetter (p-state-of-mind) wrote :

Silly me Provided a bad example. Here's the good one:

<email address hidden> lmtp:[127.0.0.1]:8024

Revision history for this message
Barry Warsaw (barry) wrote :

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?

Revision history for this message
Barry Warsaw (barry) wrote :

r6897

Changed in mailman:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Barry Warsaw (barry)
milestone: none → 3.0.0a6
status: Confirmed → Fix Committed
Revision history for this message
Patrick Ben Koetter (p-state-of-mind) wrote :

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?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.