SHARE
TWEET
Untitled
a guest
Feb 20th, 2016
58
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- backend main.cf:
- alias_database = hash:/etc/aliases
- alias_maps = hash:/etc/aliases
- broken_sasl_auth_clients = yes
- command_directory = /usr/sbin
- config_directory = /etc/postfix
- content_filter = scan:127.0.0.1:10025
- daemon_directory = /usr/libexec/postfix
- data_directory = /var/lib/postfix
- debug_peer_level = 2
- html_directory = no
- inet_interfaces = all
- inet_protocols = ipv4
- luser_relay = /dev/null
- mail_owner = postfix
- mailbox_size_limit = 104857600
- mailq_path = /usr/bin/mailq.postfix
- manpage_directory = /usr/share/man
- message_size_limit = 52428800
- mydestination = $myhostname, localhost, proxy.mydomain.com
- mydomain = mydomain.com
- myhostname = mail.mydomain.com
- mynetworks = 168.100.189.0/28, 127.0.0.0/8, 192.168.0.0/24, 192.168.122.0/24
- myorigin = $myhostname
- newaliases_path = /usr/bin/newaliases.postfix
- proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks
- queue_directory = /var/spool/postfix
- readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
- recipient_delimiter = +
- relayhost = proxy.mydomain.com
- sample_directory = /usr/share/doc/postfix-2.6.6/samples
- sendmail_path = /usr/sbin/sendmail.postfix
- setgid_group = postdrop
- smtp_sasl_auth_enable = yes
- smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
- smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
- smtpd_helo_required = yes
- smtpd_helo_restrictions = permit_mynetworks, reject_invalid_hostname, reject_non_fqdn_hostname
- smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_policy_service unix:postgrey/socket
- smtpd_sasl_auth_enable = yes
- smtpd_sasl_authenticated_header = yes
- smtpd_sasl_local_domain =
- smtpd_sasl_path = private/auth
- smtpd_sasl_security_options = noanonymous
- smtpd_sasl_type = dovecot
- smtpd_tls_auth_only = yes
- smtpd_tls_cert_file = /etc/pki/dovecot/certs/mail.crt
- smtpd_tls_key_file = /etc/pki/dovecot/private/mail.key
- smtpd_tls_loglevel = 1
- smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
- smtpd_use_tls = yes
- unknown_local_recipient_reject_code = 550
- virtual_alias_maps = mysql:/etc/postfix/mysql-aliases.cf, mysql:/etc/postfix/mysql-email2email.cf
- virtual_gid_maps = static:5000
- virtual_mailbox_base = /home/vmail
- virtual_mailbox_domains = mysql:/etc/postfix/mysql-domains.cf
- virtual_mailbox_limit = 512000000
- virtual_mailbox_maps = mysql:/etc/postfix/mysql-users.cf
- virtual_uid_maps = static:5000
- relayhost main.cf:
- alias_database = hash:/etc/aliases
- alias_maps = hash:/etc/aliases
- command_directory = /usr/sbin
- config_directory = /etc/postfix
- daemon_directory = /usr/libexec/postfix
- data_directory = /var/lib/postfix
- debug_peer_level = 2
- html_directory = no
- inet_interfaces = all
- inet_protocols = ipv4
- mail_owner = postfix
- mailq_path = /usr/bin/mailq.postfix
- manpage_directory = /usr/share/man
- mydestination = $myhostname, localhost
- mydomain = mydomain.com
- myhostname = proxy.mydomain.com
- mynetworks = 168.100.189.0/28, 127.0.0.0/8
- myorigin = $myhostname
- newaliases_path = /usr/bin/newaliases.postfix
- queue_directory = /var/spool/postfix
- readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
- sample_directory = /usr/share/doc/postfix-2.6.6/samples
- sendmail_path = /usr/sbin/sendmail.postfix
- setgid_group = postdrop
- unknown_local_recipient_reject_code = 550
- maillog of backend:
- Feb 20 20:43:49 server postfix/smtpd[30490]: connect from unknown[10.10.10.10]
- Feb 20 20:43:49 server postfix/smtp[30532]: warning: host mail.mydomain.com[xxx.xxx.xxx.xxx]:25 greeted me with my own hostname mail.mydomain.com
- Feb 20 20:43:49 server postfix/smtp[30532]: warning: host mail.mydomain.com[xxx.xxx.xxx.xxx]:25 replied to HELO/EHLO with my own hostname mail.mydomain.com
- Feb 20 20:43:49 server postfix/smtp[30532]: 6833E1820E19: to=<myuser@gmail.com>, relay=mail.mydomain.com[xxx.xxx.xxx.xxx]:25, delay=0.96, delays=0.12/0.03/0.81/0, dsn=5.4.6, status=bounced (mail for proxy.mydomain.com loops back to myself)
- Feb 20 20:43:49 server postfix/cleanup[30523]: 76C031820E1A: message-id=<20160220194349.76C031840E1A@mail.mydomain.com>
- Feb 20 20:43:49 server postfix/smtpd[30490]: disconnect from unknown[10.10.10.10]
- Feb 20 20:43:49 server postfix/qmgr[28632]: 76C031820E1A: from=<>, size=2697, nrcpt=1 (queue active)
- Feb 20 20:43:49 server postfix/bounce[30533]: 6833E1820E19: sender non-delivery notification: 76C031820E1A
- Feb 20 20:43:49 server postfix/qmgr[28632]: 6833E1820E19: removed
- Feb 20 20:43:49 server postfix/virtual[30534]: 76C031820E1A: to=<user@mydomain.com>, relay=virtual, delay=0.15, delays=0.06/0.02/0/0.07, dsn=2.0.0, status=sent (delivered to maildir)
- Feb 20 20:43:49 server postfix/qmgr[28632]: 76C031820E1A: removed
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.

