Andrew, Would setting the "spoolenable" attribute of cfmail to "no" possibly help the issue? I have no idea if CF utilizes existing connections when not using it's spool, but it is worth a try.
On Wed, Aug 21, 2013 at 8:31 AM, Andrew Scott <andr...@andyscott.id.au>wrote: > > I can't reproduce locally, as this is an Enterprise only feature in the > admin. I know this is not hosteks fault, I just need it sorted. Hostek have > already stated the below response. The change suggested below, actually > does fix this at least it has been working fine for over 8 months, till > recently when the mail just keeps stopping every two days. And then I > started seeing other web applications emails in my sent folder. > > Response from Hostek. > > *We have identified the cause of the issue. The setting 'Maintain > connection to mail server' in the 'Mail' section of the CFAdmin is what is > causing this. If multiple sites on the server are using the same SMTP > server, such as 'smtp.gmail.com', this setting causes ColdFusion to re-use > that connection until it completes sending emails to that server that are > currently in the queue. So, if both sites send an e-mail with the same > 10-15 second period, it re-used the first site's authentication credentials > since it did not re-establish the connection. > > This is not an issue for sites using the default cfmail settings since the > local smtp service does not use username/password credentials, and it > improves performance for mail sent locally when there is a lot of mail > being sent. However, for now, I have disabled the 'Maintain connection to > mail server' option to prevent the issue when using external mail servers. > We will submit a bug report to Adobe suggesting that they treat CFMail > tags with different authentication credentials as if they were sending to > different servers (I.E. only use the same connection if the same > username/password are specified). > * > > > Regards, > Andrew Scott > WebSite: http://www.andyscott.id.au/ > Google+: http://plus.google.com/113032480415921517411 > > > > On Wed, Aug 21, 2013 at 10:26 PM, Russ Michaels <r...@michaels.me.uk> > wrote: > > > > > Are both of the sites in question developed by you or completely > unrelated? > > If they are unrelated and have no access to the other one then this would > > clearly point to a problem with cf and not hosteks fault. > > In which case you should yry to reproduce locally with the same version > of > > cf. > > > > If they are related to you then this is more likely you are using the > same > > smtp settings somewhere. > > > > There is one way to completely bypass cfmail for sending email, and also > > get much better tracking, reporting and reliability at the same time. > > Take a look at sendgrid.net and sending via their api. > > > > Russ Michaels > > www.michaels.me.uk > > cfmldeveloper.com > > cflive.net > > cfsearch.com > > On 21 Aug 2013 13:16, "Andrew Scott" <andr...@andyscott.id.au> wrote: > > > > > > > > Sort off, just have no proof that is what is happening to me. What I do > > > know, is that I have 5 emails that is clearly sent from another web > > > application on the same server, sitting in my sent folder. > > > > > > I have been having issues with Hostek the last four weeks where my mail > > > just stops being sent, they are at a loss to explain this, but there > are > > > errors to do with authentication in the logs. At least this is what I > am > > > being told and shown. > > > > > > Some months ago, I had this issue and emailed the person that I was > > getting > > > these emails from and he was dumbfounded as well, and was not aware > that > > > this was happening. > > > > > > What I can tell you is that there is a setting in the CFadmin to keep > the > > > mail connection open. However it appears that if this setting is > switched > > > on, and two people with seconds of each other send an email to the same > > > server, ColdFusion will hold the connection open and use the > credentials > > of > > > the previous person. > > > > > > So for arguments sake if I send an email via my website, and another > > > customer does the same from their website, then the mail is sent using > > the > > > credentials of the first connection to that mail server. > > > > > > But as usual, as no other customer on Hostek has complained about > this, I > > > am reaching out to those who may be hosted there and use gmail for > their > > > mail. To hear if they are actually having the same issues as well. > > > > > > > > > > > > > > > > > > Regards, > > > Andrew Scott > > > WebSite: http://www.andyscott.id.au/ > > > Google+: http://plus.google.com/113032480415921517411 > > > > > > > > > > > > On Wed, Aug 21, 2013 at 9:19 PM, Russ Michaels <r...@michaels.me.uk> > > > wrote: > > > > > > > > > > > So are you saying that mail sent from your gmail account is ending up > > in > > > > other peoples sent items? > > > > > > > > Russ Michaels > > > > www.michaels.me.uk > > > > cfmldeveloper.com > > > > cflive.net > > > > cfsearch.com > > > > On 21 Aug 2013 11:51, "Andrew Scott" <andr...@andyscott.id.au> > wrote: > > > > > > > > > > > > > > I am reaching out to everyone who is using hostek for their > hosting, > > > and > > > > > using gmail for your mail, your mail may not be being sent. > > > > > > > > > > There appears to be an issue on their servers at the moment, where > > mail > > > > > being sent just stops, well for me at least. Also it is possible > that > > > > some > > > > > people are seeing your mail without you knowing about it. > > > > > > > > > > For example, I have 3 other customers of Hostek who have sent email > > > from > > > > > their hosted website on hostek, sitting in my sent folders. I wont > go > > > > into > > > > > the implications this has from a security point of view, with > details > > > > > sitting in my gmail account about someone else's intended email. > But > > it > > > > is > > > > > a known bug in ColdFusion that seems to not be that well known, at > > > least > > > > > nothing can be found via a google search any way. > > > > > > > > > > > > > > > Regards, > > > > > Andrew Scott > > > > > WebSite: http://www.andyscott.id.au/ > > > > > Google+: http://plus.google.com/113032480415921517411 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356517 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm