#1  
Old 15th September 2009, 21:25
albertux albertux is offline
Member
 
Join Date: Sep 2006
Location: Chile
Posts: 90
Thanks: 7
Thanked 0 Times in 0 Posts
Send a message via Skype™ to albertux
Default Postgrey

How I can install postgrey with spamassasin in ispconfig ???

i hope your answers ...


Thank you again...
Reply With Quote
Sponsored Links
  #2  
Old 18th September 2009, 15:34
Mccy_McFlinn Mccy_McFlinn is offline
Junior Member
 
Join Date: Mar 2008
Posts: 23
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hello,

Ok, I'm going to assume that you're using debian (if not you'll need to install it manually after downloading from postgrey.schweikert.ch/) and of course have postfix installed and configured.

apt-get install postgrey

You don't have to but I like to reduce the greylisted time from around 6 mins to 25 - this means that genuine senders are not waiting for an extended amount of time for their emails to arrive:

sed -i 's/--inet=127.0.0.1:60000/--inet=127.0.0.1:60000 --delay=29/' /etc/default/postgrey

/etc/init.d/postgrey restart

We then add the necessary information to the postfix config:

postconf -e "smtpd_restriction_classes = check_greylist"

postconf -e "check_greylist = check_policy_service inet:127.0.0.1:60000"

We can add exceptions to the grey listing (both sender email addresses and networks/ip address). First, we create the files we need to do this:

cp access greylist_sender_exceptions

postmap greylist_sender_exceptions

touch cidr_greylist_network_exceptions

Then we add the files to /etc/postfix/main.conf:

smtpd_recipient_restrictions =
check_recipient_access hash:/etc/postfix/greylist_sender_exceptions,
check_client_access cidr:/etc/postfix/cidr_greylist_network_exceptions


Let me know if you need any further information or you meet with any issues.

Thanks
Reply With Quote
  #3  
Old 21st September 2009, 16:44
albertux albertux is offline
Member
 
Join Date: Sep 2006
Location: Chile
Posts: 90
Thanks: 7
Thanked 0 Times in 0 Posts
Send a message via Skype™ to albertux
Default

Oh thank you very much ... really i can understand all the first time :

$~apt-get install postgrey
$~sed -i 's/--inet=127.0.0.1:60000/--inet=127.0.0.1:60000 --delay=29/' /etc/default/postgrey
$~/etc/init.d/postgrey restart
$~postconf -e "smtpd_restriction_classes = check_greylist"
$~postconf -e "check_greylist = check_policy_service inet:127.0.0.1:60000"

But the second part i can't understand because i thought it was only necessary modified the whitelist_client and whitelist_recipients, then... how i do make to create this "access" file or where it ??? and where should i put the greylist_sender_exceptions file???

Thank you again and i hope your answer..
Reply With Quote
  #4  
Old 21st September 2009, 17:02
Mccy_McFlinn Mccy_McFlinn is offline
Junior Member
 
Join Date: Mar 2008
Posts: 23
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hello,

Sorry I forgot to mention file locations when creating. If you run all the commands from /etc/postfix the files should be created exactly where we need them to be.

The exception files are optional and are not required for the operation of postgrey but make administration far, far easier.
Reply With Quote
  #5  
Old 5th March 2013, 20:17
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,266
Thanks: 82
Thanked 24 Times in 20 Posts
Default

Can you provide some more info on how to make exceptions for a whole mailer? i.e. gmx.de has apparently problems understanding an error 4.2.0 returned by my postgrey setup and thinks the mail has been rejected instead of simply greylisted so I'd like to not use postgrey on all emails @gmx.de
Reply With Quote
  #6  
Old 5th March 2013, 22:27
MaddinXx MaddinXx is offline
Senior Member
 
Join Date: Jul 2011
Location: Switzerland
Posts: 200
Thanks: 26
Thanked 65 Times in 48 Posts
 
Default

Quote:
Originally Posted by Ovidiu View Post
Can you provide some more info on how to make exceptions for a whole mailer? i.e. gmx.de has apparently problems understanding an error 4.2.0 returned by my postgrey setup and thinks the mail has been rejected instead of simply greylisted so I'd like to not use postgrey on all emails @gmx.de
Should have config files in /etc/postgrey for that.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Greylisting with Postgrey Thibs Feature Requests 4 22nd April 2010 09:57
Killing that spam with greylisting using Postfix and Postgrey erk Tips/Tricks/Mods 11 18th June 2008 05:09
mail.log rotation AlArenal Installation/Configuration 32 9th April 2008 21:00
Postgrey Problem planet_fox Installation/Configuration 3 11th March 2008 20:41
how to do whitelisting with postfix and postgrey Ovidiu Server Operation 1 15th November 2007 19:17


All times are GMT +2. The time now is 01:24.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.