We have a postfix email server setup, but i have a problem with windows email clients.The client can connect and receive its email, but is not unable to send an email to an extremal address.
The error message is "Relay access denied"
When we use a client like thunderbird there are no problems with sending en receiving email.
main.cf is posted below
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
myorigin = /etc/mailname
smtpd_banner = *****.com ESMTP $mail_name
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
# Uncomment the next line to generate "delayed mail" warnings
delay_warning_time = 4h
readme_directory = no
# TLS parameters
#smtpd_tls_cert_file = /etc/ssl/certs/.pem
#smtpd_tls_key_file = /etc/ssl/private/.key
smtpd_tls_cert_file = /etc/postfix/ssl/.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtp_****_com.key.insecure
smtpd_tls_CAfile = /etc/ssl/certs/.crt
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_tls_security_level = may
# Performance settings
smtpd_client_connection_count_limit=2
smtpd_client_connection_rate_limit=10
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.
myhostname = ****
mydomain = *****
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination = $myhostname
mynetworks = 10.0.0.0/8 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_command = /usr/lib/dovecot/deliver -c /etc/dovecot/dovecot.conf -n -m "${EXTENSION}"
mailbox_size_limit = 0
recipient_delimiter = +
home_mailbox = Maildir/
disable_vrfy_command = yes
smtp_helo_required = no
smtpd_sasl_auth_enable = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_authenticated_header = yes
smtpd_sasl_local_domain = *****
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unknown_sender_domain reject_unknown_recipient_domain reject_unauth_pipelining reject_non_fqdn_sender reject_non_fqdn_recipient permit_inet_interfaces reject_unauth_destination
smtp_client_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_rbl_client relays.ordb.org, reject_rbl_client ipwhois.rfc-ignorant.org, reject_rbl_client zen.spamhaus.org
smtpd_sender_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_rhsbl_sender dsn.rfc-ignorant.org,reject_sender_login_mismatch
smtp_use_tls = yes
smtpd_tls_received_header = yes
smtpd_tls_mandatory_protocols = SSLv3, TLSv1
smtpd_tls_mandatory_ciphers = medium
smtpd_tls_auth_only = no
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
smtpd_error_sleep_time = 60
smtpd_soft_error_limit = 60
smtpd_hard_error_limit = 10
default_process_limit = 3
message_size_limit = 20480000
smtpd_error_sleep_time = 60
smtpd_soft_error_limit = 60
smtpd_hard_error_limit = 10
tls_random_source = dev:/dev/urandom
# relocated users from the database
relocated_maps = pgsql:/etc/postfix/pgsql-relocated_maps.cf
# virtual domains
virtual_mailbox_domains = pgsql:/etc/postfix/pgsql-virtual_mailbox_domains.cf
virtual_alias_maps = pgsql:/etc/postfix/pgsql-virtual_alias_maps.cf
transport_maps = pgsql:/etc/postfix/pgsql-transport.cf
virtual_minimum_uid = 70000
virtual_uid_maps = pgsql:/etc/postfix/pgsql-virtual_uid_maps.cf
virtual_gid_maps = pgsql:/etc/postfix/pgsql-virtual_gid_maps.cf
virtual_mailbox_base = /
virtual_mailbox_maps = pgsql:/etc/postfix/pgsql-virtual_mailbox_maps.cf
# dovecot LDA
dovecot_destination_recipient_limit = 1
virtual_transport = dovecot:
debug_peer_level = 9
broken_sasl_auth_clients = yes
Can someone help me with this problem??
The error message is "Relay access denied"
When we use a client like thunderbird there are no problems with sending en receiving email.
main.cf is posted below
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
myorigin = /etc/mailname
smtpd_banner = *****.com ESMTP $mail_name
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
# Uncomment the next line to generate "delayed mail" warnings
delay_warning_time = 4h
readme_directory = no
# TLS parameters
#smtpd_tls_cert_file = /etc/ssl/certs/.pem
#smtpd_tls_key_file = /etc/ssl/private/.key
smtpd_tls_cert_file = /etc/postfix/ssl/.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtp_****_com.key.insecure
smtpd_tls_CAfile = /etc/ssl/certs/.crt
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_tls_security_level = may
# Performance settings
smtpd_client_connection_count_limit=2
smtpd_client_connection_rate_limit=10
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.
myhostname = ****
mydomain = *****
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination = $myhostname
mynetworks = 10.0.0.0/8 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_command = /usr/lib/dovecot/deliver -c /etc/dovecot/dovecot.conf -n -m "${EXTENSION}"
mailbox_size_limit = 0
recipient_delimiter = +
home_mailbox = Maildir/
disable_vrfy_command = yes
smtp_helo_required = no
smtpd_sasl_auth_enable = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_authenticated_header = yes
smtpd_sasl_local_domain = *****
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unknown_sender_domain reject_unknown_recipient_domain reject_unauth_pipelining reject_non_fqdn_sender reject_non_fqdn_recipient permit_inet_interfaces reject_unauth_destination
smtp_client_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_rbl_client relays.ordb.org, reject_rbl_client ipwhois.rfc-ignorant.org, reject_rbl_client zen.spamhaus.org
smtpd_sender_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_rhsbl_sender dsn.rfc-ignorant.org,reject_sender_login_mismatch
smtp_use_tls = yes
smtpd_tls_received_header = yes
smtpd_tls_mandatory_protocols = SSLv3, TLSv1
smtpd_tls_mandatory_ciphers = medium
smtpd_tls_auth_only = no
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
smtpd_error_sleep_time = 60
smtpd_soft_error_limit = 60
smtpd_hard_error_limit = 10
default_process_limit = 3
message_size_limit = 20480000
smtpd_error_sleep_time = 60
smtpd_soft_error_limit = 60
smtpd_hard_error_limit = 10
tls_random_source = dev:/dev/urandom
# relocated users from the database
relocated_maps = pgsql:/etc/postfix/pgsql-relocated_maps.cf
# virtual domains
virtual_mailbox_domains = pgsql:/etc/postfix/pgsql-virtual_mailbox_domains.cf
virtual_alias_maps = pgsql:/etc/postfix/pgsql-virtual_alias_maps.cf
transport_maps = pgsql:/etc/postfix/pgsql-transport.cf
virtual_minimum_uid = 70000
virtual_uid_maps = pgsql:/etc/postfix/pgsql-virtual_uid_maps.cf
virtual_gid_maps = pgsql:/etc/postfix/pgsql-virtual_gid_maps.cf
virtual_mailbox_base = /
virtual_mailbox_maps = pgsql:/etc/postfix/pgsql-virtual_mailbox_maps.cf
# dovecot LDA
dovecot_destination_recipient_limit = 1
virtual_transport = dovecot:
debug_peer_level = 9
broken_sasl_auth_clients = yes
Can someone help me with this problem??