You should be able to log in by tomorrow morning using your Athena
username (%s) and the password you chose.
+MIT's central email service is in transition.
+
+Please note: To access your email account via a web browser (Firefox,
+Internet Explorer, Safari), please use:
+
+%s
+
Welcome to Athena!
# 21 BAD_PIN
The PIN you typed was incorrect. Please make sure you typed it correctly.
char *password = argv[0], *p;
EXEC SQL BEGIN DECLARE SECTION;
char *login = rc->username;
+ char potype[USERS_POTYPE_SIZE];
EXEC SQL END DECLARE SECTION;
if (!rc->username || rc->id || argc != 1)
EXEC SQL UPDATE users SET status = 1 WHERE login = :login;
EXEC SQL COMMIT;
- reply(rc, DONE, "INIT", "c", NULL, rc->username);
+ EXEC SQL SELECT potype INTO :potype FROM users WHERE login = :login;
+ if (!strcmp(potype, "EXCHANGE"))
+ reply(rc, DONE, "INIT", "c", NULL, rc->username, "http://owa.mit.edu");
+ else
+ reply(rc, DONE, "INIT", "c", NULL, rc->username, "http://webmail.mit.edu");
}
void QUIT(reg_client *rc, int argc, char **argv)