Re: Undeliverable CFMAIL

2004-11-12 Thread Richard Crawford
Here's what I've tried so far:

Moving one test message from /Undelivr to /Spool.  Of course there's a 
typo in the name, so I changed it from Undelievered_Mailx to 
Undelivered_Mailx.  I also tried removing the Undelivered part 
of the mail.

Once I had moved and renamed it, I restarted the JRun server.  Then I 
watched the Spool directory to see when the message would leave the 
spool.  Eventually, the message vanished from the Spool directory but it 
was not delivered.  When I checked the Undeliv directory, the message 
was there.  I checked the mailsent.log file and saw only that the 
message had been moved, but there was no reason listed for why the 
message was undeliverable.

In order to test this process, I introduced a deliberate error into the 
Mail Server settings of the Cold Fusion administrator, so that the 
system would not be able to contact the mail server.

Any help would be greatly appreciated.

-- 
Richard S. Crawford
Programmer III
UC Davis Extension Distance Education Group (http://unexdlc.ucdavis.edu)
2901 K Street, Suite 200C
Sacramento, CA  95816
(916)327-7793


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:184160
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Undeliverable CFMAIL

2004-11-12 Thread Richard Crawford
Richard Crawford wrote:
 Here's what I've tried so far:
 
 Moving one test message from /Undelivr to /Spool.  Of course there's a 
 typo in the name, so I changed it from Undelievered_Mailx to 
 Undelivered_Mailx.  I also tried removing the Undelivered part 
 of the mail.
 
 Once I had moved and renamed it, I restarted the JRun server.  Then I 
 watched the Spool directory to see when the message would leave the 
 spool.  Eventually, the message vanished from the Spool directory but it 
 was not delivered.  When I checked the Undeliv directory, the message 
 was there.  I checked the mailsent.log file and saw only that the 
 message had been moved, but there was no reason listed for why the 
 message was undeliverable.
 
 In order to test this process, I introduced a deliberate error into the 
 Mail Server settings of the Cold Fusion administrator, so that the 
 system would not be able to contact the mail server.
 
 Any help would be greatly appreciated.
 

All right, I'm a goober.

When I set the log option to debug, I was able to find out the exact 
error.  Turns out that I had to fix the mail server IP address in the 
undelivered message file.  Once I moved the file, renamed it, and fixed 
the IP address, then restarted the JRun server, the mail was delivered 
and received properly.

Like I said, I'm a goober.

Thanks to everyone who offered up suggestions and assistance.

-- 
Richard S. Crawford
Programmer III
UC Davis Extension Distance Education Group (http://unexdlc.ucdavis.edu)
2901 K Street, Suite 200C
Sacramento, CA  95816
(916)327-7793


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:184176
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Undeliverable CFMAIL

2004-11-09 Thread Richard Crawford
In about two weeks, our mail server will be going down for a couple of 
days.  Consequently, any messages sent by Cold Fusion during that time 
will not be delivered.

Does the CF server maintain these undelivered messages anywhere?

-- 
Richard S. Crawford
Programmer III: Oracle/Solaris Wrangler
UC Davis Extension Distance Education Group (http://unexdlc.ucdavis.edu)
2901 K Street, Suite 200C
Sacramento, CA  95816
(916)327-7793


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183792
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Undeliverable CFMAIL

2004-11-09 Thread Peterson, Andrew S.
C:\cfusionmx\mail\undelivr

Not sure of your path, but look for the undelivr folder. When the mail
server goes back online, cut and paste those  files into the Spool
folder in the same directory

 
Sincerely,
 
Andrew


-Original Message-
From: Richard Crawford [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 09, 2004 2:59 PM
To: CF-Talk
Subject: Undeliverable CFMAIL

In about two weeks, our mail server will be going down for a couple of
days.  Consequently, any messages sent by Cold Fusion during that time
will not be delivered.

Does the CF server maintain these undelivered messages anywhere?

--
Richard S. Crawford
Programmer III: Oracle/Solaris Wrangler
UC Davis Extension Distance Education Group (http://unexdlc.ucdavis.edu)
2901 K Street, Suite 200C
Sacramento, CA  95816
(916)327-7793




~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183793
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Undeliverable CFMAIL

2004-11-09 Thread Venable, John
They will be in {cfroot}/Mail/Undelivr 

Just respool and you should be good to go.

---
John Venable
Director of Web Architecture
Epilepsy Foundation

 -Original Message-
 From: Richard Crawford [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, November 09, 2004 3:59 PM
 To: CF-Talk
 Subject: Undeliverable CFMAIL
 
 In about two weeks, our mail server will be going down for a couple of

 days.  Consequently, any messages sent by Cold Fusion during that time

 will not be delivered.
 
 Does the CF server maintain these undelivered messages anywhere?
 
 --
 Richard S. Crawford
 Programmer III: Oracle/Solaris Wrangler UC Davis Extension Distance 
 Education Group
 (http://unexdlc.ucdavis.edu)
 2901 K Street, Suite 200C
 Sacramento, CA  95816
 (916)327-7793
 
 
 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183794
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Undeliverable CFMAIL

2004-11-09 Thread Richard Crawford
Peterson, Andrew S. wrote:
 C:\cfusionmx\mail\undelivr
 
 Not sure of your path, but look for the undelivr folder. When the mail
 server goes back online, cut and paste those  files into the Spool
 folder in the same directory

I'm actually running CF in a Solaris environment.  I executed the 
following command:

$ cd Undelvr
$ cp Undelievered_Mailx.cfmail ../Spool

But that didn't quite do it.  I assume that I need to change the 
filename when I move it to the Spool directory.

-- 
Richard S. Crawford
Programmer III: Oracle/Solaris Wrangler
UC Davis Extension Distance Education Group (http://unexdlc.ucdavis.edu)
2901 K Street, Suite 200C
Sacramento, CA  95816
(916)327-7793


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183796
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Undeliverable CFMAIL

2004-11-09 Thread Richard Crawford
Venable, John wrote:
 They will be in {cfroot}/Mail/Undelivr 
 
 Just respool and you should be good to go.

How does one respool?

-- 
Richard S. Crawford
Programmer III: Oracle/Solaris Wrangler
UC Davis Extension Distance Education Group (http://unexdlc.ucdavis.edu)
2901 K Street, Suite 200C
Sacramento, CA  95816
(916)327-7793


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183797
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Undeliverable CFMAIL: code to handle

2004-11-09 Thread Anders Green
At 03:58 PM 11/9/2004, you wrote:
In about two weeks, our mail server will be going down for a couple of
days.  Consequently, any messages sent by Cold Fusion during that time
will not be delivered.

Does the CF server maintain these undelivered messages anywhere?

As mentioned, in the spool directory.

But in addition to your planned outage, if there
are hiccups or whatever, you'll end up with some emails
there on occasion. I set up a task that runs every 15 minutes
or so to copy anything it finds in undelivr to spool. Here's
the code. You've probably got some sitting in there
right now. ;)

--Anders




!--- --- ---
!--- task-moveStuckEmailToSpool.cfm- ---
!--- --- ---
CFSET gBaseMailDirectory = #server.coldfusion.rootdir#\Mail\


CFSET stuckEmailDir=#gBaseMailDirectory#undelivr
CFSET sendEmailDir=#gBaseMailDirectory#spool

CFDIRECTORY
 action=LIST
 directory=#stuckEmailDir#
 name=undeliveredEmail
 filter=*.cfmail

CFOUTPUT
Undeliverable directory: #stuckEmailDir#
p

ol
CFLOOP query=undeliveredEmail
 CFSET fullFileName=#stuckEmailDir#\#undeliveredEmail.Name#
 li#fullFileName#
 CFFILE
 ACTION=MOVE
 SOURCE=#fullFileName#
 DESTINATION=#sendEmailDir#
/CFLOOP
/ol


!---
CFDIRECTORY
 action=LIST
 directory=#sendEmailDir#
 name=spooledEmail
 filter=*.cfmail

p
Spoolbr
#sendEmailDir#p

CFLOOP query=spooledEmail
#spooledEmail.Name#br
/CFLOOP
---

CFFILE action=APPEND file=#gBaseDirectory#tasklog.txt
 
output=#DateFormat(Now(),-mm-dd)#-|-#TimeFormat(Now(),HH:mm:ss)#-|-TASK--Email-Spool-#undeliveredEmail.recordCount#
 addNewLine=Yes
p
Page complete
/CFOUTPUT

+===+
|Anders Green Email: [EMAIL PROTECTED]   |
|  Home: 919.303.0218   |
|Off Road Rally Racing Team: http://LinaRacing.com/ |
+===+


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183801
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Undeliverable CFMAIL: code to handle

2004-11-09 Thread Richard Crawford
Anders Green wrote:
 At 03:58 PM 11/9/2004, you wrote:
 
In about two weeks, our mail server will be going down for a couple of
days.  Consequently, any messages sent by Cold Fusion during that time
will not be delivered.

Does the CF server maintain these undelivered messages anywhere?
 
 
 As mentioned, in the spool directory.
 
 But in addition to your planned outage, if there
 are hiccups or whatever, you'll end up with some emails
 there on occasion. I set up a task that runs every 15 minutes
 or so to copy anything it finds in undelivr to spool. Here's
 the code. You've probably got some sitting in there
 right now. ;)

I do.  I experimented and tried copying one of the files to the Spool 
directory (after changing the To: line so that the recipient wouldn't 
get confused).  Nothing happened, though, and that file is still sitting 
in my Spool directory.

-- 
Richard S. Crawford
Programmer III: Oracle/Solaris Wrangler
UC Davis Extension Distance Education Group (http://unexdlc.ucdavis.edu)
2901 K Street, Suite 200C
Sacramento, CA  95816
(916)327-7793


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183802
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Undeliverable CFMAIL: code to handle

2004-11-09 Thread Anders Green
At 04:33 PM 11/9/2004, Crawford wrote:
Anders Green wrote:
  You've probably got some sitting in there right now. ;)

I do.  I experimented and tried copying one of the files to the Spool
directory (after changing the To: line so that the recipient wouldn't
get confused).  Nothing happened, though, and that file is still sitting
in my Spool directory.

On the Win2000 machine here, if I copy them over
to spool *poof* they get sent out within a couple
minutes. I don't alter anything. Perhaps something
within the file (crappy email address?) that's killing
the transfer before it can even dump it back in
undelivr?

Anders
+===+
|Anders Green Email: [EMAIL PROTECTED]   |
|  Home: 919.303.0218   |
|Off Road Rally Racing Team: http://LinaRacing.com/ |
+===+


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183805
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Undeliverable CFMAIL: code to handle

2004-11-09 Thread Al Everett
--- Anders Green [EMAIL PROTECTED] wrote:

 At 04:33 PM 11/9/2004, Crawford wrote:
 Anders Green wrote:
   You've probably got some sitting in there right now. ;)
 
 I do.  I experimented and tried copying one of the files to the Spool
 directory (after changing the To: line so that the recipient wouldn't
 get confused).  Nothing happened, though, and that file is still
 sitting
 in my Spool directory.
 
 On the Win2000 machine here, if I copy them over
 to spool *poof* they get sent out within a couple
 minutes. I don't alter anything. Perhaps something
 within the file (crappy email address?) that's killing
 the transfer before it can even dump it back in
 undelivr?

If memory serves, there was a bug in CFMX6.0 that moving files from
Undelivr to Spool wouldn't cause them to be sent until CF was restarted.
There was also something about the files being renamed (and Undelivered
being misspelled, too) and the Spooler wouldn't pick up those files until
they were renamed to the proper format. I can't find the technote,
though.

Fixed in 6.1. All works just fine for me with the latest updater. (Works
in CF5.0 too, FWIW.)



__ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183807
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Undeliverable CFMAIL: code to handle

2004-11-09 Thread Anders Green
At 04:53 PM 11/9/2004, Al Everett wrote:
If memory serves, there was a bug in CFMX6.0

FWIW, my (working) setup is 6.1.


(and Undeliveredb eing misspelled, too)

I always assumed that the current name was just
to have a directory name that was 8 characters
or less, for compatibility with something
ancient.

ANders
+===+
|Anders Green Email: [EMAIL PROTECTED]   |
|  Home: 919.303.0218   |
|Off Road Rally Racing Team: http://LinaRacing.com/ |
+===+


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183808
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Undeliverable CFMAIL: code to handle

2004-11-09 Thread Al Everett
 I always assumed that the current name was just
 to have a directory name that was 8 characters
 or less, for compatibility with something
 ancient.

I was speaking to Richard Crawford's message:

 I'm actually running CF in a Solaris environment.  I executed the 
 following command:

 $ cd Undelvr
 $ cp Undelievered_Mailx.cfmail ../Spool
 
 But that didn't quite do it.  I assume that I need to change the 
 filename when I move it to the Spool directory.

That's the misspelling I was talking about. Just one of many reasons to
get past 6.0 as fast as possible.



__ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183809
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Undeliverable CFMAIL: code to handle

2004-11-09 Thread Richard Crawford
Al Everett wrote:
I always assumed that the current name was just
to have a directory name that was 8 characters
or less, for compatibility with something
ancient.
 
 
 I was speaking to Richard Crawford's message:
 
 
I'm actually running CF in a Solaris environment.  I executed the 
following command:

$ cd Undelvr
$ cp Undelievered_Mailx.cfmail ../Spool

But that didn't quite do it.  I assume that I need to change the 
filename when I move it to the Spool directory.
 
 
 That's the misspelling I was talking about. Just one of many reasons to
 get past 6.0 as fast as possible.

I wish.  Unfortunately, very poor planning on the part of the original 
implementer (NOT ME!!) would make upgrading to 6.1 incredibly difficult.

-- 
Richard S. Crawford
Programmer III: Oracle/Solaris Wrangler
UC Davis Extension Distance Education Group (http://unexdlc.ucdavis.edu)
2901 K Street, Suite 200C
Sacramento, CA  95816
(916)327-7793


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183810
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Undeliverable CFMAIL

2004-11-09 Thread Howie Hamlin
You can install a demo copy of iMS during the down time and use it as your 
email server.  The demo lasts for 60 days.

Regards,

-- 
Howie Hamlin - inFusion Project Manager
On-Line Data Solutions, Inc. - www.CoolFusion.com
inFusion Mail Server (iMS) - The Award-winning, Intelligent Mail Server
PrismAV - Virus scanning for ColdFusion applications
 Find out how iMS Stacks up to the competition: 
 http://www.coolfusion.com/imssecomparison.cfm


--- On Tuesday, November 09, 2004 3:58 PM, Richard Crawford scribed: ---

 In about two weeks, our mail server will be going down for a couple of
 days.  Consequently, any messages sent by Cold Fusion during that time
 will not be delivered.
 
 Does the CF server maintain these undelivered messages anywhere?

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183817
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Undeliverable CFMAIL

2004-11-09 Thread Howie Hamlin
Sorry, didn't realize this early in the thread that you were running on a 
Solaris box - iMS is Windows only.

Regards,

Howie

--- On Tuesday, November 09, 2004 5:56 PM, Howie Hamlin scribed: ---

 You can install a demo copy of iMS during the down time and use it as
 your email server.  The demo lasts for 60 days. 
 
 Regards,
 
 Find out how iMS Stacks up to the competition:
 http://www.coolfusion.com/imssecomparison.cfm 
 
 
 --- On Tuesday, November 09, 2004 3:58 PM, Richard Crawford scribed:
 --- 
 
 In about two weeks, our mail server will be going down for a couple
 of days.  Consequently, any messages sent by Cold Fusion during that
 time will not be delivered.
 
 Does the CF server maintain these undelivered messages anywhere?
 
 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183818
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54