[imp] sent-mail location
Will Aoki
waoki@umnh.utah.edu
Fri, 15 Feb 2002 19:58:43 -0700
On Fri, Feb 15, 2002 at 02:55:36PM -0700, Devin Atencio wrote:
>
> Today I upgraded my IMAP server from imap-uw v4.7 to the latest 2001a version.
> I noticed now when I log into horde::imp that the sent-mail is now located in my
> home directory rather than inside the mail directory inside my home directory.
> Any idea what happened or what I need to do to fix this?
I don't have a copy of imap-2001a for reference, but on my imap-4.7
installation I had to modify src/osdep/unix/env_unix.c (as detailed in
docs/CONFIG) to make the IMAP server default to the mail/ directory
for folders. Here's the relevant section of a diff:
diff -ur imap-4.7c.orig/src/osdep/unix/env_unix.c imap-4.7c/src/osdep/unix/env_unix.c
--- imap-4.7c.orig/src/osdep/unix/env_unix.c Fri Feb 15 19:18:04 2002
+++ imap-4.7c/src/osdep/unix/env_unix.c Fri Jan 25 11:43:17 2002
@@ -549,7 +549,9 @@
nslist[0] = &nshome,nslist[1] = &nsblackother,nslist[2] = &nsshared;
else { /* not a black box */
nslist[0] = &nshome,nslist[1] = &nsunixother,nslist[2] = &nsshared;
- myHomeDir = cpystr (home);/* use real home directory */
+ /* XXX umnh local change */
+ sprintf (tmp,"%s/mail",home);
+ myHomeDir = cpystr (tmp);
/* make sure user rc files don't try this */
blackBoxDir = blackBoxDefaultHome = "";
}
Probably you did this with 4.7 but forgot to on 2001a.
(Alternately, if you have no IMAP clients other than IMP, you could tell
IMP to use a folder prefix of 'mail/'.)
--
William Aoki waoki@umnh.utah.edu /"\ ASCII Ribbon Campaign
3B0A 6800 8A1A 78A7 9A26 BB92 \ / No HTML in mail or news!
9A26 BB92 6329 2D3E 199D 8C7B X
/ \