Jason Hirsh wrote:

On Aug 4, 2009, at 3:59 PM, Noel Jones wrote:

Jason Hirsh wrote:
On Aug 4, 2009, at 3:01 PM, Noel Jones wrote:
Jason Hirsh wrote:
I raise this question here because it appears the basic postgrey daemon is running I have a FReebsd 7.0 server with Postfix, amavisd-new, Dovecot to which i added Postgrey
I have postgrey runnng as a ps aux grep | postfix shows
postgrey 653 0.0 2.4 14384 12052 ?? Is 1:53PM 0:00.04 /usr/local/sbin/postgrey --pidfile=/var/run/postgrey.pid --inet=10023 -d --user=postgrey --group=postgrey --dbdir=/var/db/postgrey (perl5.8.9) There is no indication in the syslog maillog of any postgrey activity so I am presuming that i have messed up the install or configuration.. postconf -n shows smtpd_recipient_restrictions = permit_sasl_authenticated, check_relay_domains,

check_relay_domains is deprecated.
Note that check_relay_domains always resolves to either "permit" or "reject". As a consequence, no restrictions after this are evaluated. Use reject_unauth_destination instead, that should fix your problem.

... Based on above changes i have ths now
smtpd_recipient_restrictions = permit_sasl_authenticated, check_relay_domains,

Did you miss the very important comment about check_relay_domains in my original reply?

reject_rbl_client zen.spamhaus.org,reject_rbl_client
bl.spamcop.net,reject_rbl_client, check_policy_service inet:127.0.0.1:10023

reject_rbl_client with no RBL to check will likely give a configuration error.

and I got a
check_access: ja...@kasdivi.com <mailto:ja...@kasdivi.com>
Aug 4 15:40:54 batfish postfix/smtpd[1326]: panic: check_access: dictionary not found: inet:127.0.0.1:10023 Aug 4 15:40:55 batfish postfix/master[1057]: warning: process /usr/local/libexec/postfix/smtpd pid 1326 killed by signal 6 Aug 4 15:40:55 batfish postfix/master[1057]: warning: /usr/local/libexec/postfix/smtpd: bad command startup -- throttling
erro message which I assume is related to postgrey??

I expect this is from the extra 'reject_rbl_client' under smtpd_recipient_restrictions I mentioned above.


I guess you didn't se my configs

I guess you posted the wrong config.

smtpd_recipient_restrictions = permit_sasl_authenticated,reject_unauth_destination,reject_rbl_client zen.spamhaus.org,reject_rbl_client bl.spamcop.net,reject_rbl_client,check_policy_service inet:127.0.0.1:10023

See the extra "reject_rbl_client" just before check_policy_service? that's what's causing your current error.

   -- Noel Jones

Reply via email to