Skip to main content
Participating Frequently
June 15, 2011
Answered

cfmail message spooling once, sending twice

  • June 15, 2011
  • 1 reply
  • 1056 views

Hi there

For the last few weeks, one of my CF instances has started sending outgoing emails twice.  For the last few years, the pages have sent one copy only, but now they are sending out 2 copies of each message.  A second instance, running the identical page (from a different domain) only sends one copy of each message.

Even a simple, hardcoded <cfmail> tag, with nothing else on the page whatsoever, is sending twice.

I have confirmed through logs and tests that

- the cfmail tag runs only once

- only 1 physical message is added to the /Mail/Spool/ folder

- 2 identical messages are logged in the mailsent.log

- 2 emails are delivered

I have confirmation that the outgoing mail server is receiving 2 commands to send each message

As mentioned, the exact same page, run on instance 1 results in 2 messages and run on instance 2 results in 2 messages.

I have had confirmation that 2 copies of the first instance are not running at the same time.

Make any sense at all?

Any help would be appreciated greatly

    This topic has been closed for replies.
    Correct answer Adam Cameron.

    Sounds to me like you've got two JRun instances running (somehow), and both are running a mail watcher on the same spooler dir.  Or something like that.

    Do you have an extra jrun process running?

    --

    Adam

    1 reply

    Adam Cameron.Correct answer
    Inspiring
    June 15, 2011

    Sounds to me like you've got two JRun instances running (somehow), and both are running a mail watcher on the same spooler dir.  Or something like that.

    Do you have an extra jrun process running?

    --

    Adam

    Participating Frequently
    June 16, 2011

    Thanks very much for the response Adam.

    In jRun Management, there is only one copy of the specific instance running.  I tried stopping and restarting it with no change.

    There are 5 instances overall in jRun.  main, plus 3 production instances, all running and a 5th instance which is not running.

    In Task Manager > Processes, there are 5 jrun.exe processes running.  Is that one for each instance, whether the instance is running or not?  Or should there only be 4 processes, for each "running" instance.

    Any further help is greatly appreciated.

    Owainnorth
    Inspiring
    June 16, 2011

    What does the cfmail.log say? And what do the logs from your SMTP engine say?