|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Access policy delegation problem
From: Cesar Bonadio (bonadio
picture.com.br)
Date: Tue Jul 05 2005 - 18:14:06 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello all
We are tring to implement some police and we included the following
rules in main.cf
smtpd_sender_restrictions = check_policy_service inet:127.0.0.1:22000 ,
reject
smtpd_recipient_restrictions = check_policy_service inet:127.0.0.1:22000 ,
reject
smtpd_data_restrictions = check_policy_service inet:127.0.0.1:22000 , reject
smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:22000
, reject
The problem we found is that postfix sends the protocol_state as RCPT
in smtpd_sender_restrictions but I think it should be MAIL
another problem is that the protocol_state for the
smtpd_end_of_data_restrictions
is END-OF-MESSAGE and NOT END-OF-DATA as in the documentation
Does anybody have a similar problem or a possible solution?
We tested with postfix 2.2.3 and 2.2.4
This is the log
Jul 5 18:19:33 vento postfix/smtpd[20022]: send attr request =
smtpd_access_policy
Jul 5 18:19:33 vento postfix/smtpd[20022]: send attr protocol_state = RCPT
Jul 5 18:19:33 vento postfix/smtpd[20022]: send attr protocol_name = SMTP
Jul 5 18:19:33 vento postfix/smtpd[20022]: send attr client_address =
127.0.0.1
Jul 5 18:19:33 vento postfix/smtpd[20022]: send attr client_name = localhost
Jul 5 18:19:33 vento postfix/smtpd[20022]: send attr helo_name = aa
Jul 5 18:19:33 vento postfix/smtpd[20022]: send attr sender =
bonadio
picture.com.br
Jul 5 18:19:33 vento postfix/smtpd[20022]: send attr recipient =
jose
picture.com.br
Jul 5 18:19:33 vento postfix/smtpd[20022]: send attr queue_id =
Jul 5 18:19:33 vento postfix/smtpd[20022]: send attr instance =
4e36.42caf95c.0
Jul 5 18:19:33 vento postfix/smtpd[20022]: send attr size = 0
Jul 5 18:19:33 vento postfix/smtpd[20022]: send attr sasl_method =
Jul 5 18:19:33 vento postfix/smtpd[20022]: send attr sasl_username =
Jul 5 18:19:33 vento postfix/smtpd[20022]: send attr sasl_sender =
Jul 5 18:19:33 vento postfix/smtpd[20022]: send attr ccert_subject =
Jul 5 18:19:33 vento postfix/smtpd[20022]: send attr ccert_issuer =
Thanks for any help
---------------------------------------
Cesar Augusto Bonadio
Diretor de Tecnologia
Picture Internet Solutions
55 11 5089-8100
www.picture.com.br
---------------------------------------
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]