|
Any can help me more? Thanks so much, Sam and Others. -------- Mensagem original --------
Thanks Sam, I stop qmail service, and run my smtp "Run file" manually with config-test option in spamdyke. Above my smtp run file. ###################### #!/bin/sh QMAILDUID=`id -u vpopmail` NOFILESGID=`id -g vpopmail` MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` BLACKLIST=`cat /var/qmail/control/blacklists` SMTPD="/var/qmail/bin/qmail-smtpd" TCP_CDB="/etc/tcprules.d/tcp.smtp.cdb" RBLSMTPD="/usr/bin/rblsmtpd" HOSTNAME=`hostname` VCHKPW="/home/vpopmail/bin/vchkpw" REQUIRE_AUTH=0 exec /usr/bin/softlimit -m 20000000 \ /usr/bin/tcpserver -D -t 1 -v -P -R -H -l $HOSTNAME -x $TCP_CDB -c "$MAXSMTPD" \ -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \ /usr/local/bin/spamdyke --config-test -f /etc/spamdyke/spamdyke.conf $SMTPD $VCHKPW /bin/true 2>&1 ################## Errors in /var/log/maillog. ERROR(graylist-level): Unable to read graylist sender directory /home/vpopmail/graylist.d/riosulense.com.br/minatti/[email protected]: Not a directory ERROR(graylist-level): Failed to create file in directory: /home/vpopmail/graylist.d/riosulense.com.br/g/[email protected]/spamdyke-test_1238596931_9529: Not a directory ERROR(graylist-level): Unable to read graylist sender directory /home/vpopmail/graylist.d/riosulense.com.br/g/[email protected]: Not a directory ERROR(graylist-level): Failed to create file in directory: /home/vpopmail/graylist.d/riosulense.com.br/g/[email protected]/spamdyke-test_1238596931_9526: Not a directory ERROR(graylist-level): Unable to read graylist sender directory /home/vpopmail/graylist.d/riosulense.com.br/g/[email protected]: Not a directory ################# What u think about this? Thanks Sam. Rafael Sam Clippinger escreveu: It looks like you forgot a few items from the command you used to run "config-test". Specifically, you must give the "-f" flag before the configuration file and you must give the path to the qmail binary (and all of its arguments), just the way it is given in the "run" file. With the command you gave, spamdyke is trying to execute your configuration file instead of reading it, which is obviously not what you want.-- Sam Clippinger Rafael Andrade wrote:Thanks Sam ! I found erros in my config file, u can help-me? I test with config-test. Above. r...@net spamdyke]# spamdyke --config-test /etc/spamdyke/spamdyke.conf && tail -f /var/log/maillog 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. Apr 1 07:35:42 net spamdyke[2005]: ERROR: unable to execute child process /etc/spamdyke/spamdyke.conf: Exec format error Apr 1 07:35:48 net spamdyke[2005]: ERROR: unable to execute child process /etc/spamdyke/spamdyke.conf: Exec format error My Spamdyke.conf #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=debug #log-level=info log-target=syslog #log-target=stderr max-recipients=50 #policy-url="" moz-do-not-send="true" class="moz-txt-link-freetext" href="http://my.policy.explanation.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 Which permissions i need to add on spamdyke? root? Im using qmailtoaster + spamdyke. Thanks all!! Rafael Sam Clippinger escreveu: |
_______________________________________________ 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
