Expire undeleted mail older than specified age

Ann Lee yokean1 at gmail.com
Tue Jul 12 06:17:12 GMT 2005


Hi Marcelo,

Well, i have copied the perl script of expire_mail.pl in
/usr/local/sbin/expire_mail.pl. And put the following into my cron
job:

0 23 * * 3 /usr/local/sbin/expire_mail -l -M -a 60 /var/mail/*

Seems not work. So i run the command manually and found that
/usr/local/sbin/expire_mail: Command not found.

Do i missed out any steps? 

Cheers,
Ann

On 7/11/05, scuba at centroin.com.br <scuba at centroin.com.br> wrote:
> Hi,
> 
>        I use a perl script called expire_mail.pl.
>        Search google for it´s name, it´s simple and can be used from
> cron.
> 
> - Marcelo Souza
> 
> On Mon, 11 Jul 2005, Ann Lee wrote:
> 
> |Hi ,
> |
> |Does anyone know how could I make "expire_age" - Expire undeleted mail
> |older than specified age in freebsd v4.8..Any quick command that I can
> |run to delete off for unread messages for /var/mail/root. Coz I would
> |like to do a rotation job to auto-housekeeping my mail folder.
> |
> |Thanks in advance.
> |
> |Cheers,
> |Ann
> |_______________________________________________
> |freebsd-questions at freebsd.org mailing list
> |http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> |To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> |
> 
> 
> - Marcelo
> 
> 
>


More information about the freebsd-questions mailing list