Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #231041
| From | Teemu Likonen <tlikonen@iki.fi> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Archivemail |
| Date | 2021-01-24 10:40 +0100 |
| Message-ID | <BAK2e-126-7@gated-at.bofh.it> (permalink) |
| References | (1 earlier) <BAec2-798-11@gated-at.bofh.it> <BAeOJ-7Aw-3@gated-at.bofh.it> <BAAmd-3At-1@gated-at.bofh.it> <BABBD-4fQ-7@gated-at.bofh.it> <BAJpv-zU-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
* 2021-01-24 08:53:22+0000, tixy@yxit.co.uk wrote: > On Sun, 2021-01-24 at 00:31 +0000, Mark Fletcher wrote: >> I'm probably going to just write a python3 script of my own to handle my >> use-case, which is just to sift through /var/mail/<user> to delete mails >> older than a month. > > Erm, what am I missing, couldn't you do that with a crontab line > something like.. > > 0 1 * * * find /var/mail/ -type f -mtime +30 -delete File /var/mail/$USER is an mbox file which contains several email messages. Your suggestion (find [...] -delete) may work with maildir email storage which has one file per message. -- /// Teemu Likonen - .-.. https://www.iki.fi/tlikonen/ // OpenPGP: 4E1055DC84E9DFF613D78557719D69D324539450
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Archivemail Mark Fletcher <mark27q1@gmail.com> - 2021-01-23 00:30 +0100
Re: Archivemail Brian <ad44@cityscape.co.uk> - 2021-01-23 00:40 +0100
Re: Archivemail Mark Fletcher <mark27q1@gmail.com> - 2021-01-23 01:20 +0100
Re: Archivemail Jochen Spieker <ml@well-adjusted.de> - 2021-01-24 00:20 +0100
Re: Archivemail Mark Fletcher <mark27q1@gmail.com> - 2021-01-24 01:40 +0100
Re: Archivemail Tixy <tixy@yxit.co.uk> - 2021-01-24 10:00 +0100
Re: Archivemail Teemu Likonen <tlikonen@iki.fi> - 2021-01-24 10:40 +0100
Re: Archivemail Charles Curley <charlescurley@charlescurley.com> - 2021-01-25 00:50 +0100
Re: Archivemail Teemu Likonen <tlikonen@iki.fi> - 2021-01-25 06:50 +0100
Re: Archivemail Jochen Spieker <ml@well-adjusted.de> - 2021-01-24 21:50 +0100
Re: Archivemail Keith Bainbridge <ke1thozgroups@gmx.com> - 2021-01-25 03:30 +0100
Re: Archivemail Stefan Monnier <monnier@iro.umontreal.ca> - 2021-01-25 04:30 +0100
Re: Archivemail Anssi Saari <as@sci.fi> - 2021-01-25 07:30 +0100
Re: Archivemail Andrei POPESCU <andreimpopescu@gmail.com> - 2021-01-25 07:50 +0100
Re: Archivemail Keith Bainbridge <ke1thozgroups@gmx.com> - 2021-01-25 12:50 +0100
Re: Archivemail Jochen Spieker <ml@well-adjusted.de> - 2021-01-25 21:50 +0100
Re: Archivemail Eduard Bloch <edi@gmx.de> - 2021-01-25 22:00 +0100
csiph-web