Advertisement
Guest User

Untitled

a guest
Sep 13th, 2017
476
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.54 KB | None | 0 0
  1. Hi all,
  2.  
  3. I have a problem with postfix configuration with two domains on one machine;
  4.  
  5. This was postfix main.conf looks like:
  6.  
  7. Code:
  8. smtpd_delay_reject = yes
  9. disable_vrfy_command = yes
  10. mydestination = localhost.localdomain, localhost
  11. virtual_alias_domains = domena1.com, domena2.hr
  12. virtual_alias_maps = hash:/etc/postfix/virtual
  13. mynetworks = 127.0.0.1/32 ip_stroja/32
  14. mailbox_size_limit = 70000
  15. recipient_delimiter = +
  16. inet_protocols = all
  17. alias_database = hash:/etc/aliases
  18. "/etc/postfix/virtual"
  19.  
  20. Code:
  21. pero@domain1.com pero_temp
  22. marko@domain1.com marko_temp
  23. jadranka@domain1.com jadranka_temp
  24.  
  25. pero@domain2.com pero_temp
  26. marko@domain2.com marko_temp
  27. #I do not want to have mail jadranka@domain2.com
  28. "/etc/aliases"
  29.  
  30. Code:
  31. pero_temp: pero_accaunt_on_machine,pero@gmail.com
  32. marko_temp: marko_accaunt_on_machine,marko@gmail.com
  33. jadranka_temp: jadranka_accaunt_on_machine,jadranka@gmail.com
  34. Now I want to achieve that certain users have a certain Accaunt have mail on both domains. Also, I would achieve that mail sent to say pero@domain1.com remain on the server so I could read it through Outlook, and to me a copy of Share on gmail.
  35.  
  36. I tried to modify /etc/mailname in name_of_machine@domain1.com, but then my mail gets stuck in the que says:
  37.  
  38. "pero_temp@name_of_machine@domain1.com (expanded from pero@domain1.com>): User unknown in virtual alias table
  39.  
  40. Can someone tell me where the mistake and send the right path
  41.  
  42. In /etc/mailname me now enrolled only domain1.com, the machine is Ubuntu 9.10 karmic.
  43.  
  44.  
  45. Advance greatly appreciated.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement