Register getpwnam_virtual for handling virtual domain authentication.
Showing
2 changed files
with
7 additions
and
1 deletions
... | @@ -143,7 +143,10 @@ main (int argc, char **argv) | ... | @@ -143,7 +143,10 @@ main (int argc, char **argv) |
143 | #ifdef HAVE_MYSQL | 143 | #ifdef HAVE_MYSQL |
144 | mu_register_getpwnam (getMpwnam); | 144 | mu_register_getpwnam (getMpwnam); |
145 | #endif | 145 | #endif |
146 | 146 | #ifdef USE_VIRTUAL_DOMAINS | |
147 | mu_register_getpwnam (getpwnam_virtual); | ||
148 | #endif | ||
149 | |||
147 | /* Set the signal handlers. */ | 150 | /* Set the signal handlers. */ |
148 | signal (SIGINT, imap4d_signal); | 151 | signal (SIGINT, imap4d_signal); |
149 | signal (SIGQUIT, imap4d_signal); | 152 | signal (SIGQUIT, imap4d_signal); | ... | ... |
... | @@ -132,6 +132,9 @@ main (int argc, char **argv) | ... | @@ -132,6 +132,9 @@ main (int argc, char **argv) |
132 | #ifdef HAVE_MYSQL | 132 | #ifdef HAVE_MYSQL |
133 | mu_register_getpwnam (getMpwnam); | 133 | mu_register_getpwnam (getMpwnam); |
134 | #endif | 134 | #endif |
135 | #ifdef USE_VIRTUAL_DOMAINS | ||
136 | mu_register_getpwnam (getpwnam_virtual); | ||
137 | #endif | ||
135 | 138 | ||
136 | /* Set the signal handlers. */ | 139 | /* Set the signal handlers. */ |
137 | signal (SIGINT, pop3d_signal); | 140 | signal (SIGINT, pop3d_signal); | ... | ... |
-
Please register or sign in to post a comment