Skip to content

Commit

Permalink
pop3-login: XCLIENT / XOIP no longer return -ERR for untrusted IP ran…
Browse files Browse the repository at this point in the history
…ges.

The command is simply ignored, similarly to imap-login ID.
  • Loading branch information
sirainen committed Mar 23, 2016
1 parent 6199949 commit a986ef3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pop3-login/client.c
Expand Up @@ -42,8 +42,8 @@ static bool cmd_xclient(struct pop3_client *client, const char *args)
bool args_ok = TRUE;

if (!client->common.trusted) {
client_send_reply(&client->common, POP3_CMD_REPLY_ERROR,
"You are not from trusted IP");
client_send_reply(&client->common, POP3_CMD_REPLY_OK,
"You are not from trusted IP - ignoring");
return TRUE;
}
for (tmp = t_strsplit(args, " "); *tmp != NULL; tmp++) {
Expand Down

0 comments on commit a986ef3

Please sign in to comment.