[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Ftechmail query !



I don't think that you can use fetchmail to do exactly what you want,
but you may solve your overall problem by doing the following:
	Run fetchmail as a background deamon with the '-k' for keep
	option normally.

	Periodically, perhaps using cron, run fetchmail with the '-F'
	for flush option.  Obviously, you should time this so that it
	doesn't interfere with your mobile fetchmailing.

(this should mean that your debian box gets your mail, but leaves it on
the POP server marked as read for you to fetch with the CE thing, untill
the '-F' fetchmail is run, which deletes all the read messages from the
POP server).

Hope this is of some use
Rich

Nidge Jones wrote:
> 
> I have been playing around with Fetchmail just recently. And it is
> working just fine etc.
> 
> However, I am wondering if it is possible to leave mail on the server
> for XX amount of days before deleting it.
> 
> Ie, collect all NEW mail today, but don't delete if off the server for
> another 2 days time. So when in two days time I connect again, the mail
> is NOT fetched (old mail) but is deleted.
> 
> I have a situation where I sometimes access one POP mailbox from a CE
> box and a mobile phone, but if the Linux box got there first (automated
> dial ups) then I miss the mail.
> 
> Thanks in advance
> 
> --
> Nidge Jones
> 
> --
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null


Reply to: