Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jan 2008 11:04:06 +0400 (GST)
From:      Rakhesh Sasidharan <rakhesh@rakhesh.com>
To:        Olivier Nicole <on@cs.ait.ac.th>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: OT: Downloading file by sending email
Message-ID:  <20080130110056.E5828@obelix.home.rakhesh.com>
In-Reply-To: <200801300536.m0U5aXvV053293@banyan.cs.ait.ac.th>
References:  <20080130092413.K4947@obelix.home.rakhesh.com> <200801300536.m0U5aXvV053293@banyan.cs.ait.ac.th>

next in thread | previous in thread | raw e-mail | index | archive | help

Olivier Nicole wrote:

>> I want to setup a service such that sending a mail to say
>> "someaddress@mydomain" with a list of links per line results in my machine
>> downloading the files at these links replying with all these files
>> attached.
>
> Although I don't know of such a service (I recall hearing about such
> service ages ago) it sounds not too difficult to built, for example in
> Perl, using Curl for downloading and some Perl modules to build a MIME
> email to send back.

Thanks Olivier. I was stumped on how to make maildrop pipe the email to 
some program. A bit of research on that (and reading the manpages) showed 
me how. Now that I've figured that part, the problem is not too difficult. 
Gotta make a shell/ perl script now to parse the message and do the 
downloading etc ...


Thanks,
Rakhesh

---
http://rakhesh.net/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080130110056.E5828>