store | blogs | forums | twitter | facebook | wiki | mailing lists | downloads | support portal
Atomic Secure Linux
It is currently Wed May 22, 2013 10:10 pm

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic Share/Bookmark  [ 14 posts ] 
Author Message
 Post subject: jgreylist
Unread postPosted: Thu Oct 21, 2010 6:36 am 
Offline
Forum User
Forum User

Joined: Tue Dec 07, 2004 1:32 pm
Posts: 93
Could you please add a rpm for jgreylist? (http://qmail.jms1.net/scripts/jgreylist.shtml)

As far as I can see it seems to be a better alternative than qgreylist. Better solution for storeing ip's, rewritten in C instead of PERL.

Thanks :)


Top
 Profile  
 
 Post subject: Re: jgreylist
Unread postPosted: Thu Oct 21, 2010 7:20 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7425
Location: earth
sure, no problem. Definitely looks more impressive than qgreylist


Top
 Profile  
 
 Post subject: Re: jgreylist
Unread postPosted: Thu Oct 21, 2010 2:01 pm 
Offline
Forum User
Forum User

Joined: Tue Dec 07, 2004 1:32 pm
Posts: 93
Thanks :)

Here is it with IPv6 support: (choose the one you like)
http://www.brandonturner.net/blog/2009/ ... jgreylist/

(step by step install: http://www.productionmonkeys.net/guides ... /jgreylist)

What needs to be done:
- install
- edit smtp.rules (add atleast: JGREYLIST_DIR)
- edit /var/qmail/service/smtpd/run
- maybe a cron for http://qmail.jms1.net/scripts/jgreylist-clean

I guess you could do a few updates in qgreylist.spec and voila :)

How long do you think it will take before it's ready for testing?


Top
 Profile  
 
 Post subject: Re: jgreylist
Unread postPosted: Thu Oct 21, 2010 2:49 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7425
Location: earth
I don't know for sure, we've got a lot of other projects in the queue right now. Its on the list though (patches welcome!)


Top
 Profile  
 
 Post subject: Re: jgreylist
Unread postPosted: Thu Oct 21, 2010 2:52 pm 
Offline
Forum User
Forum User

Joined: Tue Dec 07, 2004 1:32 pm
Posts: 93
Ok,

I've made a src.rpm of it, but all it does is install it (have to make config manually). If you want the src.rpm for qmail and jgreylist, where do I upload / send it?


Top
 Profile  
 
 Post subject: Re: jgreylist
Unread postPosted: Thu Oct 21, 2010 4:42 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7425
Location: earth
just paste a link for it, and we'll check it out. Another option might be setting up a github account, and storing your patches & specs over there.


Top
 Profile  
 
 Post subject: Re: jgreylist
Unread postPosted: Thu Oct 21, 2010 5:15 pm 
Offline
Forum User
Forum User

Joined: Tue Dec 07, 2004 1:32 pm
Posts: 93
I used your qgreylist when I created the jgreylist src.rpm. Here it is:

http://github.com/downloads/rpms/jgreyl ... rt.src.rpm

Have added on our gamera servers, and the load was reduced bigtime :)


Top
 Profile  
 
 Post subject: Re: jgreylist
Unread postPosted: Fri Oct 22, 2010 9:10 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7425
Location: earth
Great work!


Top
 Profile  
 
 Post subject: Re: jgreylist
Unread postPosted: Tue Oct 26, 2010 3:27 pm 
Offline
Forum User
Forum User

Joined: Tue Dec 07, 2004 1:32 pm
Posts: 93
Updated the src.rpm to include the source jgreylist.c (so that it can be rebuilt). I've also added the rpm which I use in production now.

http://github.com/rpms/jgreylist


Top
 Profile  
 
 Post subject: Re: jgreylist
Unread postPosted: Mon Nov 29, 2010 12:56 pm 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Sat Aug 20, 2005 9:30 am
Posts: 2812
Location: The Netherlands
I see the current jgreylist package does not include jgreylist-clean (and a cronjob that runs it). Or is that somehow not needed when using the C-version of jgreylist?

_________________
Lemonbit Internet Dedicated Server Management


Top
 Profile  
 
 Post subject: Re: jgreylist
Unread postPosted: Thu Dec 09, 2010 7:44 am 
Offline
Forum User
Forum User

Joined: Tue Dec 07, 2004 1:32 pm
Posts: 93
It should have been included, but I forgot it when I created the src.rpm. I'll try to add it when later if Scott won't :)


Top
 Profile  
 
 Post subject: Re: jgreylist
Unread postPosted: Thu Dec 09, 2010 10:18 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7425
Location: earth
I used your changes


Top
 Profile  
 
 Post subject: Re: jgreylist
Unread postPosted: Wed Mar 02, 2011 8:27 am 
Offline
Forum Regular
Forum Regular

Joined: Tue Dec 16, 2008 8:01 am
Posts: 353
Location: United Kingdom
I hope someone can help here. We have Centos 5 with ASL and Pleask. Yesterday we upgraded to Plesk 10.1.1.

If people send mail using port 587, all goes OK. But if they send using port 25, an error is generated:
Quote:
Your outgoing (SMTP) e-mail server has reported an internal error. If you continue to receive this message, contact your server administrator or Internet Service provider (ISP). The server responded: jgreylist[24966]: JGREYLIST_DIR is not set


Can someone tell us where that config setting is and what we need to do to get it set and working again on port 25?

Many thanks in advance.

EDIT: We turned off Spamassassin and that made no difference. So we now have Spamassassin back ON and have uninstalled jgreylist and now emails are all going fine. If someone can guide as to how we can get jgreylist working again without blocking port 25 traffic, I'd be very grateful.

EDIT2: We were working to get Spamassassin working again and all looked OK, including websites working and mail coming in and out. And also did some upgrades that were listed. One of these was an upgrade to php 5.2.17 which might have caused some issues:
viewtopic.php?f=18&t=4763&hilit=plesk+upgrade
viewtopic.php?f=2&t=4758&hilit=plesk+upgrade
viewtopic.php?f=18&t=4774&hilit=plesk+upgrade

Now we have no mail in or out. We also have very high server load and websites are not loading. Can someone please help with what is best? Can we downgrade to php 5.1 and get it all working again with Plesk 10.1.1? I'd be most grateful for some guidance from experts.


Top
 Profile  
 
 Post subject: Re: jgreylist
Unread postPosted: Wed Mar 23, 2011 2:25 pm 
Offline
Forum User
Forum User

Joined: Tue Dec 07, 2004 1:32 pm
Posts: 93
(I'm only running this on gamera servers)

JGREYLIST_DIR should be set in this file: /etc/tcpcontrol/smtp.rules

it could be like this:
Code:
:allow,JGREYLIST_DIR="/var/qmail/jgreylist/",VALIDRCPTTO_CDB="/var/qmail/control/validrcptto.cdb",QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl",MAXLOAD="800",MAXCONNIP="2",MAXCONNC="5",DIEMSG="421 Service temporarily not avalable"


If you do any changes in smtp.rules you need to run this:
Code:
tcprules /etc/tcpcontrol/smtp.cdb /etc/tcpcontrol/smtp.rules.tmp < /etc/tcpcontrol/smtp.rules


You should also check this file: /service/smtpd/run

see if it contins jgreylist:
Code:
fixcrio $rbl /var/qmail/bin/jgreylist qmail-smtpd


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic Share/Bookmark  [ 14 posts ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group