On Sun, 13 Aug 2006, Mark Crispin wrote:
On Sun, 13 Aug 2006, Dan Mahoney, System Admin wrote:
correct me if I'm wrong, to get mail to be read from ~/.mail, all I should
need is:
sprintf (tmp,"%s/.mail",myhomedir ());
on line 833 instead of the current line, yes? (assuming imap 2004g)
Assuming that mail is delivered to file .mail in the user's home directory,
that change is correct.
Have you verified that file .mail exists in the user's home directory, and
that it contains messages?
Failing that, is there a "debug mode" I can run this thing in?
The easiest test is to run the mtest program, in the same build (make sure
that you're not running some other mtest binary!) as your patched ipop3d. Be
sure that you are logged in as the user that you want to test. Enter "INBOX"
to the mailbox prompt. What are the results?
$ ./mtest
MTest -- C client test program
Debug protocol (y/n)?y
Mailbox ('?' for help): ?
Enter INBOX, mailbox name, or IMAP mailbox as {host}mailbox
Known local mailboxes:
/ .cshrc, no inferiors, unmarked
/ .login, no inferiors, unmarked
/ .login_conf, no inferiors, unmarked
/ .mailrc, no inferiors, unmarked
/ .profile, no inferiors, unmarked
/ .shrc, no inferiors, unmarked
/ .mail_aliases, no inferiors, unmarked
/ .rhosts, no inferiors, unmarked
/ builds, no select
/ .ssh, no select
/ etc-safe.tar.gz, no inferiors, unmarked
/ error_log, no inferiors, unmarked
/ certs.tar.gz, no inferiors, unmarked
/ .mail, no inferiors, unmarked
NIL INBOX, no inferiors
or just hit return to quit
Mailbox ('?' for help): inbox
Mon, 14 Aug 2006 01:36:33 -0400 (EDT)
dummy mailbox: inbox, 0 messages, 0 recent
MTest>
Any ideas?
-Dan
Ignore any "warning: this program uses gets(), which is unsafe." messages.
For example, here are a couple of runs.
% mtest
MTest -- C client test program
Debug protocol (y/n)?n
Mailbox ('?' for help): inbox
Sun, 13 Aug 2006 12:03:17 -0700 (PDT)
unix mailbox: /var/mail/test, 20 messages, 0 recent
MTest>
% mtest
MTest -- C client test program
Debug protocol (y/n)?n
Mailbox ('?' for help): inbox
Sun, 13 Aug 2006 12:05:08 -0700 (PDT)
dummy mailbox: inbox, 0 messages, 0 recent
MTest>
-- Mark --
http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.
--
<Zaren> Christ almighty... my EYES! They're melting!
-Zaren, Efnet #macintosh, in response to:
www.geocities.com/CollegePark/Classroom/1944
The WEBSITE DESIGN class that gave my fiancee a D.
--------Dan Mahoney--------
Techie, Sysadmin, WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144 AIM: LarpGM
Site: http://www.gushi.org
---------------------------
_______________________________________________
Imap-uw mailing list
[email protected]
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw