[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problem with /var/mail and procmail



Am 2004-09-27 12:00:38, schrieb Francisco Castillo:
> 
> Hello,
> 
> I has a server with debian woody + postfix + amavis + procmail to local
> delivery
> 
> Yesterday i decide to move /var/mail folder to /mnt/var/mail where i has
> another partition but this has caused to stop working my mail system.
> 
> In order to do this i do
> 
> cp /var/mail/* /mnt/var/mail
> mv /var/mail /var/mail_back
> cd /var ; ln -s /mnt/var/mail mail

Why do you do that ?
Better is:

mount <new_partiotion/ /mnt
cp /var/mail/* /mnt
umount /mnt
mount <new_partition> /var/mail

My OLD mailserver has:

hda1       250 MB       /
hda2       250 MB       SWAP
hda3     1.000 MB       /tmp
hda5       500 MB       /usr
hda6       250 MB       /var
hda7     1.250 MB       /var/log
hda8    76.000 MB       /var/mail

This works quiet well... and you can LVM hda8 how you want.

> Thanks in advance.
> Francisco Castillo.

Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/ 
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature


Reply to: