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'

The variable is replaced by authdaemon before the query is sent, so one
of the queries will always return no result. So authdaemon is
effectively using one table for SMTP user data and one for pop3/imap.

But keep in mind: This will possibly break Webmail as there is typically
one login password for Webmail that is used for outgoing smtp, too.
And it will break the common auto-setup procedures offered my modern
mail clients as there is typically only one password prompt.


- Bernd


Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to