Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: commanda on August 20, 2005, 03:29:00 AM

Title: extract attachments from mail in a mail folder
Post by: commanda on August 20, 2005, 03:29:00 AM
My sme-server at work, daily sends me several emails with zip attachments. The attachments are mysql dumps and zip archives of a php application.

My webmail filters sort this mail into a seperate folder.

What I want to do is run a cron job on this folder to seperate the mail attachment from the mail, and save it in another seperate folder. It's not necessary to actually unzip it.

Anybody have any suggestions on how to accomplish this?

Amanda
Title: extract attachments from mail in a mail folder
Post by: commanda on August 20, 2005, 03:30:33 AM
Should clarify;
running sme-server (6.0.1-01) at home as well.

Amanda
Title: extract attachments from mail in a mail folder
Post by: commanda on August 20, 2005, 11:40:36 AM
It's alright, more googling turned up the answer.

uudecode.

And even better, it's already installed.

Amanda
Title: extract attachments from mail in a mail folder
Post by: kruhm on August 21, 2005, 02:51:18 PM
lol, glad we could help