[NTLUG:Discuss] SMTP and Postfix on SuSE 9.0

Bobby Wrenn bjwrenn at augustmail.com
Fri Nov 26 14:17:18 CST 2004


David Ross wrote:
> On Friday 26 November 2004 12:32 pm, Bobby Wrenn wrote:
> 
>>What am I missing in Postfix setup?
>>
> 
> /etc/postfix/main.cf
> inet_interfaces = all
> mynetworks_style = class
>  
> By default Postfix listens on localhost and rejects everything else.
> At least thats what I had to fix .
OK now I'm a step closer.
inet_interfaces is not set defaults to all
mynetworks = 192.168.1.0/24, 192.168.2.0/24, 127.0.0.0/8

When delivering to another client on the network I get the follow notice 
in my mail. It looks like it is looking for localhost

Final-Recipient: rfc822; sewrenn at wrennest.com
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; Name service error for name=localhost 
type=A: Host
     not found

The only uncommented line in main.cf with "localhost" in it is:

mydestination = $myhostname, $localhost.$mydomain, wrennest.com, 
geekthink.net, geekthink.com, homesteadsa.org, rocksolidweb.org

There are four references in master.cf which make no sence to me.

Thanks
Bobby




More information about the Discuss mailing list