Date: Fri, 28 Jul 2000 16:34:59 +0300 From: "Giorgos Keramidas" <keramida@ceid.upatras.gr> To: "Sam Carleton" <scarleton@miltonstreet.com>, "FreeBSD Questions" <freebsd-questions@FreeBSD.org> Subject: RE: qmail and setting up mailboxs Message-ID: <NEBBKKFCGLCOKOEIADGKEEFDCBAA.keramida@ceid.upatras.gr> In-Reply-To: <3981881A.90569B52@miltonstreet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Sam Carleton wrote: >=20 > Alan Clegg wrote: >=20 > > Out of the ether, Sam Carleton spewed forth the following bitstream: > > > > > First off, I am assuming that ~user/Mailbox is refering to the = file > > > /var/qmail/user/Mailbox. > > > > No, with shell expansion, ~user/Mailbox is a file in user's home = directory > > called Mailbox. >=20 > Alan, Actually, a "folder" is not what you would expect /var/mail/user to be. A "folder" in the DOS world means a directory in the Unix world. However /var/mail/user is not a directory, but a file. It is called a folder, because it contains several mail messages, = concatenated one after the other. Apart from the fact that it can contain more than = one mail message, it is a regular file. All you need to do is something like: # cd /var/mail # for fname in * ;do cd /home/$fname mv /var/mail/$fname ./Mailbox done This moves every file called USER in /var/mail to ~USER/Mailbox and that's all you have to do :-) Ciao, Giorgos. 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?NEBBKKFCGLCOKOEIADGKEEFDCBAA.keramida>