SHARE
TWEET

Untitled

a guest May 10th, 2012 46 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. I use dkimproxy on debian squeeze
  2. ##################################
  3.  
  4. /usr/sbin/dkimproxy.out --keyfile=/etc/mail/private_promo_astrosaid.key --selector=promo --domain=astrosaid.com 127.0.0.1:10027 127.0.0.1:10028
  5. 2012/05/10-10:11:48 main (type MySmtpProxyServer -> MultiType -> Net::Server::PreFork) starting! pid(17466)
  6. Using default listen value of 128
  7. Binding to TCP port 10027 on host 127.0.0.1
  8. Group Not Defined.  Defaulting to EGID '0 0'
  9. User Not Defined.  Defaulting to EUID '0'
  10.  
  11.  
  12. ##############################################
  13.  
  14. #
  15. # Postfix master process configuration file.  For details on the format
  16. # of the file, see the master(5) manual page (command: "man 5 master").
  17. #
  18. # Do not forget to execute "postfix reload" after editing this file.
  19. #
  20. # ==========================================================================
  21. # service type  private unpriv  chroot  wakeup  maxproc command + args
  22. #               (yes)   (yes)   (yes)   (never) (100)
  23. # ==========================================================================
  24. # change for Yahoo domainKeys INBOUNDS
  25. smtp      inet  n       -       -       -       -       smtpd
  26. #smtp      inet  n       -       n       -       -       smtpd
  27. #    -o smtpd_proxy_filter=127.0.0.1:10025
  28. #    -o smtpd_client_connection_count_limit=10
  29. #127.0.0.1:10026 inet n  -       n       -        -      smtpd
  30. #    -o smtpd_authorized_xforward_hosts=127.0.0.0/8
  31. #    -o smtpd_client_restrictions=
  32. #    -o smtpd_helo_restrictions=
  33. #    -o smtpd_sender_restrictions=
  34. #    -o smtpd_recipient_restrictions=permit_mynetworks,reject
  35. #    -o smtpd_data_restrictions=
  36. #    -o mynetworks=127.0.0.0/8,1.2.3.4
  37. #    -o receive_override_options=no_unknown_recipient_checks
  38. #############################
  39. # change for Yahoo domainKeys OUTBOUNDS
  40. #submission inet n       -       -       -       -       smtpd
  41. # modify the default submission service to specify a content filter
  42. # and restrict it to local clients and SASL authenticated clients only
  43. #submission inet n - y - - smtpd
  44. #-o smtpd_etrn_restrictions=accept
  45. #-o content_filter=dksign:[127.0.0.1]:10027
  46. #-o receive_override_options=no_address_mappings
  47. #-o smtpd_recipient_restrictions=permit_mynetworks,reject
  48. submission  inet  n     -       n       -       -       smtpd
  49.     -o smtpd_etrn_restrictions=reject
  50.     -o smtpd_sasl_auth_enable=yes
  51.     -o content_filter=dksign:[127.0.0.1]:10027
  52.     -o receive_override_options=no_address_mappings
  53.     -o smtpd_recipient_restrictions=permit_mynetworks,permit_sasl_authenticated,reject
  54. #############################
  55. #  -o smtpd_tls_security_level=encrypt
  56. #  -o smtpd_sasl_auth_enable=yes
  57. #  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  58. #  -o milter_macro_daemon_name=ORIGINATING
  59. #smtps     inet  n       -       -       -       -       smtpd
  60. #  -o smtpd_tls_wrappermode=yes
  61. #  -o smtpd_sasl_auth_enable=yes
  62. #  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  63. #  -o milter_macro_daemon_name=ORIGINATING
  64. #628       inet  n       -       -       -       -       qmqpd
  65. pickup    fifo  n       -       -       60      1       pickup
  66. cleanup   unix  n       -       -       -       0       cleanup
  67. qmgr      fifo  n       -       n       300     1       qmgr
  68. #qmgr     fifo  n       -       -       300     1       oqmgr
  69. tlsmgr    unix  -       -       -       1000?   1       tlsmgr
  70. rewrite   unix  -       -       -       -       -       trivial-rewrite
  71. bounce    unix  -       -       -       -       0       bounce
  72. defer     unix  -       -       -       -       0       bounce
  73. trace     unix  -       -       -       -       0       bounce
  74. verify    unix  -       -       -       -       1       verify
  75. flush     unix  n       -       -       1000?   0       flush
  76. proxymap  unix  -       -       n       -       -       proxymap
  77. proxywrite unix -       -       n       -       1       proxymap
  78. smtp      unix  -       -       -       -       -       smtp
  79. # When relaying mail as backup MX, disable fallback_relay to avoid MX loops
  80. relay     unix  -       -       -       -       -       smtp
  81.         -o smtp_fallback_relay=
  82. #       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
  83. showq     unix  n       -       -       -       -       showq
  84. error     unix  -       -       -       -       -       error
  85. retry     unix  -       -       -       -       -       error
  86. discard   unix  -       -       -       -       -       discard
  87. local     unix  -       n       n       -       -       local
  88. virtual   unix  -       n       n       -       -       virtual
  89. lmtp      unix  -       -       -       -       -       lmtp
  90. anvil     unix  -       -       -       -       1       anvil
  91. scache    unix  -       -       -       -       1       scache
  92. #
  93. # ====================================================================
  94. # Interfaces to non-Postfix software. Be sure to examine the manual
  95. # pages of the non-Postfix software to find out what options it wants.
  96. #
  97. # Many of the following services use the Postfix pipe(8) delivery
  98. # agent.  See the pipe(8) man page for information about ${recipient}
  99. # and other message envelope options.
  100. # ====================================================================
  101. #
  102. # maildrop. See the Postfix MAILDROP_README file for details.
  103. # Also specify in main.cf: maildrop_destination_recipient_limit=1
  104. #
  105. maildrop  unix  -       n       n       -       -       pipe
  106.   flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
  107. #
  108. # ====================================================================
  109. #
  110. # Recent Cyrus versions can use the existing "lmtp" master.cf entry.
  111. #
  112. # Specify in cyrus.conf:
  113. #   lmtp    cmd="lmtpd -a" listen="localhost:lmtp" proto=tcp4
  114. #
  115. # Specify in main.cf one or more of the following:
  116. #  mailbox_transport = lmtp:inet:localhost
  117. #  virtual_transport = lmtp:inet:localhost
  118. #
  119. # ====================================================================
  120. #
  121. # Cyrus 2.1.5 (Amos Gouaux)
  122. # Also specify in main.cf: cyrus_destination_recipient_limit=1
  123. #
  124. #cyrus     unix  -       n       n       -       -       pipe
  125. #  user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
  126. #
  127. # ====================================================================
  128. # Old example of delivery via Cyrus.
  129. #
  130. #old-cyrus unix  -       n       n       -       -       pipe
  131. #  flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
  132. #
  133. # ====================================================================
  134. #
  135. # See the Postfix UUCP_README file for configuration details.
  136. #
  137. uucp      unix  -       n       n       -       -       pipe
  138.   flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
  139. #
  140. # Other external delivery methods.
  141. #
  142. ifmail    unix  -       n       n       -       -       pipe
  143.   flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
  144. bsmtp     unix  -       n       n       -       -       pipe
  145.   flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
  146. scalemail-backend unix  -       n       n       -       2       pipe
  147.   flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
  148. mailman   unix  -       n       n       -       -       pipe
  149.   flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
  150.   ${nexthop} ${user}
  151.  
  152.  
  153. dksign unix - - n - 10 smtp
  154. -o smtp_send_xforward_command=yes
  155. -o smtp_discard_ehlo_keywords=8bitmime
  156.  
  157. 127.0.0.1:10028 inet n - n - 10 smtpd
  158. -o content_filter=
  159. -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
  160. -o smtpd_helo_restrictions=
  161. -o smtpd_client_restrictions=
  162. -o smtpd_sender_restrictions=
  163. -o smtpd_recipient_restrictions=permit_mynetworks,reject
  164. -o mynetworks=127.0.0.0/8,1.2.3.4 # there I try to authorize external server
  165. -o smtpd_authorized_xforward_hosts=127.0.0.0/8
  166.  
  167.  
  168.  
  169. ###########################################
  170.  
  171. May 10 10:14:52 node1 postfix/master[17566]: fatal: /etc/postfix/master.cf: line 141: bad transport type: smtp_send_xforward_command=yes
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top