2017-03-15 17:06:08 ERROR <!> Error while applying plugin "reject_sender_login_mismatch": ['Traceback (most recent call last):\n', ' File "/opt/iRedAPD-2.0/libs/utils.py", line 101, in apply_plugin\n', ' File "/opt/iredapd/plugins/reject_sender_login_mismatch.py", line 253, in restriction\n', ' File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 721, in execute\n return self._execute_text(object, multiparams, params)\n', ' File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 870, in _execute_text\n statement, parameters\n', ' File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 958, in _execute_context\n context)\n', ' File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1159, in _handle_dbapi_exception\n exc_info\n', ' File "/usr/lib/python2.7/dist-packages/sqlalchemy/util/compat.py", line 199, in raise_from_cause\n reraise(type(exception), exception, tb=exc_tb)\n', ' File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 951, in _execute_context\n context)\n', ' File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/default.py", line 436, in do_execute\n cursor.execute(statement, parameters)\n', ' File "/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py", line 174, in execute\n self.errorhandler(self, exc, value)\n', ' File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler\n raise errorclass, errorvalue\n', 'OperationalError: (OperationalError) (1054, "Unknown column \'isalias\' in \'where clause\'") "SELECT address\\n FROM alias\\n WHERE address=\'noreply@example.com\' AND alias_to=\'wraptor@example.com\' AND isalias=1\\n LIMIT 1" ()\n']
2017-03-15 17:06:08 DEBUG --> Apply plugin: greylisting
2017-03-15 17:06:08 DEBUG Found SASL username, bypass greylisting for outbound email.
2017-03-15 17:06:08 DEBUG <-- Result: DUNNO
2017-03-15 17:06:08 DEBUG --> Apply plugin: throttle
2017-03-15 17:06:08 DEBUG Check sender throttling.
2017-03-15 17:06:08 DEBUG [SQL] Query throttle setting:
SELECT id, account, priority, period, max_msgs, max_quota, msg_size
FROM throttle
WHERE kind='outbound' AND account IN ('2a02:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxxx', '@ip', '@.', 'wraptor@example.com', '@example.com', '@.example.com, '@com', '@.com')
ORDER BY priority DESC
2017-03-15 17:06:08 DEBUG [SQL] Query result:
[]
2017-03-15 17:06:08 DEBUG No sender throttle setting.
2017-03-15 17:06:08 DEBUG Bypass recipient throttling (found sasl_username).
2017-03-15 17:06:08 DEBUG <-- Result: DUNNO
2017-03-15 17:06:08 DEBUG --> Apply plugin: sql_alias_access_policy
2017-03-15 17:06:08 DEBUG [SQL] query access policy:
SELECT accesspolicy, goto, moderators
FROM alias
WHERE address='blabla@gmail.com'
AND islist=1
AND active=1
LIMIT 1
2017-03-15 17:06:08 DEBUG SQL query result: None
2017-03-15 17:06:08 DEBUG [SQL] Check whether recipient domain is an alias domain:
SELECT target_domain
FROM alias_domain
WHERE alias_domain = 'gmail.com'
LIMIT 1
2017-03-15 17:06:08 DEBUG [SQL] query result: None
2017-03-15 17:06:08 DEBUG Recipient domain is not an alias domain.
2017-03-15 17:06:08 DEBUG <-- Result: DUNNO Recipient is not a mail alias account or no access policy
2017-03-15 17:06:08 DEBUG --> Apply plugin: amavisd_wblist
2017-03-15 17:06:08 DEBUG Possible policy senders: ['@.', 'wraptor@example.com', '@example.com', '@.example.com', '@com', '@.com, '2a02:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxxx']
2017-03-15 17:06:08 DEBUG Possible policy recipients: ['@.', 'blabla@gmail.com', '@gmail.com', '@.gmail.com', '@com', '@.com']
2017-03-15 17:06:08 DEBUG Apply wblist for outbound message.
2017-03-15 17:06:08 DEBUG [SQL] Query local addresses:
SELECT id, email
FROM users
WHERE email IN ('@.', 'wraptor@example.com', '@example.com', '@.example.com', '@com', '@.com', '2a02:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxxx')
ORDER BY priority DESC
2017-03-15 17:06:08 DEBUG No record found in SQL database.
2017-03-15 17:06:08 DEBUG No valid sender id or recipient id.
2017-03-15 17:06:08 DEBUG [SQL] query local domain (gmail.com):
SELECT domain
FROM domain
WHERE domain='gmail.com'
LIMIT 1
2017-03-15 17:06:08 DEBUG SQL query result: None
2017-03-15 17:06:08 DEBUG [SQL] query alias domains (gmail.com):
SELECT alias_domain
FROM alias_domain
WHERE alias_domain='gmail.com' OR target_domain='gmail.com'
LIMIT 1
2017-03-15 17:06:08 DEBUG SQL query result: None
2017-03-15 17:06:08 DEBUG <-- Result: DUNNO
2017-03-15 17:06:08 DEBUG Session ended.
2017-03-15 17:06:08 INFO 2a02:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxxx RCPT, wraptor@example.com => noreply@example.com -> blabla@gmail.com, DUNNO [0.0266s]
2017-03-15 17:06:08 DEBUG smtp session: request=smtpd_access_policy
2017-03-15 17:06:08 DEBUG smtp session: protocol_state=END-OF-MESSAGE
2017-03-15 17:06:08 DEBUG smtp session: protocol_name=ESMTP
2017-03-15 17:06:08 DEBUG smtp session: client_address=2a02:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxxx
2017-03-15 17:06:08 DEBUG smtp session: client_name=unknown
2017-03-15 17:06:08 DEBUG smtp session: reverse_client_name=XXXXX
2017-03-15 17:06:08 DEBUG smtp session: helo_name=WC2016S10
2017-03-15 17:06:08 DEBUG smtp session: sender=noreply@example.com
2017-03-15 17:06:08 DEBUG smtp session: recipient=blabla@gmail.com
2017-03-15 17:06:08 DEBUG smtp session: recipient_count=1
2017-03-15 17:06:08 DEBUG smtp session: queue_id=4D09C20F9E
2017-03-15 17:06:08 DEBUG smtp session: instance=2c3.58c9666f.ef2de.0
2017-03-15 17:06:08 DEBUG smtp session: size=113
2017-03-15 17:06:08 DEBUG smtp session: etrn_domain=
2017-03-15 17:06:08 DEBUG smtp session: stress=
2017-03-15 17:06:08 DEBUG smtp session: sasl_method=login
2017-03-15 17:06:08 DEBUG smtp session: sasl_username=wraptor@example.com
2017-03-15 17:06:08 DEBUG smtp session: sasl_sender=
2017-03-15 17:06:08 DEBUG smtp session: ccert_subject=
2017-03-15 17:06:08 DEBUG smtp session: ccert_issuer=
2017-03-15 17:06:08 DEBUG smtp session: ccert_fingerprint=
2017-03-15 17:06:08 DEBUG smtp session: ccert_pubkey_fingerprint=
2017-03-15 17:06:08 DEBUG smtp session: encryption_protocol=TLSv1
2017-03-15 17:06:08 DEBUG smtp session: encryption_cipher=ECDHE-RSA-AES256-SHA
2017-03-15 17:06:08 DEBUG smtp session: encryption_keysize=256
2017-03-15 17:06:08 DEBUG Skip plugin: reject_null_sender (protocol_state != END-OF-MESSAGE)
2017-03-15 17:06:08 DEBUG Skip plugin: reject_sender_login_mismatch (protocol_state != END-OF-MESSAGE)
2017-03-15 17:06:08 DEBUG Skip plugin: greylisting (protocol_state != END-OF-MESSAGE)
2017-03-15 17:06:08 DEBUG --> Apply plugin: throttle
2017-03-15 17:06:08 DEBUG Check sender throttling.
2017-03-15 17:06:08 DEBUG [SQL] Query throttle setting:
SELECT id, account, priority, period, max_msgs, max_quota, msg_size
FROM throttle
WHERE kind='outbound' AND account IN ('2a02:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxxx', '@ip', '@.', 'wraptor@example.com', '@example.com', '@.example.com', '@com', '@.com')
ORDER BY priority DESC
2017-03-15 17:06:08 DEBUG [SQL] Query result:
[]
2017-03-15 17:06:08 DEBUG No sender throttle setting.
2017-03-15 17:06:08 DEBUG Bypass recipient throttling (found sasl_username).
2017-03-15 17:06:08 DEBUG <-- Result: DUNNO
2017-03-15 17:06:08 DEBUG Skip plugin: sql_alias_access_policy (protocol_state != END-OF-MESSAGE)
2017-03-15 17:06:08 DEBUG Skip plugin: amavisd_wblist (protocol_state != END-OF-MESSAGE)
2017-03-15 17:06:08 DEBUG Session ended.
2017-03-15 17:06:08 INFO 2a02:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxxx END-OF-MESSAGE, wraptor@example.com => noreply@example.com -> blabla@gmail.com, DUNNO [0.0143s]