qgreylist install

Forum for getting help with Project Gamera, Spamassassin, Clamav, qmail-scanner and other anti-spam tools.
jwdick
Forum User
Forum User
Posts: 55
Joined: Mon Jul 31, 2006 10:55 pm

qgreylist install

Unread post by jwdick »

I installed qgreylist (i.e. yum install qgreylist )

My question is, other than setting the outbound host name, is there any of settings that I have to make? How can I tell is qgreylist in working?

Thanks
Jack
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

watch the logs, you'll see greylist in logging all the connection attempts.
jwdick
Forum User
Forum User
Posts: 55
Joined: Mon Jul 31, 2006 10:55 pm

Unread post by jwdick »

I do not see greylist in any of the log files. Plus, there are no files in "/var/qmail/greylist". Isn't this the folder that greylist would use to create and store the blacklist and whitelist files? The permissions on this folder is: qmaild:root.

My system is Plesk 8.0.1 and FC4
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

yep, you restarted xinetd right
jwdick
Forum User
Forum User
Posts: 55
Joined: Mon Jul 31, 2006 10:55 pm

Unread post by jwdick »

Ouch! I knew I shouldn't have done this at 4:00 a.m.

Thanks
joe
New Forum User
New Forum User
Posts: 4
Joined: Wed Aug 30, 2006 10:01 am

Question ?

Unread post by joe »

Hi,

I want to install greylist on my server,

Just want know,
is the greylist can be removed safely if a problem apear ?
by simply removing the rpm, is this can hurt anyting ?

thank you.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

Yep, you can remove/install it safely. You just need to restart the service when you do it.
joe
New Forum User
New Forum User
Posts: 4
Joined: Wed Aug 30, 2006 10:01 am

Unread post by joe »

scott wrote:Yep, you can remove/install it safely. You just need to restart the service when you do it.
Testing it right now :)
thank you.
joe
New Forum User
New Forum User
Posts: 4
Joined: Wed Aug 30, 2006 10:01 am

Unread post by joe »

Apear to work very nicely as now !
NightStorm
Forum User
Forum User
Posts: 60
Joined: Sun Dec 05, 2004 4:16 am

Unread post by NightStorm »

I finally managed to get mine installed with the whole "yum remove yum install" cycle... but I can not seem to find my white and blacklist. the /var/qmail/greylist is only populated with the 0byte trioctlet files, that so far as I can tell are only used to track "temporary blocks".
I need to add a few IPs to the perminent whitelist, and I would like to be able to periodically check the blacklist to assure that there are no friendlies in there. But, I can't find either one.
Where do they get dropped with this new install?
jwdick
Forum User
Forum User
Posts: 55
Joined: Mon Jul 31, 2006 10:55 pm

Unread post by jwdick »

I had to create my own "whitelist" folder.
I created #/var/qmail/whitelist

In looking through the greylist script, I did not see where it mentions a "blacklist" folder location.
NightStorm
Forum User
Forum User
Posts: 60
Joined: Sun Dec 05, 2004 4:16 am

Unread post by NightStorm »

Okay, I created the /var/qmail/whitelist and chowned it to qmaild:root. But how do I import a list of IPs into it? The greylist stores the IP data as the first 3 octlets created as a 0byte file. I'm not supposed to actually go through this list and create a new file for each whitelist IP, am I?
I can find no documentation on my server from the install that could point me in the right direction, and the greylist website references several different builds.
jwdick
Forum User
Forum User
Posts: 55
Joined: Mon Jul 31, 2006 10:55 pm

Unread post by jwdick »

there is no need to import the greylist folder ip's into the whitelist. The default settings is for greylist to remember good ip's for at least 30 days. After that, it will go through the "learning" process again to make sure it's still a valid ip. The whitelist folder is for ip's that you do not want to be "relearned" (i.e. my own isp's ip address and any mail server or newsgroup that you know is good but has trouble with greylist. Especially if a client complains that mail sent to them from a certain server is not getting through. )

the greylist website will not help you much here as that is a more robust system that utilizies sql databases and tends to learn ip's and move them into the whitelist for you.

The greylist installed here is: qgreylist which is the "lite" version.

If I am wrong with any of this, then hopefully someone more knowledgable will correct me.
NightStorm
Forum User
Forum User
Posts: 60
Joined: Sun Dec 05, 2004 4:16 am

Unread post by NightStorm »

See, that's why I want to impliment some whitelisting. MSN Groups is not trying again, and bouncing as undeliverable and deleted. Same with Yahoo groups. From the research I have done, gmail won't try again soon enough and will bounce, as will some AOL servers. I also can not wait to receive mail from our FBI officer... that stuff needs to come through right away.
Do I have to import each IP as a single file, or can I drop a single file with the entire list and have it read?
Another question. Can I whitelist domains, or only IPs?
jwdick
Forum User
Forum User
Posts: 55
Joined: Mon Jul 31, 2006 10:55 pm

Unread post by jwdick »

The whitelist folder should contain empty files with the ip address as the file name just like you see in the greylist folder. You can only whitelist ip's however, in the case of Yahoo newsgroups, you can whitelist the entire class C ip address.

It may be easier for you to enter the whitelisted ip's in the control panel under SERVER | MAIL | WHITELIST. The greylist script respects these ip's and sends the mail on without processing through the greylist.
Post Reply