Solved

how do you change the coldfusion mail spool directory?

Posted on 2004-09-21
2
468 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
  • 2
2 Comments
 
LVL 2

Accepted Solution

by:
dldeeds earned 500 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
wordpress email form 23 82
Alias for "domain to path" translation instead of VirtualHost on Apache 3 83
Web Site Hosting 10 91
Has my website been infiltrated? 21 69
Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
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 Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…

830 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