> I've been going around and around this problem for so long it's making
> me dizzy ...
>
> I have Postfix set up with
>    main.cf:
>        virtual_mailbox_domains = /usr/local/etc/postfix/virtual_domains
>        virtual_mailbox_base = /var/mail/virtual/domain
>        virtual_mailbox_maps = hash:/usr/local/etc/postfix/virtual_mailbox
>        virtual_minimum_uid = 100
>        virtual_uid_maps = static:5000
>        virtual_gid_maps = static:5000
>        virtual_alias_maps = hash:/usr/local/etc/postfix/virtual
>
>    virtual_mailbox:
>        [EMAIL PROTECTED]              my_v_domain.tld/user/vuname/
>
> I have set up imapd to use partition as follows:
>    imapd.conf
>        partition-vpart: /var/mail/virtual
>
> And created mailbox in cyradm as follows:
>    localhost> cm [EMAIL PROTECTED] vpart
>    localhost> sam [EMAIL PROTECTED] [EMAIL PROTECTED] all
>
> So when a mail is sent to [EMAIL PROTECTED] it appears in the
> directory /var/mail/virtual/domain/my_v_domain/user/vuname
> but cyrus cannot see it as it's in the subdirectory "new".
>
> Anyway I have a feeling I'm barking up the wrong tree here.  Just how

Forget about the virtual maildir stuff in postfix, cyrus doesn't use
maildir but has it's own message store and works more like database than
like a fileserver application - you never access any files directly. What
you want is using LMTP as mail delivery protocol which you configure
something like
mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
It's that easy, no more messing with directories or uids.

Simon

> should I be letting cyrus find mail delivered by postfix "virtual"
> delivery
> agent (as in this case)? Is there something stupid about my setup, other
> than I have a feeling cyrus and postfix aren't meant to share the same
> directory for mail storage.
>
> Any help greatly appreciated.
>    Martin


---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Reply via email to