Re: Need Help Configuring LAN for Email

From: Nigel Wade (nmw_at_ion.le.ac.uk)
Date: 10/06/04


Date: Wed, 06 Oct 2004 12:07:45 +0100

Mark Hobley wrote:

>> In message <a4ii22-jdd.ln1@charon.markhobley.yi.org>, Mark Hobley
>> <markhobley@hotpop.deletethisbit.com> writes
>> I want to be able to read the email held on the server from a remote
client
>> machine.
> I am now receiving mail on the server.
>
> The server uses retchmail to retrieve the email from the internet. Exim on
the
> server delivers mail to /home/mark/Mailbox on the server.
>
> I have installed courier-imap on the server from a Debian package. This
just
> installed and ran, it didn't ask me any questions, and I haven't done any
> configuration.

Courier reads maildir format mailboxes. That is, one message per file, with
messages stored in directories new/, cur/, tmp/ within each mailbox. The
default location is ~/Maildir, which is your inbox, with other mailboxes
being ~/Maildir/.folder.mailbox where .folder is an IMAP "directory" which
contains mailboxes and .folder.mailbox is a mailbox (i.e. real directory)
containing messages (i.e. new/,cur/,tmp/).

To get exim to deliver to this type of mailbox you use the appendfile
transport and specify "maildir_format" and set
directory=/home/$local_part/Maildir
assuming your home directory is in /home and your destination email address
is the same as your login id.

To deliver to other folders, in the relevent appendfile transport set
create_directory and directory=/home/$local_part/Maildir/.folder.mailbox

>
> From the client computer, I can telnet the server imap2 port. This gives
some
> sort of mail server session, so the imap server looks like it is running.
>
>> I want to use the "mutt" mail client on the remote machine.
>
> I have created a .muttrc file on the client computer as follows:
>
> set folder=imap://charon/Maildir
>
> (here charon is the name of the mail server as defined in /etc/hosts.)
>
> (This is what some people have advised. I have also tried:
> set folder=imap://charon/home/mark/Maildir but that didn't work either.)
>
> Do I need the /home/mark bit ?

I can't get the .muttrc folder=whatever to work, but I can get mutt to
connect to my imap server's default mailbox with the command:
$ mutt -f imap://our.mail.server/

To get to other mailboxes I can use the namespace as above:

mutt -f imap://our.mail.server/INBOX.folder.mailbox

-- 
Nigel Wade


Relevant Pages

  • Re: send email
    ... Yours, the *mail server*, presumably ... The client wants to be able to send ... server via one of two protocols, POP or IMAP. ...
    (alt.os.linux.redhat)
  • Re: What is the diff between "POP3", "IMAP" and "SMTP"?
    ... POP3 and IMAP are different Mail reader server protocols. ... multiple client machines with a consistent mail folder tree. ...
    (comp.os.linux.misc)
  • Re: Gmail or Thunderbird problem?
    ... What about IMAP is confusing? ... we don't back up client data unless they expressly want us to ... *shrug* the ISP's I've worked with here make backups of their email ... server because they can be driven out of business if they have a crash ...
    (Ubuntu)
  • Re: [SLE] imap -- what is it?
    ... > Its is basically a mail server that you can access your mail from any ... > compatible mail client. ... IMAP provides for services to store ... messages are not downloaded to your local computer. ...
    (SuSE)
  • Re: Mark: Heads-up on Alpine?
    ... Alpine works the same way that Pine does; it uses the native facilities of IMAP to build state in the client over the life of a session. ... All the mailbox data is kept on the server, and a copy of the mailbox is NOT kept on the client. ...
    (comp.mail.imap)