Are you sure you're connecting to the same server from the outside? Is it possible that you're connecting to some other server? If spamdyke runs from a local connection but not from an outside connection, then the problem would most likely be outside of your host.
Joy wrote: > i am not having any firewall or no service stopping my telnet to 25 > only options defined in spamdyke.conf is not working from outside. > > > > On Sun, Sep 19, 2010 at 7:56 PM, Eric Shubert <e...@shubes.net> wrote: >> If telnet to port 25 works ok from your server but not from an external >> host, then your problem would appear to be with some aspect of >> networking, such as routing or firewall. >> >> Is iptables running? If so, is it blocking port 25? >> Is an external router blocking traffic? The problem might be external to >> your server. >> -- >> -Eric 'shubes' >> >> Joy wrote: >>> Here is my spamdyke.conf script :- >>> >>> log-level=error >>> local-domains-file=/var/qmail/control/rcpthosts >>> tls-certificate-file=/var/qmail/control/cert.pem >>> greeting-delay-secs=10 >>> dns-blacklist-entry=zen.spamhaus.org >>> >>> I have changes the permission of spamdyke binary file so that the same >>> can be executed with qmaild user. now if i test the same from my >>> server by make a telnet connection to my smtp server it delays the >>> connection as per greeting delay but if i use the same from remote >>> systems this doesn't work for me. >>> >>> Here is server details :- >>> >>> OS - Debian lenny >>> Version - 5.0.5 >>> >>> I am not getting any error. >>> My mail server is accepting all mails. >>> >>> I have installed qmail as per http://www.lifewithqmail.org/ldap/ URL. >>> >>> Please suggest me how to trace the issue. >>> >>> On Tue, Sep 14, 2010 at 1:41 AM, Demetrio López >>> <demetrio.lo...@idecnet.com> wrote: >>>> I agree with Sam. It's probably a permissions problem. >>>> >>>> Run your script (first stop qmail-smtpd service with svc) in a shell and >>>> edit /etc/spamdyke.conf to send errors to stderr. >>>> >>>> Anyway, could you provide more information? >>>> >>>> >>>> El 13/09/2010 19:46, Sam Clippinger escribió: >>>>> I don't see anything wrong with this file. My guess is that it's a >>>>> permission problem; is it possible the qmaild user can't run the >>>>> spamdyke binary? >>>>> >>>>> Could you provide a little more information about the problem? Are you >>>>> seeing any error messages? Does your server stop accepting mail >>>>> entirely? What OS and version are you using? How was qmail installed >>>>> (e.g. OS package, QMT, QmailRocks, LifeWithQmail, Plesk)? >>>>> >>>>> -- Sam Clippinger >>>>> >>>>> On 9/13/10 12:14 AM, Joy wrote: >>>>>> I have tried your script but it doesn't work for me, Here is my run >>>>>> file:- >>>>>> >>>>>> #!/bin/sh >>>>>> exec 2>&1 >>>>>> # >>>>>> # SMTP service >>>>>> # >>>>>> QMAIL="/var/qmail" >>>>>> ME="`head -1 $QMAIL/control/me`" >>>>>> CONCURRENCY=${CONCURRENCY:=50} >>>>>> QUSER="qmaild" >>>>>> >>>>>> PATH="$QMAIL/bin:$PATH" >>>>>> >>>>>> # source the environemt in ./env >>>>>> eval `env - PATH=$PATH envdir ./env awk '\ >>>>>> BEGIN { for (i in ENVIRON) \ >>>>>> if (i != "PATH") { \ >>>>>> printf "export %s=\"%s\"\\n", i, ENVIRON[i] \ >>>>>> } \ >>>>>> }'` >>>>>> >>>>>> # enforce some sane defaults >>>>>> QUSER=${QUSER:="qmaild"} >>>>>> PBSTOOL=${PBSTOOL:="$QMAIL/bin/pbscheck"} >>>>>> >>>>>> if [ X${NOPBS+"true"} = X"true" ]; then >>>>>> unset PBSTOOL >>>>>> fi >>>>>> >>>>>> exec \ >>>>>> envuidgid $QUSER \ >>>>>> tcpserver -v -HURl $ME -x$QMAIL/control/qmail-smtpd.cdb \ >>>>>> ${CONCURRENCY:+"-c$CONCURRENCY"} ${BACKLOG:+"-b$BACKLOG"} >>>>>> 0 smtp \ >>>>>> $PBSTOOL \ >>>>>> /usr/local/bin/spamdyke -f /etc/spamdyke.conf \ >>>>>> $QMAIL/bin/qmail-smtpd 2>&1 >>>>>> >>>>>> >>>>>> Please let me know what's wrong with the run file. >>>>>> >>>>>> >>>>>> On Mon, Sep 13, 2010 at 3:58 AM, Demetrio López >>>>>> <demetrio.lo...@idecnet.com> wrote: >>>>>> >>>>>>> Hi. This is the script that I use to run qmail-smtpd with daemontools: >>>>>>> >>>>>>> #!/bin/sh >>>>>>> exec 2>&1 >>>>>>> # >>>>>>> # SMTP service >>>>>>> # >>>>>>> if [ -f env/CONCURRENCY~ ] >>>>>>> then >>>>>>> rm env/CONCURRENCY~ >>>>>>> fi >>>>>>> >>>>>>> USER=qmaild >>>>>>> QMAIL=/var/qmail >>>>>>> ME=$(head -1 $QMAIL/control/me) >>>>>>> CONCURRENCY=${CONCURRENCY:=50} >>>>>>> >>>>>>> PATH=$PATH:"$QMAIL/bin" >>>>>>> >>>>>>> # source the environemt in ./env >>>>>>> eval `env - /usr/local/bin/envdir ./env awk '\ >>>>>>> BEGIN { for (i in ENVIRON) printf "%s=\"%s\"\n", i, >>>>>>> ENVIRON[i] }'` >>>>>>> >>>>>>> exec /usr/local/bin/envdir ./env \ >>>>>>> envuidgid $USER \ >>>>>>> tcpserver -v -URl $ME -x$QMAIL/control/qmail-smtpd.cdb \ >>>>>>> ${CONCURRENCY+"-c$CONCURRENCY"} ${BACKLOG+"-b$BACKLOG"} 0 >>>>>>> smtp \ >>>>>>> /usr/local/bin/spamdyke -f /etc/spamdyke.conf \ >>>>>>> $QMAIL/bin/qmail-smtpd 2>&1 >>>>>>> >>>>>>> >>>>>>> In my case I do not use PBS because this server only acts as MX. Users >>>>>>> read their mailboxes on another server. >>>>>>> >>>>>>> In your script, Which is the value of $PBSTOOL variable? >>>>>>> >>>>>>> >>>>>>> >>>>>>> El 10/09/10 12:07, Joy escribió: >>>>>>> >>>>>>>> Hello Everyone, >>>>>>>> This is my first post to this list so please >>>>>>>> apologies me for any mistake. >>>>>>>> >>>>>>>> I am running qmail server with ldap support. Installed spamdyke on my >>>>>>>> server and also set up my run file as suggested in your website but my >>>>>>>> smtp server is not using spamdyke, while running spamdyke from command >>>>>>>> line with the same options working well so there is no issue in >>>>>>>> installation just let me know how to call the spamdyke from run file >>>>>>>> here is my run file contents:- >>>>>>>> >>>>>>>> exec \ >>>>>>>> envuidgid $QUSER \ >>>>>>>> tcpserver -v -HURl $ME -x$QMAIL/control/qmail-smtpd.cdb \ >>>>>>>> ${CONCURRENCY:+"-c$CONCURRENCY"} >>>>>>>> ${BACKLOG:+"-b$BACKLOG"} 0 smtp \ >>>>>>>> $PBSTOOL \ >>>>>>>> /usr/local/bin/spamdyke -f /etc/spamdyke.conf \ >>>>>>>> $QMAIL/bin/qmail-smtpd >>>>>>>> >>>>>>>> Please let me know what is the issue ? >>>>>>>> _______________________________________________ >>>>>>>> spamdyke-users mailing list >>>>>>>> spamdyke-users@spamdyke.org >>>>>>>> http://www.spamdyke.org/mailman/listinfo/spamdyke-users >>>>>>>> >>>>>>> -- >>>>>>> Atentamente, >>>>>>> >>>>>>> Demetrio López. >>>>>>> Departamento de Sistemas, IdecNet S.A. >>>>>>> Centro de Gestión de Red. >>>>>>> Edificio IdecNet. C/Juan XXIII 44. >>>>>>> E-35004, Las Palmas de Gran Canaria, >>>>>>> Islas Canarias - España. >>>>>>> Tfn: +34 828 111 000 Ext: 340 >>>>>>> _______________________________________________ >>>>>>> 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 >>>> -- >>>> Atentamente, >>>> >>>> Demetrio López. >>>> Departamento de Sistemas, IdecNet S.A. >>>> Centro de Gestión de Red. >>>> Edificio IdecNet. C/Juan XXIII 44. >>>> E-35004, Las Palmas de Gran Canaria, >>>> Islas Canarias - España. >>>> Tfn: +34 828 111 000 Ext: 340 >>>> _______________________________________________ >>>> 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 >> -- -Eric 'shubes' _______________________________________________ spamdyke-users mailing list spamdyke-users@spamdyke.org http://www.spamdyke.org/mailman/listinfo/spamdyke-users