Advertisement
Guest User

Untitled

a guest
May 8th, 2017
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.08 KB | None | 0 0
  1. -rwx--x--- 1 root root 574 2009-07-27 22:05 .fetchmailrc
  2. *****************************************************************************
  3. #defaults mda /usr/lib/postfix/master
  4. #set daemon 300
  5. #set logfile /var/log/fetchmail.log
  6. set postmaster "postmaster"
  7. set bouncemail
  8. set no spambounce
  9.  
  10. poll mail.tpi.ru with proto POP3
  11. user 'treenet@tpi.ru' there with password '****' is user1 here mda "/usr/bin/procmail -d %T" options fetchall
  12.  
  13. # mda "/usr/bin/procmail -d %T"
  14. # options fetchall
  15.  
  16. poll pop.yandex.ru with proto POP3
  17. user 'sudakoff2002@yandex.ru' there with password '***' is user1 here mda "/usr/bin/procmail -d %T" options fetchall
  18. ***********************************************************************************
  19. SHELL=/bin/sh
  20. PATH=/usr/bin
  21. #MAILDIR=/var/mail
  22. #DEFAULT=$MAILDIR/user1
  23. LOGFILE=/var/log/procmail.log
  24. VERBOSE=yes
  25. LOCKFILE=$MAILDIR/.lockmail
  26. #:0fw
  27. # /usr/local/bin/clamassassin
  28. #:0:
  29. #* ^X-Virus-Status: Yes
  30. #/dev/null
  31. #:0fw
  32. #| spamassassin
  33. #:0:
  34. #* ^X-Spam-Status: Yes
  35. #/dev/null
  36. :0
  37. * ^TO. *sudakoff2002@yandex.ru (Все что содержит *sudakoff2002@yandex.ru отдавать пользователю tony)
  38. ! tony
  39. :0
  40. * ^TO. *treenet@tpi.ru ((Все что содержит *treenet@tpi.ru отдавать пользователю vint)
  41. ! vint
  42. :0
  43. * ^TO. *tony@mail.example.com
  44. ! tony
  45. :0
  46. * ^TO. *wer911@list.ru
  47. ! user1
  48. :0
  49. * ^X-Original-To.*user2@domain.ru
  50. user2
  51. :0
  52. * ^TO.*@domain.ru
  53. spam
  54. :0
  55. * ^Subject:.*
  56. spam
  57. **************************************************************************************************
  58. main.cf
  59. **************************************************************************************************
  60. # See /usr/share/postfix/main.cf.dist for a commented, more complete version
  61. # Debian specific: Specifying a file name will cause the first
  62. # line of that file to be used as the name. The Debian default
  63. # is /etc/mailname.
  64. #myorigin = /etc/mailname
  65. smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
  66. biff = no
  67. # appending .domain is the MUA's job.
  68. append_dot_mydomain = no
  69. # Uncomment the next line to generate "delayed mail" warnings
  70. #delay_warning_time = 4h
  71. readme_directory = no
  72. # TLS parameters
  73. smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
  74. smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
  75. smtpd_use_tls=yes
  76. smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
  77. smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
  78. # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
  79. # information on enabling SSL in the smtp client.
  80. myhostname = monitoring.dsn.ru
  81. alias_maps = hash:/etc/aliases
  82. alias_database = hash:/etc/aliases
  83. myorigin = /etc/mailname
  84. ########### mail.example.com - is a local destination (/eth/hosts have {10.32.36.205 mail.example.com} )
  85. mydestination = mail.example.com, monitoring.dsn.ru, localhost.dsn.ru, localhost
  86. relayhost =
  87. mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
  88. #mailbox_command = procmail -a "$EXTENSION"
  89. mailbox_size_limit = 0
  90. recipient_delimiter = +
  91. inet_interfaces = all
  92. **********************************************************************************************************
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement