Vasya Pupkin
2013-12-15 14:54:58 UTC
Hello.
I am using pcre virtual_alias_maps, like this:
virtual_alias_maps = pcre:/etc/postfix/virtual_alias_maps
I had an entry in virtual_alias_maps like this:
/^([A-Za-z0-9%._-]+)@comain.tld$/ spam-***@mailinator.com
Today mailinator.com went down and I need to requeue all deffered mail somewhere else. So I changed entry in /etc/postfix/virtual_alias_maps to something like this:
/^([A-Za-z0-9%._-]+)@comain.tld$/ my-spam-***@mail.ru
Then I reloaded postfix configuration:
sudo service postfix reload
Then I tried to requeue all mail:
sudo postsuprt -r ALL
But for some crazy reason it keeps trying to deliver all mail to mailinator.com instrad of mail.ru. What am I doing wrong? Also, I tried to send new mail to ***@comain.tld and it went to my-spam-***@mail.ru as expected. Why does requeue ignore virtual_alias_maps entry and keeps trying to deliver mail to old destination?
I am using pcre virtual_alias_maps, like this:
virtual_alias_maps = pcre:/etc/postfix/virtual_alias_maps
I had an entry in virtual_alias_maps like this:
/^([A-Za-z0-9%._-]+)@comain.tld$/ spam-***@mailinator.com
Today mailinator.com went down and I need to requeue all deffered mail somewhere else. So I changed entry in /etc/postfix/virtual_alias_maps to something like this:
/^([A-Za-z0-9%._-]+)@comain.tld$/ my-spam-***@mail.ru
Then I reloaded postfix configuration:
sudo service postfix reload
Then I tried to requeue all mail:
sudo postsuprt -r ALL
But for some crazy reason it keeps trying to deliver all mail to mailinator.com instrad of mail.ru. What am I doing wrong? Also, I tried to send new mail to ***@comain.tld and it went to my-spam-***@mail.ru as expected. Why does requeue ignore virtual_alias_maps entry and keeps trying to deliver mail to old destination?