<HTML>
<HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="OPENWEBMAIL" name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<font size="2">Hi
<br />
<br />
I installed greylist in a FreeBSD platform according the tutorial below
but
<br />
my mailserever appesars blocks all e-mails received. Below I show part of
the
<br />
maillog. Any
idea?
<br />
<br style="font-weight: bold;" /><span style="font-weight: bold;">
Tutorial
</span>
<br />
<br />
Adding greylisting to your FreeBSD - Postfix
system
<br />
amills 07/11/2006 - 02:31
<br />
<br />
BSD Daemon Greylisting is an important tool in the war against spam,
servers
<br />
who connect to our mail server for the first time are given a 450
recipent
<br />
address rejected error and are sent
away.
<br />
<br />
A 450 rejection is not a permanent error and an RFC compliant mail server
will
<br />
try and resend the email later, but on the other hand the tools spammers
tend
<br />
to use do not adhere to standards and will not bother to try and resend
the
<br />
message
again.
<br />
<br />
Reasons why we should care? It saves system resources, since we are
stopping
<br />
its delivery in the first place and wont have to filter out so much crap
out
<br />
later on, and its very easy to
implement.
<br />
<br />
So how do we go about implementing this? stick with me and i will run
you
<br />
through the process although this article is based around FreeBSD, it is
not
<br />
much different to get greylisting working on other systems with minimal
of
<br />
changes.
<br />
<br />
cd /usr/ports/mail/postgrey/ && make install
clean
<br />
<br />
Edit your /etc/rc/conf file and add the
line:
<br />
<br />
postgrey_enable =
“YES”
<br />
<br />
Also edit line 45 of the file /usr/local/etc/rc.d/postgrey.sh and change
from
<br />
<br />
postgrey_enable=${postgrey_enable:-"NO"}
<br />
<br />
to
<br />
<br />
postgrey_enable=${postgrey_enable:-"YES"}
<br />
<br />
Open the file /usr/local/etc/postfix/main.cf and add the line (all on one
line):
<br />
<br />
smtpd_recipient_restrictions
=
<br />
permit_mynetworks,reject_unauth_destination,check_policy_service
<br />
inet:172.0.0.1:10023
<br />
<br />
Now run the
command:
<br />
<br />
postfix
check
<br />
<br />