Fetchmail: Error message in maillog

Bill Campbell freebsd at celestial.com
Sat Nov 4 18:41:44 UTC 2006


On Sat, Nov 04, 2006, Gerard Seibert wrote:
>FreeBSD 6.1
>Fetchmail release 6.3.5+RPA+SDPS+SSL+OPIE+NLS.
>
>I had been running fetchmail without incident for over a year. I then did 
>something stupid; I updated it. Now, it produces this error message in 
>the /var/maillog file:
>
>
>Nov  4 12:57:52 scorpio fetchmail[734]: connection to localhost:smtp 
>[::1/25] failed: Connection refused.
>
>
>It never did this before. I do not see anything apparently broken, but I am 
>unsure. Other then reverting to the older version which worked flawlessly, 
>what else should I be looking for?
>
>Fetchmail is harvesting mail and delivering it to Postfix. This has got me 
>stumped.

This is failing when fetchmail attempts to connect to postfix to send the
mail locally.  Either postfix isn't running, or perhaps the main.cf file
has been changed so it's not listening on localhost.

The command ``lsof -n -i :25 | grep LISTEN'' should show any processes
listening on port 25 (SMTP)

Try ``postconf smtp_bind_address'' to see if postfix configured to listen
on a specific interface.

Bill
--
INTERNET:   bill at Celestial.COM  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

Breathe fire, slay dragons, and take chances. Failure is temporary, regret
is eternal.


More information about the freebsd-questions mailing list