Sorry for creating a new thread, I've unintentionally deleted the
previous from my mailbox ..

policyd logs tells me that internal_domains are not checked for the
policy Default Outbound.
It seems that only internal_ips are checked. However Default Outbound
is configured with %internal_ips,%internal_domains


Log deatil below :

[2013/11/27-15:55:27 - 7449] [POLICIES] DEBUG: Going to resolve
session data into policy: $VAR1 = {
          'Recipient' => '[email protected]',
          'SASLUsername' => '[email protected]',
          'QueueID' => '',
          'RecipientData' => '',
          'Instance' => '20ae.529607df.3da0d.0',
          'EncryptionCipher' => '',
          'Size' => '1',
          'EncryptionKeySize' => '0',
          'EncryptionProtocol' => '',
          'Helo' => '[192.168.0.36]',
          'ClientAddress' => '82.245.221.170',
          'ClientName' => 'goy81-1-82-245-221-170.fbx.proxad.net',
          'Sender' => '[email protected]',
          'SASLSender' => '',
          '_ClientAddress' => bless( {
                                       'raw_ip' => '82.245.221.170',
                                       'ip' => '82.245.221.170',
                                       'ip_version' => 4,
                                       'cidr' => 32
                                     }, 'awitpt::netip' ),
          'Protocol' => 'ESMTP',
          'ClientReverseName' => 'goy81-1-82-245-221-170.fbx.proxad.net',
          'SASLMethod' => 'PLAIN'
        };
[2013/11/27-15:55:27 - 7449] [POLICIES] DEBUG: Found policy member
with ID '1' in policy 'Default'
[2013/11/27-15:55:27 - 7449] [POLICIES] DEBUG: Found policy member
with ID '2' in policy 'Default Outbound'
[2013/11/27-15:55:27 - 7449] [POLICIES] DEBUG: Found policy member
with ID '3' in policy 'Default Inbound'
[2013/11/27-15:55:27 - 7449] [POLICIES] DEBUG: Found policy member
with ID '4' in policy 'Default Internal'
[2013/11/27-15:55:27 - 7449] [POLICIES] DEBUG: [ID:1/Name:Default]:
Source not defined or 'any', explicit match: matched=1
[2013/11/27-15:55:27 - 7449] [POLICIES] INFO: [ID:1/Name:Default]:
Source matching result: matched=1
[2013/11/27-15:55:27 - 7449] [POLICIES] DEBUG: [ID:1/Name:Default]:
Destination not defined or 'any', explicit match: matched=1
[2013/11/27-15:55:27 - 7449] [POLICIES] INFO: [ID:1/Name:Default]:
Destination matching result: matched=1
[2013/11/27-15:55:27 - 7449] [POLICIES] DEBUG: [ID:2/Name:Default
Outbound]: Main policy sources '%internal_ips,%internal_domains'
[2013/11/27-15:55:27 - 7449] [POLICIES] DEBUG: [ID:2/Name:Default
Outbound]: Group 'internal_ips' has 2 source(s) =>
87.98.171.87,91.121.28.81
[2013/11/27-15:55:27 - 7449] [POLICIES] DEBUG: [ID:2/Name:Default
Outbound]=>(group:internal_ips): - Resolved source '87.98.171.87' to a
IP/CIDR specification, match = 0
[2013/11/27-15:55:27 - 7449] [POLICIES] DEBUG: [ID:2/Name:Default
Outbound]=>(group:internal_ips): - Resolved source '91.121.28.81' to a
IP/CIDR specification, match = 0
[2013/11/27-15:55:27 - 7449] [POLICIES] DEBUG: [ID:2/Name:Default
Outbound]=>(group:internal_ips): Source group result: matched=0
[2013/11/27-15:55:27 - 7449] [POLICIES] INFO: [ID:2/Name:Default
Outbound]: Source matching result: matched=0
[2013/11/27-15:55:27 - 7449] [POLICIES] DEBUG: [ID:3/Name:Default
Inbound]: Main policy sources '!%internal_ips,!%internal_domains'
[2013/11/27-15:55:27 - 7449] [POLICIES] DEBUG: [ID:3/Name:Default
Inbound]: Group 'internal_ips' has 2 source(s) =>
87.98.171.87,91.121.28.81
[2013/11/27-15:55:27 - 7449] [POLICIES] DEBUG: [ID:3/Name:Default
Inbound]=>(group:internal_ips): - Resolved source '87.98.171.87' to a
IP/CIDR specification, match = 0
[2013/11/27-15:55:27 - 7449] [POLICIES] DEBUG: [ID:3/Name:Default
Inbound]=>(group:internal_ips): - Resolved source '91.121.28.81' to a
IP/CIDR specification, match = 0
[2013/11/27-15:55:27 - 7449] [POLICIES] DEBUG: [ID:3/Name:Default
Inbound]=>(group:internal_ips): Source group result: matched=0
[2013/11/27-15:55:27 - 7449] [POLICIES] DEBUG: [ID:3/Name:Default
Inbound]: Group 'internal_domains' has 22 source(s) =>
@testmx.espace8.com,@camping-calede.com,@rci-informatique.com,@evenementis.fr,@lagarrigue81.fr,@ville-mazamet.com,@communautesoragout.fr,@kimpe.fr,@produit-pacifique.com,@averpeaux.fr,@labruguiere.fr,@saint-jory.fr,@egcplants.com,@sagne.coop,@rhizobiome.coop,@esprit-rh.com,@phd-consulting.fr,@afab31.com,@stephanelalieve.fr,@airtarnhelicoptere.com,@mpconstruction.fr,@mpconstruction-testmx.fr
[2013/11/27-15:55:27 - 7449] [POLICIES] DEBUG: [ID:3/Name:Default
Inbound]=>(group:internal_domains): - Resolved source
'@testmx.espace8.com' to a email address specification, match = 1
[2013/11/27-15:55:27 - 7449] [POLICIES] DEBUG: [ID:3/Name:Default
Inbound]=>(group:internal_domains): Source group result: matched=1
[2013/11/27-15:55:27 - 7449] [POLICIES] INFO: [ID:3/Name:Default
Inbound]: Source matching result: matched=0
[2013/11/27-15:55:27 - 7449] [POLICIES] DEBUG: [ID:4/Name:Default
Internal]: Main policy sources '%internal_ips,%internal_domains'
[2013/11/27-15:55:27 - 7449] [POLICIES] DEBUG: [ID:4/Name:Default
Internal]: Group 'internal_ips' has 2 source(s) =>
87.98.171.87,91.121.28.81
[2013/11/27-15:55:27 - 7449] [POLICIES] DEBUG: [ID:4/Name:Default
Internal]=>(group:internal_ips): - Resolved source '87.98.171.87' to a
IP/CIDR specification, match = 0
[2013/11/27-15:55:27 - 7449] [POLICIES] DEBUG: [ID:4/Name:Default
Internal]=>(group:internal_ips): - Resolved source '91.121.28.81' to a
IP/CIDR specification, match = 0
[2013/11/27-15:55:27 - 7449] [POLICIES] DEBUG: [ID:4/Name:Default
Internal]=>(group:internal_ips): Source group result: matched=0
[2013/11/27-15:55:27 - 7449] [POLICIES] INFO: [ID:4/Name:Default
Internal]: Source matching result: matched=0
[2013/11/27-15:55:27 - 7449] [POLICIES] DEBUG: END RESULT: prio=0 =>
policy ids: 1

_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users_lists.policyd.org

Reply via email to