Date: Fri, 28 Jul 2000 01:54:04 +0200 From: "Simon Nielsen" <simon@dkik.dk> To: <freebsd-questions@FreeBSD.ORG> Subject: imapd-wu and ./Mailbox Message-ID: <000201bff86c$6d1f7dc0$6627eac2@dkik.dk>
index | next in thread | raw e-mail
Hello
I'm trying to store user mail in ~/Mailbox. I'm using QMail as mailserver
and it delivers the mail correctly to ~/Mailbox, but when I try to get mail
with wu-imapd 4.7c (from the newest port) I won't read from there. I have
patched it as suggested in the imapd documentation (see patch below), and I
the patch is being applyed.
When I make a symlink from /var/mail/<user> to /home/<user>/Mailbox I can
get mail, but then imapd complains a lot about /var/mail/<user> not being a
real file (i guess because it can lock the file correctly).
I'm using FreeBSD 4.0-RELEASE.
What do I need to do to make imapd use ./Mailbox?
[simon@nitro simon]$ cat /usr/ports/mail/imap-uw/patches/patch-nitro
--- src/osdep/unix/env_unix.c.orig Wed Jul 26 22:49:41 2000
+++ src/osdep/unix/env_unix.c Wed Jul 26 22:45:23 2000
@@ -642,7 +642,8 @@
{
char tmp[MAILTMPLEN];
if (!sysInbox) { /* initialize if first time */
- sprintf (tmp,"%s/%s",MAILSPOOL,myusername ());
+ #sprintf (tmp,"%s/%s",MAILSPOOL,myusername ());
+ sprintf (tmp,"%s/Mailbox",myhomedir ());
sysInbox = cpystr (tmp); /* system inbox is from mail spool */
}
return sysInbox;
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000201bff86c$6d1f7dc0$6627eac2>
