Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- maillog:
- Feb 17 10:39:34 ann200mail06 postfix/smtpd[28416]: connect from mail-yw0-f173.google.com[209.85.161.173]
- Feb 17 10:39:34 ann200mail06 postfix/smtpd[28416]: setting up TLS connection from mail-yw0-f173.google.com[209.85.161.173]
- Feb 17 10:39:34 ann200mail06 postfix/smtpd[28416]: Anonymous TLS connection established from mail-yw0-f173.google.com[209.85.161.173]: TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)
- Feb 17 10:39:35 ann200mail06 postfix/smtpd[28416]: warning: : "unknown smtpd restriction allow_abc_example"
- Feb 17 10:39:35 ann200mail06 postfix/smtpd[28416]: NOQUEUE: reject: RCPT from mail-yw0-f173.google.com[209.85.161.173]: 451 4.3.5 Server configuration error; from=<abc@gmail.com> to=<abc@example.com> proto=ESMTP helo=<mail-yw0-f173.google.com>
- Feb 17 10:39:35 ann200mail06 postfix/cleanup[29107]: 23E771B6676: message-id=<20160217153935.23E771B6676@ann200mail06.example.com>
- Feb 17 10:39:35 ann200mail06 postfix/smtpd[28416]: disconnect from mail-yw0-f173.google.com[209.85.161.173]
- Main.cf:
- smtpd_restriction_classes = allow_abc_example
- allow_abc_example = check_sender_access
- hash:/etc/postfix/allow_abc_example,
- reject
- # Now check who the message is for and confirm they should be sent to.
- smtpd_recipient_restrictions =
- check_recipient_access pcre:/etc/postfix/sms_recipient_check.pcre,
- pcre:/etc/postfix/bogus_email_address_list.pcre,
- permit_mynetworks,
- check_client_access hash:/etc/postfix/site_access,
- permit_sasl_authenticated,
- check_client_access hash:/etc/postfix/block_sites,
- reject_unauth_destination
- check_recipient_access hash:/etc/postfix/trusted-only
- # If it gets this far it is premitted.
- trusted-only:
- abc@example.com allow_abc_example
- [root@ann200mail06 postfix]# postconf -n
- alias_database = hash:/etc/aliases
- alias_maps = hash:/etc/aliases
- always_bcc = auto_bcc_address@autobcc.autobcc
- broken_sasl_auth_clients = yes
- command_directory = /usr/sbin
- config_directory = /etc/postfix
- daemon_directory = /usr/libexec/postfix
- data_directory = /var/lib/postfix
- debug_peer_level = 2
- default_destination_concurrency_limit = 20
- default_privs = nobody
- header_checks = regexp:/etc/postfix/header_checks
- html_directory = no
- inet_interfaces = all
- inet_protocols = ipv4
- lmtp_destination_concurrency_limit = 200
- lmtp_destination_recipient_limit = 0
- lmtp_sasl_auth_enable = yes
- lmtp_sasl_password_maps = hash:/etc/postfix/lmtp_sasl_passwd
- lmtp_sasl_security_options =
- local_destination_concurrency_limit = 20
- local_destination_recipient_limit = 300
- mail_owner = postfix
- mailbox_size_limit = 0
- mailbox_transport = cyrus
- mailq_path = /usr/bin/mailq.postfix
- manpage_directory = /usr/share/man
- message_size_limit = 110240000
- mydestination = $myhostname, localhost.$mydomain, localhost
- mydomain = example.com
- myhostname = ann200mail06.example.com
- mynetworks = 192.168.0.0/16
- mynetworks_style = host
- newaliases_path = /usr/bin/newaliases.postfix
- queue_directory = /var/spool/postfix
- readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
- recipient_delimiter = +
- sample_directory = /usr/share/doc/postfix-2.6.6/samples
- sendmail_path = /usr/sbin/sendmail.postfix
- setgid_group = postdrop
- smtp_host_lookup = dns, native
- smtpd_restriction_classes = allow_other
- smtp_sasl_security_options = noanonymous
- smtpd_banner = $myhostname ESMTP $mail_name
- smtpd_recipient_restrictions = check_recipient_access pcre:/etc/postfix/sms_recipient_check.pcre, pcre:/etc/postfix/bogus_email_address_list.pcre, permit_mynetworks, check_client_access hash:/etc/postfix/site_access, permit_sasl_authenticated, check_client_access hash:/etc/postfix/block_sites, reject_unauth_destination check_recipient_access hash:/etc/postfix/trusted-only
- smtpd_sasl_auth_enable = yes
- smtpd_sasl_authenticated_header = yes
- smtpd_sasl_local_domain = $myhostname
- smtpd_sasl_security_options = noanonymous
- smtpd_sasl_tls_security_options = $smtpd_sasl_security_options
- smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/sender_access, permit_mynetworks, check_client_access hash:/etc/postfix/site_access, permit_sasl_authenticated, reject_unauth_destination
- smtpd_tls_CAfile = /etc/postfix/ssl/godaddy.crt
- smtpd_tls_auth_only = no
- smtpd_tls_cert_file = /etc/postfix/ssl/example_wildcard.crt
- smtpd_tls_key_file = /etc/postfix/ssl/example_wildcard.key
- smtpd_tls_loglevel = 1
- smtpd_tls_received_header = yes
- smtpd_tls_session_cache_timeout = 3600s
- smtpd_use_tls = yes
- tls_random_source = dev:/dev/urandom
- transport_maps = hash:/etc/postfix/transport, hash:/etc/postfix/transport_avsquestionportal
- unknown_local_recipient_reject_code = 550
- virtual_alias_domains = ldap:/etc/postfix/ldap_virtual_alias_domains.cf, ldap:/etc/postfix/ldap_virtual_alias_domains_nodns.cf, hash:/etc/postfix/replica_domains
- virtual_alias_maps = hash:/etc/postfix/virtual, ldap:/etc/postfix/ldap_virtual_alias_map.cf, hash:/etc/postfix/virtual_avsquestionportal
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.


