Call-back icon  Sales: Call 877.832.5289 (N America)|310.295.4144 (International)

Magento

eCommerce Software for Online Growth

Magento Forum

   
Beware of your spam filter settings! 
 
magbuzz
Member
 
Total Posts:  32
Joined:  2008-03-22
 

Mail sent by Magento Registers 7 or 8 on the spam scale!

Beware of your spam filter settings!

This is going to be an ongoing problem for Magento users unless major changes can be made to the e-mail sent out.

High spam ratings can cause critical emails to be deleted so for now use caution in your spam filter settings.

m

 
Magento Community Magento Community
Magento Community
Magento Community
 
hcristovao
Jr. Member
 
Total Posts:  11
Joined:  2007-10-25
 

Isn’t spam filtering based largely on the domain from which the mail is originating?

Also, the content obviously has a lot to do with it as well.

Is there anyone more experienced with the intricacies of mail?

Helder
http://www.feesha.com

 
Magento Community Magento Community
Magento Community
Magento Community
 
magbuzz
Member
 
Total Posts:  32
Joined:  2008-03-22
 

You ‘re correct that the spam filter is set on your domain control panel. I had my filter set to delete spam. My problem was that I did not receive mail when an order was placed.

I wasted a lot of time looking for a configuration error in my magento setup and finally discovered the mail WAS being sent but was being deleted before it reached me.

I hope this helps others because I had to find this on my own.

m

 
Magento Community Magento Community
Magento Community
Magento Community
 
iDave
Member
 
Total Posts:  33
Joined:  2008-03-10
 

Gmail marked my magento e-mail as spam to.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Miro a.k.a. SecretR
Jr. Member
 
Avatar
Total Posts:  19
Joined:  2008-03-21
 

Use better smtp for sending mails than sendmail.

 Signature 

http://www.e107.org | http://www.e107bg.org | http://www.free-source.net

 
Magento Community Magento Community
Magento Community
Magento Community
 
CougarD
Jr. Member
 
Total Posts:  23
Joined:  2008-02-25
 

Same problem here guys…

 Signature 

http://www.karmatradingco.com
http://www.kentbusinessforum.co.uk
http://www.greenshops.org.uk

 
Magento Community Magento Community
Magento Community
Magento Community
 
CougarD
Jr. Member
 
Total Posts:  23
Joined:  2008-02-25
 

Ok. I found a solution that works for me as a kinda bodge fix…

My problem is that my server scans outgoing messages with amavis and spamassasin. It was giving the Password Reminder email a spam rating of 8 and then automatically deleting it. All other email pass through fine.

Here is the log..

Apr 13 13:04:52 server1587 postfix/pickup[2809]59BF611D4269uid=33 from=<www-data>
Apr 13 13:04:52 server1587 postfix/cleanup[3805]59BF611D4269message-id=<20080413120452.59BF611D4269@www.mydomain.com>
Apr 13 13:04:52 server1587 postfix/qmgr[2150]59BF611D4269from=<www-data@www.mydomain.com>, size=2191nrcpt=(queue active)
Apr 13 13:04:56 server1587 postfix/smtpd[3813]connect from localhost.localdomain[127.0.0.1]
Apr 13 13
:04:56 server1587 postfix/smtpd[3813]B145D11D4225client=localhost.localdomain[127.0.0.1]
Apr 13 13
:04:56 server1587 postfix/cleanup[3805]B145D11D4225message-id=<SSZWVFDQQSCatt@www.mydomain.com>
Apr 13 13:04:56 server1587 postfix/qmgr[2150]B145D11D4225from=<>, size=3279nrcpt=(queue active)
Apr 13 13:04:56 server1587 postfix/smtpd[3813]disconnect from localhost.localdomain[127.0.0.1]
Apr 13 13
:04:56 server1587 amavis[3678]: (03678-01Blocked SPAM, <www-data@www.mydomain.com> -> <customer@customerdomain.co.uk>, quarantinespam-ZWVFDQQSCatt.gzMessage-ID: <20080413120452.59BF611D4269@www.mydomain.com>, mail_idZWVFDQQSCattHits8.4564394 ms
Apr 13 13
:04:56 server1587 postfix/smtp[3808]59BF611D4269to=<customer@customerdomain.co.uk>, relay=127.0.0.1[127.0.0.1]:10024delay=4.4delays=0.03/0/0/4.4dsn=2.5.0status=sent (250 2.5.0 Okid=03678-01BOUNCE)
Apr 13 13:04:56 server1587 postfix/qmgr[2150]59BF611D4269removed
Apr 13 13
:04:56 server1587 postfix/local[3814]B145D11D4225to=<www-data@www.mydomain.com>, relay=localdelay=0.06delays=0.05/0.01/0/0dsn=2.0.0status=sent (delivered to mailbox)
Apr 13 13:04:56 server1587 postfix/qmgr[2150]B145D11D4225removed

As a work around, I just added the sending domain to the amavis config file (/etc/amavis/conf.d/20-debian_defaults on ubuntu) and gave it an initial rating of -8.

nano /etc/amavis/conf.d/20-debian_defaults

#  read_hash("/var/amavis/sender_scores_sitewide"),

   # a hash-type lookup table (associative array)
     
'www.mydomain.com'                      => -8.0,   #set low initial spam score to get past stupid amavis mkay? 
     
'nobody@cert.org'                        => -3.0,
     
'cert-advisory@us-cert.gov'        => -3.0,
     
'owner-alert@iss.net'                  => -3.0,
     
'slashdot@slashdot.org'            => -3.0,
     
'securityfocus.com'                      => -3.0,

I then resterted my services..

/etc/init.d/amavis restart
/etc/init.d/clamav-daemon restart
/etc/init.d/clamav-freshclam restart
/etc/init.d/postfix restart

And all is good…

Apr 13 13:21:25 server1587 postfix/pickup[6204]9C1F711D4278uid=33 from=<www-data>
Apr 13 13:21:25 server1587 postfix/cleanup[6255]9C1F711D4278message-id=<20080413122125.9C1F711D4278@www.mydomain.com>
Apr 13 13:21:25 server1587 postfix/qmgr[6205]9C1F711D4278from=<www-data@www.mydomain.com>, size=2191nrcpt=(queue active)
Apr 13 13:21:28 server1587 postfix/smtpd[6263]connect from localhost.localdomain[127.0.0.1]
Apr 13 13
:21:28 server1587 postfix/smtpd[6263]37DD811D4282client=localhost.localdomain[127.0.0.1]
Apr 13 13
:21:28 server1587 postfix/cleanup[6255]37DD811D4282message-id=<20080413122125.9C1F711D4278@www.mydomain.com>
Apr 13 13:21:28 server1587 postfix/qmgr[6205]37DD811D4282from=<www-data@www.mydomain.com>, size=2693nrcpt=(queue active)
Apr 13 13:21:28 server1587 postfix/smtpd[6263]disconnect from localhost.localdomain[127.0.0.1]
Apr 13 13
:21:28 server1587 amavis[5852]: (05852-01Passed CLEAN, <www-data@www.mydomain.com> -> <customer@customerdomain.co.uk>, Message-ID: <20080413122125.9C1F711D4278@www.mydomain.com>, mail_idq0TJkNI4l8OiHits8.456-8queued_as37DD811D42822622 ms
Apr 13 13
:21:28 server1587 postfix/smtp[6258]9C1F711D4278to=<customer@customerdomain.co.uk>, relay=127.0.0.1[127.0.0.1]:10024delay=2.7delays=0.02/0/0/2.6dsn=2.6.0status=sent (250 2.6.0 Okid=05852-01from MTA([127.0.0.1]:10025): 250 2.0.0 Okqueued as 37DD811D4282)
Apr 13 13:21:28 server1587 postfix/qmgr[6205]9C1F711D4278removed
Apr 13 13
:21:28 server1587 postfix/smtp[6264]37DD811D4282to=<customer@customerdomain.co.uk>, relay=mail.customerdomain.co.uk[100.100.100.100]:25delay=0.62delays=0.05/0.01/0.19/0.38dsn=2.0.0status=sent (250 OK id=1Jl1D2-00017Y-Ve)
Apr 13 13:21:28 server1587 postfix/qmgr[6205]37DD811D4282removed

Notice the spam score?

Hits8.456-8

I know this does not fix the problem in the long term, and this will only help out those who run dedicated boxes.

Maybe a simple edit of the email template is all that is needed.

Matt

 Signature 

http://www.karmatradingco.com
http://www.kentbusinessforum.co.uk
http://www.greenshops.org.uk

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
Sales: Call 877.832.5289 (North America) 310.295.4144 (International)
© Copyright 2008 Varien. Magento, eCommerce software, is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
53155 users|535 users currently online|107161 forum posts