Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@echo7 ~]# postconf -n | grep content_filter
- [root@echo7 ~]# postconf -n
- alias_database = hash:/etc/aliases
- alias_maps = hash:/etc/aliases
- command_directory = /usr/sbin
- config_directory = /etc/postfix
- daemon_directory = /usr/libexec/postfix
- debug_peer_level = 2
- disable_vrfy_command = yes
- home_mailbox = Maildir/
- html_directory = no
- inet_interfaces = 208.100.63.215
- mail_owner = postfix
- mailbox_size_limit = 10737418240
- mailq_path = /usr/bin/mailq.postfix
- manpage_directory = /usr/share/man
- message_size_limit = 1104857600
- mydestination = $myhostname, localhost
- myhostname = echo7.ntertech.com
- mynetworks_style = host
- newaliases_path = /usr/bin/newaliases.postfix
- queue_directory = /var/spool/postfix
- readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
- relay_domains = proxy:mysql:/etc/postfix/mysql_relay_domains_maps.cf
- sample_directory = /usr/share/doc/postfix-2.3.3/samples
- sendmail_path = /usr/sbin/sendmail
- setgid_group = postdrop
- smtp_tls_CAfile = /root/CA/postfix/cacert.pem
- smtp_tls_security_level = may
- smtpd_banner = $myhostname ESMTP Ntertech
- smtpd_data_restrictions = permit_mynetworks, reject_unauth_pipelining
- smtpd_helo_required = yes
- smtpd_recipient_limit = 500
- smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_recipient, reject_unknown_recipient_domain, reject_unauth_destination
- smtpd_sasl_auth_enable = yes
- smtpd_sasl_path = private/auth
- smtpd_sasl_type = dovecot
- smtpd_sender_restrictions = permit_mynetworks, reject_non_fqdn_sender, reject_unknown_sender_domain
- smtpd_tls_CAfile = /root/CA/postfix/cacert.pem
- smtpd_tls_cert_file = /root/CA/postfix/ntertech-cert.pem
- smtpd_tls_key_file = /root/CA/postfix/ntertech-key.pem
- smtpd_tls_received_header = yes
- smtpd_tls_security_level = may
- tls_random_source = dev:/dev/urandom
- unknown_local_recipient_reject_code = 550
- virtual_alias_maps = proxy:mysql:/etc/postfix/mysql_virtual_alias_maps.cf
- virtual_gid_maps = static:89
- virtual_mailbox_base = /var/mail/virtual
- virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql_virtual_domains_maps.cf
- virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
- virtual_minimum_uid = 89
- virtual_transport = dovecot
- virtual_uid_maps = static:189
- [root@echo7 ~]# cat /etc/postfix/master.cf
- #
- # Postfix master process configuration file. For details on the format
- # of the file, see the master(5) manual page (command: "man 5 master").
- #
- # ==========================================================================
- # service type private unpriv chroot wakeup maxproc command + args
- # (yes) (yes) (yes) (never) (100)
- # ==========================================================================
- smtp inet n - n - - smtpd
- # -o content_filter=spamass
- #submission inet n - n - - smtpd
- # -o smtpd_enforce_tls=yes
- # -o smtpd_sasl_auth_enable=yes
- # -o smtpd_client_restrictions=permit_sasl_authenticated,reject
- smtps inet n - n - - smtpd
- -o smtpd_tls_wrappermode=yes
- -o smtpd_sasl_auth_enable=yes
- -o smtpd_client_restrictions=permit_sasl_authenticated,reject
- #628 inet n - n - - qmqpd
- pickup fifo n - n 60 1 pickup
- cleanup unix n - n - 0 cleanup
- qmgr fifo n - n 300 1 qmgr
- #qmgr fifo n - n 300 1 oqmgr
- tlsmgr unix - - n 1000? 1 tlsmgr
- rewrite unix - - n - - trivial-rewrite
- bounce unix - - n - 0 bounce
- defer unix - - n - 0 bounce
- trace unix - - n - 0 bounce
- verify unix - - n - 1 verify
- flush unix n - n 1000? 0 flush
- proxymap unix - - n - - proxymap
- smtp unix - - n - - smtp
- # When relaying mail as backup MX, disable fallback_relay to avoid MX loops
- relay unix - - n - - smtp
- -o fallback_relay=
- # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
- showq unix n - n - - showq
- error unix - - n - - error
- discard unix - - n - - discard
- local unix - n n - - local
- virtual unix - n n - - virtual
- lmtp unix - - n - - lmtp
- anvil unix - - n - 1 anvil
- scache unix - - n - 1 scache
- dovecot unix - n n - - pipe
- flags=DR user=mail:mail argv=/usr/libexec/dovecot/deliver -d ${user}@${nexthop} -n -m ${extension}
- #
- # ====================================================================
- # Interfaces to non-Postfix software. Be sure to examine the manual
- # pages of the non-Postfix software to find out what options it wants.
- #
- # Many of the following services use the Postfix pipe(8) delivery
- # agent. See the pipe(8) man page for information about ${recipient}
- # and other message envelope options.
- # ====================================================================
- #
- # Spamassassin
- #
- #spamass unix - n n - - pipe
- # user=spamd argv=/usr/bin/spamc --headers -f -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}
- #
- # maildrop. See the Postfix MAILDROP_README file for details.
- # Also specify in main.cf: maildrop_destination_recipient_limit=1
- #
- maildrop unix - n n - - pipe
- flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
- #
- # The Cyrus deliver program has changed incompatibly, multiple times.
- #
- old-cyrus unix - n n - - pipe
- flags=R user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -m ${extension} ${user}
- # Cyrus 2.1.5 (Amos Gouaux)
- # Also specify in main.cf: cyrus_destination_recipient_limit=1
- cyrus unix - n n - - pipe
- user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -r ${sender} -m ${extension} ${user}
- #
- # See the Postfix UUCP_README file for configuration details.
- #
- uucp unix - n n - - pipe
- flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
- #
- # Other external delivery methods.
- #
- ifmail unix - n n - - pipe
- flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
- bsmtp unix - n n - - pipe
- flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
- [root@echo7 ~]#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement