Solved

how do you change the coldfusion mail spool directory?

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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
Lease-to-own eliminates the expenditure of hardware replacement and allows you to pay off the server over time. Usually, this is much cheaper than leasing servers. Think of lease-to-own as credit without interest.
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. …
The purpose of this video is to demonstrate how to Import and export files in 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 : Click on Too…

696 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