Einstieg - So wird das Leben leichter

  • Webspace - Erste Schritte um mit dem Webspace zu arbeiten
  • Datenbank - Erste Schritte um mit der Datenbank zu arbeiten.
  • Protokolle - Eine Sammlung der im Internet am häufigsten verwendeten Protokolle und ihre Funktion.

Inhalt

Aktiv/Passiv - Failovercluster

Hardware-Support

Sicherheit

POSTFIX

append_dot_mydomain

biff

append_dot_mydomain = no
biff = no

inet_interfaces = 123.123.123.123, localhost
max_idle = 60s
recipient_delimiter = +
unknown_local_recipient_reject_code = 550
disable_vrfy_command = yes
smtpd_helo_required = yes
strict_rfc821_envelopes = yes
message_size_limit = 20485760

myhostname = dummy.linetz.de
mydomain = dummy.linetz.de
smtpd_banner = $myhostname ESMTP Mailserver

alias_maps = hash:/etc/aliases

virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/virtual/mysql_virtual_forwardings.cf


virtual_mailbox_domains = proxy:mysql:/etc/postfix/virtual/mysql_virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/virtual/mysql_virtual_mailboxes.cf
virtual_mailbox_base = /var/vmail
virtual_uid_maps = static:6000
virtual_gid_maps = static:6000

virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/virtual/mysql_virtual_mailbox_limit_maps.cf
transport_maps = proxy:mysql:/etc/postfix/virtual/mysql_virtual_transports.cf
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message = "The user you are trying to reach is over quota."
virtual_overquota_bounce = yes

helo_access_map = proxy:mysql:/etc/postfix/uce/check_helo_access.cf

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 $sender_bcc_maps $recipient_bcc_maps $smtp_generic_maps $lmtp_generic_maps $helo_access_map

alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases

mailbox_size_limit = 0
smtpd_tls_cert_file=/etc/postfix/smtpd.cert
smtpd_tls_key_file=/etc/postfix/smtpd.key
smtpd_use_tls = yes
smtpd_enforce_tls = no
smtpd_tls_auth_only = no
smtpd_sasl_auth_enable = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain =
smtp_sasl_auth_enable = no
broken_sasl_auth_clients = yes

virtual_create_maildirsize = yes
virtual_maildir_extended = yes

postscreen_access_list = permit_mynetworks,
			cidr:/etc/postfix/uce/postscreen_access.cidr
content_filter = smtp-amavis:[127.0.0.1]:10024

smtpd_recipient_restrictions =
	reject_non_fqdn_recipient,
	reject_unknown_recipient_domain,
	check_helo_access hash:/etc/postfix/uce/helo_access,
	check_helo_access $helo_access_map,
	permit_mynetworks,
	permit_sasl_authenticated,
	reject_unauth_destination,
	reject_unlisted_recipient,
	reject_non_fqdn_sender,
	reject_non_fqdn_helo_hostname,
	reject_invalid_helo_hostname,
	reject_unknown_sender_domain,
	reject_rbl_client zen.spamhaus.org,
	reject_rhsbl_helo dbl.spamhaus.org,
	reject_rhsbl_sender dbl.spamhaus.org,
	check_policy_service inet:127.0.0.1:60000,
	permit_auth_destination,
	reject
	
smtpd_data_restrictions =
	reject_unauth_pipelining,
	reject_multi_recipient_bounce
	
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1
Zum Seitenanfang.

 

Copyright © 2024 Linetz – Hosting und IT-Dienstleistungen Hendrik Borgmeyer.