1

It appears that it is against policy for one of the sites that is feeding us referrals to send out transactional emails to customers that've used their 'gateway' (for lack of knowledge of a clearly defined better word in this instance).

Our site has been flagged by this aforementioned gateway due to our site sending out transactional emails to the address that is provided when they go through their referral process to our Magento instance.

At this point I don't have a whole lot of information on the best way to identify what transactional emails to filter.

I do have a domain that [all of the currently referenced] mail is allegedly being sent to (leading me to believe that the referral process from their end is substituting an email address that they're seeing this outflow from), and that might be one way to try to filter these emails, but I really don't know if that is the best way to try to go about this or not.

So I figured I would ask the experts. I believe SMTPPro is handling our 'transactional' emails, though I might be mistaken here.

Can anybody point me to a reference where I might find out a little bit better what subsystem, so to speak, is sending these emails (if indeed it is not SMTPPro), and how to go about selectively filtering what customers get an email sent and whatnot?

Any helpful information, or even pointers in the right direction, are greatly appreciated.

2

Finding out how your e-mails are sent:

Magento-side:

Check the "Host" value: System > Configuration > Advanced > System > Mail Sending Settings. Is it "localhost"? Then you are most probably sending via sendmail. Is it another server and the port is 25? Then it could be SMTP.

Furthermore: Check if SMTPPro is enabled.

Server-side:

If your e-mails are sent via sendmail, then you could also try to run and check "mailq" via SSH and see if your mails get queued up there.

How to control which e-mails are getting sent

We created a Black/Whitelisting extension at a Magento Hackathon last year. It is not production ready but you could give it a try (and send a pull request if you update it): https://github.com/magento-hackathon/MailGuard

  • On the Magento side of things, the 'host' value that you specified is, indeed, set to 'localhost'. However, I notice that under this setting (as well as the port #25) that it specifies Windows hosts only. This instance is running on Linux, not Windows. SMTPPro is, indeed, enabled; sendmail (while present on the system) is not running currently nor enabled for the runlevel. So am I correct in assuming that despite the somewhat conflicting information that SMTPPro is handling things here? Also, many thanks for the MailGuard link. Will check it out ASAP. – Damon Getsman Jun 15 '15 at 22:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.