If this is your first visit, check our documentation. To post, register or login.
Forums / Bug Reports / [Done 1.6.0] Not a bug report

[Done 1.6.0] Not a bug report

Started by mprough on 27 Aug 2012, 6:08 PM · Views: 3,264

Results 1 to 20 of 22
27 Aug 2012, 6:08 PM
#1
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,336
Plugin Contributions:
41

[Done 1.6.0] Not a bug report

When setting up new stores, or making a bunch of changes like shipping, payments etc the volume of emails is setting off the spam alert in mail programs such as gmail. My concern is that these types of monitored platforms, who keep their own spam lists, will lower the trust score of the IP/mailserver and eventually could end up blacklisted.

I would like to propose a aggregated email after X amount of time or dropping the emails for logging instead to avoid this.

~Melanie

27 Aug 2012, 7:31 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: [Done 1.6.0] Not a bug report

I'm not seeing any get flagged as spam.

If you look at the source of those emails in gmail, has gmail actually stated in the email headers why they've flagged them as spam? If they're giving "reasons why", then there might be something more that can be done to minimize the likelihood of triggering it.

I know that there can be a bit of "volume" if I'm making a ton of separate config changes repeatedly while tweaking. But never saw it flagged as spam.
Are you seeing 5 such emails? or 25? or 250?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

27 Aug 2012, 7:39 PM
#3
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,336
Plugin Contributions:
41

Re: [Done 1.6.0] Not a bug report

For example.... setting the sort order for 3 shipping modules sent a barrage of emails 5 in total, 3 to spam and the first 2 to the inbox. I would be happy to send you headers... but not to post plz.

27 Aug 2012, 7:55 PM
#4
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,336
Plugin Contributions:
41

Re: [Done 1.6.0] Not a bug report

Why is this message in Spam? It's similar to messages that were detected by our spam filters. Learn more

27 Aug 2012, 8:43 PM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: [Done 1.6.0] Not a bug report

Sure, please PM me with the headers from those, all 5 please.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

28 Aug 2012, 12:57 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: [Done 1.6.0] Not a bug report

What's the Admin->Configuration->Email Options->Email Transport Method set to?
If it's not set to SMTPAUTH, I'd be interested in seeing how switching to SMTPAUTH affects these symptoms.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

28 Aug 2012, 3:05 PM
#7
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,336
Plugin Contributions:
41

Re: [Done 1.6.0] Not a bug report

PHP mail

28 Aug 2012, 3:07 PM
#8
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,336
Plugin Contributions:
41

Re: [Done 1.6.0] Not a bug report

We cannot use SMTP auth because the protocol cannot match the security requirements on the server for PCI ..... and for PCI mail passwords must be changed every 90 days as well, which would set off a landslide of brutes when they cannot connect

28 Aug 2012, 3:19 PM
#9
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: [Done 1.6.0] Not a bug report

Okay.

Well, unauthenticated messages sent from the server as a generic user (ie: "nobody" or "www" or "apache", etc) do quite often trip spam flags; whereas SMTP Authenticated messages don't trigger those issues.

I gather from your last post that you don't have the ability to perform a temporary test of this to rule out this particular factor in relation to the symptoms you're reporting.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

28 Aug 2012, 3:23 PM
#10
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,336
Plugin Contributions:
41

Re: [Done 1.6.0] Not a bug report

Well, unauthenticated messages sent from the server as a generic user (ie: "nobody" or "www" or "apache", etc) do quite often trip spam flags; whereas SMTP Authenticated messages don't trigger those issues.
We are actually setup for the protocol, nobody yes, but unknown no. Apache will not send mail as nobody unless it actually originates from the hosted account.
I gather from your last post that you don't have the ability to perform a temporary test of this to rule out this particular factor in relation to the symptoms you're reporting.
Not really. I could hack the protocol a bit to get SMTP auth to connect and test, but the sheer fact that then client's Zen Cart's could brute block when they passwords need changed makes it's not a viable option.

21 Aug 2013, 10:00 PM
#11
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: [Done 1.6.0] Not a bug report

mprough:

When setting up new stores, or making a bunch of changes like shipping, payments etc the volume of emails is setting off the spam alert in mail programs such as gmail.
Please test this out and see if it helps your situation: https://github.com/zencart/zencart/commit/76030154f5aa7d5a3db83e391569674cb55aa2f7

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

22 Aug 2013, 12:35 AM
#12
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,336
Plugin Contributions:
41

Re: [Done 1.6.0] Not a bug report

Will do boss, let you know =)

~Melanie

3 Sep 2013, 3:12 PM
#13
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,336
Plugin Contributions:
41

Re: [Done 1.6.0] Not a bug report

Worked for most, but some still went to gmail spam

16 Sep 2013, 7:22 PM
#14
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,336
Plugin Contributions:
41

Re: [Done 1.6.0] Not a bug report

So I lied =P

[16-Sep-2013 15:20:22 America/New_York] PHP Fatal error: Call to undefined method PHPMailer::SetFrom() in /home/xxx/public_html/includes/functions/functions_email.php on line 251

2 Nov 2013, 2:59 PM
#15
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: [Done 1.6.0] Not a bug report

That error suggests you're using an outdated 1.6.0 install. phpMailer was updated in 1.6.0 several months back, and the setFrom() call only works with that newer version.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

2 Nov 2013, 3:15 PM
#16
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,336
Plugin Contributions:
41

Re: [Done 1.6.0] Not a bug report

DrByte:

That error suggests you're using an outdated 1.6.0 install. phpMailer was updated in 1.6.0 several months back, and the setFrom() call only works with that newer version.
Still 1.5.1 on this =)

2 Nov 2013, 6:00 PM
#17
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: [Done 1.6.0] Not a bug report

Okay, but there's no call to SetForm() in functions_email.php in 1.5.1, so it suggests your functions_email.php has more in it than just what I mentioned from the github link above.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

2 Nov 2013, 8:51 PM
#18
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,336
Plugin Contributions:
41

Re: [Done 1.6.0] Not a bug report

Actually copied it exactly, no chhanges

3 Nov 2013, 10:35 PM
#19
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: [Done 1.6.0] Not a bug report

Sigh. I guess we're not understanding each other.

Thanks anyway.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

3 Nov 2013, 11:21 PM
#20
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,336
Plugin Contributions:
41

Re: [Done 1.6.0] Not a bug report

I have made no changes to the file