On Sat, 19 Dec 2009, Francesco Vertova wrote:

> At 21.09 17/12/09, you wrote:
> 
> > I made the XMail temp directory on Unix configurable via an 'XMAIL_TEMP'
> > environment variable, defaulting to '/tmp'.
> > So the user can set XMAIL_TEMP to whatever they like, and set the
> > owner/permissions accordingly (which should be taken care also when
> > running filters).
> 
> What about reading XMAIL_TEMP from env on Windows, too? Or from the registry
> like MAIL_ROOT?

On Windows, I simply use the GetTempPath() win32 API.


- Davide


_______________________________________________
xmail mailing list
[email protected]
http://xmailserver.org/mailman/listinfo/xmail

Reply via email to