Re: [vchkpw] AppleMail "Password Fail" in syslog

2003-09-22 Thread Tom Collins
On Monday, September 22, 2003, at 11:08  AM, Oden Eriksson wrote:
I (co)manage a system where apple people say apop auth fails or 
something like
that. I looked in the code but couldn't find any apop in there, I seem 
to
remember apop was removed?

I was stupid using a patch that claimed apop capa in qmail-popup and
qmail-pop3d, but removed it. Is it so that apple mail clients 
autoconfigure
when the account is setup, but cannot reconfigure, or is it simply a 
human
error?
Perhaps that's the problem.

If the POP server claims APOP authentication, then Apple Mail may try 
APOP first, have it fail, and then fall back on plain authentication.

There's also an Advanced Tab in Mail where you can select the port, 
whether to use SSL, and what type of Authentication to use.  It lists 
Password, Kerberos Version 4, Kerberized POP (KPOP), Kerberos Version 5 
and MD5 Challenge-Response.  From a quick web check, it looks like APOP 
uses MD5, so I'm assuming that the MD5 entry refers to APOP.

Can you have this user check their settings to make sure they aren't 
using APOP?

--
Tom Collins
[EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/



Re: [vchkpw] AppleMail "Password Fail" in syslog

2003-09-22 Thread Rick van Vliet
On Mon, 22 Sep 2003 08:36:36 -0700, Tom Collins <[EMAIL PROTECTED]> wrote:

On Friday, September 19, 2003, at 09:01  PM, Rick van Vliet wrote:
I have several user on a small vpopmail domain, that seem to be able to 
send and get mail fine.
However, AppleMail (OSX 10.2) seems to leave a "vchkpw: password fail 
[EMAIL PROTECTED]"
(Using password authentication on the Mac client end)

Wondering if someone has thoughts on why I'm getting that fail, despite 
the user being able to send/retrieve?
I use Apple Mail without any problem...

What version of vpopmail are you using, and where do you see the 
"password fail" error?  Is this when picking up mail, or sending with 
SMTP AUTH?

vpopmail v 5.2.1
qmail 1.0.3
smtp-auth 0.31
User gets double password prompt upon sending with SMTPAUTH, it looks like 
errors in my syslog appear during pickup...
"Fail" shows in /var/log/syslog like this: It appears, in the log (from the 
timing), that his check mail runs every 5 minutes.

Sep 21 21:02:55 mail vpopmail[4268]: vchkpw: password fail 
[EMAIL PROTECTED]:172.134.147.54
Sep 21 21:07:55 mail vpopmail[4273]: vchkpw: password fail 
[EMAIL PROTECTED]:172.134.147.54
Sep 21 21:12:55 mail vpopmail[4282]: vchkpw: password fail 
[EMAIL PROTECTED]:172.134.147.54
Sep 21 21:17:55 mail vpopmail[4287]: vchkpw: password fail 
[EMAIL PROTECTED]:172.134.147.54
Sep 21 21:22:55 mail vpopmail[4296]: vchkpw: password fail 
[EMAIL PROTECTED]:172.134.147.54
Sep 21 21:27:55 mail vpopmail[4309]: vchkpw: password fail 
[EMAIL PROTECTED]:172.134.147.54
Sep 21 21:32:56 mail vpopmail[4321]: vchkpw: password fail 
[EMAIL PROTECTED]:172.134.147.54
Sep 21 21:37:55 mail vpopmail[4330]: vchkpw: password fail 
[EMAIL PROTECTED]:172.134.147.54
Sep 21 21:40:00 mail CROND[4339]: (root) CMD 
(/usr/local/share/sqwebmail/cleancache.pl) Sep 21 21:40:00 mail 
CROND[4340]: (root) CMD (/home/vpopmail/bin/clearopensmtp 2>&1 > /dev/null)

When user 'sends' mail, he gets an additional popup that says that his 
password wasn't recognized. When he enters correct password, mail is sent.
Sqwebmail runs fine.
I have other Apple User who runs GyazMail & Eudora with no problems. This 
second Apple user also gets double password prompts, AND "Fails" that show 
up in my logs.

RunFiles follow (any wrap is from mailer, long lines have no breaks in 
reality)
#!/bin/sh
exec /usr/local/bin/softlimit -m 500 /usr/local/bin/tcpserver -v -R -H - 
l 0 0 110 /var/qmail/bin/qmail-popup  vanmorel.com 
/home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 2>&1
*8
#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
LOCAL=`head -1 /var/qmail/control/me`
# SMTPD="/var/qmail/bin/qmail-smtpd"
# VPOPMAILUID=`id -u vpopmail`
# VPOPMAILGUID=`id -g vchkpw`
if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" -o -z "$LOCAL" 
]; then
   echo QMAILDUID, NOFILESGID, MAXSMPTD, or LOCAL is unset in
   echo /var/qmail/supervise/qmail-smtpd/run
   exit 1
fi
if [ ! -f /var/qmail/control/rcpthosts ]; then
   echo "No /var/qmail/control/rcpthosts!"
   echo "Refusing to start SMTP listener because it'll create an open 
relay"
   exit 1
fi
exec /usr/local/bin/softlimit -m 500 /usr/local/bin/tcpserver -v -R -l 
"$LOCAL" -x /home/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" -u "$QMAILDUID" - 
g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd  2>&1

Thanks for your help,
rick



Re: [vchkpw] AppleMail "Password Fail" in syslog

2003-09-22 Thread Oden Eriksson
måndagen den 22 september 2003 17.48 skrev Patrick Pittman:
> > On Friday, September 19, 2003, at 09:01  PM, Rick van Vliet wrote:
> >> I have several user on a small vpopmail domain, that seem to be able
> >> to send and get mail fine.
> >> However, AppleMail (OSX 10.2) seems to leave a "vchkpw: password fail
> >> [EMAIL PROTECTED]"
> >> (Using password authentication on the Mac client end)
> >>
> >> Wondering if someone has thoughts on why I'm getting that fail,
> >> despite the user being able to send/retrieve?
> >
> > I use Apple Mail without any problem...
> >
> > What version of vpopmail are you using, and where do you see the
> > "password fail" error?  Is this when picking up mail, or sending with
> > SMTP AUTH?
>
> I also get this error on POP authentication with my Apple Mail users,
> currently using 5.3.24 but has been consistent through versions over the
> last year. The mail comes in fine, and they get no error on their end, only
> in the logs.


I (co)manage a system where apple people say apop auth fails or something like 
that. I looked in the code but couldn't find any apop in there, I seem to 
remember apop was removed?

I was stupid using a patch that claimed apop capa in qmail-popup and 
qmail-pop3d, but removed it. Is it so that apple mail clients autoconfigure 
when the account is setup, but cannot reconfigure, or is it simply a human 
error? 

Using v5.3.27.

-- 
Regards // Oden Eriksson, Deserve-IT.com




Re: [vchkpw] AppleMail "Password Fail" in syslog

2003-09-22 Thread Patrick Pittman
> On Friday, September 19, 2003, at 09:01  PM, Rick van Vliet wrote:
>> I have several user on a small vpopmail domain, that seem to be able
>> to send and get mail fine.
>> However, AppleMail (OSX 10.2) seems to leave a "vchkpw: password fail
>> [EMAIL PROTECTED]"
>> (Using password authentication on the Mac client end)
>> 
>> Wondering if someone has thoughts on why I'm getting that fail,
>> despite the user being able to send/retrieve?
> 
> I use Apple Mail without any problem...
> 
> What version of vpopmail are you using, and where do you see the
> "password fail" error?  Is this when picking up mail, or sending with
> SMTP AUTH?

I also get this error on POP authentication with my Apple Mail users,
currently using 5.3.24 but has been consistent through versions over the
last year. The mail comes in fine, and they get no error on their end, only
in the logs. 

Errors just look like:

Jul 17 16:44:01 papercutmedia vpopmail[15850]: vchkpw: password fail
[EMAIL PROTECTED]:203.59.125.225

Using a heavily modified Redhat 7.3.

Interestingly, I always get one of these the first time I POP into an
account (any vpopmail account) using MS Entourage on OS X. But Entourage
actually returns an auth error. Then I pop again and it's fine forever more
(with no error in the logs) - could be separate issue but might be helpful!

Regards,
Patrick Pittman
Papercut Media

(sorry for double post to tom, accidentally didn't reply to list)




Re: [vchkpw] AppleMail "Password Fail" in syslog

2003-09-22 Thread Tom Collins
On Friday, September 19, 2003, at 09:01  PM, Rick van Vliet wrote:
I have several user on a small vpopmail domain, that seem to be able 
to send and get mail fine.
However, AppleMail (OSX 10.2) seems to leave a "vchkpw: password fail 
[EMAIL PROTECTED]"
(Using password authentication on the Mac client end)

Wondering if someone has thoughts on why I'm getting that fail, 
despite the user being able to send/retrieve?
I use Apple Mail without any problem...

What version of vpopmail are you using, and where do you see the 
"password fail" error?  Is this when picking up mail, or sending with 
SMTP AUTH?

--
Tom Collins
[EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/



[vchkpw] AppleMail "Password Fail" in syslog

2003-09-19 Thread Rick van Vliet
Hi ,
I have several user on a small vpopmail domain, that seem to be able to 
send and get mail fine.
However, AppleMail (OSX 10.2) seems to leave a "vchkpw: password fail 
[EMAIL PROTECTED]"
(Using password authentication on the Mac client end)

Wondering if someone has thoughts on why I'm getting that fail, despite the 
user being able to send/retrieve?

Thanks,
Rick