Hello,

On 2015-01-15 00:48, Casey Dinsmore wrote:

I've set up a test install of MailPiler and it looks pretty nice,
however I am struggling to find documentation or examples for a
complex domain setup. I have to maintain a legacy FQDN for the
organization as well as a handful of other domains/subdomains (both
mydomains and virtual domains in Postfix).

In LDAP, the mail attribute for all users is set to the primary
subdomain. i.e science.example.org [1]

A user may receive email on a handful of other domains such as:
science.exam.ple
physics.example.org [2]
physics.exam.ple
phys.example.org [3]
totally-unrelated-domain.org [4]
and so on..

I can see that the sphinx query explicitly searches my primary domain.

sphinx query: 'SELECT id FROM main1,dailydelta1,delta1 WHERE
MATCH(' (@from lunitinXscienceXexampleXorg | @to
lunitinXscienceXexampleXorg) ') ORDER BY `sent` DESC LIMIT 0,1000
OPTION max_matches=1000' in 0.00 s, 28 hits, 28 total found

How do I configure piler so that when the client logs in via LDAP they
will be see the email destined for all of their domains and not just
the primary of science.example.org [1]?

well, the gui applies an email address list as a filter. The list is
assembled based on the ldap query, so we have to construct such a query
which returns all email addresses for the given user.

Janos


Reply via email to