> 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) ?
>
> I want our MTA (Exim4) to receive the mail and direct the data flow.
> Then, Exim4 will send each email to DSPAM for scanning, thru port
> (ServerPort), say port 24, listening on 127.0.0.1.
>
> After scanning and tagging, I've configured DSPAM to send the email back
> to Exim thru 127.0.0.1 port 2525 (for example).
>
> I don't know how to make DSPAM listen on a certain interface only.
>
> Besides, do you believe that doing it thru a UNIX socket and making Exim
> spawn a dspamc process for each mail is a good idea ?
>
> Regards,
>
>
>


I use dspam sock for everything is done on one host.  I like this way so i can
keep the open ports on my fire wall to less then 5,  For once again..  my mail
server sits right out on the net (im a hosting provider..  and my server is
sitting in a hosted rack some where in NY).  I see no speed difference when
someone does localhost or use a connection socket.  So it's kinda up 2 ya.

The port change can be made rather easly.  In your dspam.conf file, scroll down
towards the deamon section and take a look at the follwoing sections.

# Daemonized Server: If you are running DSPAM as a daemonized server using
# --daemon, the following parameters will override the default. Use the
# ServerPass option to set up accounts for each client machine. The DSPAM
# server will process and deliver the message based on the parameters
# specified. If you want the client machine to perform delivery, use
# the --stdout option in conjunction with a local setup.
#
#ServerPort             24
#ServerQueueSize        32
#ServerPID              /var/run/dspam.pid

just change your server port number to what ever you wish.  then run dspam
--daemon &.  Once that is done then run netstat -tpan | grep ###Port number you
chose###  to see if it is running correctly.





Reply via email to