I modifified popper/pop_user.c:
user_name_len = (user_name_len > sizeof(p->user) )?
sizeof(p->user) : user_name_len;
}
(void)strncpy(p->user, p->pop_parm[1], user_name_len);
/*
* Strip domain names
*/
if (temp_pointer=index(p->user,'@')) {
strncpy(temp_user_name,p->user,temp_pointer-p->user);
temp_user_name[temp_pointer-p->user]='\0';
strcpy(p->user,temp_user_name);
}
/*
* end strip
*/
p->user[sizeof(p->user)-1] = 0;
strcpy( p->authid, p->user ); /* userid is also authentication id
*/
}
On Fri, 8 Sep 2000, Vinay Bharel wrote:
> Hi,
>
> We were using cucipop before and just switched to qpopper. We have
> noticed that we are getting a large number of
>
> -ERR [AUTH] Password supplied for "[EMAIL PROTECTED]" is incorrect.
>
> We didn't get these with Cucipop.
>
> Looks like cucipop was striping out the "@domain.com" part and was only
> using the username.
>
> Is there anyway to make qpopper do the same?
>
> I know the mistake lies with some of the user's configuration but it would
> still be nice if we can authenticate them. It would definitely reduce the
> number of calls our help desk is getting.
>
> Thanks.
>
> ---
> Vinay Bharel
> [EMAIL PROTECTED]
>
--
Thanks,
-Joseph W. Breu
-----------------------------------------------------------------------
Joseph W. Breu Systems Administrator / Cedar Falls Utilities
phone: (319) 268-5228 Utility Parkway, Cedar Falls, Iowa 50613
---- Al Gore: "...I took the initiative in creating the Internet." ----
the above quote is meant to be satirical. Al Gore did not invent the
internet. Al Gore was 21 when the ArpaNet (the internet) was invented.
Believe what you want. The interview is at breu.org/gore-transcript.txt.