Re: Postfix virtual and Dovecot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=

--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-selinux-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux