Advertisement
Guest User

Untitled

a guest
Nov 30th, 2016
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. 2. vi main.cf
  2. 3. Add this line at end:
  3.  
  4. virtual_alias_maps=hash:/usr/syno/mailstation/etc/virtual
  5.  
  6. 4. Select virtual:
  7. You can list any mail address to any username!
  8.  
  9. domain1.com anything
  10. pim@domain1.com pimdomain1
  11. pim@domain2.com pimdomain2
  12.  
  13. 5. Next you need to compile this file into virtual.db. Login with the PuTTYtel as: User=root, Password=your admin password.
  14. 6. Write this: /usr/syno/mailstation/sbin/postmap /usr/syno/mailstation/etc/virtual
  15. 7. Check it: cd /usr/syno/mailstation/etc
  16. 8. Write: dir
  17. 9. Now a virtual.db should be available on the server.
  18. 10. Now you need to restart the postfix program:
  19.  
  20. /usr/syno/mailstation/sbin/postfix stop
  21. /usr/syno/mailstation/sbin/postfix start
  22.  
  23. 11. Now you are done however please allow up to 1 minute before postfix is updated.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement