[Dovecot] different login_greeting for pop3 & imap?

Timo Sirainen tss at iki.fi
Mon May 8 10:45:04 EEST 2006


On Sun, 2006-05-07 at 23:50 +0200, Geert Hendrickx wrote:
> On Fri, May 05, 2006 at 04:47:19PM +0200, Geert Hendrickx wrote:
> > On Fri, May 05, 2006 at 03:25:28PM +0100, Chris Wakelin wrote:
> > > Just put
> > > 
> > > protocol pop3 {
> > >   login_greeting = Hello POP
> > > 
> > > ...}
> > > 
> > > protocol imap {
> > >  login_greeting = Hello IMAP
> > > ...}
> > 
> > Works like a charm, thanks!  
> 
> Can I use the same split construction for any dovecot configuration
> setting?  e.g. user/passwd databases?  

Pretty much anything except authentication settings.

> That'd be great (I want to make
> users with IMAP access a subset of the users with POP3 access).  

There are several other ways you could be able to do that. At least with
SQL/LDAP it's simple. With passwd-file you could probably
use /etc/passwd.%s where %s expands to imap or pop3.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20060508/431172e2/attachment.pgp


More information about the dovecot mailing list