Retrieve DNS messages for custom MTA in ECM - sitecore

Sitecore 6.6, Update 4 (rev 130214) with ECM 2.0 (rev 130123)
I've got a Sitecore installation where we're using a custom MTA. I've configured the Delivery Status Notifications section in the Email Campaign Manager root to include my Return Address POP3 information.
The custom MTA is sending the emails and my POP3 account is receiving the DNS bounce emails.
I can't get this information back into ECM. I've checked the Checked Bounced Messages task for ECM and while it's still configured to do the daily check, I've manually run it a number of times to no avail.
Any clues to why ECM wouldn't be able to pull in this information?
Thanks!

Check your architecture setup as ECM will not automatically receive
the DNS bouce emails count, as it is not using SAC because you are
using a Custom MTA. Have a look at the below image.
Since you are using Custom MTA, make sure you have the Delivery Status Notifications Settings configured properly. Especially the Notification Gathering, because guide says:
Whether or not to collect delivery status notifications from the e
mail box used by the module for sending messages. If this check box is
cleared, the rest of the section is ignored.
If this check box is selected, but other fields of this section are
empty, these fields will be inherited from the manager root.
Make sure the below two steps are followed. Read ECM Admin & Dev Guide
The MTA server sends the DSN messages to the corporate email address. The SMTP server sends the DSN messages to the address
specified in the Return Address field. Usually this address is hosted
on a corporate e-mail server.
The ECM module connects to the e-mail server and gets the DSN messages for further analysis. The POP3 protocol is used for this
connection. For more information about collecting the DSN messages,
see section Collecting Delivery Status Notifications.
Lastly check the subscriber's profile for UndeliveredCount property for
soft bounces and also the manager root item's Undelivered Max
setting, which should give you soft bounces (or maximum value of
UndeliveredCount property) per subscriber.
Let us know how you get along and if the above was useful.

With the help of Sitecore support and through some decompiling and adding additional logging of the ECM code, we have determined that the problem is that the custom MTA was stripping out the original headers that contained the references to the Sitecore campaignID.
When the campaignID headers are present, ECM works great and has no problem pulling the bounce messages back into Sitecore.

Related

AWS SES emails are coming in Junk of Outlook Mail

Sending some automated emails through SES inside the organisation but those are directly going to junk folder of Outlook mail. Could anyone suggest how to solve this problem?
Outlook junk email logic is a little tricky. Even if you add the sender to your safe list, or disable automatic filtering in "Junk E-mail Options" (i.e. only emails from blocked senders are sent to Junk email folder), Outlook could still flag some emails, even internal emails, as junk.
If completely disabling automatic filtering in Outlook is an option for you, you can update the following registry entry to "1".
HKEY_CURRENT_USER\Software\Policies\Microsoft\office\16.0\outlook
DWORD: DisableAntiSpam
Value of 1 disables the junk filter, 0 enables it
Note: Version 16.0 is for when you are using Outlook 2016. It will be different if you're using a different version.
I resolved this issue.
1.) Verify your Domain (Enable DKIM & Custom MAIL FROM domain)
2.) Verify your Email.
I think it's Custom MAIL FROM domain. Now, I'm getting emails in my outlook inbox folder after enabling Custom MAIL FROM domain.

How to configure Django such that emails are sent by both smtp, and to a log file?

I'm frequently plagued by the complaints that email from a django application running on its own Ubuntu LTS 16.04 server, is not being received. Typically these are the password change request emails, so they're part of the standard Django Auth module as I understand it.
Django's sendtestemail appears to work reliably, and many of the expected emails are actually sent and received (from what we can discern). The smtp setup is such that EMAIL_HOST is set to an smtp server on the same network that supports anonymous message relay (from servers on the same network only), and the EMAIL_BACKEND is the typical django.core.mail.backends.smtp.EmailBackend. Using the console backend for testing shows that emails are triggered as we would expect on these various events.
So, what I want to be able to do, is to have both email sent out via the smtp relay as expected, but also be added to a log file, and for this to happen for all emails generated by all the email events in the Django app.
Is this possible using django configuration?
If not, can you recommend a method by which I can both send and log the emails?
Bonus query - can the solution allows me to resend an email using the original content?

Mailgun - Campaign links timeout?

I'm trying to use a Mailgun Campaign to help track emails sent through Mailgun. The links in the email get modified, as expected, so that Mailgun can collect stats on which links are getting clicked. However, the links are timing out.
Some of the clicks are definitely getting through (they are collected by Mailgun's Campaign tracking), but I'm also getting a lot of user reports of timeouts. Every time I try the links they timeout.
The Mailgun Domain and DNS Verification is all green, including the optional entries.
'Is it down' type services all says it's up: http://currentlydown.com/email.mg.dr2dr.ca
DNS resolution works, when I ping email.mg.dr2dr.ca, it resolves, but the requests all timeout.
I have started a ticket with Mailgun Support, but it's email support so I figured I would ask here to see if anyone has any ideas.

Vtiger : How we have to manage Email thread on Lead Module?

We are sending email to customer from Lead module and email sent to customer successfully from Vtiger. also we have integrate Mail Manager
in Vtiger.
i can also see that email in Sent box.
now, When Customer will give reply for that mail which i have sent from Lead module that will automatically appear in Lead Module Email Tab. right now i am getting am reply in Mail Box but i need log email in Lead section with particular customer replay.
Please help me if anyone solution..
It's by default functionality which is provided by Vtiger CRM.
We have configure Mail Scanner and select folder which we have to scan.
also, we have add condition or rule for this what we have to do if we can get result while scanning.
Please check status for MailScanner in vtiger_cron_task table. it must be 1.
also we have to set vtigercron.php in cronjob.
you can also run vtigercron.php in console on server with below command
php vtigercron.php
After success full scan you can get below message
Please Let me know if you have any question.

How would I know that email has been sent or not via SendGrid in Django

I am working on django and sending emails to multiple users at once. in the given scenario it only tells me that if it has sent or not.
I want to display the report of same page that how many emails has sent to user successfully and how many not. more if i want to get details why email has failed to sent.
How would i do such things via SENDGRID APIs.
There are two options that I know of:
Connect to SendGrid Event Webhooks and start parsing events for every email to flag ones that were not sent. I believe you can configure SendGrid to only send certain events, so if you're interested in bounces you don't need to worry about handling all events.
The second option is to use a service like sendwithus which will connect to your SendGrid account on your behalf and track all bounces/opens/clicks for you and provide a simpler API/UI to view the data. I believe they do this via SendGrid's webhooks, so it's effectively the same solution but written for you.
Happy to elaborate on either, I've used both before.