[PATCH] Create the socket of dccifd in the rundir

Vernon Schryver vjs@calcite.rhyolite.com
Wed Aug 3 15:33:38 UTC 2011


> From: Bram <dcc@lists.wizbit.be>

> Configure/the documentation suggest that the pid file and the sockets  
> are created in the run directory:
>
>  From ./Configure --help:
>    --with-rundir=DIR	    for PID files and milter socket
>
> This however is not the case for dccifd.

dccifd is not a sendmail (or postfix) milter.

> It creates the socket in the homedir and not the run directory.

I agree that the dccifd socket by defailt should be created in the
run directory.  

> Attached is a patch (against dcc-1.3.140) that creates the socket for  
> dccifd in the run directory and not in the homedir.

However, changing the default location of the dccifd socket would break
many existing installations.

It is not necessary to patch the dccifd source to put the socket
anywhere you like.  Simply use -p, perhaps by adding -p/var/run/dcc
to DCCIFD_ARGS in /var/dcc/dcc_conf See the dccifd man page, perhaps
at http://www.dcc-servers.net/dcc/dcc-tree/dccifd.html#OPTION-p



} From: Bram <dcc@lists.wizbit.be>

}                   option DNSBL4-off
}                   MTA-last

} The last line should read "option MTA-last" instead of "MTA-last"

thanks.


Vernon Schryver    vjs@rhyolite.com



More information about the DCC mailing list

Contact vjs@rhyolite.com by mail or use the form.