<quote who="[EMAIL PROTECTED]"> > You can't call mail-expire in /etc/cron.daily. If you want to test the > shell > script, you need to switch to the users mail directory (e.g. > /home/user/MailDir) and then enter "sh /etc/cron.daily/mail-expire". Then > the > script will work ;-)
Thank you for the quick resonse. I've tried as both a user and su and neither has worked. Here is what I get: [EMAIL PROTECTED] mail]$ sh /etc/cron.daily/mail-expire standard in must be a tty standard in must be a tty standard in must be a tty standard in must be a tty standard in must be a tty [EMAIL PROTECTED] mail]$ su - Password: [EMAIL PROTECTED] ~]# cd /home/wyonker/mail/mail [EMAIL PROTECTED] mail]# sh /etc/cron.daily/mail-expire find: /home/aragonx/mail/mail/.Trash: No such file or directory find: /home/aragonx/mail/mail/.spam: No such file or directory find: /home/aragonx/mail/mail/.mail/Linux/fedora: No such file or directory find: /home/wyonker/mail/mail/.mail/INBOX.Trash: No such file or directory find: /home/wyonker/mail/mail/.mail/spam: No such file or directory Here is a 'ls' of /home/wyonker/mail/mail [EMAIL PROTECTED] mail]# ls -l total 325248 -rw------- 1 wyonker wyonker 19877 Mar 1 2005 DCS -rw------- 1 wyonker wyonker 0 Apr 3 07:47 expire -rw------- 1 wyonker wyonker 1728304 Jan 26 21:09 Humor -rw------- 1 wyonker wyonker 700 Mar 1 2005 INBOX.Drafts -rw------- 1 wyonker wyonker 156950493 Apr 3 07:35 INBOX.Trash -rw------- 1 wyonker wyonker 700 Mar 1 2005 nagios -rw------- 1 wyonker wyonker 700 Mar 1 2005 Redhat -rw------- 1 wyonker wyonker 36879 Mar 10 15:25 saved -rw------- 1 wyonker wyonker 165662924 Apr 2 09:17 sent-mail -rw------- 1 wyonker wyonker 1144 Aug 8 2005 sent-mail-oct-2003 -rw------- 1 wyonker wyonker 8284863 Apr 3 07:35 spam -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: [email protected] List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
