Anonymous | Login | 2024-12-22 05:54 MST |
Main | My View | View Issues | Change Log | Roadmap | Repositories |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000926 | ClearOS | app-smtp - SMTP Server | public | 2013-01-09 06:52 | 2013-01-29 13:20 | ||||
Reporter | timb80 | ||||||||
Assigned To | user2 | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | 6.3.0 | ||||||||
Target Version | 6.3.0 Updates | Fixed in Version | 6.3.0 Updates | ||||||
Summary | 0000926: Mail forward domains should not be added to searchdomains list for zarafa-alias lookup | ||||||||
Description | As described here http://www.clearfoundation.com/component/option,com_kunena/Itemid,232/catid,14/func,view/id,45297/limit,10/limitstart,10/#49429 [^] | ||||||||
Steps To Reproduce | Mail Forwarding domains are not meant to be delivered locally, and should not be added to the searchdomains list, to enumerate aliases alias1@mydestinationdomain.com is OK alias1@myforwardingdomain.com should not be added At present email sent to alias1@myforwardingdomain.com goes to alias1@mydesintationdomain.com (local user mailbox) | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | ||||||
|
Notes | |
(0000628) timb80 (developer) 2013-01-09 07:05 edited on: 2013-01-09 07:07 |
Forwarded domains should not be part of get_local_domains... (only seems to be used for updating search domains) /usr/clearos/apps/smtp/libraries/Postfix.php /** * Returns local domains. * * Local domains include: * - primary domain (mydomain) * - destination domains (mydestination) * - forwarder domains (/etc/postfix/transport) * * @return array list of local domains * @throws Engine_Exception */ public function get_local_domains() { clearos_profile(__METHOD__, __LINE__); $domains = array(); // Primary domain $domains[] = $this->get_domain(); // Destination domains $domains = array_merge($this->get_destinations(TRUE), $domains); ---- // Forwarder domains ---- $forwarders = $this->get_forwarders(); ---- foreach ($forwarders as $id => $details) ---- $domains[] = $details['domain']; return $domains; } |
(0000629) user2 2013-01-09 12:06 edited on: 2013-01-09 12:06 |
The Amavis engine uses Postfix.get_local_domains() to populate the @local_domains_maps parameter. So, I created another method -- get_delivery_domains() -- which only includes the primary domain and destination domains. |
Issue History | |||
Date Modified | Username | Field | Change |
2013-01-09 06:52 | timb80 | New Issue | |
2013-01-09 06:53 | timb80 | Relationship added | related to 0000689 |
2013-01-09 07:05 | timb80 | Note Added: 0000628 | |
2013-01-09 07:06 | timb80 | Note Edited: 0000628 | View Revisions |
2013-01-09 07:07 | timb80 | Note Edited: 0000628 | View Revisions |
2013-01-09 08:30 | user2 | Assigned To | => user2 |
2013-01-09 08:30 | user2 | Status | new => confirmed |
2013-01-09 12:06 | user2 | Note Added: 0000629 | |
2013-01-09 12:06 | user2 | Target Version | => 6.3.0 Updates |
2013-01-09 12:06 | user2 | Note Edited: 0000629 | View Revisions |
2013-01-09 12:08 | user2 | Status | confirmed => resolved |
2013-01-09 12:08 | user2 | Fixed in Version | => 6.3.0 Updates |
2013-01-09 12:08 | user2 | Resolution | open => fixed |
2013-01-29 13:20 | user2 | Status | resolved => closed |