LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   SpamDyke - Plesk - Fedora 4 - How do I config blacklist, and whitelist? (https://www.linuxquestions.org/questions/linux-newbie-8/spamdyke-plesk-fedora-4-how-do-i-config-blacklist-and-whitelist-730527/)

yanghwanim 06-03-2009 07:46 PM

SpamDyke - Plesk - Fedora 4 - How do I config blacklist, and whitelist?
 
Hey guys,

Just a quick abstract on my problem. (nitemare to be exact)

I have setup the lastest version SpamDyke 4.0.10 -

http://www.spamdyke.org/download.html <---if you want it!

Basically after everything is install, I am able to send out mail, but not able to receive.

Here is what my /etc/spamdyke.conf looks like:
------------------------------------------------------
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
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
--------------------------------------------------------


Also I have modified my /etc/xinetd.d/smtp_psa (plesk) to:

--------------------------------------------------------
service smtp
{
socket_type = stream
protocol = tcp
wait = no
disable = no
user = root
instances = UNLIMITED
env = SMTPAUTH=1
server = /var/qmail/bin/tcp-env
server_args = -Rt0 /usr/local/bin/spamdyke -f /etc/spamdyke.conf /var/qmail/bin/relaylock /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true
}
-------------------------------------------------------

I have my filters located:

/var/qmail/spamdyke/

Items in Spamdyke are:

blacklist_ip blacklist_keywords blacklist_recipients blacklist_senders greylist whitelist_ip whitelist_rdns whitelist_recipients whitelist_senders

"Greylist" is a directory full of domain names.


I added 127.0.0.1 to whitelist_ip.

For some reason I can send out email, but I can't receive....even though I will put a domain in the whitelist_senders. I even added my gmail account as whitelist, *@gmail.com, and I still didn't get any emails.

What I am doing wrong guys?

I followed http://www.blueoryx.info/linux_administration/spamdyke


Thank you for taking the time to read this!

John VV 06-05-2009 04:14 PM

fedora 4 is SO OLD that in all likely hood YOU WILL NEVER GET IT ( 4.0.10)TO WORK
version 4.0.0 might but spamdyke 4.0.0 is NEWER than fedora 4
fedora 4 has been unsupported ( with NO SECURITY UPDATES ) since nov , 2006

please do every one a favor and install the fedora 11 or 10 or RHEL5.3 these ARE supported and have SECURITY fixes

yanghwanim 06-05-2009 08:52 PM

Quote:

Originally Posted by John VV (Post 3564605)
fedora 4 is SO OLD that in all likely hood YOU WILL NEVER GET IT ( 4.0.10)TO WORK
version 4.0.0 might but spamdyke 4.0.0 is NEWER than fedora 4
fedora 4 has been unsupported ( with NO SECURITY UPDATES ) since nov , 2006

please do every one a favor and install the fedora 11 or 10 or RHEL5.3 these ARE supported and have SECURITY fixes

Understood! I upgraded to Fedora 10, and everything is working. Thanks!

jakev383 06-05-2009 10:13 PM

If you're looking for an easy way to maintain your Qmail server, come over to qmailtoaster.com. We support the Fedora group and produce RPMs for a full Qmail install.

yanghwanim 06-08-2009 08:20 PM

Quote:

Originally Posted by jakev383 (Post 3564838)
If you're looking for an easy way to maintain your Qmail server, come over to qmailtoaster.com. We support the Fedora group and produce RPMs for a full Qmail install.

Great! I'm over there now! thanks!


All times are GMT -5. The time now is 11:21 PM.