From owner-freebsd-questions Sat Jan 20 6:45:15 2001 Delivered-To: freebsd-questions@freebsd.org Received: from post.mail.nl.demon.net (post-11.mail.nl.demon.net [194.159.73.21]) by hub.freebsd.org (Postfix) with ESMTP id E95CF37B402 for ; Sat, 20 Jan 2001 06:44:57 -0800 (PST) Received: from [212.238.77.116] (helo=willow.raggedclown.intra) by post.mail.nl.demon.net with smtp (Exim 3.14 #4) id 14JzGC-000Fqj-00; Sat, 20 Jan 2001 14:44:57 +0000 Received: from buffy.raggedclown.net (btvs.demon.nl [192.168.1.2]) by willow.raggedclown.intra (Postfix) with ESMTP id EDA595BAE; Sat, 20 Jan 2001 15:43:47 +0100 (CET) Received: by buffy.raggedclown.net (Postfix on SuSE Linux 7.0 (i386), from userid 500) id 24D0612C37; Sat, 20 Jan 2001 12:35:01 +0100 (CET) From: Cliff Sarginson Date: Sat, 20 Jan 2001 12:34:59 +0100 X-Mailer: KMail [version 1.1.99] Content-Type: text/plain; charset="US-ASCII" To: Bart Pustjens , questions@FreeBSD.ORG References: In-Reply-To: Subject: Re: moving /var/mail/userbox /home/user/userbox MIME-Version: 1.0 Message-Id: <01012012345902.01091@buffy> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Saturday 20 January 2001 13:15, Bart Pustjens wrote: > Hi! > > For several reasons I want to move the mail account > from one user to his home dir. I moved the file > from /var/mail to /home/user and made a symbolic > link (ln -s /home/user/userbox /var/mail/userbox). > The file userbox in /home/user/ has (ofcourse?) the > rights of the user (and the group of the user). > But for some weird reason sendmail gives an error > when accepting mail for this user: > > ... while talking to local: > >>> DATA > > <<< 550 5.2.0 /var/mail/userbox: irregular file > 554 ... Service unavailable > > What did I do wrong ? Well it simply sounds like sendmail doesn't resolve symbolic links for mail box names. Maybe it just does an (f)stat on the file and see it is not a normal file. Just a suggestion Cliff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message