|
From: Jamie C. <jca...@we...> - 2006-06-23 22:58:46
|
On 23/Jun/2006 17:31 Marcos Rubinstein wrote .. > I have a server (actualy is a virtual server, but has its own webmin) > where I backup all mail from a client... The mail is saved for a very long > time, and to avoid huge mailbox files, once a week I run this script: > > ######################################################################## > > #!/bin/bash > > date=`date +%Y%m%d` > > mkdir /var/spool/mail$date > mv /var/spool/mail/* /var/spool/mail$date/ > > ######################################################################## > > (a companion script gzip all files inside any directory > than 2 month) > > My problem: > > Once in an associate of my client tells me that s/he lost a piece of mail, > or if I can check if fo...@ba... sent a mail 2 weeks ago... > > It would be convinient if I could access those > /var/spool/mail$date/usermailbox from webmin... but I can not... > > (I know... a possible solution would be to have "folders" --actually are > files, inside each users $HOME/mail in the form of $HOME/mail/mbox$date > , > but I would rather keep all mail togheter!!!) > > any way to do it via webmin? Have you tried using the Read User Mail module's feature for accessing any file or directory as a mail folder? Down the bottom of the main page is a 'Read Mail in File' field into which you can enter the path to any mbox-format file or Maildir directory to view its contents. - Jamie |