[Gross] Question about gross and postfix

Pascal Maes pascal.maes at uclouvain.be
Sat May 17 12:29:54 EEST 2008


Le 17-mai-08 à 11:23, Pascal Maes a écrit :

> hello,
>
> I have installed grossd to use it with postfix
> my main.cf file look like :
>
> # define the restriction classes
> #
> smtpd_restriction_classes =
>     greylist_policy
>     ...
>
> # define the greylist_policy
> #
> greylist_policy = check_policy_service inet:127.0.0.1:5525
>
> # Recipient restrictions
> #
> smtpd_recipient_restrictions =
>
> reject_non_fqdn_recipient
>     ...
>     check_recipient_access hash:/etc/postfix/greylisting
>     ...
>     reject_rbl_client zen.dnsbl
>
> where /etc/postfix/greylisting contains the users or domains which
> allow the greylisting
>
> my.domain            greylist_policy
> another.domain       greylist_policy
>
> I can see that grossd is working as the logfile contains :
> May 17 11:07:14 smtp-1 grossd: #46e0a940: a=greylist d=0 w=2
> c=118.136.19.250 s=dacuna at ugr.es r=dupont at dice.ucl.ac.be
> h=user-035a92fab2.firstmedia.com m=zen.dnsbl+2
>
> but the message is not deferred as I see that it is rejected by the
> reject_rbl_client rule
>
> May 17 11:07:14 smtp-1 postfix/smtpd[9005]: NOQUEUE: reject: RCPT from
> unknown[118.136.19.250]: 554 5.7.1 Service unavailable; Client host
> [118.136.19.250] blocked using zen.dnsbl; http://www.spamhaus.org/query/bl?ip=118.136.19.250
> ; from=<dacuna at ugr.es> to=<dupont at dice.ucl.ac.be> proto=ESMTP
> helo=<user-035a92fab2.firstmedia.com>
>
> If I try the gclient, I have
>
> /usr/local/bin/gclient postfix dacuna at ugr.es dupont1 at dice.ucl.ac.be
> 118.136.19.250 user-035a92fab2.firstmedia.com
> action=defer_if_permit Please try again later.
>
> Where is the error(s) ?
> We are using postfix 2.5.1
>

Well, I should read my postfix doc before asking that !

Is there a way to reject the message immediately with a code 4NN ?

--
Pascal






More information about the Gross mailing list