ClearFoundation Tracker - ClearOS
View Issue Details
0011481ClearOSapp-mail-routing - Mail Routingpublic2016-12-08 10:562019-02-23 20:07
user2 
dloper 
normaltweakhave not tried
closedfixed 
 
8.0.0 Beta 17.3.0 Beta 1 
0011481: Add duplicate check for mail forwarders
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).
No tags attached.
related to 0001912closed  Mail redirect to external domain 
related to 0011421closed user2 Add server-side mail forwarding support 
related to 0011431closed user2 Add server-side mail forwarding support in extension 
Issue History
2016-12-08 10:56user2New Issue
2016-12-08 11:31user2Description Updatedbug_revision_view_page.php?rev_id=1441#r1441
2016-12-08 11:31user2Statusnew => confirmed
2016-12-08 11:32user2Description Updatedbug_revision_view_page.php?rev_id=1451#r1451
2016-12-09 14:05user2Statusconfirmed => resolved
2016-12-09 14:05user2Fixed in Version => 7.3.0 Beta 1
2016-12-09 14:05user2Resolutionopen => fixed
2016-12-09 14:05user2Assigned To => user2
2016-12-22 09:00user2Note Added: 0004481
2016-12-22 09:00user2Statusresolved => feedback
2017-01-16 13:17user2Target Version7.3.0 Beta 1 => 7.3.0
2017-01-16 18:20user2Target Version7.3.0 => 7.3.1 Updates
2017-05-04 10:19user2Target Version7.3.1 Updates => 7.4.0 Beta 1
2017-08-06 20:32user2Target Version7.4.0 Beta 1 => 8.0.0 Beta 1
2017-08-23 08:28marclaporteRelationship addedrelated to 0001912
2017-08-23 08:55marclaporteRelationship addedrelated to 0011421
2017-08-23 08:55marclaporteRelationship addedrelated to 0011431
2018-12-14 12:10user2Statusfeedback => assigned
2018-12-14 12:10user2Assigned Touser2 => tracker
2019-02-23 20:07dloperNote Added: 0009991
2019-02-23 20:07dloperStatusassigned => closed
2019-02-23 20:07dloperAssigned Totracker => dloper

Notes
(0004481)
user2   
2016-12-22 09:00   
Duplicate check needs to be disabled for remote forwarding (i.e. domains in the transport table).
(0009991)
dloper   
2019-02-23 20:07   
Migrated to: https://gitlab.com/clearos/feature-requests/issues/16 [^]