Hi,

still in the topic of trying to deliver email to a Dovecot public folder I resort to use Dovecot deliver. I still used virtual, but with the following in main.cf

dovecot_destination_recipient_limit = 1
virtual_mailbox_domains = shared.folder
virtual_transport = dovecot


then I defined in master.cf:

dovecot  unix  -       n       n       -       -       pipe
flags=DRhu user=vmail argv=/usr/lib/dovecot/deliver -f ${sender} -m Shared/${user}


and now it's working, but...

But I had to define a new vmail user just to the sake to have it having a choosen primary group to which all server user belongs.

That's why I could not put it insider master.cf definition of this group as user=mail:Domain Users because the space. My server is also a Samba fileserver, and user are managed by the smbldap-tools on LDAP that assign that name to group 513.

It seems that there is no way to put space in a parameter definition inside master.cf (at least for the pipe command parameters). At least I couldn't find one. Unfortunately today spaces are quite used (also in pathnames) so it would be nice to avoid such a shortcoming.

Simone

PS giving numeric ID instead of names (like user=mail:513 or user=8:513) do not work either, and this also is quite a shortcoming.
--
Simone Piccardi                                 Truelite Srl
picca...@truelite.it (email/jabber)             Via Monferrato, 6
Tel. +39-347-1032433                            50142 Firenze
http://www.truelite.it  Tel. +39-055-7879597    Fax. +39-055-7333336

Reply via email to