setting localhost in postfix_lmtp breaks delivery

Bug #544477 reported by Patrick Ben Koetter on 2010-03-22
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
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

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

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

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?

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

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  Edit
Everyone can see this information.

Other bug subscribers