ClearOS Bug Tracker


View Revisions: Issue #11481 All Revisions ] Back to Issue ]
Summary 0011481: Add duplicate check for mail forwarders
Revision 2016-12-08 11:32 by user2
Description Scenario: the user "test" has a mail forwarder configured with "test.guy@example.com".

When the "content_filter" line in master.cf is disabled, Postfix will send a single message to both "test" and "test.guy@example.com". That's the expected behavior. However, when the "content_filter" line in master.cf is enabled and LDAP is used for aliases/forwarders, Postfix will send two separate messages to the specified content_filter:

Message 1-- destined to "test.guy@example.com"
Message 2 -- destined to both "test" and "test.guy@example.com"

The first message is a redundant. Perhaps there's a magic configuration parameter to disable this behavior? That would be best. In the meantime, we can add a duplicate check in the mail routing engine (mailprefilter/Filter.php).
Revision 2016-12-08 11:31 by user2
Description Scenario: the user "test" has a mail forwarder configured with "test.guy@example.com".

When the "content_filter" line in master.cf is disabled, Postfix will send a single message to both "test" and "test.guy@example.com". That's the expected behavior. However, when the "content_filter" line in master.cf is enabled and LDAP is used for aliases/forwarders, Postfix will send two separate messages to the specified content_filter:

Message 0000001-- destined to "test.guy@example.com"
Message 0000002 -- destined to both "test" and "test.guy@example.com"

The first message is a redundant. Perhaps there's a magic configuration parameter to disable this behavior? That would be best. In the meantime, we can add a duplicate check in the mail routing engine (mailprefilter/Filter.php).
Revision 2016-12-08 10:56 by user2
Description Scenario: the user "test" has a mail forwarder configured with "test.guy@example.com".

When the "content_filter" line in master.cf is disabled, Postfix will send a single message off both "test" and "test.guy@example.com". That's the expected behavior. However, when the "content_filter" line in master.cf is enabled and LDAP is used for aliases/forwarders, Postfix will send two separate messages to the specified content_filter:

Message 0000001-- destined to "test.guy@example.com"
Message 0000002 -- destined to both "test" and "test.guy@example.com"

The first message is a redundant. Perhaps there's a magic configuration parameter to disable this behavior? That would be best. In the meantime, we can add a duplicate check in the mail routing engine (mailprefilter/Filter.php).