I've worked up a new installation on an Intel mac running Leopard, and everything seems to be running fine -- except there are no incoming e-mails (no sign in mail.log that anything has been seen). I also cannot send e-mails from Apple mail (smtp connection refused, ssl or not), and no error messages. If I use roundcube, it will send an e-mail. ... This looks a lot like a firewall issue, but I'm pretty sure that I've set it up correctly. That being said, there's obviously a problem somewhere. Can you give me a clue where to look?
Dave
dw 18 Apr 2009
Oh, a couple more clues. Apple mail does connect to the imap server (with ssl), and this shows up in in the log, just no smtp connection. If I do send an e-mail from roundcube, there is no sign of this in the mail.log (tho it does send), and if I send to myself I receive this e-mail but mail.log does not show that it was received.
Dave, first try to connect using a telnet session on port 25. First try this from the same machine as postfix is running on to rule out firewall issues. Then try it from a remote machine.
This should register in the logfile, perhaps postfix is not running or you have got the security fix issue. Check your main.cf file for:
inet_interfaces = localhost
Remove it and restart postfix
dw 20 Apr 2009
Oh hoh, there's something. Can telnet from the localhost, cannot from a remote machine. I'll look into it more this afternoon.
What is your technique for managing ports, Richard? Do you use a firewall?
Dave, please check the main.cf for the line described in my earlier post.
I use the ipfw firewall in Mac OSX. However I do not use the System Preferences to manage it as that method is very crude. I use Noobproof to configure it. A very simple and free tool to manage your firewall. I have closed all ports except the ones needed for Web, Mail and SSH.
18 Apr 2009
I've worked up a new installation on an Intel mac running Leopard, and everything seems to be running fine -- except there are no incoming e-mails (no sign in mail.log that anything has been seen). I also cannot send e-mails from Apple mail (smtp connection refused, ssl or not), and no error messages. If I use roundcube, it will send an e-mail. ... This looks a lot like a firewall issue, but I'm pretty sure that I've set it up correctly. That being said, there's obviously a problem somewhere. Can you give me a clue where to look?
Dave
18 Apr 2009
Oh, a couple more clues. Apple mail does connect to the imap server (with ssl), and this shows up in in the log, just no smtp connection. If I do send an e-mail from roundcube, there is no sign of this in the mail.log (tho it does send), and if I send to myself I receive this e-mail but mail.log does not show that it was received.
20 Apr 2009
Dave, first try to connect using a telnet session on port 25. First try this from the same machine as postfix is running on to rule out firewall issues. Then try it from a remote machine.
This should register in the logfile, perhaps postfix is not running or you have got the security fix issue. Check your main.cf file for:
inet_interfaces = localhostRemove it and restart postfix
20 Apr 2009
Oh hoh, there's something. Can telnet from the localhost, cannot from a remote machine. I'll look into it more this afternoon.
What is your technique for managing ports, Richard? Do you use a firewall?
21 Apr 2009
Dave, please check the main.cf for the line described in my earlier post.
I use the ipfw firewall in Mac OSX. However I do not use the System Preferences to manage it as that method is very crude. I use Noobproof to configure it. A very simple and free tool to manage your firewall. I have closed all ports except the ones needed for Web, Mail and SSH.
21 Apr 2009
That did the trick. Thanks, Richard.