Guest User

main.cf

a guest
Nov 9th, 2013
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.20 KB | None | 0 0
  1. myorigin = /etc/mailname
  2. myhostname = mail.domain.at
  3.  
  4. mydomain = domain.at
  5. mydestination = $mydomain, $myhostname, localhost
  6.  
  7. smtpd_banner = $myhostname ESMTP $mail_name (PDP-11)
  8. biff = no
  9.  
  10. # appending .domain is the MUA's job.
  11. append_dot_mydomain = no
  12.  
  13. # Uncomment the next line to generate "delayed mail" warnings
  14. # delay_warning_time = 4h
  15. queue_run_delay = 300
  16.  
  17. readme_directory = /usr/share/doc/postfix
  18.  
  19. # TLS Einstellungen
  20. smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
  21. smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
  22. smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
  23. smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
  24. smtpd_tls_security_level = may
  25.  
  26. # Authentifizierung der Clients (nur für Versand von auÃerhalb des Büros)
  27. smtpd_sasl_type = dovecot
  28. smtpd_sasl_path = private/auth
  29. smtpd_sasl_auth_enable = yes
  30.  
  31. broken_sasl_auth_clients = yes
  32. smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
  33.  
  34. # Smarthost für Mails nach draussen - wenn fixe IP vorhanden kann das entfernt werden
  35. relayhost = [mail51.mittwald.de]:587
  36.  
  37.  
  38. # Authentifizierung am Smarthost
  39. smtp_sasl_auth_enable = yes
  40. smtp_sasl_security_options = noanonymous
  41. smtp_sasl_password_maps = hash:/etc/postfix/sasl_password
  42.  
  43. alias_maps = hash:/etc/aliases
  44. alias_database = hash:/etc/aliases
  45.  
  46. # Netzwerke die für den Mailversand zugelassen sind (auch ohne Authentifizierung)
  47. #mynetworks = 127.0.0.0/8 192.168.1.0/24 192.168.2.0/24
  48. mynetworks = 127.0.0.0/8 192.168.0.0/24
  49.  
  50. #mailbox_command = procmail -a "$EXTENSION"
  51. # Mails werden mittels Dovecot zugestellt
  52. mailbox_command = /usr/lib/dovecot/deliver
  53.  
  54. mailbox_size_limit = 0
  55. recipient_delimiter = +
  56. inet_interfaces = all
  57.  
  58. inet_protocols = ipv4
  59. html_directory = /usr/share/doc/postfix/html
  60.  
  61. # die Transport Maps für den Versand an den Exchange
  62. transport_maps = hash:/etc/postfix/transport
  63.  
  64. # Aliase der lokalen User (alex = [email protected] usw)
  65. sender_canonical_maps = hash:/etc/postfix/sender_canonical
  66.  
  67. local_recipient_maps =
  68.  
  69. # Spam und Virenfilter
  70. content_filter = smtp-amavis:[127.0.0.1]:10024
  71. receive_override_options = no_address_mappings
Advertisement
Add Comment
Please, Sign In to add comment