Date: Thu, 17 May 2007 00:11:12 -0400 (EDT) From: doug@safeport.com To: freebsd-questions@FreeBSD.ORG Subject: milter-greylist error Message-ID: <20070516233456.O47339@pemaquid.safeport.com>
next in thread | raw e-mail | index | archive | help
My question is how to restart the milter after an error. I am running FreeBSD 5.5 with milter-greylist and sendmail. I made a change with a syntax error and got: May 16 20:53:13 newharbor milter-greylist: config error at line 89: syntax error May 16 20:53:13 newharbor milter-greylist: Final database dump May 16 20:53:13 newharbor milter-greylist: Exiting May 16 20:53:14 newharbor sm-mta[19137]: l4H0rCWO019137: Milter (greylist): write(D) returned -1, expected 59: Broken pipe May 16 20:53:14 newharbor sm-mta[19137]: l4H0rCWO019137: Milter (greylist): to error state so I backed up to the previous conf file and got an unending series of: May 16 20:53:28 newharbor sm-mta[19142]: l4H0rSwG019142: Milter: initialization failed, temp failing commands May 16 20:53:31 newharbor sm-mta[19139]: l4H0rVxw019139: Milter (greylist): error connecting to filter: Connection refused by /var/milter-greylist/milter-greylist.sock May 16 20:53:31 newharbor sm-mta[19139]: l4H0rVxw019139: Milter (greylist): to error state after trying to restart the milter via /usr/local/etc/rc.d, I eventually gave up and rebooted. That yielded: May 16 21:31:59 newharbor sm-mta[21640]: l4H1VxmM021640: Milter (greylist): local socket name /var/milter-greylist/milter-greylist.sock unsafe May 16 21:31:59 newharbor sm-mta[21640]: l4H1VxmM021640: Milter (greylist): to error state May 16 21:31:59 newharbor sm-mta[21640]: l4H1VxmM021640: Milter: initialization failed, temp failing commands After trying ../rc.d filter again, I just typed in the appropriate command. My main question is how should the rc.d script be run? I did a cd /usr/local/etc/rc.d and ./milter-greylist.sh start I am clueless as to why the reboot did not work. The command that did work: /usr/local/libexec/milter-greylist -P /var/run/milter-greylist.pid \ -f /usr/local/etc/mail/greylist.conf \ -p /var/milter-greylist/milter-greylist.sock -u mailnull Thanks for any thoughts _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-469-8766 Fax: 301-469-0601
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070516233456.O47339>