fix imap_svr according by imap protocal