Creating a mailbox in /var/spool/mail for Mutt


Results 1 to 4 of 4

Thread: Creating a mailbox in /var/spool/mail for Mutt

  1. #1
    Join Date
    Nov 2002
    Location
    LA, CA
    Posts
    21

    Creating a mailbox in /var/spool/mail for Mutt

    Hey guys, it's been a while since I've posted/browsed here...but I've got a laptop running Slackware so..I'm back!

    I'm trying to configure Mutt with a single-user POP3 connection, and when I start up mutt, it tells me that:

    /var/spool/mail/morawski: No such file or directory (errno = 2)

    How can I create a mailbox? I tried using getmail_mbox but I don't know what I'm doing.

    Any wise words?
    ~morawski

    Also, I'm using procmail and getmail with mutt.
    Sorry.

  2. #2
    Join Date
    Nov 2002
    Location
    LA, CA
    Posts
    21
    Did I leave out some pertinent information or is everyone as mystified as I am? :P

    I believe I've properly set up procmail, sendmail, and maybe getmail (though I think getmail creates the mail file in /var/mail -> /var/spool/mail)

    So yeah..if anyone has any information that would be great.

    ~morawski

    EDIT: While trying to do some research of my own, I found this link

    http://lists.ubuntu.com/archives/ubu...er/010894.html

    It states that the /var/mail/$USERNAME will not be created until the user receives mail.

    However, when I try to getmail (using the `getmail` command with no options), the output is as follows:

    Code:
    getmail version 4.2.5
    Copyright (C) 1998-2004 Charles Cazabon.  Licensed under the GNU GPL version 2.
    SimplePOP3Retriever:<myactualemailadress@mydoman.xyz>:110:
    Enter password for SimplePOP3Retriever:<again@uhhuh.xyz>:110:
      0 messages retrieved, 0 skipped
    However, I know that I have mail because I checked it using Outlook Express on a PC box.
    Last edited by morawski; 05-13-2005 at 12:45 AM.
    Sorry.

  3. #3
    Join Date
    May 2001
    Location
    Manchester, UK
    Posts
    382
    try creating an empty file?:

    touch /var/spool/mail/morawski

    ?

  4. #4
    Join Date
    Dec 2003
    Posts
    184
    Post your getmail config and make sure you edit out our usename and password. I use get mail on both my boxes and havent had a single problem with it. Also i have found that if i check my email with outlook before i check with getmail. Outlook downloads and deletes any mail on the server or it sets it to old mail adn getmail doesnt check it. If i remember right get mail has an option to get all mail instead of just new mail.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •