LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-03-2009, 08:46 PM   #1
yanghwanim
LQ Newbie
 
Registered: Mar 2009
Location: Honolulu, Hawaii
Distribution: CentOS/Fedora/Ubuntu/RedHat
Posts: 18

Rep: Reputation: 0
Unhappy 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!
 
Old 06-05-2009, 05:14 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,825

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
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
 
Old 06-05-2009, 09:52 PM   #3
yanghwanim
LQ Newbie
 
Registered: Mar 2009
Location: Honolulu, Hawaii
Distribution: CentOS/Fedora/Ubuntu/RedHat
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by John VV View Post
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!
 
Old 06-05-2009, 11:13 PM   #4
jakev383
QmailToaster Developer
 
Registered: Dec 2005
Location: Burlington, NC
Distribution: CentOS, Voyage, Debian, Fedora
Posts: 220

Rep: Reputation: 31
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.
 
Old 06-08-2009, 09:20 PM   #5
yanghwanim
LQ Newbie
 
Registered: Mar 2009
Location: Honolulu, Hawaii
Distribution: CentOS/Fedora/Ubuntu/RedHat
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jakev383 View Post
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!
 
  


Reply

Tags
plesk


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving a Fedora 7 Web Server that uses plesk and hosts DNS oldcarguy85 Linux - Server 1 04-20-2008 08:56 AM
spamassassin and blacklist/whitelist activeq Linux - Software 2 04-27-2007 08:06 AM
Blacklist all, whitelist two countries daiver Linux - Security 4 04-30-2006 11:41 PM
stuck on ip error with plesk and fedora ryedawg Linux - Software 0 12-10-2005 03:54 PM


All times are GMT -5. The time now is 04:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration