[X-Unix] Postfix troubles
Stroller
MacMonster at myrealbox.com
Tue Jan 27 15:18:33 PST 2004
On Jan 27, 2004, at 7:09 pm, Michael Grant wrote:
> I recently moved to a new Mac running Panther and I'm trying to get
> Postfix working on it. I've edited the hostconfig and postfix main.cf
> files and postfix is running on the system. I've also opened port 25
> in my firewall using the system control panel. But telnet localhost 25
> returns "Connection refused", and I'm stuck as to where else to look
> for the problem. Any advice?
You're not documenting your config terribly well, so my best guess is
to ask what this says when run on your system:
$ grep inet_interfaces /etc/postfix/main.cf
#inet_interfaces = $myhostname, localhost
#inet_interfaces = localhost
inet_interfaces = $myhostname, localhost
$
My main.cf also contains the following notes:
# ..the Postfix SMTP server by default accepts mail
# that Postfix is final destination for:
# - destinations that match $inet_interfaces,
# - destinations that match $mydestination
# - destinations that match $virtual_alias_domains,
# - destinations that match $virtual_mailbox_domains.
# These destinations do not need to be listed in $relay_domains.
And notes about the proxy_interfaces directive, which I think might be
of relevance to you. You need to be really pretty careful about this
sorta stuff, to ensure that your system can't be used by spammers. If
you have port 25 open & one is able to relay to & from external IPs
using your system, then this facility will be discovered & abused VERY
quickly. You should be absolutely sure to get a friend to test by
configuring your server as their SMTP server - they should NOT be able
to send mail to 3rd parties like that.
Stroller.
More information about the X-Unix
mailing list