Solved

how do you change the coldfusion mail spool directory?

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Autoresponder for Whole Domain in Plesk/Cpanel 2 79
New OSQA server has a ton of fake users 4 63
Problem to echo 6 97
javascript to html map 8 82
One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
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…
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…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

772 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