- adding statement "virtual_mailbox_limit = 0" to the postfix configuration-template (main.cf), fixes #19
This commit is contained in:
@@ -70,6 +70,7 @@ alias_maps = $alias_database
|
|||||||
|
|
||||||
# Default Mailbox size, is set to 0 which means unlimited!
|
# Default Mailbox size, is set to 0 which means unlimited!
|
||||||
mailbox_size_limit = 0
|
mailbox_size_limit = 0
|
||||||
|
virtual_mailbox_limit = 0
|
||||||
|
|
||||||
### TLS settings
|
### TLS settings
|
||||||
###
|
###
|
||||||
|
|||||||
@@ -1,92 +1,93 @@
|
|||||||
# Postfix programs paths settings
|
# Postfix programs paths settings
|
||||||
command_directory = /usr/sbin
|
command_directory = /usr/sbin
|
||||||
daemon_directory = /usr/lib/postfix
|
daemon_directory = /usr/lib/postfix
|
||||||
program_directory = /usr/lib/postfix
|
program_directory = /usr/lib/postfix
|
||||||
sendmail_path = /usr/sbin/sendmail
|
sendmail_path = /usr/sbin/sendmail
|
||||||
|
|
||||||
## General Postfix configuration
|
## General Postfix configuration
|
||||||
# should be the default domain from your provider eg. "server100.provider.tld"
|
# should be the default domain from your provider eg. "server100.provider.tld"
|
||||||
mydomain = <SERVERNAME>
|
mydomain = <SERVERNAME>
|
||||||
|
|
||||||
# should be different from $mydomain eg. "mail.$mydomain"
|
# should be different from $mydomain eg. "mail.$mydomain"
|
||||||
myhostname = <SERVERNAME>
|
myhostname = <SERVERNAME>
|
||||||
|
|
||||||
mydestination = $myhostname,
|
mydestination = $myhostname,
|
||||||
$mydomain,
|
$mydomain,
|
||||||
localhost.$myhostname,
|
localhost.$myhostname,
|
||||||
localhost.$mydomain,
|
localhost.$mydomain,
|
||||||
localhost
|
localhost
|
||||||
mynetworks = 127.0.0.0/8
|
mynetworks = 127.0.0.0/8
|
||||||
inet_interfaces = all
|
inet_interfaces = all
|
||||||
append_dot_mydomain = no
|
append_dot_mydomain = no
|
||||||
biff = no
|
biff = no
|
||||||
|
|
||||||
# Postfix performance settings
|
# Postfix performance settings
|
||||||
default_destination_concurrency_limit = 20
|
default_destination_concurrency_limit = 20
|
||||||
local_destination_concurrency_limit = 2
|
local_destination_concurrency_limit = 2
|
||||||
|
|
||||||
# SMTPD Settings
|
# SMTPD Settings
|
||||||
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
|
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
|
||||||
smtpd_helo_required = yes
|
smtpd_helo_required = yes
|
||||||
smtpd_recipient_restrictions = permit_mynetworks,
|
smtpd_recipient_restrictions = permit_mynetworks,
|
||||||
permit_sasl_authenticated,
|
permit_sasl_authenticated,
|
||||||
reject_unauth_destination,
|
reject_unauth_destination,
|
||||||
reject_unauth_pipelining,
|
reject_unauth_pipelining,
|
||||||
reject_non_fqdn_recipient
|
reject_non_fqdn_recipient
|
||||||
smtpd_sender_restrictions = permit_mynetworks,
|
smtpd_sender_restrictions = permit_mynetworks,
|
||||||
permit_sasl_authenticated,
|
permit_sasl_authenticated,
|
||||||
reject_unknown_hostname,
|
reject_unknown_hostname,
|
||||||
reject_unknown_recipient_domain,
|
reject_unknown_recipient_domain,
|
||||||
reject_unknown_sender_domain
|
reject_unknown_sender_domain
|
||||||
smtpd_client_restrictions = permit_mynetworks,
|
smtpd_client_restrictions = permit_mynetworks,
|
||||||
permit_sasl_authenticated,
|
permit_sasl_authenticated,
|
||||||
reject_unknown_client
|
reject_unknown_client
|
||||||
# Maximum size of Message in bytes (50MB)
|
# Maximum size of Message in bytes (50MB)
|
||||||
message_size_limit = 52428800
|
message_size_limit = 52428800
|
||||||
|
|
||||||
## SASL Auth Settings
|
## SASL Auth Settings
|
||||||
smtpd_sasl_auth_enable = yes
|
smtpd_sasl_auth_enable = yes
|
||||||
smtpd_sasl_local_domain = $myhostname
|
smtpd_sasl_local_domain = $myhostname
|
||||||
smtpd_sasl_security_options = noanonymous
|
smtpd_sasl_security_options = noanonymous
|
||||||
broken_sasl_auth_clients = yes
|
broken_sasl_auth_clients = yes
|
||||||
## Dovecot Settings for deliver, SASL Auth and virtual transport
|
## Dovecot Settings for deliver, SASL Auth and virtual transport
|
||||||
## uncomment those line to use Dovecot
|
## uncomment those line to use Dovecot
|
||||||
#mailbox_command = /usr/lib/dovecot/deliver
|
#mailbox_command = /usr/lib/dovecot/deliver
|
||||||
#virtual_transport = dovecot
|
#virtual_transport = dovecot
|
||||||
#dovecot_destination_recipient_limit = 1
|
#dovecot_destination_recipient_limit = 1
|
||||||
|
|
||||||
# Virtual delivery settings
|
# Virtual delivery settings
|
||||||
virtual_mailbox_base = <VIRTUAL_MAILBOX_BASE>
|
virtual_mailbox_base = <VIRTUAL_MAILBOX_BASE>
|
||||||
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailbox_maps.cf
|
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailbox_maps.cf
|
||||||
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_mailbox_domains.cf
|
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_mailbox_domains.cf
|
||||||
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_alias_maps.cf
|
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_alias_maps.cf
|
||||||
virtual_uid_maps = static:<VIRTUAL_UID_MAPS>
|
virtual_uid_maps = static:<VIRTUAL_UID_MAPS>
|
||||||
virtual_gid_maps = static:<VIRTUAL_GID_MAPS>
|
virtual_gid_maps = static:<VIRTUAL_GID_MAPS>
|
||||||
|
|
||||||
# Local delivery settings
|
# Local delivery settings
|
||||||
local_transport = local
|
local_transport = local
|
||||||
alias_database = hash:/etc/aliases
|
alias_database = hash:/etc/aliases
|
||||||
alias_maps = $alias_database
|
alias_maps = $alias_database
|
||||||
|
|
||||||
# Default Mailbox size, is set to 0 which means unlimited!
|
# Default Mailbox size, is set to 0 which means unlimited!
|
||||||
mailbox_size_limit = 0
|
mailbox_size_limit = 0
|
||||||
|
virtual_mailbox_limit = 0
|
||||||
### TLS settings
|
|
||||||
###
|
### TLS settings
|
||||||
## TLS for outgoing mails from the server to another server
|
###
|
||||||
#smtp_use_tls = yes
|
## TLS for outgoing mails from the server to another server
|
||||||
#smtp_tls_note_starttls_offer = yes
|
#smtp_use_tls = yes
|
||||||
## TLS for email client
|
#smtp_tls_note_starttls_offer = yes
|
||||||
#smtpd_tls_cert_file = /etc/ssl/server/<SERVERNAME>.pem
|
## TLS for email client
|
||||||
#smtpd_tls_key_file = /etc/ssl/server/<SERVERNAME>.pem
|
#smtpd_tls_cert_file = /etc/ssl/server/<SERVERNAME>.pem
|
||||||
#smtpd_tls_CAfile = /etc/ssl/cacert.class3.crt # Just an example for CACert.org
|
#smtpd_tls_key_file = /etc/ssl/server/<SERVERNAME>.pem
|
||||||
#smtpd_tls_auth_only = no
|
#smtpd_tls_CAfile = /etc/ssl/cacert.class3.crt # Just an example for CACert.org
|
||||||
#smtpd_tls_loglevel = 1
|
#smtpd_tls_auth_only = no
|
||||||
#smtpd_tls_received_header = yes
|
#smtpd_tls_loglevel = 1
|
||||||
#smtpd_tls_session_cache_timeout = 3600s
|
#smtpd_tls_received_header = yes
|
||||||
#tls_random_source = dev:/dev/urandom
|
#smtpd_tls_session_cache_timeout = 3600s
|
||||||
|
#tls_random_source = dev:/dev/urandom
|
||||||
debugger_command =
|
|
||||||
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
|
debugger_command =
|
||||||
ddd $daemon_directory/$process_name $process_id & sleep 5
|
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
|
||||||
|
ddd $daemon_directory/$process_name $process_id & sleep 5
|
||||||
|
|
||||||
|
|||||||
@@ -1,111 +1,112 @@
|
|||||||
# Postfix programs paths settings
|
# Postfix programs paths settings
|
||||||
command_directory = /usr/sbin
|
command_directory = /usr/sbin
|
||||||
daemon_directory = /usr/lib/postfix
|
daemon_directory = /usr/lib/postfix
|
||||||
program_directory = /usr/lib/postfix
|
program_directory = /usr/lib/postfix
|
||||||
sendmail_path = /usr/sbin/sendmail
|
sendmail_path = /usr/sbin/sendmail
|
||||||
|
|
||||||
## General Postfix configuration
|
## General Postfix configuration
|
||||||
# should be the default domain from your provider eg. "server100.provider.tld"
|
# should be the default domain from your provider eg. "server100.provider.tld"
|
||||||
mydomain = <SERVERNAME>
|
mydomain = <SERVERNAME>
|
||||||
|
|
||||||
# should be different from $mydomain eg. "mail.$mydomain"
|
# should be different from $mydomain eg. "mail.$mydomain"
|
||||||
myhostname = <SERVERNAME>
|
myhostname = <SERVERNAME>
|
||||||
|
|
||||||
mydestination = $myhostname,
|
mydestination = $myhostname,
|
||||||
$mydomain,
|
$mydomain,
|
||||||
localhost.$myhostname,
|
localhost.$myhostname,
|
||||||
localhost.$mydomain,
|
localhost.$mydomain,
|
||||||
localhost
|
localhost
|
||||||
mynetworks = 127.0.0.0/8
|
mynetworks = 127.0.0.0/8
|
||||||
inet_interfaces = all
|
inet_interfaces = all
|
||||||
append_dot_mydomain = no
|
append_dot_mydomain = no
|
||||||
biff = no
|
biff = no
|
||||||
|
|
||||||
# Postfix performance settings
|
# Postfix performance settings
|
||||||
default_destination_concurrency_limit = 20
|
default_destination_concurrency_limit = 20
|
||||||
local_destination_concurrency_limit = 2
|
local_destination_concurrency_limit = 2
|
||||||
|
|
||||||
# SMTPD Settings
|
# SMTPD Settings
|
||||||
smtpd_banner = $myhostname ESMTP $mail_name (Gentoo/GNU)
|
smtpd_banner = $myhostname ESMTP $mail_name (Gentoo/GNU)
|
||||||
smtpd_helo_required = yes
|
smtpd_helo_required = yes
|
||||||
smtpd_recipient_restrictions = permit_mynetworks,
|
smtpd_recipient_restrictions = permit_mynetworks,
|
||||||
permit_sasl_authenticated,
|
permit_sasl_authenticated,
|
||||||
reject_unauth_destination,
|
reject_unauth_destination,
|
||||||
reject_unauth_pipelining,
|
reject_unauth_pipelining,
|
||||||
reject_non_fqdn_recipient
|
reject_non_fqdn_recipient
|
||||||
smtpd_sender_restrictions = permit_mynetworks,
|
smtpd_sender_restrictions = permit_mynetworks,
|
||||||
permit_sasl_authenticated,
|
permit_sasl_authenticated,
|
||||||
reject_unknown_hostname,
|
reject_unknown_hostname,
|
||||||
reject_unknown_recipient_domain,
|
reject_unknown_recipient_domain,
|
||||||
reject_unknown_sender_domain
|
reject_unknown_sender_domain
|
||||||
smtpd_client_restrictions = permit_mynetworks,
|
smtpd_client_restrictions = permit_mynetworks,
|
||||||
permit_sasl_authenticated,
|
permit_sasl_authenticated,
|
||||||
reject_unknown_client
|
reject_unknown_client
|
||||||
# Maximum size of Message in bytes (50MB)
|
# Maximum size of Message in bytes (50MB)
|
||||||
message_size_limit = 52428800
|
message_size_limit = 52428800
|
||||||
|
|
||||||
## SASL Auth Settings
|
## SASL Auth Settings
|
||||||
smtpd_sasl_auth_enable = yes
|
smtpd_sasl_auth_enable = yes
|
||||||
smtpd_sasl_local_domain = $myhostname
|
smtpd_sasl_local_domain = $myhostname
|
||||||
smtpd_sasl_security_options = noanonymous
|
smtpd_sasl_security_options = noanonymous
|
||||||
broken_sasl_auth_clients = yes
|
broken_sasl_auth_clients = yes
|
||||||
## Dovecot Settings for deliver, SASL Auth and virtual transport
|
## Dovecot Settings for deliver, SASL Auth and virtual transport
|
||||||
## uncomment those line to use Dovecot
|
## uncomment those line to use Dovecot
|
||||||
#mailbox_command = /usr/libexec/dovecot/deliver
|
#mailbox_command = /usr/libexec/dovecot/deliver
|
||||||
#smtpd_sasl_type = dovecot
|
#smtpd_sasl_type = dovecot
|
||||||
#smtpd_sasl_path = private/auth
|
#smtpd_sasl_path = private/auth
|
||||||
#virtual_transport = dovecot
|
#virtual_transport = dovecot
|
||||||
#dovecot_destination_recipient_limit = 1
|
#dovecot_destination_recipient_limit = 1
|
||||||
|
|
||||||
# Virtual delivery settings
|
# Virtual delivery settings
|
||||||
virtual_mailbox_base = <VIRTUAL_MAILBOX_BASE>
|
virtual_mailbox_base = <VIRTUAL_MAILBOX_BASE>
|
||||||
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailbox_maps.cf
|
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailbox_maps.cf
|
||||||
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_mailbox_domains.cf
|
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_mailbox_domains.cf
|
||||||
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_alias_maps.cf
|
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_alias_maps.cf
|
||||||
virtual_uid_maps = static:<VIRTUAL_UID_MAPS>
|
virtual_uid_maps = static:<VIRTUAL_UID_MAPS>
|
||||||
virtual_gid_maps = static:<VIRTUAL_GID_MAPS>
|
virtual_gid_maps = static:<VIRTUAL_GID_MAPS>
|
||||||
|
|
||||||
# Local delivery settings
|
# Local delivery settings
|
||||||
local_transport = local
|
local_transport = local
|
||||||
alias_database = hash:/etc/mail/aliases
|
alias_database = hash:/etc/mail/aliases
|
||||||
alias_maps = $alias_database
|
alias_maps = $alias_database
|
||||||
|
|
||||||
# Default Mailbox size, is set to 0 which means unlimited!
|
# Default Mailbox size, is set to 0 which means unlimited!
|
||||||
mailbox_size_limit = 0
|
mailbox_size_limit = 0
|
||||||
|
virtual_mailbox_limit = 0
|
||||||
### TLS settings
|
|
||||||
###
|
### TLS settings
|
||||||
## TLS for outgoing mails from the server to another server
|
###
|
||||||
#smtp_use_tls = yes
|
## TLS for outgoing mails from the server to another server
|
||||||
#smtp_tls_note_starttls_offer = yes
|
#smtp_use_tls = yes
|
||||||
## TLS for email client
|
#smtp_tls_note_starttls_offer = yes
|
||||||
#smtpd_tls_cert_file = /etc/ssl/server/<SERVERNAME>.pem
|
## TLS for email client
|
||||||
#smtpd_tls_key_file = /etc/ssl/server/<SERVERNAME>.pem
|
#smtpd_tls_cert_file = /etc/ssl/server/<SERVERNAME>.pem
|
||||||
#smtpd_tls_CAfile = /etc/ssl/cacert.class3.crt # Just an example for CACert.org
|
#smtpd_tls_key_file = /etc/ssl/server/<SERVERNAME>.pem
|
||||||
#smtpd_tls_auth_only = no
|
#smtpd_tls_CAfile = /etc/ssl/cacert.class3.crt # Just an example for CACert.org
|
||||||
#smtpd_tls_loglevel = 1
|
#smtpd_tls_auth_only = no
|
||||||
#smtpd_tls_received_header = yes
|
#smtpd_tls_loglevel = 1
|
||||||
#smtpd_tls_session_cache_timeout = 3600s
|
#smtpd_tls_received_header = yes
|
||||||
#tls_random_source = dev:/dev/urandom
|
#smtpd_tls_session_cache_timeout = 3600s
|
||||||
|
#tls_random_source = dev:/dev/urandom
|
||||||
### Quota Settings with vda useflag
|
|
||||||
## I use only virtual as localdelivery... This permit me to have full
|
### Quota Settings with vda useflag
|
||||||
## virtual domain hosting without using a lots of maps
|
## I use only virtual as localdelivery... This permit me to have full
|
||||||
#virtual_transport = virtual
|
## virtual domain hosting without using a lots of maps
|
||||||
## Generate maildirsize files or not
|
#virtual_transport = virtual
|
||||||
#virtual_create_maildirsize = yes
|
## Generate maildirsize files or not
|
||||||
## I use Courier IMAP compatibles files.
|
#virtual_create_maildirsize = yes
|
||||||
#virtual_mailbox_extended = yes
|
## I use Courier IMAP compatibles files.
|
||||||
## Limits only INBOX part (usefull when
|
#virtual_mailbox_extended = yes
|
||||||
## using when you have IMAP users)
|
## Limits only INBOX part (usefull when
|
||||||
#virtual_mailbox_limit_inbox = yes
|
## using when you have IMAP users)
|
||||||
## maps of soft disk quotas
|
#virtual_mailbox_limit_inbox = yes
|
||||||
#virtual_mailbox_limit_maps = mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
|
## maps of soft disk quotas
|
||||||
#virtual_mailbox_limit_override = yes
|
#virtual_mailbox_limit_maps = mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
|
||||||
#virtual_maildir_limit_message = Sorry, this user has overdrawn their diskspace quota. Please try again later.
|
#virtual_mailbox_limit_override = yes
|
||||||
#virtual_overquota_bounce = yes
|
#virtual_maildir_limit_message = Sorry, this user has overdrawn their diskspace quota. Please try again later.
|
||||||
|
#virtual_overquota_bounce = yes
|
||||||
debugger_command =
|
|
||||||
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
|
debugger_command =
|
||||||
ddd $daemon_directory/$process_name $process_id & sleep 5
|
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
|
||||||
|
ddd $daemon_directory/$process_name $process_id & sleep 5
|
||||||
|
|
||||||
|
|||||||
@@ -1,63 +1,64 @@
|
|||||||
queue_directory = /var/spool/postfix
|
queue_directory = /var/spool/postfix
|
||||||
command_directory = /usr/sbin
|
command_directory = /usr/sbin
|
||||||
daemon_directory = /usr/lib/postfix
|
daemon_directory = /usr/lib/postfix
|
||||||
mail_owner = postfix
|
mail_owner = postfix
|
||||||
inet_interfaces = all
|
inet_interfaces = all
|
||||||
unknown_local_recipient_reject_code = 550
|
unknown_local_recipient_reject_code = 550
|
||||||
debug_peer_level = 2
|
debug_peer_level = 2
|
||||||
debugger_command =
|
debugger_command =
|
||||||
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
|
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
|
||||||
xxgdb $daemon_directory/$process_name $process_id & sleep 5
|
xxgdb $daemon_directory/$process_name $process_id & sleep 5
|
||||||
sendmail_path = /usr/sbin/sendmail
|
sendmail_path = /usr/sbin/sendmail
|
||||||
newaliases_path = /usr/bin/newaliases
|
newaliases_path = /usr/bin/newaliases
|
||||||
mailq_path = /usr/bin/mailq
|
mailq_path = /usr/bin/mailq
|
||||||
setgid_group = maildrop
|
setgid_group = maildrop
|
||||||
html_directory = /usr/share/doc/packages/postfix/html
|
html_directory = /usr/share/doc/packages/postfix/html
|
||||||
manpage_directory = /usr/share/man
|
manpage_directory = /usr/share/man
|
||||||
sample_directory = /usr/share/doc/packages/postfix/samples
|
sample_directory = /usr/share/doc/packages/postfix/samples
|
||||||
readme_directory = /usr/share/doc/packages/postfix/README_FILES
|
readme_directory = /usr/share/doc/packages/postfix/README_FILES
|
||||||
inet_protocols = all
|
inet_protocols = all
|
||||||
biff = no
|
biff = no
|
||||||
append_dot_mydomain = no
|
append_dot_mydomain = no
|
||||||
mail_spool_directory = /var/mail
|
mail_spool_directory = /var/mail
|
||||||
canonical_maps = hash:/etc/postfix/canonical
|
canonical_maps = hash:/etc/postfix/canonical
|
||||||
virtual_mailbox_base = /var/kunden/mail/
|
virtual_mailbox_base = /var/kunden/mail/
|
||||||
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailbox_maps.cf
|
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailbox_maps.cf
|
||||||
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_mailbox_domains.cf
|
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_mailbox_domains.cf
|
||||||
virtual_alias_domains =
|
virtual_alias_domains =
|
||||||
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_alias_maps.cf
|
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_alias_maps.cf
|
||||||
virtual_uid_maps = static:<VIRTUAL_UID_MAPS>
|
virtual_uid_maps = static:<VIRTUAL_UID_MAPS>
|
||||||
virtual_gid_maps = static:<VIRTUAL_GID_MAPS>
|
virtual_gid_maps = static:<VIRTUAL_GID_MAPS>
|
||||||
virtual_maps = hash:/etc/postfix/virtual
|
virtual_maps = hash:/etc/postfix/virtual
|
||||||
relocated_maps = hash:/etc/postfix/relocated
|
relocated_maps = hash:/etc/postfix/relocated
|
||||||
transport_maps = hash:/etc/postfix/transport
|
transport_maps = hash:/etc/postfix/transport
|
||||||
sender_canonical_maps = hash:/etc/postfix/sender_canonical
|
sender_canonical_maps = hash:/etc/postfix/sender_canonical
|
||||||
masquerade_exceptions = root
|
masquerade_exceptions = root
|
||||||
masquerade_classes = envelope_sender, header_sender, header_recipient
|
masquerade_classes = envelope_sender, header_sender, header_recipient
|
||||||
myhostname = <SERVERNAME>
|
myhostname = <SERVERNAME>
|
||||||
mydomain = <SERVERNAME>
|
mydomain = <SERVERNAME>
|
||||||
program_directory = /usr/lib/postfix
|
program_directory = /usr/lib/postfix
|
||||||
masquerade_domains =
|
masquerade_domains =
|
||||||
mydestination = $myhostname $mydomain localhost localhost.$mydomain
|
mydestination = $myhostname $mydomain localhost localhost.$mydomain
|
||||||
mynetworks = 127.0.0.0/8
|
mynetworks = 127.0.0.0/8
|
||||||
defer_transports =
|
defer_transports =
|
||||||
disable_dns_lookups = no
|
disable_dns_lookups = no
|
||||||
relayhost =
|
relayhost =
|
||||||
mailbox_command =
|
mailbox_command =
|
||||||
mailbox_transport =
|
mailbox_transport =
|
||||||
strict_8bitmime = no
|
strict_8bitmime = no
|
||||||
disable_mime_output_conversion = no
|
disable_mime_output_conversion = no
|
||||||
smtpd_client_restrictions =
|
smtpd_client_restrictions =
|
||||||
smtpd_helo_required = no
|
smtpd_helo_required = no
|
||||||
smtpd_helo_restrictions =
|
smtpd_helo_restrictions =
|
||||||
strict_rfc821_envelopes = no
|
strict_rfc821_envelopes = no
|
||||||
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
|
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
|
||||||
smtpd_sasl_auth_enable = yes
|
smtpd_sasl_auth_enable = yes
|
||||||
smtpd_sasl_local_domain = $myhostname
|
smtpd_sasl_local_domain = $myhostname
|
||||||
smtpd_sasl_security_options = noanonymous
|
smtpd_sasl_security_options = noanonymous
|
||||||
broken_sasl_auth_clients = yes
|
broken_sasl_auth_clients = yes
|
||||||
#smtpd_use_tls = no
|
#smtpd_use_tls = no
|
||||||
#smtp_use_tls = no
|
#smtp_use_tls = no
|
||||||
alias_maps = $alias_database
|
alias_maps = $alias_database
|
||||||
mailbox_size_limit = 0
|
mailbox_size_limit = 0
|
||||||
|
virtual_mailbox_limit = 0
|
||||||
message_size_limit = 10240000
|
message_size_limit = 10240000
|
||||||
@@ -1,92 +1,93 @@
|
|||||||
# Postfix programs paths settings
|
# Postfix programs paths settings
|
||||||
command_directory = /usr/sbin
|
command_directory = /usr/sbin
|
||||||
daemon_directory = /usr/lib/postfix
|
daemon_directory = /usr/lib/postfix
|
||||||
program_directory = /usr/lib/postfix
|
program_directory = /usr/lib/postfix
|
||||||
sendmail_path = /usr/sbin/sendmail
|
sendmail_path = /usr/sbin/sendmail
|
||||||
|
|
||||||
## General Postfix configuration
|
## General Postfix configuration
|
||||||
# should be the default domain from your provider eg. "server100.provider.tld"
|
# should be the default domain from your provider eg. "server100.provider.tld"
|
||||||
mydomain = <SERVERNAME>
|
mydomain = <SERVERNAME>
|
||||||
|
|
||||||
# should be different from $mydomain eg. "mail.$mydomain"
|
# should be different from $mydomain eg. "mail.$mydomain"
|
||||||
myhostname = mail.<SERVERNAME>
|
myhostname = mail.<SERVERNAME>
|
||||||
|
|
||||||
mydestination = $myhostname,
|
mydestination = $myhostname,
|
||||||
$mydomain,
|
$mydomain,
|
||||||
localhost.$myhostname,
|
localhost.$myhostname,
|
||||||
localhost.$mydomain,
|
localhost.$mydomain,
|
||||||
localhost
|
localhost
|
||||||
mynetworks = 127.0.0.0/8
|
mynetworks = 127.0.0.0/8
|
||||||
inet_interfaces = all
|
inet_interfaces = all
|
||||||
append_dot_mydomain = no
|
append_dot_mydomain = no
|
||||||
biff = no
|
biff = no
|
||||||
|
|
||||||
# Postfix performance settings
|
# Postfix performance settings
|
||||||
default_destination_concurrency_limit = 20
|
default_destination_concurrency_limit = 20
|
||||||
local_destination_concurrency_limit = 2
|
local_destination_concurrency_limit = 2
|
||||||
|
|
||||||
# SMTPD Settings
|
# SMTPD Settings
|
||||||
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu/GNU)
|
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu/GNU)
|
||||||
smtpd_helo_required = yes
|
smtpd_helo_required = yes
|
||||||
smtpd_recipient_restrictions = permit_mynetworks,
|
smtpd_recipient_restrictions = permit_mynetworks,
|
||||||
permit_sasl_authenticated,
|
permit_sasl_authenticated,
|
||||||
reject_unauth_destination,
|
reject_unauth_destination,
|
||||||
reject_unauth_pipelining,
|
reject_unauth_pipelining,
|
||||||
reject_non_fqdn_recipient
|
reject_non_fqdn_recipient
|
||||||
smtpd_sender_restrictions = permit_mynetworks,
|
smtpd_sender_restrictions = permit_mynetworks,
|
||||||
permit_sasl_authenticated,
|
permit_sasl_authenticated,
|
||||||
reject_unknown_hostname,
|
reject_unknown_hostname,
|
||||||
reject_unknown_recipient_domain,
|
reject_unknown_recipient_domain,
|
||||||
reject_unknown_sender_domain
|
reject_unknown_sender_domain
|
||||||
smtpd_client_restrictions = permit_mynetworks,
|
smtpd_client_restrictions = permit_mynetworks,
|
||||||
permit_sasl_authenticated,
|
permit_sasl_authenticated,
|
||||||
reject_unknown_client
|
reject_unknown_client
|
||||||
# Maximum size of Message in bytes (50MB)
|
# Maximum size of Message in bytes (50MB)
|
||||||
message_size_limit = 52428800
|
message_size_limit = 52428800
|
||||||
|
|
||||||
## SASL Auth Settings
|
## SASL Auth Settings
|
||||||
smtpd_sasl_auth_enable = yes
|
smtpd_sasl_auth_enable = yes
|
||||||
smtpd_sasl_local_domain = $myhostname
|
smtpd_sasl_local_domain = $myhostname
|
||||||
smtpd_sasl_security_options = noanonymous
|
smtpd_sasl_security_options = noanonymous
|
||||||
broken_sasl_auth_clients = yes
|
broken_sasl_auth_clients = yes
|
||||||
## Dovecot Settings for deliver, SASL Auth and virtual transport
|
## Dovecot Settings for deliver, SASL Auth and virtual transport
|
||||||
## uncomment those line to use Dovecot
|
## uncomment those line to use Dovecot
|
||||||
#mailbox_command = /usr/lib/dovecot/deliver
|
#mailbox_command = /usr/lib/dovecot/deliver
|
||||||
#virtual_transport = dovecot
|
#virtual_transport = dovecot
|
||||||
#dovecot_destination_recipient_limit = 1
|
#dovecot_destination_recipient_limit = 1
|
||||||
|
|
||||||
# Virtual delivery settings
|
# Virtual delivery settings
|
||||||
virtual_mailbox_base = <VIRTUAL_MAILBOX_BASE>
|
virtual_mailbox_base = <VIRTUAL_MAILBOX_BASE>
|
||||||
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailbox_maps.cf
|
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailbox_maps.cf
|
||||||
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_mailbox_domains.cf
|
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_mailbox_domains.cf
|
||||||
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_alias_maps.cf
|
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_alias_maps.cf
|
||||||
virtual_uid_maps = static:<VIRTUAL_UID_MAPS>
|
virtual_uid_maps = static:<VIRTUAL_UID_MAPS>
|
||||||
virtual_gid_maps = static:<VIRTUAL_GID_MAPS>
|
virtual_gid_maps = static:<VIRTUAL_GID_MAPS>
|
||||||
|
|
||||||
# Local delivery settings
|
# Local delivery settings
|
||||||
local_transport = local
|
local_transport = local
|
||||||
alias_database = hash:/etc/aliases
|
alias_database = hash:/etc/aliases
|
||||||
alias_maps = $alias_database
|
alias_maps = $alias_database
|
||||||
|
|
||||||
# Default Mailbox size, is set to 0 which means unlimited!
|
# Default Mailbox size, is set to 0 which means unlimited!
|
||||||
mailbox_size_limit = 0
|
mailbox_size_limit = 0
|
||||||
|
virtual_mailbox_limit = 0
|
||||||
### TLS settings
|
|
||||||
###
|
### TLS settings
|
||||||
## TLS for outgoing mails from the server to another server
|
###
|
||||||
#smtp_use_tls = yes
|
## TLS for outgoing mails from the server to another server
|
||||||
#smtp_tls_note_starttls_offer = yes
|
#smtp_use_tls = yes
|
||||||
## TLS for email client
|
#smtp_tls_note_starttls_offer = yes
|
||||||
#smtpd_tls_cert_file = /etc/ssl/server/<SERVERNAME>.crt
|
## TLS for email client
|
||||||
#smtpd_tls_key_file = /etc/ssl/server/<SERVERNAME>.key
|
#smtpd_tls_cert_file = /etc/ssl/server/<SERVERNAME>.crt
|
||||||
#smtpd_tls_CAfile = /etc/ssl/cacert.class3.crt # Just an example for CACert.org
|
#smtpd_tls_key_file = /etc/ssl/server/<SERVERNAME>.key
|
||||||
#smtpd_tls_auth_only = no
|
#smtpd_tls_CAfile = /etc/ssl/cacert.class3.crt # Just an example for CACert.org
|
||||||
#smtpd_tls_loglevel = 1
|
#smtpd_tls_auth_only = no
|
||||||
#smtpd_tls_received_header = yes
|
#smtpd_tls_loglevel = 1
|
||||||
#smtpd_tls_session_cache_timeout = 3600s
|
#smtpd_tls_received_header = yes
|
||||||
#tls_random_source = dev:/dev/urandom
|
#smtpd_tls_session_cache_timeout = 3600s
|
||||||
|
#tls_random_source = dev:/dev/urandom
|
||||||
debugger_command =
|
|
||||||
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
|
debugger_command =
|
||||||
ddd $daemon_directory/$process_name $process_id & sleep 5
|
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
|
||||||
|
ddd $daemon_directory/$process_name $process_id & sleep 5
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user