On Wed, June 27, 2012 14:28, Noel Jones wrote:
> On 6/27/2012 8:47 AM, James B. Byrne wrote:
>
>> The background is this.  We are moving from a Sendmail/Cyrus-imap
>> based system of many years to a Postfix/Cyrus-imap based email
>> system.
>>  During the transitions the existing Sendmail/Cyrus-imap service
>> naturally remains active.
>>
>
> You describe a virtual mailbox domain.
>
>
>> User accounts / domains are defined in hash:/etc/postfix/virtual
>> according to the specifications in man 5 virtual and assigned to the
>> variables $virtual_aliases and $virtual_alias_domains in main.cf.
>
> but you set it up as a virtual alias domain.  This is likely the
> source of your problems.  List the domain in
> virtual_mailbox_domains, list the recipients in virtual_mailbox_maps.
>
> Please refer to
> http://www.postfix.org/ADDRESS_CLASS_README.html
> http://www.postfix.org/VIRTUAL_README.html#virtual_mailbox

This is where I go astray.  We use IMAP for user mailbox stores but
every user also has a system account for authentication purposes.  I
read the instructions in ADDRESS_CLASS_README as implying that these
circumstances most closely match this specification:

> The virtual alias domain class.
>
>    Purpose: hosted domains where each recipient address is aliased
> to a local UNIX system account or to a remote address.

Whereas this specification:

> The virtual mailbox domain class.
>
>    Purpose: final delivery for hosted domains where each recipient
> address can have its own mailbox, and where users do not need to
> have a UNIX system account. A virtual mailbox example is given in
> the VIRTUAL_README file.

does not seem to me to match our user authentication or mailbox
delivery mechanisms at all.  Further, the representations in the
documentation deals solely with the case of direct delivery of email
to an mbox or maildir type of arrangement.  To my understanding these
are not compatible with the cyrus-imap protocol.

> Hints for configuring cyrus with postfix can be found in the
> maildrop readme: http://www.postfix.org/MAILDROP_README.html

If there are references in http://www.postfix.org/MAILDROP_README.html
that detail how to configure postfix and cyrus-imap together then I
cannot find them. If the inference I am to draw is that we should
bypass Cyrus-imap delivery altogether then I am at a loss as to how
the users would then get their mail.  Am I to run imap reconstruct and
quota on every user's mailbox tree at scheduled intervals instead?

>
> Aliases for virtual mailbox domains may be listed in the
> virtual_alias_maps, but do not list the domain as a virtual alias
> domain.
>
> To prevent surprises, all entries in virtual_alias_maps should be
> fully-qualified -- no bare usernames, no wildcard @domain names.

In our environment, which has existed since 1995, wildcarded @domain
names are quite prevalent and simply eliminating them as suggested is
not going to work for us.

I appreciate the help but I cannot see how what you suggest can be
implemented using cyrus-imap as the mailbox agent.

-- 
***          E-Mail is NOT a SECURE channel          ***
James B. Byrne                mailto:byrn...@harte-lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3

Reply via email to