Date: Mon, 16 Sep 2002 20:16:10 +0200 From: "Patrick O'Reilly" <bsd@perimeter.co.za> To: "Lowell Gilbert" <freebsd-questions-local@be-well.no-ip.com> Cc: "FreeBSD Question List" <freebsd-questions@freebsd.org> Subject: Re: MIME unbundler Message-ID: <013b01c25dad$26762ec0$0200000a@perimeter.co.za> References: <006d01c25b12$f191ac30$b50d030a@PATRICK><44y9a6udvc.fsf@be-well.ilk.org><005801c25cf4$1e4af640$0200000a@perimeter.co.za> <4465x6x82b.fsf@be-well.ilk.org>
next in thread | previous in thread | raw e-mail | index | archive | help
From: "Lowell Gilbert" <freebsd-questions-local@be-well.no-ip.com> >> Have you ever used it in a scripted process? I cannot figure out a way to >> get metamail to quietly unbundle the email into a directory which I have >> designated for this particular email. metamail wants to prompt for file >> names. And when I try to override this with the -x switch it simply >> writes the files to /tmp/. > > I don't generally need this, because my mailer knows how to talk to > metamail itself, but the manual seems to claim that setting > METAMAIL_TMPDIR will change this behaviour. The -w option may help > you, too: it pulls file names out of headers if they're specified... > Lowell, thanks again! I overlooked that environment variable METAMAIL_TMPDIR in the man page - that's what I needed. I was hoping there would be a command-line switch for that, but I'm sure I can deal with setting the environment variable before executing metamail. Yes - I was using the -w. When I use -w and -x together metamail assigns unnamed MIME extensions by some randomly generated file name - mm.<random> in the METAMAIL_TMPDIR . Named extensions are saved by their given names. Thanks again for your help. --- Regards, Patrick O'Reilly. ___ _ __ / _ )__ __ (_)_ __ ___ _/ /____ __ / __/ -_) _) / ~ ) -_), ,-/ -_) _) /_/ \__/_//_/_/~/_/\__/ \__/\__/_/ http://www.perimeter.co.za To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?013b01c25dad$26762ec0$0200000a>