Groups | Blog | Home
all groups > sql server clustering > october 2003 >

sql server clustering : xp_readmail and temp directory


Tom Potts
10/23/2003 8:31:37 AM
I have a routine that uses xp_readmail to read one mail at
a time form an outlook mailbox profile and then process'
the saved files.
The process has to be 'broken' for sensible error handling.
The process works fine on a non clustered machine as it
writes to "c:\documents~1\temp\newfilename.ext" - this is
then stored in the db for later work.

On a clustered machine however it can be picked up by the
other machines in the cluster and of course the filepath
is invalid!

I suppose what I'm asking is how can one set the 'temp'
directory of a mail profile?
Linchi Shea
10/23/2003 11:31:32 PM
I can't answer the question "how can one set the 'temp' directory of a mail
profile?" But if that's something you can configure, you could try to place
it on a file share resource so that it's always visible to xp_sendmail no
matter pn which node it's running, and you have only a single temp directory
for the mail profile. I must admit, though, I've never tried this with a
MAPI profile. I'm staying away from MAPI/Outlook on my SQL clusters as far
as I can.

--
Linchi Shea
linchi_shea@NOSPAMml.com


[quoted text, click to view]

Tom Potts
10/24/2003 1:35:33 AM
I was intending to configure it to a network share but
there seems to be no way of (succesfully) reconfigureing
the location of where the attached files are placed when
the message is read! I was hoping someone might know...
[quoted text, click to view]
cgross NO[at]SPAM online.microsoft.com
10/27/2003 10:34:00 PM
This isn't an answer to your question, but since you are using mail on a cluster, you should be aware that it is not fully supported:
298723 BUG: SQL Mail Not Fully Supported for Use in Conjunction with Cluster
http://support.microsoft.com/?id=298723

You might try asking your original question on a mail-related alias to see if someone there has some ideas.

Cindy Gross, MCDBA, MCSE
http://cindygross.tripod.com
This posting is provided "AS IS" with no warranties, and confers no rights.
Tom Potts
10/28/2003 1:53:28 AM
Thanks - thats a major spanner in the works!
As for the location of mail files it would appear that it
goes into the TEMP directory.
I had noticed another major problem -on sql if you read
two emails say with file.txt attached then SQL7 would name
the first file.txt and the second file0.txt if file.txt
was still present.
SQL2000 just overwrites the first file with the second!

[quoted text, click to view]
using mail on a cluster, you should be aware that it is
not fully supported:
[quoted text, click to view]
AddThis Social Bookmark Button