Re: check_policy_service and several envelope rcpt's

From: Wietse Venema (no email)
Date: Mon Sep 03 2007 - 09:30:19 EDT

  • Next message: Justin Piszcz: "header_checks question"

    Artem Bokhan:
    > I use policy server with smtpd_data_restrictions so sender verification
    > lookups where possible by other servers.
    > With smtpd_data_restrictions the behaviour is the same?

    smtpd_data_restrictions supports recipient information if there
    was exactly only one recipient. Otherwise it wopuld have to randomly
    pick one of the recipients, which is wrong.

    AS DOCUMENTED the policy protocol does not support multiple records
    with the same type.

            Wietse

    > Wietse Venema ?????:
    > > Artem Bokhan:
    > >
    > >> What value should be transmitted to policy server in "recipient" field,
    > >> when the message has several envelope rcpt's?
    > >>
    > >
    > > With smtpd_recipient_restrictions, Postfix policy is invoked
    > > once for each individual RCPT TO command.
    > >
    > > Wietse
    > >
    > >
    > >> I've got this field empty when rcpt's>1, and policyd treat that as
    > >> error, so message is deffered.
    > >>
    > >> Sep 3 13:41:03 postfix-policyd-greylist: invalid triplet_array[46][2]:
    > >> (greylist recipient):
    > >> Sep 3 13:41:03 postfix-policyd-greylist: DEBUG: fd: 46
    > >> policy_array[46][8]:recipient=
    > >> Sep 3 13:41:03 postfix-policyd-greylist: DEBUG: fd: 46
    > >> policy_array[46][9]:recipient_count=2
    > >>
    > >>
    > >>
    > >>
    > >
    > >
    >
    >
    >


  • Next message: Justin Piszcz: "header_checks question"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD