Anonymous User
  Sunday, 26 January 2020
  1 Replies
  4.6K Visits
0
Votes
Undo
  Subscribe
Why would I be getting these warnings?
Rate this post:
3 years ago
·
#10805
0
Votes
Undo
Hello,  

The warning messages don't mean the hash file was not created or will not work, it will work as intended, but if you do not want to see those warnings, you can just add a comment to each line as a second parameter. The second parameter can be anything as it is not used in postfix, but it will silence the postmap warnings. Please see below how to silence the warning.

In virtual_alias_domains = hash:/etc/postfix/virtual_domains

add the example values 

linuxsecrets.com   #linuxsecrets main
linuxsecrets.net     #linuxsecrets store
linuxsecrets.org     #linuxsecrets free software

After completed run::

postmap /etc/postfix/virtual_domains
Now reload postfix

systemctl reload postfix

That should have resolved the warnings.  Test it by running:

tail -f /var/log/mail.log

That's it
  • Page :
  • 1
There are no replies made for this post yet.