[Dovecot] recipient_delimiter

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Fri Sep 27 09:54:58 EEST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 26 Sep 2013, LuKreme wrote:

> On 26 Sep 2013, at 10:09 , Steffen Kaiser <skdovecot at smail.inf.fh-brs.de> wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On Wed, 25 Sep 2013, LuKreme wrote:
>>
>>> Can I enable $recipient_delimiter = ‘+’ for only the virtual sql users?
>>
>> let it blank in the default config, but return a field "plugin/recipient_delimiter" from SQL.
>
> Something like this:
>
> userdb {
> args = /etc/dovecot/dovecot-sql.conf.ext
> default_fields = uid=vpopmail gid=vchkpw mail_location=/usr/local/virtual/%u mail=maildir:/usr/local/virtual/%u recipient_delimiter='+'
> driver = sql
> }

I thought you need:

default_fields = uid=vpopmail gid=vchkpw mail_location=/usr/local/virtual/%u mail=maildir:/usr/local/virtual/%u plugin/recipient_delimiter='+'

but http://wiki2.dovecot.org/UserDatabase/ExtraFields

"Any unknown setting is placed into plugin {} section (e.g. foo=bar will 
be parsed as if it were plugin { foo=bar })."

suggests you need no "plugin/" prefix.

You can name a settings by "section/subsection/.../setting":

"If you want to override settings inside sections, you can separate the 
section name and key with '/'. For example:

namespace default {
   inbox = yes
}

The inbox setting can be overridden by returning 
namespace/default/inbox=yes extra field."

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEVAwUBUkUrwl3r2wJMiz2NAQIU3Qf/X5EkaPI+45ZEYw/pVGlfciDtiK7z1vUh
UYBoXBOnT+vp3LxXdrWlfxUYp3X/FTBaeKHz3zEx2A7UDGYhbSe9taf2FIyqUfl0
OQIeeDLnbnfmZYINrnAZhGoNf/IYTf+2mNv42IN/vEqebDdONlXZCaF+1IvmQxS7
gMQzly8X92OABchM0WpjdOSbywgsFGpx7sKwncjXY4YkvIOkNtN2t9hckboWn7sz
T2BfOQLs4ODwxA1DuEIUt/RXLrtlxgUvJ+cDIi6AiwWxQFI0PkQ9MoNhyRi7ubVE
02CVhCTivyXlCbfsAnemGa1JGY2ybxJRDbCIh+tJAF1x5KH108g8ng==
=w1aY
-----END PGP SIGNATURE-----


More information about the dovecot mailing list