Advertisement
Guest User

Untitled

a guest
Aug 6th, 2017
479
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.19 KB | None | 0 0
  1. Main.cf
  2. # See /usr/share/postfix/main.cf.dist for a commented, more complete version
  3.  
  4.  
  5. # Debian specific: Specifying a file name will cause the first
  6. # line of that file to be used as the name. The Debian default
  7. # is /etc/mailname.
  8. #myorigin = /etc/mailname
  9.  
  10. smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
  11. biff = no
  12.  
  13. # appending .domain is the MUA's job.
  14. append_dot_mydomain = no
  15.  
  16. # Uncomment the next line to generate "delayed mail" warnings
  17. #delay_warning_time = 4h
  18.  
  19. readme_directory = /usr/share/doc/postfix
  20.  
  21. # TLS parameters
  22. smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
  23. smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
  24. smtpd_use_tls=yes
  25. smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
  26. smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
  27.  
  28. # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
  29. # information on enabling SSL in the smtp client.
  30.  
  31. myhostname = mail.example.com
  32. alias_maps = hash:/etc/aliases
  33. alias_database = hash:/etc/aliases
  34. mydestination = $myhostname, btcmail, localhost, zumbrujm-MS-7599, localhost.localdomain
  35. relayhost =
  36. mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
  37. mailbox_size_limit = 0
  38. recipient_delimiter = +
  39. inet_interfaces = all
  40. html_directory = /usr/share/doc/postfix/html
  41. content_filter = smtp-amavis:[localhost]:10024
  42. spf-policyd_time_limit = 3600s
  43. smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination, check_policy_service unix:private/policy-spf, check_policy_service unix:private/policy-spf, check_policy_service unix:private/policy-spf, check_policy_service unix:private/policy-spf, check_policy_service unix:private/policy-spf, check_policy_service unix:private/policy-spf, check_policy_service unix:private/policy-spf, check_policy_service unix:private/policy-spf, check_policy_service unix:private/policy-spf, check_policy_service unix:private/policy-spf, check_policy_service unix:private/policy-spf
  44. myorigin = /etc/mailname
  45. inet_protocols = all
  46. home_mailbox = Maildir/
  47. virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual-mailbox-domains.cf
  48. virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-mailbox-maps.cf
  49. virtual_alias_maps = mysql:/etc/postfix/mysql-virtual-alias-maps.cf,mysql:/etc/postfix/mysql-email2email.cf
  50. virtual_transport = dovecot
  51. dovecot_destination_recipient_limit = 1
  52.  
  53.  
  54.  
  55.  
  56.  
  57. -------------------------------------------
  58.  
  59. Mail.log responses for telnet tut commands
  60.  
  61. Mar 23 18:25:18 zumbrujm-MS-7599 postfix/smtpd[9961]: warning: ::1: address not listed for hostname zumbrujm-MS-7599
  62. Mar 23 18:25:18 zumbrujm-MS-7599 postfix/smtpd[9961]: connect from unknown[::1]
  63. Mar 23 18:26:05 zumbrujm-MS-7599 postfix/smtpd[9961]: B45E040701: client=unknown[::1]
  64. Mar 23 18:26:12 zumbrujm-MS-7599 postfix/cleanup[9974]: B45E040701: message-id=<20110323222605.B45E040701@mail.example.com>
  65. Mar 23 18:26:12 zumbrujm-MS-7599 postfix/qmgr[8808]: B45E040701: from=<steve@example.com>, size=340, nrcpt=2 (queue active)
  66. Mar 23 18:26:12 zumbrujm-MS-7599 postfix/smtp[9976]: B45E040701: to=<john@example.com>, relay=none, delay=15, delays=15/0.01/0.07/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=localhost type=AAAA: Host not found)
  67. Mar 23 18:26:13 zumbrujm-MS-7599 postfix/smtp[9976]: B45E040701: to=<devnull@workaround.org>, orig_to=<john@example.com>, relay=none, delay=15, delays=15/0.01/0.07/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=localhost type=AAAA: Host not found)
  68. Mar 23 18:26:13 zumbrujm-MS-7599 postfix/cleanup[9974]: 032C441A90: message-id=<20110323222613.032C441A90@mail.example.com>
  69. Mar 23 18:26:13 zumbrujm-MS-7599 postfix/bounce[9977]: B45E040701: sender non-delivery notification: 032C441A90
  70. Mar 23 18:26:13 zumbrujm-MS-7599 postfix/qmgr[8808]: 032C441A90: from=<>, size=2676, nrcpt=1 (queue active)
  71. Mar 23 18:26:13 zumbrujm-MS-7599 postfix/qmgr[8808]: B45E040701: removed
  72. Mar 23 18:26:13 zumbrujm-MS-7599 postfix/pipe[9978]: 032C441A90: to=<steve@example.com>, relay=dovecot, delay=0.15, delays=0.06/0.01/0/0.08, dsn=4.3.0, status=deferred (temporary failure)
  73. Mar 23 18:26:16 zumbrujm-MS-7599 postfix/smtpd[9961]: disconnect from unknown[::1]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement