On Wednesday, April 08, 2009 at 19:20 CEST,
Gary Chambers <[email protected]> wrote:
> I'm using Postfix 2.5.6 with Dovecot 1.1.11 on Solaris 10 x86.
> I'm having trouble getting Postfix to deliver virtual domain
> Maildir-format mail to $home_mailbox. It only delivers it to
> the virtual user's home. A rather exhaustive Google search
> returned some hits on the problem, but none of them provided a
> solution.
As hinted by the documentation, home_mailbox applies to local
users and not virtual users. Deliveries to virtual users'
mailboxes is done according to virtual_mailbox_base and the
lookup result of virtual_mailbox_maps.
> The problem is that mail is delivered to
> $virtual_mailbox_base/domain1.com/home/test/
> (/vhome/domain1.com/home/test/) as opposed to
> $virtual_mailbox_base/domain1.com/home/test/$home_mailbox/
> (/vhome/domain1.com/home/test/Maildir/). Local delivery is unaffected
> and works as expected.
>
> I've unsuccessfully tried using Dovecot's LDA, and I've tried
> variations of $home_mailbox (e.g. ~/Maildir/, $HOME/Maildir/,
> ./Maildir/), all with no success.
home_mailbox only applies to local(8), and it only applies if local(8)
is actually used. Depending on how you enable the Dovecot LDA
(mailbox_transport or local_transport), local(8) might not even be
involved in your local deliveries.
[...]
--
Magnus Bäck
[email protected]