Advertisement
Guest User

Postfix

a guest
Apr 20th, 2014
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. alias_maps = hash:/etc/aliases
  2. config_directory = /etc/postfix
  3. local_only = check_recipient_access hash:/etc/postfix/local_domains, reject
  4. smtpd_recipient_restrictions = check_sender_access hash:/etc/postfix/restricted_senders, check_relay_domains hash:/etc/postfix/relay_domains, reject_unauth_destination, defer_if_permit
  5. smtpd_restriction_classes = local_only
  6. virtual_alias_maps = pcre:/etc/postfix/virtual
  7.  
  8. error log:
  9.  
  10. Apr 20 23:48:41 box2 postfix/smtpd[1914]: connect from unknown[10.0.3.33]
  11. Apr 20 23:48:41 box2 postfix/smtpd[1914]: NOQUEUE: reject: RCPT from unknown[10.0.3.33]: 554 5.7.1
  12. <foo@bar.org>: Sender address rejected: Access denied; from=<foo@bar.org> to=<01tonythomas@gmail.com> proto=ESMTP helo=<localhost>
  13. Apr 20 23:48:41 box2 postfix/smtpd[1914]: disconnect from unknown[10.0.3.33]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement