Dan Johansson writes:

I have a setup with virtual E-Mail accounts with a MySQL backend.
Now I want to make one account unavailable to the world (not accept new E-Mails, like the account never existed) but still be able to access the mail that is allready there via IMAP (the guy has quit but we still wants his mail available in his account).
What would be the best way to accomplish this.

You will have to define a custom SELECT query in authmysqlrc. Instead of setting the individual fields, define MYSQL_SELECT_CLAUSE to the entire SEELCT statement. Use the $(service) variable to return the account only for the imap service, and not the courier service.

Attachment: pgp5lK0NB7h0x.pgp
Description: PGP signature

------------------------------------------------------------------------------
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to