[X-Unix] Postfix troubles

Stroller MacMonster at myrealbox.com
Wed Jan 28 12:45:58 PST 2004


On Jan 28, 2004, at 4:40 pm, Michael Grant wrote:

> #inet_interfaces = $myhostname
> inet_interfaces = $myhostname, localhost
> ...
> PS. Stroller, do you think this should be sufficient to keep spammers 
> from using my machine as an open relay?

I was really concerned when I read your original posting that you said 
you were opening port 25 in your firewall. I only use my Mac as my 
workstation, and firewall at my router, so I'm not used to thinking in 
terms of OS X security. I presume that you have some other method of 
protecting that port from the outside world - you're probably on a 
NATted LAN, or something..?

If you have no other machines using this as a mail-server - IE if 
Postifx is running for the benefit of this machine only - then I might 
try setting:
   inet_interfaces = localhost
Or:
   inet_interfaces = 127.0.0.1

If you can still send mail from the local machine, then this would be 
perfect - since 127.0.0.1 is bound to the "loopback" address, no other 
machine should be able to send.

Stroller.



More information about the X-Unix mailing list