Lines Matching defs:pop3_client
22 bool cmd_capa(struct pop3_client *client, const char *args ATTR_UNUSED)
79 bool cmd_auth(struct pop3_client *pop3_client, const char *args)
81 struct client *client = &pop3_client->common;
121 bool cmd_user(struct pop3_client *pop3_client, const char *args)
123 if (!client_check_plaintext_auth(&pop3_client->common, FALSE)) {
124 if (pop3_client->common.virtual_user == NULL)
125 pop3_client->common.virtual_user = i_strdup(args);
129 i_free(pop3_client->last_user);
130 pop3_client->last_user = i_strdup(args);
132 client_send_raw(&pop3_client->common, "+OK\r\n");
136 bool cmd_pass(struct pop3_client *pop3_client, const char *args)
138 struct client *client = &pop3_client->common;
141 if (pop3_client->last_user == NULL) {
155 str_append(plain_login, pop3_client->last_user);
159 i_free_and_null(pop3_client->last_user);
168 bool cmd_apop(struct pop3_client *pop3_client, const char *args)
170 struct client *client = &pop3_client->common;
175 if (pop3_client->apop_challenge == NULL) {
195 buffer_append(apop_data, pop3_client->apop_challenge,
196 strlen(pop3_client->apop_challenge)+1);
214 if (pop3_client->apop_server_pid != server_pid ||
215 pop3_client->apop_connect_uid != connect_uid) {