Is there a preferably CLI based program I can use to regularly (through cron for example) use to check a mailbox, and download the attachments into a folder?
I have a mailbox called photos@doamin.com, I would like to periodically poll the inbox for new emails via POP or IMAP, and grab the attachments to any new emails (they will be photos) and download them to a local folder.
What CLI email utils can do this?
fetchmailor similar, and then extract the attachments withmunpack. (I won't develop on this, so I'll just leave this comment and no answer.) – angus Oct 27 '12 at 15:58