Re: [SLUG] .procmailrc/.muttrc conflict ?

From: Jeff Waugh (jdub_at_perkypants.org)
Date: 07/26/03

  • Next message: Johnny: "sqwebmail vs. squirrelmail"
    Date: Sat, 26 Jul 2003 17:16:24 +1000
    To: Adam Bogacki <afb@paradise.net.nz>
    
    

    <quote who="Adam Bogacki">

    > > MAILDIR=$HOME/Mail
    > > DEFAULT=/var/spool/mail/adam

    Problem 1 ^

    > >set folder=~/Mail
    > >set mbox=~/Mail/IN.All
    > >set record=~/Mail/Sent
    > >set spoolfile=~/Mail/IN.All

    Problem 2 ^

    > You'll notice that .procmail uses Maildir to define a mailbox

    No, that's just a variable called MAILDIR. You're actually telling procmail
    to deliver to mboxes, and by default to an mbox called /var/spool/mail/adam.
    To tell procmail to deliver to Maildir, you must add a trailing slash. Like
    this:

      MAILDIR=$HOME/Maildir/

        ^ use "Maildir" because it's the standard name for Maildir storage in a
          user's home directory

      DEFAULT=$MAILDIR

        ^ because there's no point delivering mail to an mbox in /var/spool if
          you want your mail in Maildir format

    > , yet when I uncomment the Maildir lines in the .muttrc, I get the error
    > message that "Maildir is not a mailbox".

    Makes sense, considering the above. Here's what I do (and yeah, I really
    should update my perkypants dotfiles):

    Selected settings from ~/.procmailrc:

      MAILDIR=$HOME/Maildir/
      DEFAULT=$MAILDIR

    Selected settings from ~/.muttrc:

      set mbox_type=Maildir
      set mbox=~/Maildir/
      set folder=~/Maildir/
      set record="~/Maildir/.Sent/"
      set spoolfile=~/Maildir/

    - Jeff

    -- 
    Get Informed: SCO vs. IBM                            http://sco.iwethey.org/
     
      "Whoever wrote [the Twisted documentation] uses a vivid and interesting
             style of prose which triggers pleasure." - Francois Pinard
    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Johnny: "sqwebmail vs. squirrelmail"

    Relevant Pages

    • Re: maildirmake
      ... >> I am faced with the daunting choice of mbox versus maildirs. ... after you set up the procmail script and setup either ... > you have made a maildir ... Upon installing getmail there was a configuration message basically saying ...
      (Debian-User)
    • Re: Procmail recipes
      ... > I'm having great problems trying to adapt my procmail for mbox recipes ... > to work the maildir folders. ... Without the trailing slash Procmail ... will store in mbox format. ...
      (Fedora)
    • Re: maildirmake
      ... this allows you to do mbox or maildir. ... > the daunting choice of mbox versus maildirs. ... after you set up the procmail script and setup either ... start learning Mutt and use it to create maildir targets; ...
      (Debian-User)
    • RE: MUA Filters vs Procmail filters[was] RE: Mailing list procmailrecipe
      ... > Maildir format? ... > Use tar to archive Maildir or mbox. ... get procmail to just put the correct mails in the correct folder. ...
      (Fedora)
    • Re: dovecot mailserver, switching from mbox to maildir
      ... to handle the Maildir instead of the mbox for POP3/IMAP serving. ... Something like that instructs Procmail to deliver as Maildir instead ... The google search from above will give you as first hit a small script ...
      (Fedora)