Do you use Hostek and Gmail for your mail?

160 views
Skip to first unread message

hofar...@houseoffusion.com

unread,
Aug 21, 2013, 6:49:44 AM8/21/13
to ColdFusion Technical Talk

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:356508

hofar...@houseoffusion.com

unread,
Aug 21, 2013, 7:19:30 AM8/21/13
to ColdFusion Technical Talk

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
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356509

hofar...@houseoffusion.com

unread,
Aug 21, 2013, 8:11:31 AM8/21/13
to ColdFusion Technical Talk

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.
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356510

hofar...@houseoffusion.com

unread,
Aug 21, 2013, 8:25:43 AM8/21/13
to ColdFusion Technical Talk

And yes Adobe have known about this bug for over 8+ months.

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:356511

hofar...@houseoffusion.com

unread,
Aug 21, 2013, 8:26:38 AM8/21/13
to ColdFusion Technical Talk

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.
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356512

hofar...@houseoffusion.com

unread,
Aug 21, 2013, 8:31:39 AM8/21/13
to ColdFusion Technical Talk

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).
*
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356513

hofar...@houseoffusion.com

unread,
Aug 21, 2013, 9:07:52 AM8/21/13
to ColdFusion Technical Talk

The developer edition of cf has all the enterprise features.
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356514

hofar...@houseoffusion.com

unread,
Aug 21, 2013, 9:08:45 AM8/21/13
to ColdFusion Technical Talk

hofar...@houseoffusion.com

unread,
Aug 21, 2013, 9:13:20 AM8/21/13
to ColdFusion Technical Talk

I know the developer version has all the same features, just I have no idea
where that setting actually exists on my dev version.

I started out on ColdFusion version 9, when the problem kept happening they
moved me to ColdFusion 10 and it still happened there as well. When they
made the change they stated, it worked fine for months. Till recently...
Where I am getting the problem again.

But other Hostek customers, must be noticing this as well surely.
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356516

hofar...@houseoffusion.com

unread,
Aug 21, 2013, 9:16:01 AM8/21/13
to ColdFusion Technical Talk

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.
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356517

hofar...@houseoffusion.com

unread,
Aug 21, 2013, 9:18:27 AM8/21/13
to ColdFusion Technical Talk

Dean, sorry I have no access to a shared hosting providers cfadmin. So I am
at their mercy to make changes to fix the issue.
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356518

hofar...@houseoffusion.com

unread,
Aug 21, 2013, 9:26:57 AM8/21/13
to ColdFusion Technical Talk

Andrew the settings referred to are under the smtp settings in your cfadmin.

You do not need access to the hosts cfadmin to use spoolenable you pass it
as an attribute in your cfmail tag.
You can view all the cfmail attributes at the online docs.
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356519

hofar...@houseoffusion.com

unread,
Aug 21, 2013, 9:30:15 AM8/21/13
to ColdFusion Technical Talk

Russ, are you saying that the spool enable is the one that is keeping the
connection open?
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356520

hofar...@houseoffusion.com

unread,
Aug 21, 2013, 9:56:52 AM8/21/13
to ColdFusion Technical Talk

Andrew, yes, that is an option that you can set server wide, but I was
referring to the attribute for just the cfmail tag. I do believe that if
you set it on a tag level, that it overrides the main server setting.


On Wed, Aug 21, 2013 at 9:18 AM, Andrew Scott <and...@andyscott.id.au>wrote:

>
> Dean, sorry I have no access to a shared hosting providers cfadmin. So I am
> at their mercy to make changes to fix the issue.
>
> Regards,
> Andrew Scott
> WebSite: http://www.andyscott.id.au/
> Google+: http://plus.google.com/113032480415921517411
>
>
>
>
>
--
---------------------------------------------------------------------------
Dean M. Lawrence
INTERNET DATA TECHNOLOGY
p // 888.438.4381 ext. 701
w // www.idatatech.com
f // www.facebook.com/idatatech
t // www.twitter.com/idatatech

Social Marketing | SEO | Design | Internet Development


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:356521

hofar...@houseoffusion.com

unread,
Aug 21, 2013, 10:03:50 AM8/21/13
to ColdFusion Technical Talk

No I am simply responding to tge previous suggestion to try this to which
you replied that you no acces to the hosts cradmin, so Ivam pointingvout
that you do not need access to their ffadmin to fobthid.
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356522

hofar...@houseoffusion.com

unread,
Aug 21, 2013, 10:06:39 AM8/21/13
to ColdFusion Technical Talk

hofar...@houseoffusion.com

unread,
Aug 21, 2013, 10:06:12 AM8/21/13
to ColdFusion Technical Talk

ok, all that aside, I would still consider the problem a major issue either
way.
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356524

hofar...@houseoffusion.com

unread,
Aug 21, 2013, 10:07:52 AM8/21/13
to ColdFusion Technical Talk

No I don't Ray, it was lodged by Hostek. I guess I can ask them for it.
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356525

hofar...@houseoffusion.com

unread,
Aug 21, 2013, 10:10:03 AM8/21/13
to ColdFusion Technical Talk

I haven't tried to send email from my site...But I am using hostek as my
host and google apps mail for my email.

Eric
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356526

hofar...@houseoffusion.com

unread,
Aug 21, 2013, 10:13:40 AM8/21/13
to ColdFusion Technical Talk

Eric, I think it would be safe to say if your not sending email using your
gmail account, then you are not affected.
On Thu, Aug 22, 2013 at 12:10 AM, Eric Roberts <
ow...@threeravensconsulting.com> wrote:

>
> I haven't tried to send email from my site...But I am using hostek as my
> host and google apps mail for my email.
>
> Eric
>
>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:356527

hofar...@houseoffusion.com

unread,
Aug 21, 2013, 10:23:32 AM8/21/13
to ColdFusion Technical Talk

hofar...@houseoffusion.com

unread,
Aug 21, 2013, 10:34:44 AM8/21/13
to ColdFusion Technical Talk

hofar...@houseoffusion.com

unread,
Aug 21, 2013, 10:41:21 AM8/21/13
to ColdFusion Technical Talk

A work around to this would be to setup smtp.yourdomain cname record
pointing to smtp.gmail.com and use that instead then you won't use an
existing connection.
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356530

hofar...@houseoffusion.com

unread,
Aug 21, 2013, 10:45:22 AM8/21/13
to ColdFusion Technical Talk

hofar...@houseoffusion.com

unread,
Aug 21, 2013, 4:09:33 PM8/21/13
to ColdFusion Technical Talk

Ok.. I blogged this issue for posterity. Now let's vote this bug up :)

http://bit.ly/16x4ilg

-Mark



Mark Kruger - CFG
CF Webtools
www.cfwebtools.com
www.coldfusionmuse.com
O:�402.932.3318
E:�mkr...@cfwebtools.com
Skype:�markakruger


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:356534

hofar...@houseoffusion.com

unread,
Aug 21, 2013, 5:22:51 PM8/21/13
to ColdFusion Technical Talk

I just talked to our system admins about this one, and none of them or
myself have ever heard of a customer reporting this issue on our end.

I checked a few of the CF servers and they all seem to be configured with
Spooling to disk and maintain connection as checked, which I think is
pretty much the default configuration.

So maybe there is something to the theory that this doesn't happen with
spooling enabled.

Byron Mann
Lead Engineer & Architect
HostMySite.com
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356536

hofar...@houseoffusion.com

unread,
Aug 21, 2013, 6:24:20 PM8/21/13
to ColdFusion Technical Talk

I saw Adobe's bug post, they mentioned my work around but didn't really
explain it properly at all, I doubt many people will even understand that.
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356537
Reply all
Reply to author
Forward
0 new messages