mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-03-04 15:54:48 +01:00
Better handling of mail addressed to an alias
This commit is contained in:
@@ -7,7 +7,7 @@ connect_time, mta_connection.service AS service, sasl_username, disposition,
|
||||
-- mta_accept
|
||||
envelope_from, spf_result, dkim_result, dkim_reason, dmarc_result, dmarc_reason,
|
||||
-- mta_delivery
|
||||
postgrey_result, postgrey_reason, postgrey_delay, spam_score, spam_result, message_size
|
||||
postgrey_result, postgrey_reason, postgrey_delay, spam_score, spam_result, message_size, orig_to
|
||||
FROM mta_accept
|
||||
JOIN mta_connection ON mta_accept.mta_conn_id = mta_connection.mta_conn_id
|
||||
JOIN mta_delivery ON mta_accept.mta_accept_id = mta_delivery.mta_accept_id
|
||||
|
||||
@@ -121,6 +121,7 @@ def user_activity(conn, args):
|
||||
'dmarc_reason',
|
||||
|
||||
# mta_delivery
|
||||
'orig_to',
|
||||
'postgrey_result',
|
||||
'postgrey_reason',
|
||||
'postgrey_delay',
|
||||
@@ -139,6 +140,7 @@ def user_activity(conn, args):
|
||||
'text/plain', # dkim_result
|
||||
'text/plain', # dmarc_result
|
||||
'text/plain', # dmarc_result
|
||||
'text/email', # orig_to
|
||||
'text/plain', # postgrey_result
|
||||
'text/plain', # postgrey_reason
|
||||
{ 'type':'time/span', 'unit':'s' }, # postgrey_delay
|
||||
|
||||
Reference in New Issue
Block a user