Fetchmail: Error message in maillog [SOLVED]
Hello, fetchmail: connection to localhost:smtp [::1/25] failed: Connection refused. Just for the record. The problem is solved with these few lines in the /usr/local/etc/postfix/main.cf # inet_interfaces = 192.168.1.6, 127.0.0.1, [::1] smtp_bind_address = 0.0.0.0 smtp_bind_address6 = :: inet_protocols = all # Have fun, -vlado Vladimir Botka ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fetchmail: Error message in maillog
On Monday November 06, 2006 at 02:01:55 (AM) Jonathan McKeown wrote: Possibly silly question: it's failing to connect to the IPv6 loopback. Is it possible that something changed as regards IPv6/IPv4 as part of the update? I have been in touch with a few individuals on the Fetchmail forum. It appears, at least according to the change log, that IPv6 has been improved on the latest version of Fetchmail. I am not sure if this is a good thing or not. In any case, I disabled IPv6 on this PC and the problem went away. I think this problem needs more investigations though. -- Gerard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fetchmail: Error message in maillog
On Sunday November 05, 2006 at 02:17:43 (AM) jdow wrote: From: Gerard Seibert [EMAIL PROTECTED] stuff Not that this is any particular help but is there some special reason you want to run the mail through postfix rather than simply use a tool like procmail straight from fetchmail for your deliveries? That is what I do. This is the magic. I run it as each of two individual users. defaults mda /usr/bin/procmail -d me me is really the user name for the user running the instance of fetchmail. Loren and I use different fetchmail modes. Several reasons: 1) I dislike procmail 2) Fetchmail doesn't recommend procmail 3) All of my AV and Anti-Spam controls are set up in Postfix 4) Nearly all of the users on my system are 'virtual'. I was told that procmail either doesn't work or doesn't work reliably with 'virtual' users. 5) I already have Dovecot installed. I have no reason for another LDA. 6) Not all of the mail for this system is delivered via Fetchmail. -- Gerard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fetchmail: Error message in maillog
On Saturday 04 November 2006 20:08, 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. Possibly silly question: it's failing to connect to the IPv6 loopback. Is it possible that something changed as regards IPv6/IPv4 as part of the update? Jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Fetchmail: Error message in maillog
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. -- Gerard Seibert [EMAIL PROTECTED] History is on our side (as long as we can control the historians). pgpglx6SI2Ykm.pgp Description: PGP signature
Re: Fetchmail: Error message in maillog
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: [EMAIL PROTECTED] 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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fetchmail: Error message in maillog
On Saturday 04 November 2006 13:43, Bill Campbell wrote: 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. The first command produced absolutely nothing. The postconf output was also blank. This problem did not exist until I updated fetchmail. It does appear that all of the mail is being delivered. The 'mailq' is negative. Perhaps this is just a nuisance warning in the newer version. I'll post it on the fetchmail board and see what they have to say. -- Gerard One Bell System - it sometimes works. pgpQgkTsa1F4g.pgp Description: PGP signature
Re: Fetchmail: Error message in maillog
Gerard Seibert writes: The command ``lsof -n -i :25 | grep LISTEN'' should show any processes listening on port 25 (SMTP) The first command produced absolutely nothing. For comparison: huff@ /usr/local/sbin/lsof -n -i :25 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME sendmail 1164 root3u IPv4 0xc2bbd740 0t0 TCP *:smtp (LISTEN) sendmail 1164 root5u IPv6 0xc2bbd570 0t0 TCP *:smtp (LISTEN) Are you _sure_ something is attached to port 25? Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fetchmail: Error message in maillog
On Saturday 04 November 2006 17:03, Robert Huff wrote: Gerard Seibert writes: The command ``lsof -n -i :25 | grep LISTEN'' should show any processes listening on port 25 (SMTP) The first command produced absolutely nothing. For comparison: huff@ /usr/local/sbin/lsof -n -i :25 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME sendmail 1164 root 3u IPv4 0xc2bbd740 0t0 TCP *:smtp (LISTEN) sendmail 1164 root 5u IPv6 0xc2bbd570 0t0 TCP *:smtp (LISTEN) Are you _sure_ something is attached to port 25? Sorry, I must have had a brain fart before. This is the actual output: ~ # /usr/local/sbin/lsof -n -i :25 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME master 716 root 11u IPv4 0xc2ef1ae0 0t0 TCP *:smtp (LISTEN) Those error messages by fetchmail appear to be random. I have not seen one now in over four hours and that is with a modest volume of mail. I really believe it is solely related to the version update. If I could track it down more precisely, I might be able to report the problem to the fetchmail group. -- Gerard [EMAIL PROTECTED] Thyme's Law: Everything goes wrong at once. pgpEGR0e50LJs.pgp Description: PGP signature
Re: Fetchmail: Error message in maillog
From: Gerard Seibert [EMAIL PROTECTED] stuff Not that this is any particular help but is there some special reason you want to run the mail through postfix rather than simply use a tool like procmail straight from fetchmail for your deliveries? That is what I do. This is the magic. I run it as each of two individual users. defaults mda /usr/bin/procmail -d me me is really the user name for the user running the instance of fetchmail. Loren and I use different fetchmail modes. {^_^} ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]