[Greylist-users] Milter (relaydelay): error connecting to filter

David A. De Graaf dad at datix.2y.net
Wed Feb 9 11:38:16 PST 2005


I have the identical problem reported by Luz Lopez <viaris at
hotmail.com> on Mon Dec 27 17:08:57 PST 2004,
and I haven't found any response to his plea for help.

After installing relaydelay-0.04 and Sendmail-Milter-0.18 and
sendmail-8.13.1-2.src.rpm, and configuring mysql and relaydelay.conf,
and /etc/mail/sendmail.mc, I get these maillog messages:

  Feb  9 13:59:11 datium sendmail[21111]: j19IxBOq021111: Milter
   (relaydelay): error connecting to filter: Connection refused by
   /var/run/relaydelay.sock

  Feb  9 13:59:11 datium sendmail[21111]: j19IxBOq021111: Milter
   (relaydelay): to error state

  Feb  9 13:59:11 datium sendmail[21111]: j19IxBOq021111: Milter:
   initialization failed, temp failing commands

I guess this means it isn't working.   :-(

Why would Milter (relaydelay) have trouble connecting to the filter???
The requisite socket exists:
  $ ll /var/run/relay*
  -rw-r--r--  1 root root 6 Feb  9 13:18 /var/run/relaydelay.pid
  srwxr-xr-x  1 root root 0 Feb  9 13:18 /var/run/relaydelay.sock
and the permissions seem reasonable.

I can access the mysql database
    $ mysql -u mysql -pXXXXXX
    > use relaydelay;
    > select * from relaytofrom;
       [ which shows the single line for whitelisting 192.168 that I
       manually put there, but nothing more.]

Evidently, nothing has been added to the database, despite numerous 
incoming emails that were turned away.

The only changes I made to relaydelay.conf are these:
  $ diff relaydelay.confSTD /etc/mail/relaydelay.conf   
  32,33c32,33
  < $database_user = 'db_user';
  < $database_pass = 'db_pass';
  ---
  > $database_user = 'mysql';
  > $database_pass = 'XXXXXX';
  75c75,76
  < $delay_mail_secs = 58 * 60;  # 58 Minutes
  ---
  > ##$delay_mail_secs = 58 * 60;  # 58 Minutes
  > $delay_mail_secs = 5 * 60;  # 5 Minutes

The mysql user and passwd allow manual access to the mysql relaydelay
data.  Why can't the milter do it?


Does anyone see what I'm doing wrong?

-- 
	David A. De Graaf    DATIX, Inc.    Hendersonville, NC
	dad at datix.2y.net     www.datix.2y.net


More information about the Greylist-users mailing list