From owner-freebsd-questions Thu Sep 21 16:44:23 2000 Delivered-To: freebsd-questions@freebsd.org Received: from atlas.usls.edu (atlas.usls.edu [202.47.133.46]) by hub.freebsd.org (Postfix) with ESMTP id 4CAE037B422 for ; Thu, 21 Sep 2000 16:44:21 -0700 (PDT) Received: by atlas.usls.edu (Postfix, from userid 1001) id CFD3CD939; Fri, 22 Sep 2000 07:44:19 +0800 (PHT) Received: from localhost (localhost [127.0.0.1]) by atlas.usls.edu (Postfix) with ESMTP id C7CB99B80 for ; Fri, 22 Sep 2000 07:44:19 +0800 (PHT) Date: Fri, 22 Sep 2000 07:44:19 +0800 (PHT) From: "Francis A. Vidal" To: FreeBSD Questions Subject: Default IMAP INBOX to $HOME/Mailbox Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi all, I've created a patch (from one of the tutorials online) for IMAP 4.7c2 to make the default INBOX to $HOME/Mailbox rather than /var/mail/: --- src/osdep/unix/env_unix.c.orig Thu Sep 21 22:56:39 2000 +++ src/osdep/unix/env_unix.c Thu Sep 21 22:57:02 2000 @@ -642,7 +642,7 @@ { char tmp[MAILTMPLEN]; if (!sysInbox) { /* initialize if first time */ - sprintf (tmp,"%s/%s",MAILSPOOL,myusername ()); + sprintf (tmp,"%s/%s",myHomeDir,"/Mailbox"); sysInbox = cpystr (tmp); /* system inbox is from mail spool */ } return sysInbox; This patches cleanly on my system but IMAP still reads the INBOX from /var/mail/! I've also tried the suggestion from the IMAP documentation but that also failed. -- francis vidal university of st. la salle, bacolod city, philippines . . . . . . . PGP key available via e-mail / subject: get PGP key u s l s N E T tel nos. (+63.34).433.3526 / fax (+63.34).434.0415 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message