(1) I can log in, but I have no idea where the mail is. I can do an 'a examine inbox' (meaning 'inbox' exists, since 'a examine asdf' doesn't work), but where exactly is this inbox? The /var/mail directory doesn't exist, and there's no file on my file system called 'inbox'. 'a list "" *' seems to recursively list everything under my home dir.
(2) I'd like to migrate my existing mail store (mbox format) to this IMAP. From what I've read, it seems that UW-IMAP also stores its messages in mbox format. But there's also a program called tmail to inject messages into IMAP. Can I just copy over my existing mbox files to wherever IMAP stores the messages (see #1), or do I have to use tmail? If I need to use tmail, how does one manually use it? Do you just pipe mbox data into it?
(3) I would like to have mail coming from various POP accounts going into my IMAP mailboxes. I have learned how to use getmail; if I would like to use this with UW-IMAP, do I need to configure it to use tmail, or directly write to the mbox files? I've read somewhere about locking issues; is this the reason why tmail is needed?
(4) (This is more of an IMAP protocol question.) I glanced at the RFC for IMAP. Is there the concept of views/search folders/dynamic filters? It seems that the 'mailbox' concept is like a folder, in that a message can only belong to one. The closest thing I could find was the attribute, but it was intended for things like 'read', etc.; can this be used for the above purpose, or is IMAP not a good protocol to use for searching?
Thanks!!!
For anybody curious about my original problem, the Cygwin syslog is accessed via the Event Viewer. From that I determined the problems:
- the permissions on the /etc/xinetd.d/imap file - the CRLF line terminators in that file - the 'root' user doesn't exist on my system (had to use SYSTEM)
overbored wrote:
I'm trying to get an IMAP server running, and it seems my only option today is uw-imapd. The cygwin package for that is installed, and I created an 'imap' file under xinetd.d with the following:
# default: off
# description: The IMAP service allows remote users to access their mail using \
# an IMAP client such as Mutt, Pine, fetchmail, or Netscape \
# Communicator.
service imap
{
socket_type = stream
wait = no
user = root
server = /usr/sbin/imapd
log_on_success += HOST DURATION
log_on_failure += HOST
disable = no
}
But I cannot make any connection to localhost:143 (nothing listening). I can connect to the other xinetd services fine (ftp), just not this one, and I've checked that 'imap' was in /etc/services. I've done a ton of searching to get where I am, but now I'm at a dead end. Any ideas?
Another thing...how easy is it to configure UW-IMAP? From what I've read, it seems that *everything* is configured in the source or Makefile (no conf files, etc.). And if I'm not mistaken, UW-IMAP does not directly support Cygwin, and had to be ported over. However, /usr/share/doc/Cygwin/uw-imap-2002e.README says the author (Abraham Backus) further modified it from what's on http://sourceforge.net/projects/uw-imap-cygwin/, so what exactly should I be modifying? The canonical homepage just points to the original UW-IMAP site. I looked for but didn't find any personal website of Abraham Backus.
Please let me know if any further info is needed. Thanks in advance!
