Postfix virtual and Dovecot
Nicolas Mailhot
nicolas.mailhot at laposte.net
Fri Jan 6 21:15:05 UTC 2006
Le vendredi 06 janvier 2006 à 14:16 -0500, Karyl F. Stein a écrit :
> 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.
I use this :
I. In /etc/postfix/main.cf
mailbox_command = /usr/bin/procmail
II. In /etc/procmailrc
MAILDIR=$HOME/.maildir
DEFAULT=./
LOGFILE=$MAILDIR/logfile
and if you want
SPAM=.Spam.Auto/
:0fw: .spamc.lock
* < 256000
| spamc
:0
* ^X-Spam-Status: Yes
$SPAM
III. In /etc/dovecot.conf
default_mail_env = maildir:%h/.maildir
Regards,
--
Nicolas Mailhot
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Ceci est une partie de message
=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url : http://lists.fedoraproject.org/pipermail/selinux/attachments/20060106/f5ad848c/attachment.bin
More information about the selinux
mailing list