Date: Sat, 7 Sep 2002 14:11:26 +0200 (CEST) From: Tilman Linneweh <tilman@arved.de> To: FreeBSD-gnats-submit@FreeBSD.org Cc: tilman@arved.de, kde@FreeBSD.org Subject: ports/42503: kuser tries to create the wrong Mailbox Message-ID: <200209071211.g87CBQNS081166@sauna.arved.de>
next in thread | raw e-mail | index | archive | help
>Number: 42503 >Category: ports >Synopsis: kuser tries to create the wrong Mailbox >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Sep 07 05:20:06 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Tilman Linneweh >Release: FreeBSD 4.6-STABLE i386 >Organization: BSD Usergroup Austria >Environment: System: FreeBSD sauna.arved.de 4.6-STABLE FreeBSD 4.6-STABLE #0: Sun Jul 7 20:02:41 CEST 2002 tilman@sauna.arved.de:/usr/obj/usr/src/sys/SAUNA i386 >Description: While looking at the kuser problem posted to the freebsd-kde list, I discovered this bug. FreeBSD's sendmail default installation doesn't store mail in /var/spool/mail, but in /var/mail. I took _PATH_MAILDIR from paths.h. >How-To-Repeat: >Fix: --- patch-kuser-globals.h begins here --- --- kuser/globals.h.orig Sat Sep 7 12:16:41 2002 +++ kuser/globals.h Sat Sep 7 12:29:37 2002 @@ -16,8 +16,6 @@ #define KU_BACKUP_EXT ".bak" -#define MAIL_SPOOL_DIR "/var/spool/mail" - #if defined(__FreeBSD__) || defined(__bsdi__) #undef HAVE_SHADOW #include <pwd.h> @@ -40,6 +38,12 @@ #define GRMKDB "cd /var/yp; make 2>&1 >> /var/log/kuser" #define SKELDIR "/etc/skel" #define SKEL_FILE_PREFIX "" +#endif + +#if defined(__FreeBSD__) + #define MAIL_SPOOL_DIR _PATH_MAILDIR +#else + #define MAIL_SPOOL_DIR "/var/spool/mail" #endif extern KConfig *config; --- patch-kuser-globals.h ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209071211.g87CBQNS081166>