Advertisement
Guest User

Untitled

a guest
Apr 6th, 2016
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.00 KB | None | 0 0
  1. status=deferred (mail transport unavailable)
  2.  
  3. mail@senderdomain.com FILTER amavis:[127.0.0.1]:10026
  4.  
  5. smtpd_sender_restrictions = permit_sasl_authenticated, permit_mynetworks, **check_sender_access hash:/etc/postfix/amavis_senderbypass**, check_recipient_access hash:/etc/postfix/recipient_access, warn_if_reject reject_non_fqdn_sender, reject_unknown_sender_domain, reject_unauth_pipelining, permit
  6.  
  7. content_filter = amavis:[127.0.0.1]:10024
  8.  
  9. amavis unix - - - - 3 smtp
  10. -o smtp_data_done_timeout=1200
  11. -o smtp_send_xforward_command=yes
  12. -o disable_dns_lookups=yes
  13. -o max_use=20
  14.  
  15. 127.0.0.1:10025 inet n - - - - smtpd
  16. -o content_filter=
  17. -o local_recipient_maps=
  18. -o relay_recipient_maps=
  19. -o smtpd_restriction_classes=
  20. -o smtpd_delay_reject=no
  21. -o smtpd_client_restrictions=permit_mynetworks,reject
  22. -o smtpd_helo_restrictions=
  23. -o smtpd_sender_restrictions=
  24. -o smtpd_recipient_restrictions=permit_mynetworks,reject
  25. -o smtpd_data_restrictions=reject_unauth_pipelining
  26. -o smtpd_end_of_data_restrictions=
  27. -o mynetworks=127.0.0.0/8
  28. -o smtpd_error_sleep_time=0
  29. -o smtpd_soft_error_limit=1001
  30. -o smtpd_hard_error_limit=1000
  31. -o smtpd_client_connection_count_limit=0
  32. -o smtpd_client_connection_rate_limit=0
  33. -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks
  34.  
  35.  
  36. dovecot unix - n n - - pipe
  37. flags=DRhu user=vmail:mail argv=/usr/lib/dovecot/dovecot-lda -d $(recipient)
  38.  
  39. $interface_policy{'10026'} = 'SENDERBYPASS';
  40.  
  41. $policy_bank{'SENDERBYPASS'} = {
  42.  
  43. bypass_spam_checks_maps => [[qw( mail1@mydomain.com mail2@mydomain.com mail3@mydomain.com mail4@mydomain.com )]],
  44.  
  45. bypass_banned_checks_maps => [[qw( mail1@mydomain.com mail2@mydomain.com mail3@mydomain.com mail4@mydomain.com )]],
  46.  
  47. bypass_header_checks_maps => [[qw( mail1@mydomain.com mail2@mydomain.com mail3@mydomain.com mail4@mydomain.com )]],
  48.  
  49. };
  50.  
  51. $inet_socket_port = [10024,10026]; # default listening socket
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement