1

Topic: throttle is not working properly

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
====


Our server has the latest updates.
throttle has been set to 7 emails per hour.
But someone was able to login and send 200 emails.

On the log, max_msgs (0/7) stayed in same and did not increased.

I have removed the email in this example log:

2016-05-05 09:47:13 INFO [127.0.0.1] RCPT, => jleh@domail.ltd ->@gmail.com, DUNNO
2016-05-05 09:47:13 INFO [127.0.0.1] sender throttle, jleh@domail.ltd -> max_msgs (0/7)
2016-05-05 09:47:13 INFO [127.0.0.1] RCPT, => jleh@domail.ltd ->@remaxultimate.com, DUNNO
2016-05-05 09:47:13 INFO [127.0.0.1] sender throttle, jleh@domail.ltd -> max_msgs (0/7)
2016-05-05 09:47:13 INFO [127.0.0.1] RCPT, => jleh@domail.ltd ->@topremax.ca, DUNNO
2016-05-05 09:47:13 INFO [127.0.0.1] sender throttle, jleh@domail.ltd -> max_msgs (0/7)
2016-05-05 09:47:13 INFO [127.0.0.1] RCPT, => jleh@domail.ltd ->@remax.net, DUNNO
2016-05-05 09:47:13 INFO [127.0.0.1] sender throttle, jleh@domail.ltd -> max_msgs (0/7)
2016-05-05 09:47:13 INFO [127.0.0.1] RCPT, => jleh@domail.ltd ->@remax.net, DUNNO
2016-05-05 09:47:13 INFO [127.0.0.1] sender throttle, jleh@domail.ltd -> max_msgs (0/7)
2016-05-05 09:47:13 INFO [127.0.0.1] RCPT, => jleh@domail.ltd ->@gmail.com, DUNNO
2016-05-05 09:47:13 INFO [127.0.0.1] sender throttle, jleh@domail.ltd -> max_msgs (0/7)
2016-05-05 09:47:13 INFO [127.0.0.1] RCPT, => jleh@domail.ltd ->@remax.net, DUNNO
2016-05-05 09:47:13 INFO [127.0.0.1] sender throttle, jleh@domail.ltd -> max_msgs (0/7)
2016-05-05 09:47:13 INFO [127.0.0.1] RCPT, => jleh@domail.ltd -> mireille@, DUNNO
2016-05-05 09:47:13 INFO [127.0.0.1] sender throttle, jleh@domail.ltd -> max_msgs (0/7)
2016-05-05 09:47:13 INFO [127.0.0.1] RCPT, => jleh@domail.ltd -> mmurphy@.com, DUNNO
2016-05-05 09:47:13 INFO [127.0.0.1] sender throttle, jleh@domail.ltd -> msg_size (217294/0)
2016-05-05 09:47:13 INFO [127.0.0.1] sender throttle, jleh@domail.ltd -> max_quota (0/0)
2016-05-05 09:47:13 INFO [127.0.0.1] END-OF-MESSAGE, => jleh@domail.ltd -> , DUNNO

Please advise!

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: throttle is not working properly

Show us output of sql commands below:

sql> USE iredapd;
sql> SELECT * FROM throttle;

3

Re: throttle is not working properly

+----+---------------------------+----------+----------+--------+----------+----------+-----------+
| id | account                   | kind     | priority | period | msg_size | max_msgs | max_quota |
+----+---------------------------+----------+----------+--------+----------+----------+-----------+
|  2 | email1@domain.ltd        | inbound   |      100 |  86400 |       -1 |        1 |        -1 |
|  6 | @domain.ltd                  | outbound |        5  |   3600  |        0 |        5 |         0 |
|  7 | email2@domain.ltd        | outbound |       10 |  86400 |        0 |        0 |         0 |
|  8 | email3@domain.ltd        | outbound |       10 |  86400 |        0 |       23 |         0 |
|  9 | @domain.ltd                  | inbound   |        5  |  86400 |        0 |      150 |         0 |
+----+---------------------------+----------+----------+--------+----------+----------+-----------+

Line 2 is not working.

iRedAdmin Pro SQL and iredADP are the latest versions.

4 (edited by infomiin 2016-06-11 20:09:24)

Re: throttle is not working properly

I set only 5 emails per hour for outgoing but users are able to send 150 emails.

5

Re: throttle is not working properly

Please show me output of commands below, looks like you don't have iRedAPD enabled in both 'smtpd_recipient_restrictions' and 'smtpd_end_of_data_restrictions':

postconf smtpd_recipient_restrictions
postconf smtpd_end_of_data_restrictions

Default setting in iRedMail is:

# Recipient restrictions
smtpd_recipient_restrictions =
    reject_unknown_recipient_domain
    reject_non_fqdn_recipient
    reject_unlisted_recipient
    check_policy_service inet:127.0.0.1:7777
    permit_mynetworks
    permit_sasl_authenticated
    reject_unauth_destination

# END-OF-MESSAGE restrictions
smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:7777

6 (edited by infomiin 2016-06-12 23:39:45)

Re: throttle is not working properly

Here is the output:

[root@mail ~]# postconf smtpd_recipient_restrictions
smtpd_recipient_restrictions = reject_unknown_recipient_domain    reject_non_fqdn_recipient    reject_unlisted_recipient    check_policy_service inet:127.0.0.1:7777    permit_mynetworks    permit_sasl_authenticated    reject_unauth_destination

[root@mail ~]# postconf smtpd_end_of_data_restrictions
smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:7777

iRedAPD-1.9.0 was installed and upgraded.

7

Re: throttle is not working properly

infomiin wrote:

iRedAPD-1.9.0 was installed and upgraded.

The latest version is iRedAPD-1.9.1. v1.9.0 has a bug in /opt/iredapd/tools/spf_to_greylisting_whitelists.py.

Postfix config is correct, please turn on debug mode in iRedAPD and send testing email again, show us full log of your testing email in /var/log/iredapd/iredapd.log.
FYI: http://www.iredmail.org/docs/debug.iredapd.html

8

Re: throttle is not working properly

ZhangHuangbin wrote:
infomiin wrote:

iRedAPD-1.9.0 was installed and upgraded.

The latest version is iRedAPD-1.9.1. v1.9.0 has a bug in /opt/iredapd/tools/spf_to_greylisting_whitelists.py.


Postfix config is correct, please turn on debug mode in iRedAPD and send testing email again, show us full log of your testing email in /var/log/iredapd/iredapd.log.
FYI: http://www.iredmail.org/docs/debug.iredapd.html

I tried to upgrade to the latest version. I only find the full repository and upgraded based on that.


I hope I did it right.


2016-06-12 22:19:29 DEBUG smtp session: request=smtpd_access_policy
2016-06-12 22:19:29 DEBUG smtp session: protocol_state=RCPT
2016-06-12 22:19:29 DEBUG smtp session: protocol_name=ESMTP
2016-06-12 22:19:29 DEBUG smtp session: client_address=65.55.34.213
2016-06-12 22:19:29 DEBUG smtp session: client_name=col004-omc4s11.hotmail.com
2016-06-12 22:19:29 DEBUG smtp session: reverse_client_name=col004-omc4s11.hotmail.com
2016-06-12 22:19:29 DEBUG smtp session: helo_name=COL004-OMC4S11.hotmail.com
2016-06-12 22:19:29 DEBUG smtp session: sender=bingo@live.com
2016-06-12 22:19:29 DEBUG smtp session: recipient=steve@domain.ltd
2016-06-12 22:19:29 DEBUG smtp session: recipient_count=0
2016-06-12 22:19:29 DEBUG smtp session: queue_id=
2016-06-12 22:19:29 DEBUG smtp session: instance=337c.575e1831.9fad1.0
2016-06-12 22:19:29 DEBUG smtp session: size=357841
2016-06-12 22:19:29 DEBUG smtp session: etrn_domain=
2016-06-12 22:19:29 DEBUG smtp session: stress=
2016-06-12 22:19:29 DEBUG smtp session: sasl_method=
2016-06-12 22:19:29 DEBUG smtp session: sasl_username=
2016-06-12 22:19:29 DEBUG smtp session: sasl_sender=
2016-06-12 22:19:29 DEBUG smtp session: ccert_subject=
2016-06-12 22:19:29 DEBUG smtp session: ccert_issuer=
2016-06-12 22:19:29 DEBUG smtp session: ccert_fingerprint=
2016-06-12 22:19:29 DEBUG smtp session: encryption_protocol=TLSv1.2
2016-06-12 22:19:29 DEBUG smtp session: encryption_cipher=AES256-SHA256
2016-06-12 22:19:29 DEBUG smtp session: encryption_keysize=256
2016-06-12 22:19:29 DEBUG --> Apply plugin: reject_null_sender
2016-06-12 22:19:29 DEBUG <-- Result: DUNNO
2016-06-12 22:19:29 DEBUG --> Apply plugin: greylisting
2016-06-12 22:19:29 DEBUG [SQL] Query greylisting whitelists:
SELECT id, sender, comment
               FROM greylisting_whitelists
              WHERE account IN ('steve@domain.ltd', '@domain.ltd', '@.')
2016-06-12 22:19:29 DEBUG No whitelist found.
2016-06-12 22:19:29 DEBUG [SQL] query greylisting settings:
SELECT id, account, sender, sender_priority, active
               FROM greylisting
              WHERE account IN ('steve@domain.ltd', '@domain.ltd', '@.')
              ORDER BY priority DESC, sender_priority DESC
2016-06-12 22:19:29 DEBUG [SQL] query result: [(8L, '@domain.ltd', '@.', 0, 1), (9L, '@.', '@.', 0, 1)]
2016-06-12 22:19:29 DEBUG Greylisting should be applied according to SQL record: (id=8, account='@domain.ltd', sender='@.')
2016-06-12 22:19:29 DEBUG [SQL] query greylisting tracking:
SELECT init_time, blocked_count, block_expired, record_expired
               FROM greylisting_tracking
              WHERE     sender='bingo@live.com'
                    AND recipient='steve@domain.ltd'
                    AND client_address='65.55.34.213'
              LIMIT 1
2016-06-12 22:19:29 INFO [65.55.34.213] Client has passed the greylisting, accept this email.
2016-06-12 22:19:29 DEBUG [SQL] Update expired date (30 days from now on):
UPDATE greylisting_tracking
                        SET record_expired=1468376369, passed=1
                      WHERE     sender='bingo@live.com'
                            AND recipient='steve@domain.ltd'
                            AND client_address='65.55.34.213'
2016-06-12 22:19:29 DEBUG <-- Result: DUNNO
2016-06-12 22:19:29 DEBUG --> Apply plugin: throttle
2016-06-12 22:19:29 DEBUG Bypass sender throttling (No sasl_username).
2016-06-12 22:19:29 DEBUG Check recipient throttling.
2016-06-12 22:19:29 DEBUG [SQL] Query throttle setting:

        SELECT id, account, priority, period, max_msgs, max_quota, msg_size
          FROM throttle
         WHERE kind='inbound' AND account IN ('65.55.34.213', '@ip', '@.', 'steve@domain.ltd', '@domain.ltd', '@.domain.ltd', '@ca', '@.ca', '65.55.34.*', '65.55.*.213')
         ORDER BY priority DESC
         
2016-06-12 22:19:29 DEBUG [SQL] Query result:
[(9L, '@domain.ltd', 5, 86400L, 150L, 0L, 0L)]
2016-06-12 22:19:29 DEBUG recipient throttle setting: msg_size=0 (bytes)/id=9/account=@domain.ltd; max_msgs=150/id=9/account=@domain.ltd; max_quota=0 (bytes)/id=9/account=@domain.ltd;
2016-06-12 22:19:29 DEBUG [SQL] Query throttle tracking data:

        SELECT id, tid, account, cur_msgs, cur_quota, init_time, last_time
          FROM throttle_tracking
         WHERE (tid=9 AND account='steve@domain.ltd')
         
2016-06-12 22:19:29 DEBUG [SQL] Query result:
[]
2016-06-12 22:19:29 DEBUG Tracking IDs: {}
2016-06-12 22:19:29 DEBUG Period of max_msgs expired, reset.
2016-06-12 22:19:29 INFO debug left 2: ['24 hours']
2016-06-12 22:19:29 INFO [65.55.34.213] recipient throttle, steve@domain.ltd -> max_msgs (0/150, period: 86400 seconds, time left: 24 hours)
2016-06-12 22:19:29 DEBUG [OK] Passed all recipient throttle settings.
2016-06-12 22:19:29 DEBUG <-- Result: DUNNO
2016-06-12 22:19:29 DEBUG --> Apply plugin: sql_alias_access_policy
2016-06-12 22:19:29 DEBUG [SQL] query access policy:
SELECT accesspolicy, goto, moderators
               FROM alias
              WHERE
                    address='steve@domain.ltd'
                    AND islist=1
                    AND active=1
              LIMIT 1
   
2016-06-12 22:19:29 DEBUG SQL query result: None
2016-06-12 22:19:29 DEBUG [SQL] Check whether recipient domain is an alias domain:
SELECT target_domain
                   FROM alias_domain
                  WHERE alias_domain = 'domain.ltd'
                  LIMIT 1
                 
2016-06-12 22:19:29 DEBUG [SQL] query result: None
2016-06-12 22:19:29 DEBUG Recipient domain is not an alias domain.
2016-06-12 22:19:29 DEBUG <-- Result: DUNNO (Not a mail alias account)
2016-06-12 22:19:29 DEBUG --> Apply plugin: amavisd_wblist
2016-06-12 22:19:29 DEBUG Possible policy senders: ['@.', 'bingo@live.com', '@live.com', '@.live.com', '@com', '@.com', 'bingo@*', '65.55.34.213', '65.55.34.*', '65.55.*.213']
2016-06-12 22:19:29 DEBUG Possible policy recipients: ['@.', 'steve@domain.ltd', '@domain.ltd', '@.domain.ltd', '@ca', '@.ca']
2016-06-12 22:19:29 DEBUG Apply wblist for inbound message.
2016-06-12 22:19:29 DEBUG [SQL] Query local addresses:
SELECT id, email
               FROM users
              WHERE email IN ('@.', 'steve@domain.ltd', '@domain.ltd', '@.domain.ltd', '@ca', '@.ca')
           ORDER BY priority DESC
2016-06-12 22:19:29 DEBUG Local addresses (in `users`): [(2L, '@domain.ltd'), (1L, '@.')]
2016-06-12 22:19:29 DEBUG [SQL] Query external addresses:
SELECT id, email
               FROM mailaddr
              WHERE email IN ('@.', 'bingo@live.com', '@live.com', '@.live.com', '@com', '@.com', 'bingo@*', '65.55.34.213', '65.55.34.*', '65.55.*.213')
           ORDER BY priority DESC
2016-06-12 22:19:29 DEBUG No record found in SQL database.
2016-06-12 22:19:29 DEBUG No valid sender id or recipient id.
2016-06-12 22:19:29 DEBUG <-- Result: DUNNO
2016-06-12 22:19:29 DEBUG Session ended

9

Re: throttle is not working properly

infomiin wrote:

2016-06-12 22:19:29 DEBUG recipient throttle setting: msg_size=0 (bytes)/id=9/account=@domain.ltd; max_msgs=150/id=9/account=@domain.ltd; max_quota=0 (bytes)/id=9/account=@domain.ltd;
...
2016-06-12 22:19:29 DEBUG [SQL] Query throttle tracking data:
        SELECT id, tid, account, cur_msgs, cur_quota, init_time, last_time
          FROM throttle_tracking
         WHERE (tid=9 AND account='steve@domain.ltd')
         
2016-06-12 22:19:29 DEBUG [SQL] Query result:
[]
2016-06-12 22:19:29 DEBUG Tracking IDs: {}
2016-06-12 22:19:29 DEBUG Period of max_msgs expired, reset.
2016-06-12 22:19:29 INFO debug left 2: ['24 hours']
2016-06-12 22:19:29 INFO [65.55.34.213] recipient throttle, steve@domain.ltd -> max_msgs (0/150, period: 86400 seconds, time left: 24 hours)
2016-06-12 22:19:29 DEBUG [OK] Passed all recipient throttle settings.

It correctly find the throttle setting, but no existing throttle tracking data, so it's considered as first seen email from this sender.

Try to send several more emails and check the log.

10

Re: throttle is not working properly

throttle is working for incoming emails.
On the log, I can see (for example) 2016-06-13 10:11:16 INFO [184.150.200.94] recipient throttle, c@domain.ltd -> max_msgs (30/150, period: 86400 seconds, time left: 7 hours, 18 minutes, 59 seconds)

but for outgoing emails, I have only one 2/5:
2016-06-13 13:37:58 INFO [127.0.0.1] sender throttle, d@domain.ltd -> max_msgs (2/5, period: 3600 seconds, time left: 58 minutes, 20 seconds)
There is no 3/5, no 4/5 nor 5/5!

But, iRedAdmin pro shows two users sent over 28 emails within two minutes.

11

Re: throttle is not working properly

infomiin wrote:

But, iRedAdmin pro shows two users sent over 28 emails within two minutes.

Please show me debug log of outgoing email in iRedAPD log file.

12

Re: throttle is not working properly

ZhangHuangbin wrote:
infomiin wrote:

But, iRedAdmin pro shows two users sent over 28 emails within two minutes.

Please show me debug log of outgoing email in iRedAPD log file.

It is a 20 MB file and those two users sent logs are between other users log.
Would you like me to email it to you?

13

Re: throttle is not working properly

Send 2 more testing emails, show me log of those 2.

14 (edited by infomiin 2016-06-15 06:02:17)

Re: throttle is not working properly

ZhangHuangbin wrote:

Send 2 more testing emails, show me log of those 2.

2016-06-13 00:47:44 INFO [127.0.0.1] RCPT, bbbbb@domain.ltd => stephen_jennifer_ludwar@hotmail.ca, DUNNO
2016-06-13 00:47:45 DEBUG smtp session: request=smtpd_access_policy
2016-06-13 00:47:45 DEBUG smtp session: protocol_state=RCPT
2016-06-13 00:47:45 DEBUG smtp session: protocol_name=ESMTP
2016-06-13 00:47:45 DEBUG smtp session: client_address=127.0.0.1
2016-06-13 00:47:45 DEBUG smtp session: client_name=localhost
2016-06-13 00:47:45 DEBUG smtp session: reverse_client_name=localhost
2016-06-13 00:47:45 DEBUG smtp session: helo_name=mail.domain.ltd
2016-06-13 00:47:45 DEBUG smtp session: sender=bbbbb@domain.ltd
2016-06-13 00:47:45 DEBUG smtp session: recipient=yyyyyyyy@hotmail.com
2016-06-13 00:47:45 DEBUG smtp session: recipient_count=0
2016-06-13 00:47:45 DEBUG smtp session: queue_id=F2E4E39009B5
2016-06-13 00:47:45 DEBUG smtp session: instance=51f8.575e3af0.e8092.0
2016-06-13 00:47:45 DEBUG smtp session: size=0
2016-06-13 00:47:45 DEBUG smtp session: etrn_domain=
2016-06-13 00:47:45 DEBUG smtp session: stress=
2016-06-13 00:47:45 DEBUG smtp session: sasl_method=LOGIN
2016-06-13 00:47:45 DEBUG smtp session: sasl_username=bbbbb@domain.ltd
2016-06-13 00:47:45 DEBUG smtp session: sasl_sender=
2016-06-13 00:47:45 DEBUG smtp session: ccert_subject=
2016-06-13 00:47:45 DEBUG smtp session: ccert_issuer=
2016-06-13 00:47:45 DEBUG smtp session: ccert_fingerprint=
2016-06-13 00:47:45 DEBUG smtp session: encryption_protocol=TLSv1
2016-06-13 00:47:45 DEBUG smtp session: encryption_cipher=DHE-RSA-AES256-SHA
2016-06-13 00:47:45 DEBUG smtp session: encryption_keysize=256
2016-06-13 00:47:45 DEBUG --> Apply plugin: reject_null_sender
2016-06-13 00:47:45 DEBUG Local sender.
2016-06-13 00:47:45 DEBUG <-- Result: DUNNO
2016-06-13 00:47:45 DEBUG --> Apply plugin: greylisting
2016-06-13 00:47:45 DEBUG Found SASL username, bypass greylisting for outbound email.
2016-06-13 00:47:45 DEBUG <-- Result: DUNNO
2016-06-13 00:47:45 DEBUG --> Apply plugin: throttle
2016-06-13 00:47:45 DEBUG Check sender throttling.
2016-06-13 00:47:45 DEBUG [SQL] Query throttle setting:

        SELECT id, account, priority, period, max_msgs, max_quota, msg_size
          FROM throttle
         WHERE kind='outbound' AND account IN ('127.0.0.1', '@ip', '@.', 'bbbbb@domain.ltd', '@domain.ltd', '@.domain.ltd', '@co', '@.co', '127.0.0.*', '127.0.*.1')
         ORDER BY priority DESC
         
2016-06-13 00:47:45 DEBUG [SQL] Query result:
[(6L, '@domain.ltd', 5, 3600L, 5L, 0L, 0L)]
2016-06-13 00:47:45 DEBUG sender throttle setting: msg_size=0 (bytes)/id=6/account=@domain.ltd; max_msgs=5/id=6/account=@domain.ltd; max_quota=0 (bytes)/id=6/account=@domain.ltd;
2016-06-13 00:47:45 DEBUG [SQL] Query throttle tracking data:

        SELECT id, tid, account, cur_msgs, cur_quota, init_time, last_time
          FROM throttle_tracking
         WHERE (tid=6 AND account='bbbbb@domain.ltd')
         
2016-06-13 00:47:45 DEBUG [SQL] Query result:
[(10143L, 6L, 'bbbbb@domain.ltd', 1, 4393L, 1465791617L, 1465791617L)]
2016-06-13 00:47:45 DEBUG Tracking IDs: {(6L, 'bbbbb@domain.ltd'): 10143L}
2016-06-13 00:47:45 INFO debug left 2: ['1 hours']
2016-06-13 00:47:45 INFO [127.0.0.1] sender throttle, bbbbb@domain.ltd -> max_msgs (1/5, period: 3600 seconds, time left: 1 hours)
2016-06-13 00:47:45 DEBUG [OK] Passed all sender throttle settings.
2016-06-13 00:47:45 DEBUG Bypass recipient throttling (found sasl_username).
2016-06-13 00:47:45 DEBUG <-- Result: DUNNO
2016-06-13 00:47:45 DEBUG --> Apply plugin: sql_alias_access_policy
2016-06-13 00:47:45 DEBUG [SQL] query access policy:
SELECT accesspolicy, goto, moderators
               FROM alias
              WHERE
                    address='yyyyyyyy@hotmail.com'
                    AND islist=1
                    AND active=1
              LIMIT 1
   
2016-06-13 00:47:45 DEBUG SQL query result: None
2016-06-13 00:47:45 DEBUG [SQL] Check whether recipient domain is an alias domain:
SELECT target_domain
                   FROM alias_domain
                  WHERE alias_domain = 'hotmail.com'
                  LIMIT 1
                 
2016-06-13 00:47:45 DEBUG [SQL] query result: None
2016-06-13 00:47:45 DEBUG Recipient domain is not an alias domain.
2016-06-13 00:47:45 DEBUG <-- Result: DUNNO (Not a mail alias account)
2016-06-13 00:47:45 DEBUG --> Apply plugin: amavisd_wblist
2016-06-13 00:47:45 DEBUG Possible policy senders: ['@.', 'bbbbb@domain.ltd', '@domain.ltd', '@.domain.ltd', '@co', '@.co']
2016-06-13 00:47:45 DEBUG Possible policy recipients: ['@.', 'yyyyyyyy@hotmail.com', '@hotmail.com', '@.hotmail.com', '@com', '@.com']
2016-06-13 00:47:45 DEBUG Apply wblist for outbound message.
2016-06-13 00:47:45 DEBUG [SQL] Query local addresses:
SELECT id, email
               FROM users
              WHERE email IN ('@.', 'bbbbb@domain.ltd', '@domain.ltd', '@.domain.ltd', '@co', '@.co')
           ORDER BY priority DESC
2016-06-13 00:47:45 DEBUG Local addresses (in `users`): [(2L, '@domain.ltd'), (1L, '@.')]
2016-06-13 00:47:45 DEBUG [SQL] Query external addresses:
SELECT id, email
               FROM mailaddr
              WHERE email IN ('@.', 'yyyyyyyy@hotmail.com', '@hotmail.com', '@.hotmail.com', '@com', '@.com')
           ORDER BY priority DESC
2016-06-13 00:47:45 DEBUG No record found in SQL database.
2016-06-13 00:47:45 DEBUG No valid sender id or recipient id.
2016-06-13 00:47:45 DEBUG <-- Result: DUNNO
2016-06-13 00:47:45 DEBUG Session ended
2016-06-13 00:47:45 INFO [127.0.0.1] RCPT, bbbbb@domain.ltd => yyyyyyyy@hotmail.com, DUNNO
2016-06-13 00:47:45 DEBUG smtp session: request=smtpd_access_policy
2016-06-13 00:47:45 DEBUG smtp session: protocol_state=RCPT
2016-06-13 00:47:45 DEBUG smtp session: protocol_name=ESMTP
2016-06-13 00:47:45 DEBUG smtp session: client_address=127.0.0.1
2016-06-13 00:47:45 DEBUG smtp session: client_name=localhost
2016-06-13 00:47:45 DEBUG smtp session: reverse_client_name=localhost
2016-06-13 00:47:45 DEBUG smtp session: helo_name=mail.domain.ltd
2016-06-13 00:47:45 DEBUG smtp session: sender=bbbbb@domain.ltd
2016-06-13 00:47:45 DEBUG smtp session: recipient=xxxxxxxxx@hotmail.com
2016-06-13 00:47:45 DEBUG smtp session: recipient_count=0
2016-06-13 00:47:45 DEBUG smtp session: queue_id=F2E4E39009B5
2016-06-13 00:47:45 DEBUG smtp session: instance=51f8.575e3af0.e8092.0
2016-06-13 00:47:45 DEBUG smtp session: size=0
2016-06-13 00:47:45 DEBUG smtp session: etrn_domain=
2016-06-13 00:47:45 DEBUG smtp session: stress=
2016-06-13 00:47:45 DEBUG smtp session: sasl_method=LOGIN
2016-06-13 00:47:45 DEBUG smtp session: sasl_username=bbbbb@domain.ltd
2016-06-13 00:47:45 DEBUG smtp session: sasl_sender=
2016-06-13 00:47:45 DEBUG smtp session: ccert_subject=
2016-06-13 00:47:45 DEBUG smtp session: ccert_issuer=
2016-06-13 00:47:45 DEBUG smtp session: ccert_fingerprint=
2016-06-13 00:47:45 DEBUG smtp session: encryption_protocol=TLSv1
2016-06-13 00:47:45 DEBUG smtp session: encryption_cipher=DHE-RSA-AES256-SHA
2016-06-13 00:47:45 DEBUG smtp session: encryption_keysize=256
2016-06-13 00:47:45 DEBUG --> Apply plugin: reject_null_sender
2016-06-13 00:47:45 DEBUG Local sender.
2016-06-13 00:47:45 DEBUG <-- Result: DUNNO
2016-06-13 00:47:45 DEBUG --> Apply plugin: greylisting
2016-06-13 00:47:45 DEBUG Found SASL username, bypass greylisting for outbound email.
2016-06-13 00:47:45 DEBUG <-- Result: DUNNO
2016-06-13 00:47:45 DEBUG --> Apply plugin: throttle
2016-06-13 00:47:45 DEBUG Check sender throttling.
2016-06-13 00:47:45 DEBUG [SQL] Query throttle setting:

        SELECT id, account, priority, period, max_msgs, max_quota, msg_size
          FROM throttle
         WHERE kind='outbound' AND account IN ('127.0.0.1', '@ip', '@.', 'bbbbb@domain.ltd', '@domain.ltd', '@.domain.ltd', '@co', '@.co', '127.0.0.*', '127.0.*.1')
         ORDER BY priority DESC
         
2016-06-13 00:47:45 DEBUG [SQL] Query result:
[(6L, '@domain.ltd', 5, 3600L, 5L, 0L, 0L)]
2016-06-13 00:47:45 DEBUG sender throttle setting: msg_size=0 (bytes)/id=6/account=@domain.ltd; max_msgs=5/id=6/account=@domain.ltd; max_quota=0 (bytes)/id=6/account=@domain.ltd;
2016-06-13 00:47:45 DEBUG [SQL] Query throttle tracking data:

        SELECT id, tid, account, cur_msgs, cur_quota, init_time, last_time
          FROM throttle_tracking
         WHERE (tid=6 AND account='bbbbb@domain.ltd')
         
2016-06-13 00:47:45 DEBUG [SQL] Query result:
[(10143L, 6L, 'bbbbb@domain.ltd', 1, 4393L, 1465791617L, 1465791617L)]
2016-06-13 00:47:45 DEBUG Tracking IDs: {(6L, 'bbbbb@domain.ltd'): 10143L}
2016-06-13 00:47:45 INFO debug left 2: ['1 hours']
2016-06-13 00:47:45 INFO [127.0.0.1] sender throttle, bbbbb@domain.ltd -> max_msgs (1/5, period: 3600 seconds, time left: 1 hours)
2016-06-13 00:47:45 DEBUG [OK] Passed all sender throttle settings.
2016-06-13 00:47:45 DEBUG Bypass recipient throttling (found sasl_username).
2016-06-13 00:47:45 DEBUG <-- Result: DUNNO
2016-06-13 00:47:45 DEBUG --> Apply plugin: sql_alias_access_policy
2016-06-13 00:47:45 DEBUG [SQL] query access policy:
SELECT accesspolicy, goto, moderators
               FROM alias
              WHERE
                    address='xxxxxxxxx@hotmail.com'
                    AND islist=1
                    AND active=1
              LIMIT 1
   
2016-06-13 00:47:45 DEBUG SQL query result: None
2016-06-13 00:47:45 DEBUG [SQL] Check whether recipient domain is an alias domain:
SELECT target_domain
                   FROM alias_domain
                  WHERE alias_domain = 'hotmail.com'
                  LIMIT 1
                 
2016-06-13 00:47:45 DEBUG [SQL] query result: None
2016-06-13 00:47:45 DEBUG Recipient domain is not an alias domain.
2016-06-13 00:47:45 DEBUG <-- Result: DUNNO (Not a mail alias account)
2016-06-13 00:47:45 DEBUG --> Apply plugin: amavisd_wblist
2016-06-13 00:47:45 DEBUG Possible policy senders: ['@.', 'bbbbb@domain.ltd', '@domain.ltd', '@.domain.ltd', '@co', '@.co']
2016-06-13 00:47:45 DEBUG Possible policy recipients: ['@.', 'xxxxxxxxx@hotmail.com', '@hotmail.com', '@.hotmail.com', '@com', '@.com']
2016-06-13 00:47:45 DEBUG Apply wblist for outbound message.
2016-06-13 00:47:45 DEBUG [SQL] Query local addresses:
SELECT id, email
               FROM users
              WHERE email IN ('@.', 'bbbbb@domain.ltd', '@domain.ltd', '@.domain.ltd', '@co', '@.co')
           ORDER BY priority DESC
2016-06-13 00:47:45 DEBUG Local addresses (in `users`): [(2L, '@domain.ltd'), (1L, '@.')]
2016-06-13 00:47:45 DEBUG [SQL] Query external addresses:
SELECT id, email
               FROM mailaddr
              WHERE email IN ('@.', 'xxxxxxxxx@hotmail.com', '@hotmail.com', '@.hotmail.com', '@com', '@.com')
           ORDER BY priority DESC
2016-06-13 00:47:45 DEBUG No record found in SQL database.
2016-06-13 00:47:45 DEBUG No valid sender id or recipient id.
2016-06-13 00:47:45 DEBUG <-- Result: DUNNO
2016-06-13 00:47:45 DEBUG Session ended
2016-06-13 00:47:45 INFO [127.0.0.1] RCPT, bbbbb@domain.ltd => xxxxxxxxx@hotmail.com, DUNNO
2016-06-13 00:47:45 DEBUG smtp session: request=smtpd_access_policy
2016-06-13 00:47:45 DEBUG smtp session: protocol_state=RCPT
2016-06-13 00:47:45 DEBUG smtp session: protocol_name=ESMTP
2016-06-13 00:47:45 DEBUG smtp session: client_address=127.0.0.1
2016-06-13 00:47:45 DEBUG smtp session: client_name=localhost
2016-06-13 00:47:45 DEBUG smtp session: reverse_client_name=localhost
2016-06-13 00:47:45 DEBUG smtp session: helo_name=mail.domain.ltd
2016-06-13 00:47:45 DEBUG smtp session: sender=bbbbb@domain.ltd
2016-06-13 00:47:45 DEBUG smtp session: recipient=ssssssss@outlook.com
2016-06-13 00:47:45 DEBUG smtp session: recipient_count=0
2016-06-13 00:47:45 DEBUG smtp session: queue_id=F2E4E39009B5
2016-06-13 00:47:45 DEBUG smtp session: instance=51f8.575e3af0.e8092.0
2016-06-13 00:47:45 DEBUG smtp session: size=0
2016-06-13 00:47:45 DEBUG smtp session: etrn_domain=
2016-06-13 00:47:45 DEBUG smtp session: stress=
2016-06-13 00:47:45 DEBUG smtp session: sasl_method=LOGIN
2016-06-13 00:47:45 DEBUG smtp session: sasl_username=bbbbb@domain.ltd
2016-06-13 00:47:45 DEBUG smtp session: sasl_sender=
2016-06-13 00:47:45 DEBUG smtp session: ccert_subject=
2016-06-13 00:47:45 DEBUG smtp session: ccert_issuer=
2016-06-13 00:47:45 DEBUG smtp session: ccert_fingerprint=
2016-06-13 00:47:45 DEBUG smtp session: encryption_protocol=TLSv1
2016-06-13 00:47:45 DEBUG smtp session: encryption_cipher=DHE-RSA-AES256-SHA
2016-06-13 00:47:45 DEBUG smtp session: encryption_keysize=256
2016-06-13 00:47:45 DEBUG --> Apply plugin: reject_null_sender
2016-06-13 00:47:45 DEBUG Local sender.
2016-06-13 00:47:45 DEBUG <-- Result: DUNNO
2016-06-13 00:47:45 DEBUG --> Apply plugin: greylisting
2016-06-13 00:47:45 DEBUG Found SASL username, bypass greylisting for outbound email.
2016-06-13 00:47:45 DEBUG <-- Result: DUNNO
2016-06-13 00:47:45 DEBUG --> Apply plugin: throttle
2016-06-13 00:47:45 DEBUG Check sender throttling.
2016-06-13 00:47:45 DEBUG [SQL] Query throttle setting:

        SELECT id, account, priority, period, max_msgs, max_quota, msg_size
          FROM throttle
         WHERE kind='outbound' AND account IN ('127.0.0.1', '@ip', '@.', 'bbbbb@domain.ltd', '@domain.ltd', '@.domain.ltd', '@co', '@.co', '127.0.0.*', '127.0.*.1')
         ORDER BY priority DESC
         
2016-06-13 00:47:45 DEBUG [SQL] Query result:
[(6L, '@domain.ltd', 5, 3600L, 5L, 0L, 0L)]
2016-06-13 00:47:45 DEBUG sender throttle setting: msg_size=0 (bytes)/id=6/account=@domain.ltd; max_msgs=5/id=6/account=@domain.ltd; max_quota=0 (bytes)/id=6/account=@domain.ltd;
2016-06-13 00:47:45 DEBUG [SQL] Query throttle tracking data:

        SELECT id, tid, account, cur_msgs, cur_quota, init_time, last_time
          FROM throttle_tracking
         WHERE (tid=6 AND account='bbbbb@domain.ltd')
         
2016-06-13 00:47:45 DEBUG [SQL] Query result:
[(10143L, 6L, 'bbbbb@domain.ltd', 1, 4393L, 1465791617L, 1465791617L)]
2016-06-13 00:47:45 DEBUG Tracking IDs: {(6L, 'bbbbb@domain.ltd'): 10143L}
2016-06-13 00:47:45 INFO debug left 2: ['1 hours']
2016-06-13 00:47:45 INFO [127.0.0.1] sender throttle, bbbbb@domain.ltd -> max_msgs (1/5, period: 3600 seconds, time left: 1 hours)
2016-06-13 00:47:45 DEBUG [OK] Passed all sender throttle settings.
2016-06-13 00:47:45 DEBUG Bypass recipient throttling (found sasl_username).
2016-06-13 00:47:45 DEBUG <-- Result: DUNNO
2016-06-13 00:47:45 DEBUG --> Apply plugin: sql_alias_access_policy
2016-06-13 00:47:45 DEBUG [SQL] query access policy:
SELECT accesspolicy, goto, moderators
               FROM alias
              WHERE
                    address='ssssssss@outlook.com'
                    AND islist=1
                    AND active=1
              LIMIT 1
   
2016-06-13 00:47:45 DEBUG SQL query result: None
2016-06-13 00:47:45 DEBUG [SQL] Check whether recipient domain is an alias domain:
SELECT target_domain
                   FROM alias_domain
                  WHERE alias_domain = 'outlook.com'
                  LIMIT 1
                 
2016-06-13 00:47:45 DEBUG [SQL] query result: None
2016-06-13 00:47:45 DEBUG Recipient domain is not an alias domain.
2016-06-13 00:47:45 DEBUG <-- Result: DUNNO (Not a mail alias account)
2016-06-13 00:47:45 DEBUG --> Apply plugin: amavisd_wblist
2016-06-13 00:47:45 DEBUG Possible policy senders: ['@.', 'bbbbb@domain.ltd', '@domain.ltd', '@.domain.ltd', '@co', '@.co']
2016-06-13 00:47:45 DEBUG Possible policy recipients: ['@.', 'ssssssss@outlook.com', '@outlook.com', '@.outlook.com', '@com', '@.com']
2016-06-13 00:47:45 DEBUG Apply wblist for outbound message.
2016-06-13 00:47:45 DEBUG [SQL] Query local addresses:
SELECT id, email
               FROM users
              WHERE email IN ('@.', 'bbbbb@domain.ltd', '@domain.ltd', '@.domain.ltd', '@co', '@.co')
           ORDER BY priority DESC
2016-06-13 00:47:45 DEBUG Local addresses (in `users`): [(2L, '@domain.ltd'), (1L, '@.')]
2016-06-13 00:47:45 DEBUG [SQL] Query external addresses:
SELECT id, email
               FROM mailaddr
              WHERE email IN ('@.', 'ssssssss@outlook.com', '@outlook.com', '@.outlook.com', '@com', '@.com')
           ORDER BY priority DESC
2016-06-13 00:47:45 DEBUG No record found in SQL database.
2016-06-13 00:47:45 DEBUG No valid sender id or recipient id.
2016-06-13 00:47:45 DEBUG <-- Result: DUNNO
2016-06-13 00:47:45 DEBUG Session ended
2016-06-13 00:47:45 INFO [127.0.0.1] RCPT, bbbbb@domain.ltd => ssssssss@outlook.com, DUNNO
2016-06-13 00:47:45 DEBUG smtp session: request=smtpd_access_policy
2016-06-13 00:47:45 DEBUG smtp session: protocol_state=RCPT
2016-06-13 00:47:45 DEBUG smtp session: protocol_name=ESMTP
2016-06-13 00:47:45 DEBUG smtp session: client_address=127.0.0.1
2016-06-13 00:47:45 DEBUG smtp session: client_name=localhost
2016-06-13 00:47:45 DEBUG smtp session: reverse_client_name=localhost
2016-06-13 00:47:45 DEBUG smtp session: helo_name=mail.domain.ltd
2016-06-13 00:47:45 DEBUG smtp session: sender=bbbbb@domain.ltd
2016-06-13 00:47:45 DEBUG smtp session: recipient=pppppppp@yahoo.ca
2016-06-13 00:47:45 DEBUG smtp session: recipient_count=0
2016-06-13 00:47:45 DEBUG smtp session: queue_id=F2E4E39009B5
2016-06-13 00:47:45 DEBUG smtp session: instance=51f8.575e3af0.e8092.0
2016-06-13 00:47:45 DEBUG smtp session: size=0
2016-06-13 00:47:45 DEBUG smtp session: etrn_domain=
2016-06-13 00:47:45 DEBUG smtp session: stress=
2016-06-13 00:47:45 DEBUG smtp session: sasl_method=LOGIN
2016-06-13 00:47:45 DEBUG smtp session: sasl_username=bbbbb@domain.ltd
2016-06-13 00:47:45 DEBUG smtp session: sasl_sender=
2016-06-13 00:47:45 DEBUG smtp session: ccert_subject=
2016-06-13 00:47:45 DEBUG smtp session: ccert_issuer=
2016-06-13 00:47:45 DEBUG smtp session: ccert_fingerprint=
2016-06-13 00:47:45 DEBUG smtp session: encryption_protocol=TLSv1
2016-06-13 00:47:45 DEBUG smtp session: encryption_cipher=DHE-RSA-AES256-SHA
2016-06-13 00:47:45 DEBUG smtp session: encryption_keysize=256
2016-06-13 00:47:45 DEBUG --> Apply plugin: reject_null_sender
2016-06-13 00:47:45 DEBUG Local sender.
2016-06-13 00:47:45 DEBUG <-- Result: DUNNO
2016-06-13 00:47:45 DEBUG --> Apply plugin: greylisting
2016-06-13 00:47:45 DEBUG Found SASL username, bypass greylisting for outbound email.
2016-06-13 00:47:45 DEBUG <-- Result: DUNNO
2016-06-13 00:47:45 DEBUG --> Apply plugin: throttle
2016-06-13 00:47:45 DEBUG Check sender throttling.
2016-06-13 00:47:45 DEBUG [SQL] Query throttle setting:

        SELECT id, account, priority, period, max_msgs, max_quota, msg_size
          FROM throttle
         WHERE kind='outbound' AND account IN ('127.0.0.1', '@ip', '@.', 'bbbbb@domain.ltd', '@domain.ltd', '@.domain.ltd', '@co', '@.co', '127.0.0.*', '127.0.*.1')
         ORDER BY priority DESC
         
2016-06-13 00:47:45 DEBUG [SQL] Query result:
[(6L, '@domain.ltd', 5, 3600L, 5L, 0L, 0L)]
2016-06-13 00:47:45 DEBUG sender throttle setting: msg_size=0 (bytes)/id=6/account=@domain.ltd; max_msgs=5/id=6/account=@domain.ltd; max_quota=0 (bytes)/id=6/account=@domain.ltd;
2016-06-13 00:47:45 DEBUG [SQL] Query throttle tracking data:

        SELECT id, tid, account, cur_msgs, cur_quota, init_time, last_time
          FROM throttle_tracking
         WHERE (tid=6 AND account='bbbbb@domain.ltd')
         
2016-06-13 00:47:45 DEBUG [SQL] Query result:
[(10143L, 6L, 'bbbbb@domain.ltd', 1, 4393L, 1465791617L, 1465791617L)]
2016-06-13 00:47:45 DEBUG Tracking IDs: {(6L, 'bbbbb@domain.ltd'): 10143L}
2016-06-13 00:47:45 INFO debug left 2: ['1 hours']
2016-06-13 00:47:45 INFO [127.0.0.1] sender throttle, bbbbb@domain.ltd -> max_msgs (1/5, period: 3600 seconds, time left: 1 hours)
2016-06-13 00:47:45 DEBUG [OK] Passed all sender throttle settings.
2016-06-13 00:47:45 DEBUG Bypass recipient throttling (found sasl_username).
2016-06-13 00:47:45 DEBUG <-- Result: DUNNO
2016-06-13 00:47:45 DEBUG --> Apply plugin: sql_alias_access_policy
2016-06-13 00:47:45 DEBUG [SQL] query access policy:
SELECT accesspolicy, goto, moderators
               FROM alias
              WHERE
                    address='pppppppp@yahoo.ca'
                    AND islist=1
                    AND active=1
              LIMIT 1
   
2016-06-13 00:47:45 DEBUG SQL query result: None
2016-06-13 00:47:45 DEBUG [SQL] Check whether recipient domain is an alias domain:
SELECT target_domain
                   FROM alias_domain
                  WHERE alias_domain = 'yahoo.ca'
                  LIMIT 1
                 
2016-06-13 00:47:45 DEBUG [SQL] query result: None
2016-06-13 00:47:45 DEBUG Recipient domain is not an alias domain.
2016-06-13 00:47:45 DEBUG <-- Result: DUNNO (Not a mail alias account)
2016-06-13 00:47:45 DEBUG --> Apply plugin: amavisd_wblist
2016-06-13 00:47:45 DEBUG Possible policy senders: ['@.', 'bbbbb@domain.ltd', '@domain.ltd', '@.domain.ltd', '@co', '@.co']
2016-06-13 00:47:45 DEBUG Possible policy recipients: ['@.', 'pppppppp@yahoo.ca', '@yahoo.ca', '@.yahoo.ca', '@co', '@.co']
2016-06-13 00:47:45 DEBUG Apply wblist for outbound message.
2016-06-13 00:47:45 DEBUG [SQL] Query local addresses:
SELECT id, email
               FROM users
              WHERE email IN ('@.', 'bbbbb@domain.ltd', '@domain.ltd', '@.domain.ltd', '@co', '@.co')
           ORDER BY priority DESC
2016-06-13 00:47:45 DEBUG Local addresses (in `users`): [(2L, '@domain.ltd'), (1L, '@.')]
2016-06-13 00:47:45 DEBUG [SQL] Query external addresses:
SELECT id, email
               FROM mailaddr
              WHERE email IN ('@.', 'pppppppp@yahoo.ca', '@yahoo.ca', '@.yahoo.ca', '@co', '@.co')
           ORDER BY priority DESC
2016-06-13 00:47:45 DEBUG No record found in SQL database.
2016-06-13 00:47:45 DEBUG No valid sender id or recipient id.
2016-06-13 00:47:45 DEBUG <-- Result: DUNNO
2016-06-13 00:47:45 DEBUG Session ended
2016-06-13 00:47:45 INFO [127.0.0.1] RCPT, bbbbb@domain.ltd => pppppppp@yahoo.ca, DUNNO
2016-06-13 00:47:45 DEBUG smtp session: request=smtpd_access_policy
2016-06-13 00:47:45 DEBUG smtp session: protocol_state=RCPT
2016-06-13 00:47:45 DEBUG smtp session: protocol_name=ESMTP
2016-06-13 00:47:45 DEBUG smtp session: client_address=127.0.0.1
2016-06-13 00:47:45 DEBUG smtp session: client_name=localhost
2016-06-13 00:47:45 DEBUG smtp session: reverse_client_name=localhost
2016-06-13 00:47:45 DEBUG smtp session: helo_name=mail.domain.ltd
2016-06-13 00:47:45 DEBUG smtp session: sender=bbbbb@domain.ltd
2016-06-13 00:47:45 DEBUG smtp session: recipient=qqqqqqqq@gmail.com
2016-06-13 00:47:45 DEBUG smtp session: recipient_count=0
2016-06-13 00:47:45 DEBUG smtp session: queue_id=F2E4E39009B5
2016-06-13 00:47:45 DEBUG smtp session: instance=51f8.575e3af0.e8092.0
2016-06-13 00:47:45 DEBUG smtp session: size=0
2016-06-13 00:47:45 DEBUG smtp session: etrn_domain=
2016-06-13 00:47:45 DEBUG smtp session: stress=
2016-06-13 00:47:45 DEBUG smtp session: sasl_method=LOGIN
2016-06-13 00:47:45 DEBUG smtp session: sasl_username=bbbbb@domain.ltd
2016-06-13 00:47:45 DEBUG smtp session: sasl_sender=
2016-06-13 00:47:45 DEBUG smtp session: ccert_subject=
2016-06-13 00:47:45 DEBUG smtp session: ccert_issuer=
2016-06-13 00:47:45 DEBUG smtp session: ccert_fingerprint=
2016-06-13 00:47:45 DEBUG smtp session: encryption_protocol=TLSv1
2016-06-13 00:47:45 DEBUG smtp session: encryption_cipher=DHE-RSA-AES256-SHA
2016-06-13 00:47:45 DEBUG smtp session: encryption_keysize=256
2016-06-13 00:47:45 DEBUG --> Apply plugin: reject_null_sender
2016-06-13 00:47:45 DEBUG Local sender.
2016-06-13 00:47:45 DEBUG <-- Result: DUNNO
2016-06-13 00:47:45 DEBUG --> Apply plugin: greylisting
2016-06-13 00:47:45 DEBUG Found SASL username, bypass greylisting for outbound email.
2016-06-13 00:47:45 DEBUG <-- Result: DUNNO
2016-06-13 00:47:45 DEBUG --> Apply plugin: throttle
2016-06-13 00:47:45 DEBUG Check sender throttling.
2016-06-13 00:47:45 DEBUG [SQL] Query throttle setting:

        SELECT id, account, priority, period, max_msgs, max_quota, msg_size
          FROM throttle
         WHERE kind='outbound' AND account IN ('127.0.0.1', '@ip', '@.', 'bbbbb@domain.ltd', '@domain.ltd', '@.domain.ltd', '@co', '@.co', '127.0.0.*', '127.0.*.1')
         ORDER BY priority DESC
         
2016-06-13 00:47:45 DEBUG [SQL] Query result:
[(6L, '@domain.ltd', 5, 3600L, 5L, 0L, 0L)]
2016-06-13 00:47:45 DEBUG sender throttle setting: msg_size=0 (bytes)/id=6/account=@domain.ltd; max_msgs=5/id=6/account=@domain.ltd; max_quota=0 (bytes)/id=6/account=@domain.ltd;
2016-06-13 00:47:45 DEBUG [SQL] Query throttle tracking data:

        SELECT id, tid, account, cur_msgs, cur_quota, init_time, last_time
          FROM throttle_tracking
         WHERE (tid=6 AND account='bbbbb@domain.ltd')
         
2016-06-13 00:47:45 DEBUG [SQL] Query result:
[(10143L, 6L, 'bbbbb@domain.ltd', 1, 4393L, 1465791617L, 1465791617L)]
2016-06-13 00:47:45 DEBUG Tracking IDs: {(6L, 'bbbbb@domain.ltd'): 10143L}
2016-06-13 00:47:45 INFO debug left 2: ['1 hours']
2016-06-13 00:47:45 INFO [127.0.0.1] sender throttle, bbbbb@domain.ltd -> max_msgs (1/5, period: 3600 seconds, time left: 1 hours)
2016-06-13 00:47:45 DEBUG [OK] Passed all sender throttle settings.
2016-06-13 00:47:45 DEBUG Bypass recipient throttling (found sasl_username).
2016-06-13 00:47:45 DEBUG <-- Result: DUNNO
2016-06-13 00:47:45 DEBUG --> Apply plugin: sql_alias_access_policy
2016-06-13 00:47:45 DEBUG [SQL] query access policy:
SELECT accesspolicy, goto, moderators
               FROM alias
              WHERE
                    address='qqqqqqqq@gmail.com'
                    AND islist=1
                    AND active=1
              LIMIT 1
   
2016-06-13 00:47:45 DEBUG SQL query result: None
2016-06-13 00:47:45 DEBUG [SQL] Check whether recipient domain is an alias domain:
SELECT target_domain
                   FROM alias_domain
                  WHERE alias_domain = 'gmail.com'
                  LIMIT 1
                 
2016-06-13 00:47:45 DEBUG [SQL] query result: None
2016-06-13 00:47:45 DEBUG Recipient domain is not an alias domain.
2016-06-13 00:47:45 DEBUG <-- Result: DUNNO (Not a mail alias account)
2016-06-13 00:47:45 DEBUG --> Apply plugin: amavisd_wblist
2016-06-13 00:47:45 DEBUG Possible policy senders: ['@.', 'bbbbb@domain.ltd', '@domain.ltd', '@.domain.ltd', '@co', '@.co']
2016-06-13 00:47:45 DEBUG Possible policy recipients: ['@.', 'qqqqqqqq@gmail.com', '@gmail.com', '@.gmail.com', '@com', '@.com']
2016-06-13 00:47:45 DEBUG Apply wblist for outbound message.
2016-06-13 00:47:45 DEBUG [SQL] Query local addresses:
SELECT id, email
               FROM users
              WHERE email IN ('@.', 'bbbbb@domain.ltd', '@domain.ltd', '@.domain.ltd', '@co', '@.co')
           ORDER BY priority DESC
2016-06-13 00:47:45 DEBUG Local addresses (in `users`): [(2L, '@domain.ltd'), (1L, '@.')]
2016-06-13 00:47:45 DEBUG [SQL] Query external addresses:
SELECT id, email
               FROM mailaddr
              WHERE email IN ('@.', 'qqqqqqqq@gmail.com', '@gmail.com', '@.gmail.com', '@com', '@.com')
           ORDER BY priority DESC
2016-06-13 00:47:45 DEBUG No record found in SQL database.
2016-06-13 00:47:45 DEBUG No valid sender id or recipient id.
2016-06-13 00:47:45 DEBUG <-- Result: DUNNO
2016-06-13 00:47:45 DEBUG Session ended
2016-06-13 00:47:45 INFO [127.0.0.1] RCPT, bbbbb@domain.ltd => qqqqqqqq@gmail.com, DUNNO
2016-06-13 00:47:45 DEBUG smtp session: request=smtpd_access_policy
2016-06-13 00:47:45 DEBUG smtp session: protocol_state=RCPT
2016-06-13 00:47:45 DEBUG smtp session: protocol_name=ESMTP
2016-06-13 00:47:45 DEBUG smtp session: client_address=127.0.0.1
2016-06-13 00:47:45 DEBUG smtp session: client_name=localhost
2016-06-13 00:47:45 DEBUG smtp session: reverse_client_name=localhost
2016-06-13 00:47:45 DEBUG smtp session: helo_name=mail.domain.ltd
2016-06-13 00:47:45 DEBUG smtp session: sender=bbbbb@domain.ltd
2016-06-13 00:47:45 DEBUG smtp session: recipient=mmmmmm@gmail.com
2016-06-13 00:47:45 DEBUG smtp session: recipient_count=0
2016-06-13 00:47:45 DEBUG smtp session: queue_id=F2E4E39009B5
2016-06-13 00:47:45 DEBUG smtp session: instance=51f8.575e3af0.e8092.0
2016-06-13 00:47:45 DEBUG smtp session: size=0
2016-06-13 00:47:45 DEBUG smtp session: etrn_domain=
2016-06-13 00:47:45 DEBUG smtp session: stress=
2016-06-13 00:47:45 DEBUG smtp session: sasl_method=LOGIN
2016-06-13 00:47:45 DEBUG smtp session: sasl_username=bbbbb@domain.ltd
2016-06-13 00:47:45 DEBUG smtp session: sasl_sender=
2016-06-13 00:47:45 DEBUG smtp session: ccert_subject=
2016-06-13 00:47:45 DEBUG smtp session: ccert_issuer=
2016-06-13 00:47:45 DEBUG smtp session: ccert_fingerprint=
2016-06-13 00:47:45 DEBUG smtp session: encryption_protocol=TLSv1
2016-06-13 00:47:45 DEBUG smtp session: encryption_cipher=DHE-RSA-AES256-SHA
2016-06-13 00:47:45 DEBUG smtp session: encryption_keysize=256
2016-06-13 00:47:45 DEBUG --> Apply plugin: reject_null_sender
2016-06-13 00:47:45 DEBUG Local sender.
2016-06-13 00:47:45 DEBUG <-- Result: DUNNO
2016-06-13 00:47:45 DEBUG --> Apply plugin: greylisting
2016-06-13 00:47:45 DEBUG Found SASL username, bypass greylisting for outbound email.
2016-06-13 00:47:45 DEBUG <-- Result: DUNNO
2016-06-13 00:47:45 DEBUG --> Apply plugin: throttle
2016-06-13 00:47:45 DEBUG Check sender throttling.
2016-06-13 00:47:45 DEBUG [SQL] Query throttle setting:

        SELECT id, account, priority, period, max_msgs, max_quota, msg_size
          FROM throttle
         WHERE kind='outbound' AND account IN ('127.0.0.1', '@ip', '@.', 'bbbbb@domain.ltd', '@domain.ltd', '@.domain.ltd', '@co', '@.co', '127.0.0.*', '127.0.*.1')
         ORDER BY priority DESC
         
2016-06-13 00:47:45 DEBUG [SQL] Query result:
[(6L, '@domain.ltd', 5, 3600L, 5L, 0L, 0L)]
2016-06-13 00:47:45 DEBUG sender throttle setting: msg_size=0 (bytes)/id=6/account=@domain.ltd; max_msgs=5/id=6/account=@domain.ltd; max_quota=0 (bytes)/id=6/account=@domain.ltd;
2016-06-13 00:47:45 DEBUG [SQL] Query throttle tracking data:

        SELECT id, tid, account, cur_msgs, cur_quota, init_time, last_time
          FROM throttle_tracking
         WHERE (tid=6 AND account='bbbbb@domain.ltd')
         
2016-06-13 00:47:45 DEBUG [SQL] Query result:
[(10143L, 6L, 'bbbbb@domain.ltd', 1, 4393L, 1465791617L, 1465791617L)]
2016-06-13 00:47:45 DEBUG Tracking IDs: {(6L, 'bbbbb@domain.ltd'): 10143L}
2016-06-13 00:47:45 INFO debug left 2: ['1 hours']
2016-06-13 00:47:45 INFO [127.0.0.1] sender throttle, bbbbb@domain.ltd -> max_msgs (1/5, period: 3600 seconds, time left: 1 hours)
2016-06-13 00:47:45 DEBUG [OK] Passed all sender throttle settings.
2016-06-13 00:47:45 DEBUG Bypass recipient throttling (found sasl_username).
2016-06-13 00:47:45 DEBUG <-- Result: DUNNO
2016-06-13 00:47:45 DEBUG --> Apply plugin: sql_alias_access_policy
2016-06-13 00:47:45 DEBUG [SQL] query access policy:
SELECT accesspolicy, goto, moderators
               FROM alias
              WHERE
                    address='mmmmmm@gmail.com'
                    AND islist=1
                    AND active=1
              LIMIT 1
   
2016-06-13 00:47:45 DEBUG SQL query result: None
2016-06-13 00:47:45 DEBUG [SQL] Check whether recipient domain is an alias domain:
SELECT target_domain
                   FROM alias_domain
                  WHERE alias_domain = 'gmail.com'
                  LIMIT 1
                 
2016-06-13 00:47:45 DEBUG [SQL] query result: None
2016-06-13 00:47:45 DEBUG Recipient domain is not an alias domain.
2016-06-13 00:47:45 DEBUG <-- Result: DUNNO (Not a mail alias account)
2016-06-13 00:47:45 DEBUG --> Apply plugin: amavisd_wblist
2016-06-13 00:47:45 DEBUG Possible policy senders: ['@.', 'bbbbb@domain.ltd', '@domain.ltd', '@.domain.ltd', '@co', '@.co']
2016-06-13 00:47:45 DEBUG Possible policy recipients: ['@.', 'mmmmmm@gmail.com', '@gmail.com', '@.gmail.com', '@com', '@.com']
2016-06-13 00:47:45 DEBUG Apply wblist for outbound message.
2016-06-13 00:47:45 DEBUG [SQL] Query local addresses:
SELECT id, email
               FROM users
              WHERE email IN ('@.', 'bbbbb@domain.ltd', '@domain.ltd', '@.domain.ltd', '@co', '@.co')
           ORDER BY priority DESC
2016-06-13 00:47:45 DEBUG Local addresses (in `users`): [(2L, '@domain.ltd'), (1L, '@.')]
2016-06-13 00:47:45 DEBUG [SQL] Query external addresses:
SELECT id, email
               FROM mailaddr
              WHERE email IN ('@.', 'mmmmmm@gmail.com', '@gmail.com', '@.gmail.com', '@com', '@.com')
           ORDER BY priority DESC
2016-06-13 00:47:45 DEBUG No record found in SQL database.
2016-06-13 00:47:45 DEBUG No valid sender id or recipient id.
2016-06-13 00:47:45 DEBUG <-- Result: DUNNO
2016-06-13 00:47:45 DEBUG Session ended
2016-06-13 00:47:45 INFO [127.0.0.1] RCPT, bbbbb@domain.ltd => mmmmmm@gmail.com, DUNNO
2016-06-13 00:47:45 DEBUG smtp session: request=smtpd_access_policy
2016-06-13 00:47:45 DEBUG smtp session: protocol_state=RCPT
2016-06-13 00:47:45 DEBUG smtp session: protocol_name=ESMTP
2016-06-13 00:47:45 DEBUG smtp session: client_address=127.0.0.1
2016-06-13 00:47:45 DEBUG smtp session: client_name=localhost
2016-06-13 00:47:45 DEBUG smtp session: reverse_client_name=localhost
2016-06-13 00:47:45 DEBUG smtp session: helo_name=mail.domain.ltd
2016-06-13 00:47:45 DEBUG smtp session: sender=bbbbb@domain.ltd
2016-06-13 00:47:45 DEBUG smtp session: recipient=nnnnnnnnn@hotmail.com
2016-06-13 00:47:45 DEBUG smtp session: recipient_count=0
2016-06-13 00:47:45 DEBUG smtp session: queue_id=F2E4E39009B5
2016-06-13 00:47:45 DEBUG smtp session: instance=51f8.575e3af0.e8092.0
2016-06-13 00:47:45 DEBUG smtp session: size=0
2016-06-13 00:47:45 DEBUG smtp session: etrn_domain=
2016-06-13 00:47:45 DEBUG smtp session: stress=
2016-06-13 00:47:45 DEBUG smtp session: sasl_method=LOGIN
2016-06-13 00:47:45 DEBUG smtp session: sasl_username=bbbbb@domain.ltd
2016-06-13 00:47:45 DEBUG smtp session: sasl_sender=
2016-06-13 00:47:45 DEBUG smtp session: ccert_subject=
2016-06-13 00:47:45 DEBUG smtp session: ccert_issuer=
2016-06-13 00:47:45 DEBUG smtp session: ccert_fingerprint=
2016-06-13 00:47:45 DEBUG smtp session: encryption_protocol=TLSv1
2016-06-13 00:47:45 DEBUG smtp session: encryption_cipher=DHE-RSA-AES256-SHA
2016-06-13 00:47:45 DEBUG smtp session: encryption_keysize=256
2016-06-13 00:47:45 DEBUG --> Apply plugin: reject_null_sender
2016-06-13 00:47:45 DEBUG Local sender.
2016-06-13 00:47:45 DEBUG <-- Result: DUNNO
2016-06-13 00:47:45 DEBUG --> Apply plugin: greylisting
2016-06-13 00:47:45 DEBUG Found SASL username, bypass greylisting for outbound email.
2016-06-13 00:47:45 DEBUG <-- Result: DUNNO
2016-06-13 00:47:45 DEBUG --> Apply plugin: throttle
2016-06-13 00:47:45 DEBUG Check sender throttling.
2016-06-13 00:47:45 DEBUG [SQL] Query throttle setting:

        SELECT id, account, priority, period, max_msgs, max_quota, msg_size
          FROM throttle
         WHERE kind='outbound' AND account IN ('127.0.0.1', '@ip', '@.', 'bbbbb@domain.ltd', '@domain.ltd', '@.domain.ltd', '@co', '@.co', '127.0.0.*', '127.0.*.1')
         ORDER BY priority DESC
         
2016-06-13 00:47:45 DEBUG [SQL] Query result:
[(6L, '@domain.ltd', 5, 3600L, 5L, 0L, 0L)]
2016-06-13 00:47:45 DEBUG sender throttle setting: msg_size=0 (bytes)/id=6/account=@domain.ltd; max_msgs=5/id=6/account=@domain.ltd; max_quota=0 (bytes)/id=6/account=@domain.ltd;
2016-06-13 00:47:45 DEBUG [SQL] Query throttle tracking data:

        SELECT id, tid, account, cur_msgs, cur_quota, init_time, last_time
          FROM throttle_tracking
         WHERE (tid=6 AND account='bbbbb@domain.ltd')
         
2016-06-13 00:47:45 DEBUG [SQL] Query result:
[(10143L, 6L, 'bbbbb@domain.ltd', 1, 4393L, 1465791617L, 1465791617L)]
2016-06-13 00:47:45 DEBUG Tracking IDs: {(6L, 'bbbbb@domain.ltd'): 10143L}
2016-06-13 00:47:45 INFO debug left 2: ['1 hours']
2016-06-13 00:47:45 INFO [127.0.0.1] sender throttle, bbbbb@domain.ltd -> max_msgs (1/5, period: 3600 seconds, time left: 1 hours)
2016-06-13 00:47:45 DEBUG [OK] Passed all sender throttle settings.
2016-06-13 00:47:45 DEBUG Bypass recipient throttling (found sasl_username).
2016-06-13 00:47:45 DEBUG <-- Result: DUNNO
2016-06-13 00:47:45 DEBUG --> Apply plugin: sql_alias_access_policy
2016-06-13 00:47:45 DEBUG [SQL] query access policy:
SELECT accesspolicy, goto, moderators
               FROM alias
              WHERE
                    address='nnnnnnnnn@hotmail.com'
                    AND islist=1
                    AND active=1
              LIMIT 1
   
2016-06-13 00:47:45 DEBUG SQL query result: None
2016-06-13 00:47:45 DEBUG [SQL] Check whether recipient domain is an alias domain:
SELECT target_domain
                   FROM alias_domain
                  WHERE alias_domain = 'hotmail.com'
                  LIMIT 1
                 
2016-06-13 00:47:45 DEBUG [SQL] query result: None
2016-06-13 00:47:45 DEBUG Recipient domain is not an alias domain.
2016-06-13 00:47:45 DEBUG <-- Result: DUNNO (Not a mail alias account)
2016-06-13 00:47:45 DEBUG --> Apply plugin: amavisd_wblist
2016-06-13 00:47:45 DEBUG Possible policy senders: ['@.', 'bbbbb@domain.ltd', '@domain.ltd', '@.domain.ltd', '@co', '@.co']
2016-06-13 00:47:45 DEBUG Possible policy recipients: ['@.', 'nnnnnnnnn@hotmail.com', '@hotmail.com', '@.hotmail.com', '@com', '@.com']
2016-06-13 00:47:45 DEBUG Apply wblist for outbound message.
2016-06-13 00:47:45 DEBUG [SQL] Query local addresses:
SELECT id, email
               FROM users
              WHERE email IN ('@.', 'bbbbb@domain.ltd', '@domain.ltd', '@.domain.ltd', '@co', '@.co')
           ORDER BY priority DESC
2016-06-13 00:47:45 DEBUG Local addresses (in `users`): [(2L, '@domain.ltd'), (1L, '@.')]
2016-06-13 00:47:45 DEBUG [SQL] Query external addresses:
SELECT id, email
               FROM mailaddr
              WHERE email IN ('@.', 'nnnnnnnnn@hotmail.com', '@hotmail.com', '@.hotmail.com', '@com', '@.com')
           ORDER BY priority DESC
2016-06-13 00:47:45 DEBUG No record found in SQL database.
2016-06-13 00:47:45 DEBUG No valid sender id or recipient id.
2016-06-13 00:47:45 DEBUG <-- Result: DUNNO
2016-06-13 00:47:45 DEBUG Session ended
2016-06-13 00:47:45 INFO [127.0.0.1] RCPT, bbbbb@domain.ltd => nnnnnnnnn@hotmail.com, DUNNO
2016-06-13 00:47:45 DEBUG smtp session: request=smtpd_access_policy
2016-06-13 00:47:45 DEBUG smtp session: protocol_state=RCPT
2016-06-13 00:47:45 DEBUG smtp session: protocol_name=ESMTP
2016-06-13 00:47:45 DEBUG smtp session: client_address=127.0.0.1
2016-06-13 00:47:45 DEBUG smtp session: client_name=localhost
2016-06-13 00:47:45 DEBUG smtp session: reverse_client_name=localhost
2016-06-13 00:47:45 DEBUG smtp session: helo_name=mail.domain.ltd
2016-06-13 00:47:45 DEBUG smtp session: sender=bbbbb@domain.ltd
2016-06-13 00:47:45 DEBUG smtp session: recipient=zzzzzzz@hotmail.com
2016-06-13 00:47:45 DEBUG smtp session: recipient_count=0
2016-06-13 00:47:45 DEBUG smtp session: queue_id=F2E4E39009B5
2016-06-13 00:47:45 DEBUG smtp session: instance=51f8.575e3af0.e8092.0
2016-06-13 00:47:45 DEBUG smtp session: size=0
2016-06-13 00:47:45 DEBUG smtp session: etrn_domain=
2016-06-13 00:47:45 DEBUG smtp session: stress=
2016-06-13 00:47:45 DEBUG smtp session: sasl_method=LOGIN
2016-06-13 00:47:45 DEBUG smtp session: sasl_username=bbbbb@domain.ltd
2016-06-13 00:47:45 DEBUG smtp session: sasl_sender=
2016-06-13 00:47:45 DEBUG smtp session: ccert_subject=
2016-06-13 00:47:45 DEBUG smtp session: ccert_issuer=
2016-06-13 00:47:45 DEBUG smtp session: ccert_fingerprint=
2016-06-13 00:47:45 DEBUG smtp session: encryption_protocol=TLSv1
2016-06-13 00:47:45 DEBUG smtp session: encryption_cipher=DHE-RSA-AES256-SHA
2016-06-13 00:47:45 DEBUG smtp session: encryption_keysize=256
2016-06-13 00:47:45 DEBUG --> Apply plugin: reject_null_sender
2016-06-13 00:47:45 DEBUG Local sender.
2016-06-13 00:47:45 DEBUG <-- Result: DUNNO
2016-06-13 00:47:45 DEBUG --> Apply plugin: greylisting
2016-06-13 00:47:45 DEBUG Found SASL username, bypass greylisting for outbound email.
2016-06-13 00:47:45 DEBUG <-- Result: DUNNO
2016-06-13 00:47:45 DEBUG --> Apply plugin: throttle
2016-06-13 00:47:45 DEBUG Check sender throttling.
2016-06-13 00:47:45 DEBUG [SQL] Query throttle setting:

        SELECT id, account, priority, period, max_msgs, max_quota, msg_size
          FROM throttle
         WHERE kind='outbound' AND account IN ('127.0.0.1', '@ip', '@.', 'bbbbb@domain.ltd', '@domain.ltd', '@.domain.ltd', '@co', '@.co', '127.0.0.*', '127.0.*.1')
         ORDER BY priority DESC
         
2016-06-13 00:47:45 DEBUG [SQL] Query result:
[(6L, '@domain.ltd', 5, 3600L, 5L, 0L, 0L)]
2016-06-13 00:47:45 DEBUG sender throttle setting: msg_size=0 (bytes)/id=6/account=@domain.ltd; max_msgs=5/id=6/account=@domain.ltd; max_quota=0 (bytes)/id=6/account=@domain.ltd;
2016-06-13 00:47:45 DEBUG [SQL] Query throttle tracking data:

        SELECT id, tid, account, cur_msgs, cur_quota, init_time, last_time
          FROM throttle_tracking
         WHERE (tid=6 AND account='bbbbb@domain.ltd')
         
2016-06-13 00:47:45 DEBUG [SQL] Query result:
[(10143L, 6L, 'bbbbb@domain.ltd', 1, 4393L, 1465791617L, 1465791617L)]
2016-06-13 00:47:45 DEBUG Tracking IDs: {(6L, 'bbbbb@domain.ltd'): 10143L}
2016-06-13 00:47:45 INFO debug left 2: ['1 hours']
2016-06-13 00:47:45 INFO [127.0.0.1] sender throttle, bbbbb@domain.ltd -> max_msgs (1/5, period: 3600 seconds, time left: 1 hours)
2016-06-13 00:47:45 DEBUG [OK] Passed all sender throttle settings.
2016-06-13 00:47:45 DEBUG Bypass recipient throttling (found sasl_username).
2016-06-13 00:47:45 DEBUG <-- Result: DUNNO
2016-06-13 00:47:45 DEBUG --> Apply plugin: sql_alias_access_policy
2016-06-13 00:47:45 DEBUG [SQL] query access policy:
SELECT accesspolicy, goto, moderators
               FROM alias
              WHERE
                    address='zzzzzzz@hotmail.com'
                    AND islist=1
                    AND active=1
              LIMIT 1
   
2016-06-13 00:47:45 DEBUG SQL query result: None
2016-06-13 00:47:45 DEBUG [SQL] Check whether recipient domain is an alias domain:
SELECT target_domain
                   FROM alias_domain
                  WHERE alias_domain = 'hotmail.com'
                  LIMIT 1
                 
2016-06-13 00:47:45 DEBUG [SQL] query result: None
2016-06-13 00:47:45 DEBUG Recipient domain is not an alias domain.
2016-06-13 00:47:45 DEBUG <-- Result: DUNNO (Not a mail alias account)
2016-06-13 00:47:45 DEBUG --> Apply plugin: amavisd_wblist
2016-06-13 00:47:45 DEBUG Possible policy senders: ['@.', 'bbbbb@domain.ltd', '@domain.ltd', '@.domain.ltd', '@co', '@.co']
2016-06-13 00:47:45 DEBUG Possible policy recipients: ['@.', 'zzzzzzz@hotmail.com', '@hotmail.com', '@.hotmail.com', '@com', '@.com']
2016-06-13 00:47:45 DEBUG Apply wblist for outbound message.
2016-06-13 00:47:45 DEBUG [SQL] Query local addresses:
SELECT id, email
               FROM users
              WHERE email IN ('@.', 'bbbbb@domain.ltd', '@domain.ltd', '@.domain.ltd', '@co', '@.co')
           ORDER BY priority DESC
2016-06-13 00:47:45 DEBUG Local addresses (in `users`): [(2L, '@domain.ltd'), (1L, '@.')]
2016-06-13 00:47:45 DEBUG [SQL] Query external addresses:
SELECT id, email
               FROM mailaddr
              WHERE email IN ('@.', 'zzzzzzz@hotmail.com', '@hotmail.com', '@.hotmail.com', '@com', '@.com')
           ORDER BY priority DESC
2016-06-13 00:47:45 DEBUG No record found in SQL database.
2016-06-13 00:47:45 DEBUG No valid sender id or recipient id.
2016-06-13 00:47:45 DEBUG <-- Result: DUNNO
2016-06-13 00:47:45 DEBUG Session ended

15

Re: throttle is not working properly

Why the timestamp of log are the same (2016-06-13 00:47:45)?

16

Re: throttle is not working properly

ZhangHuangbin wrote:

Why the timestamp of log are the same (2016-06-13 00:47:45)?

Maybe the sender put all recipients in one email?

No idea!

Shouldn't it!?

17

Re: throttle is not working properly

infomiin wrote:

Maybe the sender put all recipients in one email?

No matter how many recipients in one email, the timestamps in log will be different.

How did you get those logs? I cannot help without the original log.

18

Re: throttle is not working properly

ZhangHuangbin wrote:
infomiin wrote:

Maybe the sender put all recipients in one email?

No matter how many recipients in one email, the timestamps in log will be different.

How did you get those logs? I cannot help without the original log.


This is the origin log, I only changed the names because it has to be published publicly.
I can send you 20 MB log file by email.

19

Re: throttle is not working properly

infomiin wrote:

I can send you 20 MB log file by email.

Upload it to your Dropbox or other cloud storage, then give me a link to download.

20

Re: throttle is not working properly

Confirmed, it's a bug of iRedAPD throttle plugin, it cannot correctly handle the email which has multiple recipients.

Fixed in iRedAPD development edition:
https://bitbucket.org/zhb/iredapd/commi … dd0069f9db