Created
July 19, 2009 13:02
-
-
Save hron84/149910 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
smtpd_banner = Welcome! I'm an ESMTP capable SMTP server. | |
biff = no | |
setgid_group = postdrop | |
append_dot_mydomain = no | |
myhostname = mail.mittudomain.hu | |
alias_maps = hash:/etc/postfix/aliases | |
alias_database = hash:/etc/postfix/aliases.db | |
myorigin = mail.railwayhosting.hu | |
#mydestination = localhost, localhost.localdomain | |
mynetworks = 127.0.0.0/8 | |
mailbox_size_limit = 0 | |
recipient_delimiter = + | |
inet_interfaces = all | |
# TLS / SASL | |
smtpd_use_tls = no | |
smtpd_sasl_authenticated_header = yes | |
smtpd_recipient_restrictions = | |
permit_mynetworks, | |
permit_sasl_authenticated, | |
reject_unauth_destination, | |
check_sender_access hash:/etc/postfix/white-sender, | |
check_recipient_access hash:/etc/postfix/white-recipient, | |
# check_policy_service inet:127.0.0.1:60000 | |
smtpd_sasl_auth_enable = yes | |
broken_sasl_auth_clients = yes | |
# MySQL config | |
virtual_alias_domains = | |
virtual_mailbox_base = /srv/mail | |
virtual_uid_maps = static:503 | |
virtual_gid_maps = static:503 | |
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql/forwardings.cf # , mysql:/etc/postfix/mysql/email2email.cf | |
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql/domains.cf | |
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql/mailboxes.cf | |
virtual_transport_maps = proxy:mysql:/etc/postfix/mysql/transports.cf | |
virtual_create_maildirsize = yes | |
virtual_mailbox_extended = yes | |
virtual_mailbox_limit_override = yes | |
virtual_maildir_limit_message = "The user tried to reach over quota." | |
virtual_overquota_bounce = yes | |
virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql/mbox_limit.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 $virtual_mailbox_limit_maps $virtual_transport_maps | |
receive_override_options = no_address_mappings | |
# Spammer szivatas | |
#maps_rbl_domains = | |
# sbl.spamhaus.org, | |
# cbl.abuseat.org, | |
# bl.spamcop.net | |
# Mi az, hogy nem koszonsz? | |
smtpd_helo_required = yes | |
# Nincs valami rendes neved? | |
smtpd_helo_restrictions = reject_invalid_helo_hostname, reject_non_fqdn_helo_hostname | |
# En bizony elhajtalak oregem, nem varok rad | |
smtpd_delay_reject = no | |
# Csak a turelem utjan lehet ide bejonni. Ja, es le leszel informalva. | |
smtpd_client_restrictions = permit_mynetworks, sleep 6, reject_unauth_pipelining, | |
permit_sasl_authenticated, | |
check_sender_access hash:/etc/postfix/white-sender, | |
check_recipient_access hash:/etc/postfix/white-recipient, | |
reject_rbl_client korea.services.net, | |
reject_rbl_client psbl.surriel.com, | |
reject_rbl_client cbl.abuseat.org, | |
reject_rbl_client combined.njabl.org, | |
#content_filter = amavis:[127.0.0.1]:10024 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment