Skip site navigation (1)Skip section navigation (2)
Date:      20 Aug 2001 07:46:41 -0000
From:      Jan Srzednicki <winfried@dream.vg>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/29892: pw user add + qmail problem
Message-ID:  <20010820074641.1556.qmail@ikar.pl>

next in thread | raw e-mail | index | archive | help

>Number:         29892
>Category:       bin
>Synopsis:       pw user add + qmail problem
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 20 00:50:02 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Jan Srzednicki
>Release:        FreeBSD 4.4-PRERELEASE i386
>Organization:
MPS
>Environment:
System: 
FreeBSD ikar.pl 4.4-PRERELEASE FreeBSD 4.4-PRERELEASE #1: Tue Aug 7 14:41:13 CEST 2001

sources cvsupped recently.

	
>Description:

When delivering locally, qmail checks whether recipients home dir exists and 
is owned by the user. If not it returns a non-existing account error. 
When pw is set to send welcome greetz email to the new user and to create his 
homedir, it first sends the email (which is bounced by qmail, becouse the
homedir doesn't exist yet) and then creates the homedir.
	
>How-To-Repeat:

Configure pw to send welcome greetings email and create user's directory 
by "pw user add" command.
qmail will then return a permanent error and bounce the mail back to root.
	
>Fix:

Put the homedir creation code before mail sending code in 
/usr/src/usr.sbin/pw/pw_user.c
	
>Release-Note:
>Audit-Trail:
>Unformatted:

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?20010820074641.1556.qmail>