Advertisement
starfry

postfix configuration

Mar 21st, 2013
350
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.27 KB | None | 0 0
  1. # Begin /etc/mail/postfix/main.cf
  2.  
  3. queue_directory = /var/spool/postfix
  4. command_directory = /usr/sbin
  5. daemon_directory = /usr/lib/postfix
  6. data_directory = /var/lib/postfix
  7.  
  8. mail_owner = postfix
  9. sendmail_path = /usr/sbin/sendmail
  10. newaliases_path = /usr/bin/newaliases
  11. mailq_path = /usr/bin/mailq
  12. setgid_group = postdrop
  13. manpage_directory = /usr/share/man
  14.  
  15. mydomain = mymaildomain.co.uk
  16.  
  17. # use myuser@mydomain.com
  18. #myorigin = $mydomain
  19.  
  20. # use myuser@myhost.mydomain.com
  21. myorigin = $myhostname
  22.  
  23. #
  24. # These define the local and virtual domains
  25. # for which local mail delivery is performed
  26. #
  27. mydestination = $myhostname localhost.$mydomain localhost $mydomain
  28. virtual_mailbox_domains = myotherdomain1.com myotherdomain2.co.uk
  29.  
  30. #
  31. # Aliases: these substitute one address for another (the alias)
  32. #
  33. alias_database = hash:/etc/postfix/aliases
  34. alias_maps = hash:/etc/postfix/aliases
  35. #virtual_alias_maps = hash:/etc/postfix/virtual
  36.  
  37. transport_maps = hash:/etc/postfix/transport
  38.  
  39. #
  40. # Transport directives: Local and Virtual mail is handed off to Procmail
  41. #
  42. mailbox_transport = procmail-local
  43. virtual_transport = procmail-virtual
  44.  
  45. #
  46. # Relaying: mail for unknown domains is handed off to this relay
  47. #
  48. relayhost = smtp.atmyisp.com
  49.  
  50. # End /etc/mail/postfix/main.cf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement