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?
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.
_______________________________________________
Imap-uw mailing list
[email protected]
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw