How come this is not a configuration option ? It would be so simple ! N
Le 05/03/2008 09:59, Artis Caune écrivait : > Manuel Molina Cuberos wrote: > >Hello all! > > > >Are there any way to tell DSPAM in dspam.conf to listen on address > >x.y.z.t port (ServerPort), instead of *:(ServerPort) ? > > > > No, but you can patch source: > > > --- src/daemon.c Sat May 13 12:17:30 2006 > +++ src/daemon.c Tue Oct 9 12:42:21 2007 > @@ -175,7 +175,7 @@ > memset(&local_addr, 0, sizeof(struct sockaddr_in)); > local_addr.sin_family = AF_INET; > local_addr.sin_port = htons(port); > - local_addr.sin_addr.s_addr = INADDR_ANY; > + local_addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK); > > LOGDEBUG(INFO_DAEMON_BIND, port); > > -- Nicolas Bouthors -=- Tel : 06 20 71 62 34 -=- Fax : 01 46 87 21 99 NBi SARL -=- http://nbi.fr -=- [EMAIL PROTECTED]
