Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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.



  2. #2
    Linux Guru kkubasik's Avatar
    Join Date
    Mar 2004
    Lat: 39:03:51N Lon: 77:14:37W
    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.
    Avoid the Gates of Hell. Use Linux
    A Penny for your Thoughts

    Formerly Known as qub333

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts