Results 1 to 2 of 2
Thread: odd use of fetchmail
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Sep 2004
odd use of fetchmail
I'm currently using fetchmail and sendmail to backup several users' emails to our Linux server. As most of our staff are mobile and working on laptops it's not ideal to use it to serve all emails.
Currently fetchmail leaves the messages on the remote (POP3) server then each user checks their own mail with Outlook which removes the messages.
Is there a way of getting fetchmail (or a similar application) to delete messages from the remote server which are older than, say 2 weeks? That way Outlook can leave them there so they will definitely get backed up.
barring a script that runs localy on your mail mta, i can't think of much, fetchmail can delete messages after fetching them, but I don't think it accepts conditionals. The other option is to jsut rsync the mail folders every day, then let a mail filter handle that.