[Dovecot] Postfix : lda problem

denis denlistes at altern.org
Sun Aug 16 17:31:59 EEST 2009


Thomas Leuxner a écrit :
>
> Am 15.08.2009 um 18:52 schrieb denis:
>> virtual_gid_maps = proxy:mysql:/etc/postfix/mygid.cf
>> virtual_uid_maps = static:33
> You need to match the groups used by deliver in the "master.cf"
> (mail/mail) or change them there. Try
>
> virtual_gid_maps = static:8
> virtual_uid_maps = static:8
Ok, here is a configuration that works fine but without success to
retrieve the correct gid in the database.

The mails are stored under www-data:www-data 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 !!

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
   }




More information about the dovecot mailing list