On Wed, Oct 25, 2000 at 11:17:11PM -0700, Jason Helfman wrote:
> I was messing around with backing up mail with my Qmail server, and
> there is a utility that comes with it called, maildir2mbox. This utility
> requires an environment variable named:
> 
> MAILTMP
> 
> I don't know if this is a system wide variable, or something just with
> Qmail. Maybe this is a pointer, maybe not.
> 
> My /etc/profile
> 
> MAILTMP="/home/$USER/.mailtmp"

A nice thought, Jason, but I think it does not meet the problem. I have
qmail too. I do not use maildir2mbox but its man page says it converts
Maildir format to mbox format and uses MAILTMP as a temporary file in so
doing. 

I just need to know what to call the message file in /tmp from a script
called by mutt. I could of course pass an argument from the mutt call
via a pipe to the scripti, but I do not know what to call it.

Thanks, Jason.

Cheers, Brian.

  
> On Thu, Oct 26, 2000 at 11:21:59AM +0930, Brian Salter-Duke muttered:
> | I am not sure whether I am doing something the right way, but I have
> | come up against a wall. In the attach menu after saving the message, I
> | want to modify the message considerably by piping it to a script. The
> | modifications are such that they can not be done in situ. I have to
> | create another temporary file. The question is this - how do I replace
> | the original temporary file in the tmp directory by the new one so I can
> | then send the new file rather than the original? Is there a variable
> | that refers to the original file so I can just do:-
> | 
> | mv /tmp/new-file $variable
> | 
> | and overwrite the original message file? I can not find a pointer to
> | this but I may be missing the obvious of course.
> | 
> | Cheers, Brian.
> | -- 
> | Associate Professor Brian Salter-Duke (Brian Duke) [EMAIL PROTECTED]  
> | Chemistry, School of BECS, SITE, NT University, Darwin, NT 0909, Australia.
> | Phone 08-89466702.     Fax 08-89466847.     http://www.smps.ntu.edu.au/
> | Get PGP2 Key:- http://www.smps.ntu.edu.au/chemistry/duke.key.html
> | 
> 
> -- 
> /Jason G Helfman
> 
> "At any given moment, you may find the ticket to the circus that has always
> been in your possession."
> 
>         Fingerprint: 6A32 3774 E390 33B5 8C96  2AA1 2BF4 BD71 35A1 C149
>             GnuPG http://www.gnupg.org  Get Private!  1024D/35A1C149

-- 
Associate Professor Brian Salter-Duke (Brian Duke) [EMAIL PROTECTED]  
Chemistry, School of BECS, SITE, NT University, Darwin, NT 0909, Australia.
Phone 08-89466702.     Fax 08-89466847.     http://www.smps.ntu.edu.au/
Get PGP2 Key:- http://www.smps.ntu.edu.au/chemistry/duke.key.html

Reply via email to