Solved

how do you change the coldfusion mail spool directory?

Posted on 2004-09-21
2
462 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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…

708 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now