On Mon, Sep 29, 2003 at 12:07:55PM -0500, Ron Johnson wrote:
> On Mon, 2003-09-29 at 10:24, Peter S Galbraith wrote:
> > This works well:
> >
> > http://freshmeat.net/projects/swendeleter/?topic_id=29
> >
> > To use in cron, I commented out the line:
> >
> > say "$nmails left in the mailbox";
>
On Mon, 2003-09-29 at 10:24, Peter S Galbraith wrote:
> This works well:
>
> http://freshmeat.net/projects/swendeleter/?topic_id=29
>
> To use in cron, I commented out the line:
>
> say "$nmails left in the mailbox";
>
> So I only get cron email if it deleted anything.
The problem with using h
This works well:
http://freshmeat.net/projects/swendeleter/?topic_id=29
To use in cron, I commented out the line:
say "$nmails left in the mailbox";
So I only get cron email if it deleted anything.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Conta
Opps, forgot to mention that the line:
$delete=0 if /^To.*?linux/i;
Must be altered. Replace the linux part with any string that occurs in
your email address. eg if you address is [EMAIL PROTECTED] you should
replace linux with abc123 ie.
$delete=0 if /^To.*?abc123/i;
My bad,
Cheers
Paul
--
Heres my perl script. I also run it in cron.
On Sat, 2003-09-27 at 03:49, Ron Johnson wrote:
> (Mailfilter only checks headers, so can't see filenames of
> attachments.)
>
> I've got this in my crontab:
> */5 * * * * (/home/me/pop_zap_msft.py && fetchmail -s)
>
> The rc (named ~/.pop_zap_msftrc)
Another possibility is this:
#!/usr/bin/perl
use Mail::POP3Client;
$pop3user="your-user-name";
$pop3pass="your-mail-password";
$pop3host="your-ISP's-POP3-server";
$pop = new Mail::POP3Client( USER => $pop3user,
PASSWORD => $pop3pass,
HOST => $pop3hos
On (26/09/03 10:49), Ron Johnson wrote:
> (Mailfilter only checks headers, so can't see filenames of
> attachments.)
>
> I've got this in my crontab:
> */5 * * * * (/home/me/pop_zap_msft.py && fetchmail -s)
>
> The rc (named ~/.pop_zap_msftrc) has this *exact* format:
> SERVER=pop.someisp.net
> U
(Mailfilter only checks headers, so can't see filenames of
attachments.)
I've got this in my crontab:
*/5 * * * * (/home/me/pop_zap_msft.py && fetchmail -s)
The rc (named ~/.pop_zap_msftrc) has this *exact* format:
SERVER=pop.someisp.net
USER=snarfle
PASS=blah
Hope you find it useful
--
--
8 matches
Mail list logo