?
Solved

how do you change the coldfusion mail spool directory?

Posted on 2004-09-21
2
Medium Priority
?
490 Views
Last Modified: 2013-12-20
Hello,
    How do I set the coldfusion mail spool directory to something other than the default... for performance reasons I want to point the spool to a raid 0.

Cheers,
Rick
0
Comment
Question by:richardsimnett
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 2

Accepted Solution

by:
dldeeds earned 2000 total points
ID: 12111528
Look at the "neo-mail.xml" file in the lib directory under your cfmx main directory. I have not changed this particular neo.... file but I have had to make mods to other neo... files.

Make sure you make a backup before altering, and within the "neo-mail.xml" you should see a var called "undeliverdir" and one called "sooldir" change these to where you want your mail spooled, stop and start cfmx and see what happens.

In theory...should work. May want to try it on a dev box, like I said, I have never changed this but should work.

Here is what my "neo-mail.xml" file looks like on my dev box.

<wddxPacket version='1.0'><header/><data><struct type='coldfusion.server.ConfigMap'>
<var name='mailsentloggingenable'><boolean value='false'/></var>
<var name='undeliverdir'><string>{neo.rootdir}/Mail/Undelivr</string></var>
<var name='server'><string>mail.cableone.net</string></var>
<var name='schedule'><number>15.0</number></var>
<var name='severity'><string>debug</string></var>
<var name='timeout'><number>60.0</number></var>
<var name='port'><number>25.0</number></var>
<var name='spoolenable'><boolean value='true'/></var>
<var name='spooldir'><string>{neo.rootdir}/Mail/Spool</string></var>
</struct></data></wddxPacket>

Let us know if it works, be good info for the future.
0
 
LVL 2

Expert Comment

by:dldeeds
ID: 12111672
Could not resist a test...just change my dev box "neo-mail.xml" file to point my mail files elsewhere, seems to work fine.

here is what my old and new portiions of neo-mail.xml file look like...

old - <var name='undeliverdir'><string>{neo.rootdir}/Mail/Undelivr</string></var>
       <var name='spooldir'><string>{neo.rootdir}/Mail/Spool</string></var>


new -<var name='undeliverdir'><string>C:/MyCFMail/Undelivr</string></var>
        <var name='spooldir'><string>C:/MyCFMail/Spool</string></var>

My CfusionMX folder is on my D: drive, so I changed the mail spool and undelivered folders to a different drive and folder name, cf did not seem to mind. Sent one test mail and saw it in spool for a second before it was sent...
0

Featured Post

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
The purpose of this video is to demonstrate how to insert an Iframe into WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Open Page or Post…
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …
Suggested Courses

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question