Re: sendmail imap mailbox location

From: Chan Min Wai (dcmwai_at_pl.jaring.my)
Date: 06/08/04

  • Next message: ne...: "Re: yum update question"
    Date: Tue, 08 Jun 2004 19:58:37 +0800
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    Nina Pham wrote:
    > Hi, By default, imap mailboxes are located at
    > /var/spool/mail/user-mailboxes. I'd like to change to another location
    > so each user can access to his own mailbox (e.g., /imapMail/ninamailbox
    > for nina, /imapMail/tommailbox for Tom, etc...) What file should I edit?
    > Thanks. By the way, I'm using FC2
    >
    > Nina
    >
    >
    This is actually my procmailrc to work sendmail with Maildir,

    There seem to be a bug here somehow where, Some of the message content
    will be missing (it is rarely happen) :)

    # /etc/procmailrc
    # Setup procmail for imap-maildirs
    # MrDev 2704 2001 - Created
    # MrDev 0305 2001 - Added support for /var/spool/imap/*
    # MrDev 2806 2001 - Moved maillogs to /var/log/imap/
    # MrDev 2303 2002 - Added some comments

    VERBOSE=off

    # convert mimed mail to plain text
    :0
    * ^Content-Type: *text/plain
    {
        :0 fbw
        * ^Content-Transfer-Encoding: *quoted-printable
        | mimencode -u -q

            :0 Afhw
            | formail -I "Content-Transfer-Encoding: 8bit" -I
    "X-Mimed-Autoconverted: quoted-printable to 8bit by procmail"

        :0 fbw
        * ^Content-Transfer-Encoding: *base64
        | mimencode -u -b

            :0 Afhw
            | formail -I "Content-Transfer-Encoding: 8bit" -I
    "X-Mimed-Autoconverted: base64 to 8bit by procmail"
    }

    # Spool to homedir :
    MAILDIR=$HOME/Maildir/

    # Spool to /var/spool/imap :
    #MAILDIR=/var/spool/imap/$LOGNAME/Maildir/

    # Common stuff:
    DEFAULT=$MAILDIR
    # Logfiles can be useful for debugging:
    #LOGFILE=$MAILDIR.maillog
    LOGFILE=/var/log/imap/$LOGNAME.log
    # Microsoft clients who doesn't obey RFC's may require locking:
    #LOCKFILE=$MAILDIR.lockmail
    # Just in case mail can't be delivered to users Maildir, spool it here:
    ORGMAIL=/var/spool/mail
    # End of /etc/procmailrc

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: ne...: "Re: yum update question"

    Relevant Pages

    • Re: Mail Configuration
      ... This was a rough draft that "got away" because of the cron job that ... I want fetchmail to download the mail to a spool where ... >> procmail can then copy the mail to all users. ... >> Now, I can run fetchmail, but it brings the mail into a spool for the user ...
      (comp.os.linux.setup)
    • Mail Configuration
      ... The family uses a single machine and shares a common POP account. ... I want fetchmail to download the mail to a spool where ... procmail can then copy the mail to all users. ... Now, I can run fetchmail, but it brings the mail into a spool for the user ...
      (comp.os.linux.setup)
    • Re: Mail Configuration
      ... >> The family uses a single machine and shares a common POP account. ... I want fetchmail to download the mail to a spool where ... >> procmail can then copy the mail to all users. ... >> Now, I can run fetchmail, but it brings the mail into a spool for the user ...
      (comp.os.linux.setup)
    • Configure Mail
      ... The family uses a single machine and shares a common POP account. ... I want fetchmail to download the mail to a spool where ... procmail can then copy the mail to all users. ... Now, I can run fetchmail, but it brings the mail into a spool for the user ...
      (alt.linux)
    • Re: [Newbie] Configure Mail for Multiple users
      ... The family uses a single machine and shares a common POP account. ... Now, I can run fetchmail, but it brings the mail into a spool for the user ... store the messages in a spool where procmail doesn't have trouble ...
      (alt.linux)