On 1/10/2011 11:13 PM, Ramesh wrote:
Hi, I have few queries about changing mail priority level. presently we have taking mail service from mail service provider, we want to bring up our own mail server as primary. mx entries example.com mail is handled by 0 example.com. example.com mail is handled by 10 mailhub.example.com. Yesterday i've changed priority 0 to 20, making mailhub as lowest priority 10, primary mail server for example.com when i send mail to x...@example.com from yahoo maillog in mailhub shows 554 5.7.1 (Relay access denied) but i can send mail from mailhub through webmail.
"relay access denied" means that example.com is not listed in mydestination, virtual_domains, virtual_alias_domains, or relay_domains. Postfix doesn't think it's responsible for that domain.
I would like to know... 1)If we change mx priority, how much time it will take to update priority level?
Depends on your DNS TTL and if the remote site has your records cached. Anywhere from a couple minutes to a couple weeks for sites that have the old records cached. No delay for sites that don't have your records cached.
2)If it takes more time during this period where new mails queued?
Mail will be sent to the old primary if that's what remote sites have cached.
Please suggest me things to follow for migrating primary to secondary mail server.
It's customary to reduce your DNS TTL a few days prior to planned changes.
Thanks and Regards, Ramesh
-- Noel Jones