On Fri, Aug 15, 2014 at 5:51 PM, Bernd Wurst <be...@bwurst.org> wrote:
> Hi Mark. > > Am 15.08.2014 um 15:40 schrieb Mark Constable: > > Just to be able to have a two passwords, one for incoming mail and > > a different one for outgoing mail, could make a difference so any > > suggestions how to allow our clients to use different passwords for > > the different courier-authdaemon family of services? > > You can do this with authdaemon. > At least with MySQL backend, you can build your custom sql query like this > > SELECT username, password, [...] FROM table_pop WHERE '$(service)' IN > ('pop3', 'imap') UNION SELECT username, password, [...] FROM table_smtp > WHERE '$(service)'='courier' > > While I haven't tried it yet, I believe you could do it with and LDAP backend too by having a separate authdaemon process on your smtp server authenticate to ldap with a different username which could apply filters, or by simply mapping the ldap fields to different values in authdaemonrc Lisa.
------------------------------------------------------------------------------
_______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users