procmail
[Top] [All Lists]

Re: auto save attachments

2002-07-20 13:50:31
On Sat, 20 Jul 2002, Doug Wright wrote:

here is what i want to do. i have got includes set up in apache for those
who are scared of html. but for those who can't get ftp right?
I want to have them email say a picture or text file to an address
that I will set up. when the account gets the picture, I want it
to automatically save it to a predetermined folder (so the include
can pick it up). How would one accomplish this?
Thanks

        Did you try to make .procmailrc file in the HOME of the special
        user that you opened to say:


D=/save/it/to/a/predetermined/folder
:0
|(mkdir -p $D&&METAMAIL_TMPDIR=$D /usr/bin/metamail -r -y -w -q -x 2>/dev/null)


Bye,
 Udi

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>