Bogus mailboxes when symlinked
Hi, I use procmail v3.21 and the mailboxes are in /var/spool/mail, but the free space on this partition is almost 0, I tried to moved some mailboxes to another filesystem, /var/spool/mail2, and make symbolic links to them in /var/spool/mail but when an email arrives it create a file and overwrite the link, I read the man pages for procmail and they said that no links are permitted.
For the mails that i symlinked to /var/spool/mail i create a .procmailrc file with the DEFAULT var pointing to /var/spool/mail2 on the HOME of the users that I moved, actually the mail is deliver to /var/spool/mail2 but when a new email arrives overwrite the link with a file $LOGNAME with 0 bytes so i can't read it even when it exist on the other file system (/var/spool/mail2). How can i read the mailbox directly from /var/spool/mail2 and not from a symlink in /var/spool/mail.
I don't know what else to do I tried to make LVM but the kernel that i use don't permit LVM.
Any suggestion?
Thanks in advance.
|