Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this questionIf there are messages in the postfix queue and I want to force the queue delivery via:
开发者_运维百科postqueue -f
Will this force a redo of DNS lookup / MX record lookup?
postqueue -f
will flush the queue made of files, that process can be done even after a reboot, and, like an automate, all resolution and contacts steps are done again.
In brief, it repeats the process if name resolution via, first, the MX type entries, and tries (again) to contact the targeted mail servers.
The concern would be more on the DNS side, where the name server may keep a cache of the recently resolved entries. Meaning that even if you change the MX entries (at a registrar in charge of your DN zones for instance), they may seem unchanged from your mail server, depending on the TTL of the DNS server that resolved the MX record.
精彩评论