Domain policy reject problem

majid1f

Active Member
We had 3 delivery servers. because of limitaion, we need to limit sending to each ESP with smtp . Like:

SMTP 1: allow Gmail and deny others.

SMTP 2: allow Yahoo and hotmain and deny others.

SMTP 3: allow all and deny gmail & yahoo and hotmail,

We define it in "Domain policies" at delivery servers setup (maybe it's not the best approach). it work until mailwizz 1.9.13, rightnow, after this improvement:

[IMP] - Domain policies will never end up blocking delivery from now on. Will move on after the retries are complete
and we get this message :
Failed to send to this email address after multiple retries. Check your delivery servers domain policies.
Processed status:
Domain policy rejected.
and stop sending to these subscribers.

What is your suggestion for manage ESP sending?
 

twisted1919

Administrator
Staff member
The message says that mailwizz tried it's best to deliver your message using the available delivery servers, but at some point it decided that it isn't possible and just gave up.
So i think it's because of the way domain policies were setup and maybe a combination with delivery server quota which made some delivery server which could send to those emails not being available, thus mailwizz couln't find a way to deliver and instead of staying stuck in a loop, it just moved forward, just like the changelog message says.
I don't see any issue with this approach, the solution is to have delivery server which can send to those domains, otherwise, mailwizz will simply try and giveup for those addresses.
 

majid1f

Active Member
It's a true fact. But, Imagine we have 3 SMTP servers with hourly quota limitations on each one (such as 1k) and we know that email list distribution is not uniform (such as 50% gmail, 10 % yahoo, 10% outlook and 20% others)
  • SMTP 1: allow Gmail and deny others.
  • SMTP 2: allow Yahoo and hotmain and deny others.
  • SMTP 3: allow all and deny gmail & yahoo and hotmail,
When we reach the quota limitation for the first server, try the second server and the third one, but none of them able to send in this hour. campaign should wait until next hour, But cause of domain policy, after try, it will reject.

Currently in my real case, our campaign delivery rate decreases to lower than 50%.
 

twisted1919

Administrator
Staff member
I understand what you mean, but giving your same case, we could end up never finding a delivery server to send the campaign and then the campaigns would be stuck in sending mode forever, that's our problem.
 

majid1f

Active Member
If we want have unlimited loop of sending (until find appropriate delivery), Can we comment this part:
Code:
    foreach ($domainPolicySubscribers as $subscriber) {
                    $this->logDelivery(
                        $subscriber,
                        Yii::t('campaigns', 'Failed to send to this email address after multiple retries. Check your delivery servers domain policies.'),
                        CampaignDeliveryLog::STATUS_DOMAIN_POLICY_REJECT,
                        '',
                        $server,
                        $campaign
                    );
                }
Do we have other part that need change?
maybe not bad idea to have limit timer (such as try 2 hour to find ....) for retry with domain policy.
 
Top