Date: Tue, 30 Jan 2001 22:40:05 -0800 (PST) From: Alex Kapranoff <kapr@acm.org> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/24742: adduser sequences wrongly for Maildirs Message-ID: <200101310640.f0V6e5b21361@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/24742; it has been noted by GNATS. From: Alex Kapranoff <kapr@acm.org> To: roelof@eboa.com Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: bin/24742: adduser sequences wrongly for Maildirs Date: Wed, 31 Jan 2001 09:21:17 +0300 On Tue, Jan 30, 2001 at 10:01:09PM +0100, root@nl.nisser.com wrote: > > >Number: 24742 > >Category: bin > >Synopsis: send adduser.message before dirs are created > >Description: > > when using adduser in a setting where Maildirs are used the complementary > adduser.message can not be delivered since it gets send before the > actual userdirs have been created and filled from skeleton. Hence > postfix, in my case, will complain. Applying this patch in /usr/src/usr.sbin/adduser/ should fix it for some values of 'fix': --- /usr/src/usr.sbin/adduser/adduser.perl Thu Dec 14 22:12:25 2000 +++ adduser.perl Wed Jan 31 09:14:00 2001 @@ -711,9 +711,9 @@ &new_users_pwdmkdb("$new_entry"); &new_users_group_update; &new_users_passwd_update; print "Added user ``$name''\n"; - &new_users_sendmessage; &adduser_log("$name:*:$u_id:$g_id($group_login):$fullname"); &home_create($userhome, $name, $group_login); + &new_users_sendmessage; } else { $new_users_ok = 0; } -- Alex Kapranoff, Voice: +7(0832)791845 We've lived 30 days in the brand new millenium... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101310640.f0V6e5b21361>