Re[2]: Mail::Box 2.054 POP3 issues

Jason Woodward <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.mail-box
Message-ID <[email protected]>
> The fixes you suggest may solve these complaints, but are only silencing
> effects of some other problem.	If the cause is fixed, your patches only
> complicate the module.

Right.  Like I said, I was actually trying to find out why the pop3 auth issue was occurring
and this was in the way.  I understand it is fixing a symptom, but adding a call to
UNIVERSAL::can is hardly complicating the module... especially when the method isn't getting
the object's it is expecting to begin with.


>  - where does this '-e' come from?  From the command-line?

From mod_perl (you are quoting logs I included in the initial email I sent you directly which
where from apache).  The output from the test script included in the previous email does not
produce this output. 


Ok, running the test script (from the previous email) produces the following output:

### output
opening initial connection
closing all folders
opening pop3 again
ERROR: Could not authenticate using any login method
ERROR: Cannot create POP3 client for /var/mail/root*.
WARNING: Folder does not exist, failed opening pop3 folder /var/mail/root*.
### end output
*The folder here "/var/mail/root" is coming from the env (like the docs specify, assuming as a
fallback mechanism)

The pop3 logs show:

### log
Apr  2 11:02:36 MAILHOST ipop3d[23357]: pop3 service init from MAILCLIENTIP
Apr  2 11:02:36 MAILHOST ipop3d[23357]: Login user=MAILUSER host=MAILCLIENT [MAILCLIENTIP]
nmsgs=93/93
Apr  2 11:02:36 MAILHOST ipop3d[23357]: Logout user=MAILUSER host=MAILCLIENT [MAILCLIENTIP]
nmsgs=93 ndele=0
Apr  2 11:02:36 MAILHOST ipop3d[23358]: pop3 service init from MAILCLIENTIP
Apr  2 11:02:36 MAILHOST ipop3d[23358]: Login user=MAILUSER host=MAILCLIENT [MAILCLIENTIP]
nmsgs=93/93
Apr  2 11:02:38 MAILHOST ipop3d[23359]: pop3 service init from MAILCLIENTIP
Apr  2 11:02:38 MAILHOST ipop3d[23359]: Trying to get mailbox lock from process 23358
Apr  2 11:02:52 MAILHOST ipop3d[23359]: Mailbox is open by another process, access is readonly
Apr  2 11:02:52 MAILHOST ipop3d[23359]: Error opening or locking INBOX user=MAILUSER
host=MAILCLIENT [MAILCLIENTIP]
Apr  2 11:02:52 MAILHOST ipop3d[23359]: Login user=MAILUSER host=MAILCLIENT [MAILCLIENTIP] no
mailbox
Apr  2 11:02:52 MAILHOST ipop3d[23359]: Expunge ignored on readonly mailbox
Apr  2 11:02:52 MAILHOST ipop3d[23359]: Logout user=MAILUSER host=MAILCLIENT [MAILCLIENTIP]
nmsgs=93 ndele=0
Apr  2 11:02:52 MAILHOST ipop3d[23358]: Logout user=MAILUSER host=MAILCLIENT [MAILCLIENTIP]
nmsgs=93 ndele=0
### end log

So is manager->closeAllFolders() not actually closing and releasing the connection?


take care,
jason
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.