Lost emails during MX change to gmail

1,347

Preface

I'm afraid, here isn't a best place to ask such type of questions: in order to get full detailed answer, we have to cover some deep details of DNS and SMTP. It's a problem for local users here, but not (I hope) on ServerFault

Face

You done almost all correctly, I, maybe, only decreaseвd TTL for MX RR before changing data and would wait data-expiration time in order to make "all perfect"

Main problem is "no any response" from SMTP-transactions in your tests. It's extremely bad sign. Maybe you can check now server-log for MTA, which (first) receive message from your MUA (client program) and must route e-mail message to recipient's server? This way you can at least identify, was message transferred from first hop to next and who to ask for more information about the subsequent history (postmaster@ of collector).

Sorry, without smtp-logs I can't say more

Share:
1,347

Related videos on Youtube

ᴊᴇsᴘᴇʀᴋ.ᴇᴛʜ
Author by

ᴊᴇsᴘᴇʀᴋ.ᴇᴛʜ

Updated on September 18, 2022

Comments

  • ᴊᴇsᴘᴇʀᴋ.ᴇᴛʜ
    ᴊᴇsᴘᴇʀᴋ.ᴇᴛʜ over 1 year

    Is there a way to let matplotlib know to recompute the optimal bounds of a plot?

    My problem is that, I am manually computing a bunch of boxplots, putting them at various locations in a plot. By the end, some boxplots extend beyond the plot frame. I could hard-code some xlim and ylim's for now, but I want a more general solution.

    What I was thinking was a feature where you say "ok plt I am done plotting, now please adjust the bounds so that all my data is nicely within the bounds".

    Is this possible?

    EDIT: The answer is yes.

    Follow-up question: Can this be done for the ticks as well?

    • Lazy Badger
      Lazy Badger about 12 years
      I'll vote for transfer question on ServerFault
  • Admin
    Admin about 12 years
    Thank you for your answer. Are you saying that my method should have not resulted in any emails being lost? Thanks
  • Lazy Badger
    Lazy Badger about 12 years
    @user793011 - yes, it seems so. You may to get some time e-mails into both MX, but not lost - lost mail is a serious reason for special investigation (at least for me, as postmaster with strict professional rules)
  • Admin
    Admin about 12 years
    My hosting company have said the following: As soon as the MX records are changed, our servers will stop accepting mail for the domain. Some servers may still have the old MX records cached until they expire, though. The expiry time can be reduced by lowering the MX records TTL before making the change, and allowing time for the new TTL to propagate.
  • Admin
    Admin about 12 years
    And then this: Reducing the TTL before changing the MX records is the best way to avoid losing emails, and the cluster should bounce mail that isn't hosted with us; it just didn't catch up with the change, in this case. Unfortunately, there is no way to absolutely guarantee no email will be lost or bounce during an MX record change from one provider to another. Reducing the TTL before the changeover should minimise the window when that could happen, though.
  • Lazy Badger
    Lazy Badger about 12 years
    @user793011 - missing bounces drive me nuts
  • Admin
    Admin about 12 years
    So is this 'just one of those things' or is my hosing company at fault here? Thanks
  • Lazy Badger
    Lazy Badger about 12 years
    Not hosting company, definitely. During SMTP-session (shortest: MUA-senderMTA-recipientMTA-MUA) if something go wrong and e-mail can't be transferred, *MTA must generate and send bounce-message for sender. Because we don't know now, where and how troubles appeared with undeliverable mail - we don't know to whom really complaint
  • Lèse majesté
    Lèse majesté about 12 years
    Is it possible that the test messages all happened to be caught by a spam filter? E.g. they were failed by the SPF due to being sent via the wrong SMTP server (though I don't think Google's SPF is that restrictive)? In some cases, mail server admins choose not to send bounce notifications for messages suspected of being spam.
  • Lazy Badger
    Lazy Badger about 12 years
    @Lèsemajesté - yes, it's possible. But in this case message is received at least in Google's Spam folder. OP wrote about "mail disappeared". Anyway, currently it's just divination
  • Lèse majesté
    Lèse majesté about 12 years
    Well, it depends on where the SPF is enforced. I believe the messages in the spam folder are filtered there post-delivery. Whereas SPF enforcement happens pre-delivery--typically the first MTA to receive the message. Though sometimes the checkpoint won't block the message and will just forward it with a Received-SPF header, which Gmail could then use in their spam filter, in which case it should show up in the "spam" folder. But, yea, I guess it's all speculation at this point.
  • Evanss
    Evanss about 12 years
    I checked and no messages are in any spam folders. Thanks
  • ᴊᴇsᴘᴇʀᴋ.ᴇᴛʜ
    ᴊᴇsᴘᴇʀᴋ.ᴇᴛʜ about 8 years
    This is great thanks! I had to use "set_autoscale_on(True)".
  • ᴊᴇsᴘᴇʀᴋ.ᴇᴛʜ
    ᴊᴇsᴘᴇʀᴋ.ᴇᴛʜ about 8 years
    is there a way to autoscale the xticks in a similar way?
  • Suever
    Suever about 8 years
    @denvar matplotlib should already automatically create xticks for you unless you hard-coded ticks in some way. That's really part of a separate question, but you would need to post some of the code so we could see what was happening.