2016-05-02 16:01:16 DEBUG Connect from 172.16.21.1, port 43218.
2016-05-02 16:01:16 DEBUG smtp session: request=smtpd_access_policy
2016-05-02 16:01:16 DEBUG smtp session: protocol_state=RCPT
2016-05-02 16:01:16 DEBUG smtp session: protocol_name=ESMTP
2016-05-02 16:01:16 DEBUG smtp session: client_address=172.16.21.2
2016-05-02 16:01:16 DEBUG smtp session: client_name=unknown
2016-05-02 16:01:16 DEBUG smtp session: reverse_client_name=unknown
2016-05-02 16:01:16 DEBUG smtp session: helo_name=172.16.21.1
2016-05-02 16:01:16 DEBUG smtp session: sender=admin@test.com
2016-05-02 16:01:16 DEBUG smtp session: recipient=dbtest@ym.co.tz
2016-05-02 16:01:16 DEBUG smtp session: recipient_count=0
2016-05-02 16:01:16 DEBUG smtp session: queue_id=
2016-05-02 16:01:16 DEBUG smtp session: instance=721e.57274f9c.46182.0
2016-05-02 16:01:16 DEBUG smtp session: size=5618
2016-05-02 16:01:16 DEBUG smtp session: etrn_domain=
2016-05-02 16:01:16 DEBUG smtp session: stress=
2016-05-02 16:01:16 DEBUG smtp session: sasl_method=PLAIN
2016-05-02 16:01:16 DEBUG smtp session: sasl_username=admin@test.com
2016-05-02 16:01:16 DEBUG smtp session: sasl_sender=
2016-05-02 16:01:16 DEBUG smtp session: ccert_subject=
2016-05-02 16:01:16 DEBUG smtp session: ccert_issuer=
2016-05-02 16:01:16 DEBUG smtp session: ccert_fingerprint=
2016-05-02 16:01:16 DEBUG smtp session: ccert_pubkey_fingerprint=
2016-05-02 16:01:16 DEBUG smtp session: encryption_protocol=TLSv1.2
2016-05-02 16:01:16 DEBUG smtp session: encryption_cipher=ECDHE-RSA-AES128-GCM-SHA256
2016-05-02 16:01:16 DEBUG smtp session: encryption_keysize=128
2016-05-02 16:01:16 DEBUG LDAP connection initialied success.
2016-05-02 16:01:16 DEBUG LDAP bind success.
2016-05-02 16:01:16 DEBUG --> Apply plugin: reject_null_sender
2016-05-02 16:01:16 DEBUG <-- Result: DUNNO
2016-05-02 16:01:16 DEBUG --> Apply plugin: greylisting
2016-05-02 16:01:16 DEBUG Found SASL username, bypass greylisting for outbound email.
2016-05-02 16:01:16 DEBUG <-- Result: DUNNO
2016-05-02 16:01:16 DEBUG --> Apply plugin: reject_sender_login_mismatch
2016-05-02 16:01:16 DEBUG Sender: admin@test.com, SASL username: admin@test.com
2016-05-02 16:01:16 DEBUG SKIP: sender == sasl username.
2016-05-02 16:01:16 DEBUG <-- Result: DUNNO
2016-05-02 16:01:16 DEBUG --> Apply plugin: throttle
2016-05-02 16:01:16 DEBUG Check sender throttling.
2016-05-02 16:01:16 DEBUG [SQL] Query throttle setting:
SELECT id, account, priority, period, max_msgs, max_quota, msg_size
FROM throttle
WHERE kind='outbound' AND account IN ('172.16.21.2', '@ip', '@.', 'admin@test.com', '@test.com', '@.test.com', '@co.tz', '@.co.tz', '@tz', '@.tz', '172.16.*.2', '172.16.*.*', '*.*.*.2', '172.16.21.*', '*.*.21.2', '*.*.*.*', '*.16.21.2', '172.*.*.2', '172.*.*.*', '172.*.21.2')
ORDER BY priority DESC
2016-05-02 16:01:16 DEBUG [SQL] Query result:
[]
2016-05-02 16:01:16 DEBUG No sender throttle setting.
2016-05-02 16:01:16 DEBUG Check recipient throttling.
2016-05-02 16:01:16 DEBUG [SQL] Query throttle setting:
SELECT id, account, priority, period, max_msgs, max_quota, msg_size
FROM throttle
WHERE kind='inbound' AND account IN ('172.16.21.2', '@ip', '@.', 'dbtest@ym.co.tz', '@ym.co.tz', '@.ym.co.tz', '@co.tz', '@.co.tz', '@tz', '@.tz', '172.16.*.2', '172.16.*.*', '*.*.*.2', '172.16.21.*', '*.*.21.2', '*.*.*.*', '*.16.21.2', '172.*.*.2', '172.*.*.*', '172.*.21.2')
ORDER BY priority DESC
2016-05-02 16:01:16 DEBUG [SQL] Query result:
[]
2016-05-02 16:01:16 DEBUG No recipient throttle setting.
2016-05-02 16:01:16 DEBUG <-- Result: DUNNO
2016-05-02 16:01:16 DEBUG [+] Getting LDIF data of account: dbtest@ym.co.tz
2016-05-02 16:01:16 DEBUG search base dn: o=domains,dc=gov,dc=go,dc=tz
2016-05-02 16:01:16 DEBUG search scope: SUBTREE
2016-05-02 16:01:16 DEBUG search filter: (&(|(mail=dbtest@ym.co.tz)(shadowAddress=dbtest@ym.co.tz))(|(objectClass=mailUser)(objectClass=mailList)(objectClass=mailAlias)))
2016-05-02 16:01:16 DEBUG search attributes: ['objectClass', 'listAllowedUser', 'accessPolicy']
2016-05-02 16:01:16 DEBUG result: [('mail=dbtest@ym.co.tz,ou=Users,domainName=ym.co.tz,o=domains,dc=gov,dc=go,dc=tz', {'objectClass': ['inetOrgPerson', 'mailUser', 'shadowAccount', 'amavisAccount', 'top', 'calEntry', 'turbaContact']})]
2016-05-02 16:01:16 DEBUG --> Apply plugin: ldap_maillist_access_policy
2016-05-02 16:01:16 DEBUG <-- Result: DUNNO (Not a mail list account)
2016-05-02 16:01:16 DEBUG --> Apply plugin: amavisd_wblist
2016-05-02 16:01:16 DEBUG Possible policy senders: ['@.', 'admin@test.com', '@test.com', '@.test.com', '@co.tz', '@.co.tz', '@tz', '@.tz']
2016-05-02 16:01:16 DEBUG Possible policy recipients: ['@.', 'dbtest@ym.co.tz', '@ym.co.tz', '@.ym.co.tz', '@co.tz', '@.co.tz', '@tz', '@.tz']
2016-05-02 16:01:16 DEBUG Apply wblist for outbound message.
2016-05-02 16:01:16 DEBUG [SQL] Query local addresses:
SELECT id, email
FROM users
WHERE email IN ('@.', 'admin@test.com', '@test.com', '@.test.com', '@co.tz', '@.co.tz', '@tz', '@.tz')
ORDER BY priority DESC
2016-05-02 16:01:16 DEBUG Local addresses (in `users`): [(2L, 'admin@test.com'), (1L, '@.')]
2016-05-02 16:01:16 DEBUG [SQL] Query external addresses:
SELECT id, email
FROM mailaddr
WHERE email IN ('@.', 'dbtest@ym.co.tz', '@ym.co.tz', '@.ym.co.tz', '@co.tz', '@.co.tz', '@tz', '@.tz')
ORDER BY priority DESC
2016-05-02 16:01:16 DEBUG No record found in SQL database.
2016-05-02 16:01:16 DEBUG No valid sender id or recipient id.
2016-05-02 16:01:16 DEBUG <-- Result: DUNNO
2016-05-02 16:01:16 INFO [172.16.21.2] RCPT, => admin@test.com -> dbtest@ym.co.tz, DUNNO
2016-05-02 16:01:16 DEBUG Session ended
2016-05-02 16:01:16 DEBUG Close LDAP connection.
2016-05-02 16:01:16 DEBUG smtp session: request=smtpd_access_policy
2016-05-02 16:01:16 DEBUG smtp session: protocol_state=END-OF-MESSAGE
2016-05-02 16:01:16 DEBUG smtp session: protocol_name=ESMTP
2016-05-02 16:01:16 DEBUG smtp session: client_address=172.16.21.2
2016-05-02 16:01:16 DEBUG smtp session: client_name=unknown
2016-05-02 16:01:16 DEBUG smtp session: reverse_client_name=unknown
2016-05-02 16:01:16 DEBUG smtp session: helo_name=172.16.21.1
2016-05-02 16:01:16 DEBUG smtp session: sender=admin@test.com
2016-05-02 16:01:16 DEBUG smtp session: recipient=dbtest@ym.co.tz
2016-05-02 16:01:16 DEBUG smtp session: recipient_count=1
2016-05-02 16:01:16 DEBUG smtp session: queue_id=56C08E400B1
2016-05-02 16:01:16 DEBUG smtp session: instance=721e.57274f9c.46182.0
2016-05-02 16:01:16 DEBUG smtp session: size=5620
2016-05-02 16:01:16 DEBUG smtp session: etrn_domain=
2016-05-02 16:01:16 DEBUG smtp session: stress=
2016-05-02 16:01:16 DEBUG smtp session: sasl_method=PLAIN
2016-05-02 16:01:16 DEBUG smtp session: sasl_username=admin@test.com
2016-05-02 16:01:16 DEBUG smtp session: sasl_sender=
2016-05-02 16:01:16 DEBUG smtp session: ccert_subject=
2016-05-02 16:01:16 DEBUG smtp session: ccert_issuer=
2016-05-02 16:01:16 DEBUG smtp session: ccert_fingerprint=
2016-05-02 16:01:16 DEBUG smtp session: ccert_pubkey_fingerprint=
2016-05-02 16:01:16 DEBUG smtp session: encryption_protocol=TLSv1.2
2016-05-02 16:01:16 DEBUG smtp session: encryption_cipher=ECDHE-RSA-AES128-GCM-SHA256
2016-05-02 16:01:16 DEBUG smtp session: encryption_keysize=128
2016-05-02 16:01:16 DEBUG LDAP connection initialied success.
2016-05-02 16:01:16 DEBUG LDAP bind success.
2016-05-02 16:01:16 DEBUG Skip plugin: reject_null_sender (protocol_state != END-OF-MESSAGE)
2016-05-02 16:01:16 DEBUG Skip plugin: greylisting (protocol_state != END-OF-MESSAGE)
2016-05-02 16:01:16 DEBUG Skip plugin: reject_sender_login_mismatch (protocol_state != END-OF-MESSAGE)
2016-05-02 16:01:16 DEBUG --> Apply plugin: throttle
2016-05-02 16:01:16 DEBUG Check sender throttling.
2016-05-02 16:01:16 DEBUG [SQL] Query throttle setting:
SELECT id, account, priority, period, max_msgs, max_quota, msg_size
FROM throttle
WHERE kind='outbound' AND account IN ('172.16.21.2', '@ip', '@.', 'admin@test.com', '@test.com', '@.test.com', '@co.tz', '@.co.tz', '@tz', '@.tz', '172.16.*.2', '172.16.*.*', '*.*.*.2', '172.16.21.*', '*.*.21.2', '*.*.*.*', '*.16.21.2', '172.*.*.2', '172.*.*.*', '172.*.21.2')
ORDER BY priority DESC
2016-05-02 16:01:16 DEBUG [SQL] Query result:
[]
2016-05-02 16:01:16 DEBUG No sender throttle setting.
2016-05-02 16:01:16 DEBUG Check recipient throttling.
2016-05-02 16:01:16 DEBUG [SQL] Query throttle setting:
SELECT id, account, priority, period, max_msgs, max_quota, msg_size
FROM throttle
WHERE kind='inbound' AND account IN ('172.16.21.2', '@ip', '@.', 'dbtest@ym.co.tz', '@ym.co.tz', '@.ym.co.tz', '@co.tz', '@.co.tz', '@tz', '@.tz', '172.16.*.2', '172.16.*.*', '*.*.*.2', '172.16.21.*', '*.*.21.2', '*.*.*.*', '*.16.21.2', '172.*.*.2', '172.*.*.*', '172.*.21.2')
ORDER BY priority DESC
2016-05-02 16:01:16 DEBUG [SQL] Query result:
[]
2016-05-02 16:01:16 DEBUG No recipient throttle setting.
2016-05-02 16:01:16 DEBUG <-- Result: DUNNO
2016-05-02 16:01:16 DEBUG Skip plugin: ldap_maillist_access_policy (protocol_state != END-OF-MESSAGE)
2016-05-02 16:01:16 DEBUG Skip plugin: amavisd_wblist (protocol_state != END-OF-MESSAGE)
2016-05-02 16:01:16 INFO [172.16.21.2] END-OF-MESSAGE, => admin@test.com -> dbtest@ym.co.tz, DUNNO
2016-05-02 16:01:16 DEBUG Session ended
2016-05-02 16:01:16 DEBUG Close LDAP connection.