I was advised that this may be a better location for my question than SO.
I've been trying to setup my Mac OS X (10.5.8) to send emails from localhost so that I can test my scripts.
I normally get success messages, saying emails have been sent but they never reach their destination.
They appear to just get stuck in the Postfix mailq:
bash-3.2# mailq
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
60F062E9A958* 343 Wed Oct 13 19:36:24 daemon@imac.dev
paperclip@gmail.com
189722E9A92F 3201 Wed Oct 13 19:35:57 MAILER-DAEMON
(connect to imac.lan[192.168.1.65]: Connection refused)
daemon@imac.lan
1A4882E9A930 2750 Wed Oct 13 19:35:57 MAILER-DAEMON
(connect to imac.lan[192.168.1.65]: Connection refused)
daemon@imac.lan
1F62E2E9A931 3197 Wed Oct 13 19:35:57 MAILER-DAEMON
(connect to imac.lan[192.168.1.65]: Connection refused)
daemon@imac.lan
20B5B2E9A932 3199 Wed Oct 13 19:35:57 MAILER-DAEMON
(connect to imac.lan[192.168.1.65]: Connection refused)
daemon@imac.lan
241E12E9A933 3309 Wed Oct 13 19:35:57 MAILER-DAEMON
(connect to imac.lan[192.168.1.65]: Connection refused)
daemon@imac.lan
242562E9A934 2782 Wed Oct 13 19:35:57 MAILER-DAEMON
(delivery temporarily suspended: connect to imac.lan[192.168.1.65]: Connection refused)
daemon@imac.lan
2917A2E9A935 2629 Wed Oct 13 19:35:57 MAILER-DAEMON
(Host or domain name not found. Name service error for name=imac.local type=MX: Host not found, try again)
nobody@imac.local
295D42E9A936 3309 Wed Oct 13 19:35:57 MAILER-DAEMON
(delivery temporarily suspended: connect to imac.lan[192.168.1.65]: Connection refused)
daemon@imac.lan
What can I do to get this working?
If it helps, I have imac.dev pointing to 127.0.0.1 in my /etc/hosts
Thanks, P.