Yes, I have started dspam as daemon:
/usr/local/bin/dspam --debug --daemon &
and, as I wroter, telnet to poort 24 works.

Dspam in non-daemon mode works. It is only the client/server mode that
won't work. To be more specific: as far as I can see the daemon works
but the client does not work.

Op 10-8-2011 5:38, WeiHua.Deng wrote:
>
> Do you start it : dspam �Cdaemon&
>
> *发件人:*Ruud Baart [mailto:r.j.ba...@prompt.nl]
> *发 送时间:*2011年8月9日22:01
> *收件人:*dspam-user@lists.sourceforge.net
> *主题:*[Dspam-user] dspam/dspamc configuration error
>
> I try to compile dspam 3.10.0 and make it works with amavisd-new.
>
> Compilation of dspam was successful I think:
>
> dspam --version
> DSPAM Anti-Spam Suite 3.10.0 (agent/library)
> ...
> Configuration parameters: '--with-storage-driver=pgsql_drv'
> '--with-pgsql-includes=/usr/include/postgresql/9.0/server'
> '--with-pgsql-libraries=/usr/lib/postgresql/9.0/lib'
> '--enable-virtual-users' '--enable-long-username'
> '--enable-large-scale' '--with-dspam-group=amavis'
> '--with-dspam-owner=amavis' '--with-dspam-home=/var/dspam'
> '--with-logdir=/var/log/dspam/' '--enable-syslog' '--enable-debug'
> '--enable-preferences-extension' '--enable-daemon' '--disable-clamav'
> 'CPPFLAGS=-I/usr/include/postgresql/9.0/server -I/usr/include/postgresql '
>
>
> I want to use dspam as daemon:
>
> Serverhost 127.0.0.1
> Serverport 24
> ServerQueuesize 32
> ServerPID /var/run/amavis/dspam.pid
> ServerPass.Myserver "client1"
> ServerIdent "smtp.mydomain"
> ServerMode dspam
>
> If I do a
> telnet 127.0.0.1 24
> I get respons and I can do a complete conversation.
>
> If I use dspamc or "dspam --client --user amavis" I don't get any
> respons. A "tcpdump -n -i eth0 port 24" also shows no data. So I
> assume the dspam as client does not make a TCP connection on port 24.
> In the logfile "Invalid client configuration"
>
> The client configuration in dspam.conf
>
> ClientHost 127.0.0.1
> ClientPort 24
> ClienIdent "client1@Myserver"
>
> I do something wrong but I can't find it. Any suggestions?
>
>
> -- 
>  
> Regards,
>  
> Ruud Baart

-- 
Regards,

Ruud Baart

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to