SHARE
TWEET

Untitled

a guest Jan 12th, 2017 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. alias_database = hash:/etc/postfix/aliases
  2. alias_maps = hash:/etc/postfix/aliases
  3. allow_min_user = no
  4. allow_percent_hack = no
  5. biff = no
  6. body_checks = pcre:/etc/postfix/body_checks.pcre
  7. command_directory = /usr/sbin
  8. compatibility_level = 2
  9. content_filter = smtp-amavis:[127.0.0.1]:10024
  10. daemon_directory = /usr/lib/postfix/sbin
  11. data_directory = /var/lib/postfix
  12. debug_peer_level = 2
  13. debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5
  14. disable_vrfy_command = yes
  15. dovecot_destination_recipient_limit = 1
  16. enable_original_recipient = no
  17. header_checks = pcre:/etc/postfix/header_checks
  18. inet_interfaces = all
  19. inet_protocols = all
  20. lmtp_tls_mandatory_protocols = !SSLv2 !SSLv3
  21. lmtp_tls_protocols = !SSLv2 !SSLv3
  22. mail_owner = postfix
  23. mailq_path = /usr/bin/mailq
  24. message_size_limit = 15728640
  25. mydestination = $myhostname, localhost, localhost.localdomain
  26. mydomain = mail.***.de
  27. myhostname = mail.*.de
  28. mynetworks = 127.0.0.1 222.222.222.222
  29. myorigin = mail.***.de
  30. newaliases_path = /usr/bin/newaliases
  31. postscreen_access_list = permit_mynetworks, cidr:/etc/postfix/postscreen_access.cidr
  32. postscreen_blacklist_action = enforce
  33. postscreen_dnsbl_action = enforce
  34. postscreen_dnsbl_reply_map = texthash:/etc/postfix/postscreen_dnsbl_reply
  35. postscreen_dnsbl_sites = zen.spamhaus.org*3 b.barracudacentral.org*2
  36. postscreen_dnsbl_threshold = 2
  37. postscreen_greet_action = enforce
  38. proxy_read_maps = $canonical_maps $lmtp_generic_maps $local_recipient_maps $mydestination $mynetworks $recipient_bcc_maps $recipient_canonical_maps $relay_domains $relay_recipient_maps $relocated_maps $sender_bcc_maps $sender_canonical_maps $smtp_generic_maps $smtpd_sender_login_maps $transport_maps $virtual_alias_domains $virtual_alias_maps $virtual_mailbox_domains $virtual_mailbox_maps $smtpd_sender_restrictions $sender_dependent_relayhost_maps
  39. queue_directory = /var/spool/postfix
  40. recipient_bcc_maps = proxy:ldap:/etc/postfix/ldap/recipient_bcc_maps_user.cf proxy:ldap:/etc/postfix/ldap/recipient_bcc_maps_domain.cf
  41. recipient_delimiter = +
  42. relay_domains = $mydestination proxy:ldap:/etc/postfix/ldap/relay_domains.cf
  43. sender_bcc_maps = proxy:ldap:/etc/postfix/ldap/sender_bcc_maps_user.cf proxy:ldap:/etc/postfix/ldap/sender_bcc_maps_domain.cf
  44. sender_dependent_relayhost_maps = proxy:ldap:/etc/postfix/ldap/sender_dependent_relayhost_maps_user.cf proxy:ldap:/etc/postfix/ldap/sender_dependent_relayhost_maps_domain.cf
  45. sendmail_path = /usr/sbin/sendmail
  46. setgid_group = postdrop
  47. smtp-amavis_destination_recipient_limit = 1
  48. smtp_tls_CAfile = $smtpd_tls_CAfile
  49. smtp_tls_loglevel = 1
  50. smtp_tls_mandatory_protocols = !SSLv2 !SSLv3
  51. smtp_tls_note_starttls_offer = yes
  52. smtp_tls_protocols = !SSLv2 !SSLv3
  53. smtp_tls_security_level = may
  54. smtpd_data_restrictions = reject_unauth_pipelining
  55. smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:7777
  56. smtpd_helo_required = yes
  57. smtpd_helo_restrictions = permit_mynetworks permit_sasl_authenticated reject_non_fqdn_helo_hostname reject_invalid_helo_hostname check_helo_access pcre:/etc/postfix/helo_access.pcre
  58. smtpd_recipient_restrictions = reject_unknown_recipient_domain reject_non_fqdn_recipient reject_unlisted_recipient check_policy_service inet:127.0.0.1:7777 permit_mynetworks permit_sasl_authenticated reject_unauth_destination
  59. smtpd_reject_unlisted_recipient = yes
  60. smtpd_reject_unlisted_sender = yes
  61. smtpd_sasl_path = private/dovecot-auth
  62. smtpd_sasl_type = dovecot
  63. smtpd_sender_login_maps = proxy:ldap:/etc/postfix/ldap/sender_login_maps.cf
  64. smtpd_sender_restrictions = reject_unknown_sender_domain reject_non_fqdn_sender reject_unlisted_sender permit_mynetworks permit_sasl_authenticated check_sender_access pcre:/etc/postfix/sender_access.pcre
  65. smtpd_tls_CAfile = /etc/apache2/ssl/***.de.cacertificate
  66. smtpd_tls_cert_file = /etc/apache2/ssl/***.de_bis2019.crt
  67. smtpd_tls_dh1024_param_file = /etc/ssl/dh2048_param.pem
  68. smtpd_tls_dh512_param_file = /etc/ssl/dh512_param.pem
  69. smtpd_tls_exclude_ciphers = aNULL, eNULL, EXPORT, DES, RC4, MD5, PSK, aECDH, EDH-DSS-DES-CBC3-SHA, EDH-RSA-DES-CDC3-SHA, KRB5-DE5, CBC3-SHA
  70. smtpd_tls_key_file = /etc/apache2/ssl/***.de.key
  71. smtpd_tls_loglevel = 1
  72. smtpd_tls_mandatory_protocols = !SSLv2 !SSLv3
  73. smtpd_tls_protocols = !SSLv2 !SSLv3
  74. smtpd_tls_security_level = may
  75. swap_bangpath = no
  76. tls_random_source = dev:/dev/urandom
  77. transport_maps = proxy:ldap:/etc/postfix/ldap/transport_maps_user.cf proxy:ldap:/etc/postfix/ldap/transport_maps_domain.cf
  78. unknown_local_recipient_reject_code = 550
  79. virtual_alias_domains =
  80. virtual_alias_maps = proxy:ldap:/etc/postfix/ldap/virtual_alias_maps.cf proxy:ldap:/etc/postfix/ldap/virtual_group_maps.cf proxy:ldap:/etc/postfix/ldap/virtual_group_members_maps.cf proxy:ldap:/etc/postfix/ldap/catchall_maps.cf
  81. virtual_gid_maps = static:2000
  82. virtual_mailbox_base = /var/vmail
  83. virtual_mailbox_domains = proxy:ldap:/etc/postfix/ldap/virtual_mailbox_domains.cf
  84. virtual_mailbox_maps = proxy:ldap:/etc/postfix/ldap/virtual_mailbox_maps.cf
  85. virtual_minimum_uid = 2000
  86. virtual_transport = dovecot
  87. virtual_uid_maps = static:2000
  88.    
  89. #smtpd_tls_auth_only = yes
  90.    
  91. echo "SMTP TEST" | mailx -v -r "test@***.de" -s "Test" -S smtp="mail.***.de:587" -S smtp-use-starttls -S smtp-auth=login -S smtp-auth-user="test@***.de" -S smtp-auth-password="supersecretpassword" -S ssl-verify=ignore "mymail@mydomain.com"
  92.    
  93. echo "SMTP TEST" | mailx -v -r "test@***.de" -s "Test" -S smtp="mail.***.de:25"  -S smtp-auth=login -S smtp-auth-user="test@***.de" -S smtp-auth-password="supersecretpassword" -S ssl-verify=ignore "mymail@mydomain.com"
  94.    
  95. Resolving host "mail.***.de:25" ... done
  96. Connecting to "111.111.111.111:25" ...connected.
  97. smtp-server: 503 5.5.1 Error: authentication not enabled
  98. ... message not sent
RAW Paste Data
Top