Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Jul 2000 14:52:32 +0100
From:      Fergal Daly <fergal@esatclear.ie>
To:        "ganizani" <ganizani@malawi.net>, <freebsd-isp@freebsd.org>, "Randall Gellens" <randy@qualcomm.com>
Cc:        <freebsd-questions@freebsd.org>, <qpopper@lists.pensive.org>
Subject:   Re: Can't POP mail
Message-ID:  <4.3.2.7.0.20000715145102.00b39b00@pop.esatclear.ie>
In-Reply-To: <184691625869183658154@lists.pensive.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At 14:43 15/07/00, ganizani wrote:
>I might be asking too much but I have a problem here. Most of the mailboxes
>have
>wrong ownership.
>I am running FreeBSD-4.0. I believe that this is because when the users were
>transfered
>from the old system we were three of us adding them to the new system from
>different terminals and
>some of the info was not entered correctly.
>
>Could someone provide a script that could rectify this problem for me. i.e.
>set the ownership of each
>/var/mail/user to user.


cd /var/mail
ls | perl -ne 'chomp; system "chown $_ $_" '


should do the trick

Fergal




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.3.2.7.0.20000715145102.00b39b00>