[Dovecot] Postfix : lda problem
Benny Pedersen
me at junc.org
Mon Aug 17 08:09:39 EEST 2009
On Sun, August 16, 2009 16:31, denis wrote:
> The mails are stored under www-data:www-data
if that is apache user then you have open file system for remote web users to all you mails
even if thay dont login !
dont save your mails with apache user
> in place of www-data:gid.
> The parameter virtual_gid_maps = proxy:mysql:/etc/postfix/mygid.cf has
> no effect.
>
> But it's working, thanks !!
no i does not
>
> Denis
>
>
> # Main.cf
>
> alias_maps = proxy:mysql:/etc/postfix/myalias.cf,
> hash:/etc/aliases
> virtual_mailbox_base = /var/alternc/mail
> virtual_mailbox_maps = proxy:mysql:/etc/postfix/myvirtual.cf
> virtual_mailbox_domains = mysql:/etc/postfix/mydomain.cf
> default_privs = www-data
> virtual_uid_maps = static:33
> virtual_gid_maps = static:33
>
> virtual_transport = dovecot
> dovecot_destination_recipient_limit = 1
>
> # Master.cf
>
> dovecot unix - n n - - pipe
> flags=DRhu user=www-data:www-data argv=/usr/lib/dovecot/deliver -d
> $(recipient)
>
> # dovecot.conf
>
> socket listen {
> master {
> path = /var/run/dovecot/auth-master
> mode = 0660
> user = www-data
> }
>
>
>
dont use www-data in dovecot
--
xpoint
More information about the dovecot
mailing list