If you want to use a directory different from the home directory, then
just rewrite routine mymailboxdir() to do what you want, e.g.

static char *mymailboxdir ()
{
  unsigned long flags;
  char *user = myusername_full (&flags);
                                /* initialize if first time and logged in */
  if (!myMailboxDir && (flags & MU_LOGGEDIN)) {
    char tmp[MAILTMPLEN];
    sprintf (tmp,"/data/mail/%s",myusername ());
    myMailboxDir = cpystr (tmp);/* use subdirectory of /data/mail */
  }
  return myMailboxDir ? myMailboxDir : "";
}


Do not use the black box stuff.  It will not do what you want.

-- Mark --

http://staff.washington.edu/mrc
Science does not emerge from voting, party politics, or public debate.
Si vis pacem, para bellum.

Reply via email to