On Fri, Feb 16, 2001 at 11:20:52AM +0000, Niall O Broin came forth with:
> On Fri, Feb 16, 2001 at 10:36:47AM +0000, Gerard J Keating wrote:
>> > hopefully someone can give me some pointers.
>> Pointers, yes, but not a full answer, but only because I've never done
> exactly what you want - I know that what I tell you below will do the job.
>> > I have a file arriving daily to a email address on my linux server with a file
> > attachment. What i want to do is have the attached file coping to a certian
> > directory when the email arrives, how would i do this. Also want to run a
> > program to process this file.
>> The tools for the job are mimencode, and possibly procmail. You need to pipe
> the incoming mail through mimencode -u which will decode the message i.e.
> remove the attachment. A little reading of the man page and experimentation
> will sort that out for you, and of course it's a trivial matter then to put
> the resultant file into whatever directory you need.
>you could have a look at how aMaViS does the job.. it basically does what
you want to do, and runs a virus scanner on the file..
it's on sourceforge (amavis.sourceforge.net?)
Liam Bedford | Four thousand holes in Blackburn, Lancashire
System Administrator | And though the holes were rather small
WBT Systems, Block 2, | They had to count them all
Harcourt Centre, Harcourt St. | Now they know how many holes it takes to fill
01-4170100 | The Albert Hall
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!