Subject: suggestion for imapd

From: [email-masked] (Simon Barnes)
Date: 1 Aug 1994 15:57:00 GMT

Some sites deliver mail to home directories, rather than the system default
of /var/spool/mail/username or whatever.  Imapd seems to cope with this well
enough but ipop3d does not.  I suggest a change a bit like this in the function
myusername, part of env_unix.c:

myHomeDir = cpystr (pw->pw_dir);
#ifdef HOME_DELIVERY
  sprintf(tmp, MAILFILE, myHomeDir);
#else
  sprintf(tmp, MAILFILE, myUserName);

the intention being that if HOME_DELIVERY is defined, MAILFILE will be a sprintf
template for mailboxes located in home directories.

Simon Barnes
Geco-Prakla, Gatwick