postmaster: edge case for 2 domains in filter

Bug #614528 reported by Jim B. Glenn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KARL3
Fix Released
Low
Chris Rossi

Bug Description

Chris,
(Low priority, just reviewing the configs for the sites and found a question on an edge case)

We have a customer that has 2 urls for 1 karl. (ospc)

In apache, we redirect 1 url -> main url for the site. (works fine)

For mail on the old system:
in postfix, we did:
url1 -> ospc@localhost
url2 -> ospc@localhost
We got e-mails from both urls just in case someone guessed at the e-mail address for a community.

KARL.ini (and therefore the web interface) only presented 1 url. KARL checked ospc@localhost mailbox and didn't realize which domain the e-mail was originally sent to (incoming), so it could get e-mails from both urls.

On the new box, all sites are setup:
url -> postmaster@localhost

Postoffice config has queues for each instance.
Each queue has a filter for hostname.

Is there a setup for using that filter on 2 urls for 1 queue?
or
Do we leave this as an edge case and drop the e-mails that aren't used in karl.ini?

Jim B. Glenn (jimbglenn)
Changed in karl3:
assignee: nobody → Chris Rossi (chris-archimedeanco)
importance: Undecided → Low
Changed in karl3:
milestone: none → m45
Revision history for this message
Chris Rossi (chris-archimedeanco) wrote :

To answer the question, no, it is not currently possible to configure postoffice to do this. It's a fairly easy enhancement to make, though. I will go ahead and do it, unless I'm told otherwise.

Changed in karl3:
status: New → In Progress
Changed in karl3:
status: In Progress → Fix Committed
Changed in karl3:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.