with my great ignorance !!!... Most of lowlevel socket programs uses getprotobyname(), gethostyname(), gethostbyaddr() etc... i think your server has some sort of DNS issue. even if dig can work. maybe it's about gcc & glibc. Upgrading or re-compiling will work. you need to compile gcc & glibc anyway (if not). Also all other required stuff to work better.
is that a good idea to use AMD64bit kernel & stuff for mail serving? i'd prefer an i386 kernel. you can't imagine what sort of tools you will need & unable to find 64bit binaries. On Jan 29, 2008 11:26 PM, Stefan Rüdiger <[EMAIL PROTECTED]> wrote: > Thanks for your fast answer :) dig resolves work well .. > So its very strange .. and the line is in the /etc/protocols file .. > any idea how to fix this? > > regards > Stefan > > > > > > 2008/1/29, Sam Clippinger <[EMAIL PROTECTED]>: > > Wow -- I never expected anyone would see that error message. > > > > getprotobyname() is a library function that finds the ID number for the > > UDP protocol. (spamdyke needs that ID number so it can perform DNS > > queries.) Protocols and their IDs are typically listed in > > /etc/protocols (you can confirm this by looking at the man page for > > getprotobyname() on your system). In that file, look for a line like > this: > > udp 17 UDP > > > > If you're getting this error, I'd be amazed if any UDP-based services > > work correctly on your server (including DNS resolutions). > > > > -- Sam Clippinger > > > > Stefan Rüdiger wrote: > > > Hi :) > > > > > > i have searched allready the archives and the net but did not find > anything .. > > > i get the following error when i run spamdyke on one server: > > > > > > ERROR: unable to find protocol number with getprotobyname() > > > > > > Spamdyke works very well on 4 other servers (3 time opensuse and 1 > > > time Debian 3.x) > > > But on my new Server Debian 4.0 AMD64 2 GB Ram i get every time when i > > > put spamdyke in my conf (/service/qmail-smtpd/run): > > > > > > QMAILDUID=`id -u vpopmail` > > > NOFILESGID=`id -g vpopmail` > > > MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` > > > exec /usr/local/bin/softlimit -m 12000000 \ > > > /usr/local/bin/tcpserver -v -H -R -l 0 \ > > > -x /home/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \ > > > -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \ > > > /usr/local/bin/spamdyke -f /etc/spamdyke.conf \ > > > /var/qmail/bin/qmail-smtpd \ > > > /home/vpopmail/bin/vchkpw /bin/true 2>&1 > > > > > > the error... > > > > > > i use netqmail-1.05/simscan/spamassassin/clamav with the latest > > > spamdyke version my conf for spamdyke: > > > > > > log-target=0 > > > log-level=2 > > > local-domains-file=/var/qmail/control/rcpthosts > > > max-recipients=5 > > > idle-timeout-secs=60 > > > graylist-dir=/home/vpopmail/graylist > > > graylist-min-secs=300 > > > graylist-max-secs=1814400 > > > sender-blacklist-file=/home/vpopmail/blacklist_senders > > > recipient-blacklist-file=/home/vpopmail/blacklist_recipients > > > ip-in-rdns-keyword-file=/home/vpopmail/blacklist_keywords > > > ip-blacklist-file=/home/vpopmail/blacklist_ip > > > rdns-blacklist-dir=/home/vpopmail/blacklist_rdns.d > > > reject-empty-rdns > > > reject-unresolvable-rdns > > > reject-ip-in-cc-rdns > > > rdns-whitelist-file=/home/vpopmail/whitelist_rdns > > > ip-whitelist-file=/home/vpopmail/whitelist_ip > > > greeting-delay-secs=5 > > > check-dnsrbl=zombie.dnsbl.sorbs.net > > > check-dnsrbl=dul.dnsbl.sorbs.net > > > check-dnsrbl=bogons.cymru.com > > > reject-missing-sender-mx > > > tls-certificate-file=/var/qmail/control/servercert.pem > > > > > > any idea how i can fix that error? or how i can find out more about > it? > > > when i remove the line in the run conf file the error is gone .. > > > > > > Thanks for any help and answer :-) > > > > > > regards > > > Stefan > > > _______________________________________________ > > > spamdyke-users mailing list > > > spamdyke-users@spamdyke.org > > > http://www.spamdyke.org/mailman/listinfo/spamdyke-users > > _______________________________________________ > > spamdyke-users mailing list > > spamdyke-users@spamdyke.org > > http://www.spamdyke.org/mailman/listinfo/spamdyke-users > > > _______________________________________________ > spamdyke-users mailing list > spamdyke-users@spamdyke.org > http://www.spamdyke.org/mailman/listinfo/spamdyke-users > -- Marmaris Yacht Marina www.yachtmarin.com Bilgi İşlem / ITech. Dep. +90 252 4220094 #185 Fax: +90 252 4220049 www.yasininat.com
_______________________________________________ spamdyke-users mailing list spamdyke-users@spamdyke.org http://www.spamdyke.org/mailman/listinfo/spamdyke-users