Postfix virtual and Dovecot

Paul Howarth paul at city-fan.org
Fri Jan 6 20:10:51 UTC 2006


On Fri, 2006-01-06 at 14:16 -0500, Karyl F. Stein wrote:
> Any ideas on how I can get the Postfix virtual transport to deliver to a 
> maildir and have Dovecot pick it up?  I can get one or the other to 
> work, but not both.  The maildirs are in /srv/mirror/mail.  If I make 
> that directory have the postfix_spool_t context, Postfix writes there 
> fine, but Dovecot can't access it.  If I make the directory have 
> mail_spool_t, then Dovecot can access it, but Postfix can't.  As far as 
> I can tell, there doesn't seem to be a common context.
> 
> I'm running FC4 with the targeted policy.

Perhaps postfix works differently to sendmail but I use procmail to
deliver mail received by sendmail to maildirs under /var/spool/mail,
which is mail_spool_t and hence works fine with dovecot.

(having just looked at the policy sources, the one for postfix is vastly
more complicated than the sendmail one so it does indeed appear to be
different...)

Paul.




More information about the fedora-selinux-list mailing list