You need to use the _complete_ spamdyke command line from your "run" 
file.  You're missing the "--config-file" (or "-f") directive and the 
qmail command line.  As a result, spamdyke is attempting to _run_ your 
configuration file, which obviously doesn't work.

-- Sam Clippinger

Rafael Andrade wrote:
> I Have the same problem.
>
> [r...@net ~]# spamdyke --config-test /etc/spamdyke/spamdyke.conf 
> /var/qmail/bin/qmail-smtpd -Rt0
> spamdyke 4.0.10+TLS+CONFIGTEST+DEBUG (C)2008 Sam Clippinger, samc (at) 
> silence (dot) org
> http://www.spamdyke.org/
>
> Use -h for an option summary or see README.html for complete option details.
>
> ERROR: Command returned no output: /etc/spamdyke/spamdyke.conf
> ERROR: Tests complete. Errors detected.
>
> ########################################
> # Above my spamdyke.conf ( /etc/spamdyke/spamdyke.conf ) ##
> ########################################
> # rbl
> dns-blacklist-entry=zen.spamhaus.org
> dns-blacklist-entry=bl.spamcop.net
> #dns-blacklist-entry=zombie.dnsbl.sorbs.net
> #dns-blacklist-entry=dul.dnsbl.sorbs.net
> #dns-blacklist-entry=bogons.cymru.com
> #dns-blacklist-entry=ix.dnsbl.manitu.net
> #dns-blacklist-entry=list.dsbl.org
>
> # graylist
> #graylist-dir=/etc/spamdyke/graylist.d
> graylist-dir=/home/vpopmail/graylist.d
> graylist-level=always
> graylist-max-secs=2678400
> graylist-min-secs=180
> greeting-delay-secs=5
> local-domains-file=/var/qmail/control/rcpthosts
> log-level=info
> log-target=syslog
> #log-target=stderr
> max-recipients=50
> #policy-url=http://my.policy.explanation.url/
> reject-empty-rdns
> #reject-ip-in-cc-rdns
> reject-missing-sender-mx
> #reject-unresolvable-rdns
> #tls-certificate-file=/var/qmail/control/servercert.pem
>
>
> # blacklist and whitelist ip
> ip-blacklist-file=/etc/spamdyke/blacklist_ip
> ip-whitelist-file=/etc/spamdyke/whitelist_ip
>
> # blacklist and whitelist keywords
> ip-in-rdns-keyword-blacklist-file=/etc/spamdyke/blacklist_keywords
> ip-in-rdns-keyword-whitelist-file=/etc/spamdyke/whitelist_keywords
>
> # blacklist and whitelist senders
> sender-blacklist-file=/etc/spamdyke/blacklist_senders
> sender-whitelist-file=/etc/spamdyke/whitelist_senders
>
> # blacklist and whitelist rdns
> rdns-blacklist-file=/etc/spamdyke/blacklist_rdns
> rdns-whitelist-file=/etc/spamdyke/whitelist_rdns
>
> # whitelist dns
> dns-whitelist-file=/etc/spamdyke/whitelist_dns
>
> # blacklist and whitelist recipients
> recipient-blacklist-file=/etc/spamdyke/blacklist_recipients
> recipient-whitelist-file=/etc/spamdyke/whitelist_recipients
> #######################################
> #######################################
>
>
>
>
> Klaas Runia escreveu:
>   
>> Hi Sam (and others),
>>
>> Sorry for the late response. I was busy setting up other things.
>>
>> I use the latest version of spamdyke. I just installed it on one of my 
>> test servers, this time with Plesk 8.3
>>
>> The message I get from the config test option (/usr/local/bin/spamdyke 
>> --config-test /etc/spamdyke.conf /var/qmail/bin/qmail-smtpd 2>&1 -Rt0) is
>>
>> ERROR: Command returned no output: /etc/spamdyke.conf
>> ERROR: Tests complete. Errors detected.
>>
>> The spamdyke.conf file *IS* available in /etc
>>
>> It's contents (changed it by example of the INSTALL file wich comes 
>> with spamdyke):
>>
>> log-level=2
>> local-domains-file=/var/qmail/control/rcpthosts
>> max-recipients=20
>> idle-timeout-secs=60
>> graylist-dir=/var/qmail/spamdyke/greylist
>> graylist-min-secs=300
>> graylist-max-secs=1814400
>> sender-blacklist-file=/var/qmail/spamdyke/blacklist_senders
>> sender-whitelist-file=/var/qmail/spamdyke/whitelist_senders
>> recipient-blacklist-file=/var/qmail/spamdyke/blacklist_recipients
>> ip-in-rdns-keyword-file=/var/qmail/spamdyke/blacklist_keywords
>> ip-blacklist-file=/var/qmail/spamdyke/blacklist_ip
>> rdns-whitelist-file=/var/qmail/spamdyke/whitelist_rdns
>> ip-whitelist-file=/var/qmail/spamdyke/whitelist_ip
>> reject-empty-rdns
>> reject-unresolvable-rdns
>> greeting-delay-secs=5
>> never-greylist-ip-file=/var/qmail/spamdyke/never_greylist
>> dns-blacklist-entry=zombie.dnsbl.sorbs.net
>> dns-blacklist-entry=dul.dnsbl.sorbs.net
>> dns-blacklist-entry=bogons.cymru.com
>> #check-dnsrbl=zen.spamhaus.org
>> #check-dnsrbl=dnsbl.ahbl.org
>> #check-dnsrbl=dnsbl.njabl.org
>> #check-dnsrbl=dnsbl.sorbs.net
>> #check-dnsrbl=bogons.cymru.com
>> #check-dnsrbl=bl.spamcop.net
>> #check-dnsrbl=list.dsbl.org
>> reject-missing-sender-mx
>>
>> tls-certificate-file=/var/qmail/control/servercert.pem
>> local-domains-file=/var/qmail/control/rcpthosts
>> policy-url=http://www.domain.nl/spam_policy
>>
>> When I monitor the maillog I see the client connecting. Mail sended to 
>> that domain is never arriving though. When I remove the spamdyke 
>> command from /etc/xinetd.d/smtp_psa mail is arriving immediately.
>>
>> What am I doing wrong??
>>
>> greetings,
>>
>> klaas Runia
>>
>> Sam Clippinger schreef:
>>     
>>> Which version of spamdyke did you install?  That tutorial is out of 
>>> date; the configuration file is for version 3.1.x, not 4.0.
>>>
>>> If you used 3.1.x, try using the "config-test" feature to look for 
>>> problems.  Also check your logs for error messages.  NOTE: Plesk moves 
>>> the mail log file to /usr/local/psa/var/log/maillog.
>>>
>>> -- Sam Clippinger
>>>
>>> Klaas Runia wrote:
>>>   
>>>       
>>>> I installed Spamdyke on my Plesk 8.4 server according to this example:
>>>> http://www.blueoryx.info/linux_administration/spamdyke
>>>>
>>>> Everything seems to work (no errors in the maillog), but I get no mail 
>>>> anymore (even hours after first try)
>>>>
>>>> The greylist entrys for the domains are not extended with greylist 
>>>> entrys, while the config file is pointing in the right direction. I 
>>>> assume that this is the reason why mail never arrives. It is not 
>>>> reckcognized as second try because of the lack of the first entry in 
>>>> the graylist dir.
>>>>
>>>> My config:
>>>>
>>>> log-level=2
>>>> local-domains-file=/var/qmail/control/rcpthosts
>>>> max-recipients=20
>>>> idle-timeout-secs=60
>>>> graylist-level=always
>>>> graylist-dir=/var/qmail/spamdyke/greylist
>>>> graylist-min-secs=300
>>>> graylist-max-secs=1814400
>>>> sender-blacklist-file=/var/qmail/spamdyke/blacklist_senders
>>>> sender-whitelist-file=/var/qmail/spamdyke/whitelist_senders
>>>> recipient-blacklist-file=/var/qmail/spamdyke/blacklist_recipients
>>>> ip-in-rdns-keyword-file=/var/qmail/spamdyke/blacklist_keywords
>>>> ip-blacklist-file=/var/qmail/spamdyke/blacklist_ip
>>>> rdns-whitelist-file=/var/qmail/spamdyke/whitelist_rdns
>>>> ip-whitelist-file=/var/qmail/spamdyke/whitelist_ip
>>>> reject-empty-rdns
>>>> reject-unresolvable-rdns
>>>> greeting-delay-secs=5
>>>> #never-greylist-ip-file=/var/qmail/spamdyke/never_greylist
>>>> #check-dnsrbl=zen.spamhaus.org
>>>> #check-dnsrbl=dnsbl.ahbl.org
>>>> #check-dnsrbl=dnsbl.njabl.org
>>>> #check-dnsrbl=dnsbl.sorbs.net
>>>> #check-dnsrbl=bogons.cymru.com
>>>> #check-dnsrbl=bl.spamcop.net
>>>> #check-dnsrbl=list.dsbl.org
>>>> reject-missing-sender-mx
>>>>
>>>> tls-certificate-file=/var/qmail/control/servercert.pem
>>>> local-domains-file=/var/qmail/control/rcpthosts
>>>> #policy-url=http://www.your-domain-here.com/spam_policy
>>>>
>>>> /var/qmail/spamdyke/greylist contains the domains as subscribed: 
>>>> domain.ext
>>>>
>>>> These are all empty after sending some mails to the server.
>>>>
>>>> Anyone?
>>>> ------------------------------------------------------------------------
>>>>
>>>> _______________________________________________
>>>> spamdyke-users mailing list
>>>> [email protected]
>>>> http://www.spamdyke.org/mailman/listinfo/spamdyke-users
>>>>   
>>>>     
>>>>         
>>> _______________________________________________
>>> spamdyke-users mailing list
>>> [email protected]
>>> http://www.spamdyke.org/mailman/listinfo/spamdyke-users
>>>
>>> __________ Informatie van ESET NOD32 Antivirus, versie van database 
>>> viruskenmerken 3724 (20081230) __________
>>>
>>> Het bericht is gecontroleerd door  ESET NOD32 Antivirus.
>>>
>>> http://www.eset.com
>>>
>>>
>>>
>>>
>>>   
>>>       
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> spamdyke-users mailing list
>> [email protected]
>> http://www.spamdyke.org/mailman/listinfo/spamdyke-users
>>   
>>     
> _______________________________________________
> spamdyke-users mailing list
> [email protected]
> http://www.spamdyke.org/mailman/listinfo/spamdyke-users
>   
_______________________________________________
spamdyke-users mailing list
[email protected]
http://www.spamdyke.org/mailman/listinfo/spamdyke-users

Reply via email to