Re: Name service error for name=localhost type=A: Host not found

From: Wietse Venema (no email)
Date: Thu Mar 01 2007 - 10:58:21 EST

  • Next message: Justin McAleer: "best way to only alias postmaster@ for local domains?"

    Pierre Lebrun:
    > Hello,
    >
    > I'm new to postfix and have a problem
    > when sending a message from a machine
    > of my network to on
    > the postfix server.
    >
    > What I understand is that postfix tries
    > to resolve localhost.
    >
    > My postfix is postfix-2.2.10-1.RHEL4.2
    >
    > Feb 28 09:12:19 antispam postfix/smtp[27549]: 3D44D64077:
    > to=<>, relay=none, delay=0, status=bounced (Host or
    > domain name not found. Name service error for name=localhost type=A:
    > Host not found)
    >
    > Where did I do the misconfiguration ?
    >
    > Thank you for your help.

    Add localhost to the mydestination line in main.cf.

            Wietse


  • Next message: Justin McAleer: "best way to only alias postmaster@ for local domains?"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD