1

Topic: Postfix error

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.2
- Linux/BSD distribution name and version: Debian 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  LDAP
- Web server (Apache or Nginx): apache
- Manage mail accounts with iRedAdmin-Pro? no
- Related log if you're reporting an issue:
====
Hi;
I just receive a email to postmaster from MAILER-DAEMON of my server :
Transcript of session follows.
Out: 220 server.domain.tld ESMTP Postfix (Debian/GNU)
In:  HELO smtp.varmion.net
Out: 250 server.Transcript of session follows.
Out: 220 server.domain.tld ESMTP Postfix (Debian/GNU)
In:  HELO smtp.varmion.net
Out: 250 server.domain.tld
In:  MAIL FROM:<thedietconf@yahoo.com>
Out: 250 2.1.0 Ok
In:  RCPT TO:<user@domain.tld>
Out: 250 2.1.5 Ok
In:  DATA
Out: 354 End data with <CR><LF>.<CR><LF>
Out: 451 4.3.0 Error: queue file write error
Session aborted, reason: lost connection

For other details, see the local mail logfileTranscript of session follows.

Is does means that my server it's open relay???
Thank's for helping me.
PS: I have check a on line test open relay mail it's seems OK  for tests.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Postfix error

mekerri wrote:

In:  DATA
Out: 354 End data with <CR><LF>.<CR><LF>
Out: 451 4.3.0 Error: queue file write error

It's not related to open relay.

Any related error message in Postfix log file?

3

Re: Postfix error

ZhangHuangbin wrote:
mekerri wrote:

In:  DATA
Out: 354 End data with <CR><LF>.<CR><LF>
Out: 451 4.3.0 Error: queue file write error

It's not related to open relay.

Any related error message in Postfix log file?


In /var/log/mail.log

module=Greylisting, action=pass, host=65.55.90.171, helo=SNT004-OMC3S32.hotmail.com, from=zedifatima@hotmail.com, to=user1@domain.tld, reason=whitelisted
Dec 28 17:58:14 server postfix/smtpd[19234]: B88A860A3BA0: client=snt004-omc3s32.hotmail.com[65.55.90.171]
Dec 28 17:58:22 server postfix/smtpd[20770]: warning: valid_hostname: misplaced delimiter: .

warning: virtual_mailbox_domains lookup failure
Dec 27 18:26:03server postfix/smtpd[24502]: NOQUEUE: reject: RCPT from 9.mo59.mail-out.ovh.net[46.105.73.167]: 451 4.3.0 <l1-return-4-user1=domain.tld@tmrees.org>: Temporary lookup failure

warning: virtual_mailbox_domains lookup failure
Dec 27 18:35:24 server postfix/smtpd[25214]: NOQUEUE: reject: RCPT from 66-220-155-157.outmail.facebook.com[66.220.155.157]: 451 4.3.0 <notification+kjdp-7_kp_-d@facebookmail.com>: Temporary lookup failure; from=<notification+kjdp-7_kp_-d@facebookmail.com> to=<user3@domain.tld> proto=ESMTP helo=<mx-out.facebook.com>

Thank's for help

4

Re: Postfix error

mekerri wrote:

Dec 28 17:58:22 server postfix/smtpd[20770]: warning: valid_hostname: misplaced delimiter: .

Please show us output of command below:

postconf recipient_delimiter

5

Re: Postfix error

ZhangHuangbin wrote:
mekerri wrote:

Dec 28 17:58:22 server postfix/smtpd[20770]: warning: valid_hostname: misplaced delimiter: .

Please show us output of command below:

postconf recipient_delimiter

Hi Zhang,
There is the :  postconf recipient_delimiter
the result is:
recipient_delimiter = +

Thank's for your help

6

Re: Postfix error

*) Please show us output of command "postconf -n".
*) Does the name set in "myhostname" match any entry in /etc/hosts and /var/spool/postfix/etc/hosts?

7

Re: Postfix error

ZhangHuangbin wrote:

*) Please show us output of command "postconf -n".
*) Does the name set in "myhostname" match any entry in /etc/hosts and /var/spool/postfix/etc/hosts?

Hi Zhang,
1- postconf -n
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
allow_min_user = no
allow_percent_hack = no
append_dot_mydomain = no
biff = no
bounce_queue_lifetime = 4h
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
delay_warning_time = 0h
disable_vrfy_command = yes
dovecot_destination_recipient_limit = 1
enable_original_recipient = no
home_mailbox = Maildir/
inet_interfaces = all
inet_protocols = ipv4
lmtp_tls_mandatory_protocols = !SSLv2 !SSLv3
lmtp_tls_protocols = !SSLv2 !SSLv3
mailbox_command = /usr/lib/dovecot/deliver
maximal_backoff_time = 4000s
maximal_queue_lifetime = 4h
message_size_limit = 15728640
minimal_backoff_time = 300s
mydestination = $myhostname, localhost, localhost.localdomain
mydomain = server.domain.tld
myhostname = server.domain.tld
mynetworks = 127.0.0.1
mynetworks_style = host
myorigin = server.domain.tld
proxy_read_maps = $canonical_maps $lmtp_generic_maps $local_recipient_maps $mydestination $mynetworks $recipient_bcc_maps $recipient_canonical_maps $relay_domains $relay_recipient_maps $relocated_maps $sender_bcc_maps $sender_canonical_maps $smtp_generic_maps $smtpd_sender_login_maps $transport_maps $virtual_alias_domains $virtual_alias_maps $virtual_mailbox_domains $virtual_mailbox_maps $smtpd_sender_restrictions
queue_run_delay = 300s
recipient_bcc_maps = proxy:ldap:/etc/postfix/ldap/recipient_bcc_maps_user.cf, proxy:ldap:/etc/postfix/ldap/recipient_bcc_maps_domain.cf
recipient_delimiter = +
relay_domains = $mydestination, proxy:ldap:/etc/postfix/ldap/relay_domains.cf
relayhost =
sender_bcc_maps = proxy:ldap:/etc/postfix/ldap/sender_bcc_maps_user.cf, proxy:ldap:/etc/postfix/ldap/sender_bcc_maps_domain.cf
smtp-amavis_destination_recipient_limit = 1
smtp_data_init_timeout = 240s
smtp_data_xfer_timeout = 600s
smtp_tls_CAfile = $smtpd_tls_CAfile
smtp_tls_loglevel = 0
smtp_tls_mandatory_protocols = !SSLv2 !SSLv3
smtp_tls_note_starttls_offer = yes
smtp_tls_protocols = !SSLv2 !SSLv3
smtp_tls_security_level = may
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:7777, check_policy_service inet:127.0.0.1:10031,
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_helo_hostname, reject_invalid_helo_hostname, check_helo_access pcre:/etc/postfix/helo_access.pcre
smtpd_recipient_restrictions = reject_unknown_recipient_domain, reject_non_fqdn_recipient, reject_unlisted_recipient, check_policy_service inet:127.0.0.1:7777, check_policy_service inet:127.0.0.1:10031, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_reject_unlisted_recipient = yes
smtpd_reject_unlisted_sender = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_path = private/dovecot-auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_sender_login_maps = proxy:ldap:/etc/postfix/ldap/sender_login_maps.cf
smtpd_sender_restrictions = reject_unknown_sender_domain, reject_non_fqdn_sender, reject_unlisted_sender, permit_mynetworks, reject_sender_login_mismatch, permit_sasl_authenticated
smtpd_tls_CAfile = /etc/ssl/certs/iRedMail.crt
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/ssl/certs/iRedMail.crt
smtpd_tls_dh1024_param_file = /etc/ssl/dhparams.pem
smtpd_tls_key_file = /etc/ssl/private/iRedMail.key
smtpd_tls_loglevel = 0
smtpd_tls_mandatory_exclude_ciphers = aNULL, eNULL, EXPORT, DES, RC4, MD5, PSK, aECDH, EDH-DSS-DES-CBC3-SHA, EDH-RSA-DES-CDC3-SHA, KRB5-DE5, CBC3-SHA
smtpd_tls_mandatory_protocols = !SSLv2 !SSLv3
smtpd_tls_protocols = !SSLv2 !SSLv3
smtpd_tls_security_level = may
swap_bangpath = no
tls_random_source = dev:/dev/urandom
transport_maps = proxy:ldap:/etc/postfix/ldap/transport_maps_user.cf, proxy:ldap:/etc/postfix/ldap/transport_maps_domain.cf
virtual_alias_domains =
virtual_alias_maps = proxy:ldap:/etc/postfix/ldap/virtual_alias_maps.cf, proxy:ldap:/etc/postfix/ldap/virtual_group_maps.cf, proxy:ldap:/etc/postfix/ldap/virtual_group_members_maps.cf, proxy:ldap:/etc/postfix/ldap/catchall_maps.cf
virtual_gid_maps = static:2000
virtual_mailbox_base = /var/vmail
virtual_mailbox_domains = proxy:ldap:/etc/postfix/ldap/virtual_mailbox_domains.cf
virtual_mailbox_maps = proxy:ldap:/etc/postfix/ldap/virtual_mailbox_maps.cf
virtual_minimum_uid = 2000
virtual_transport = dovecot
virtual_uid_maps = static:2000

2) does the name set in "myhostname" match any entry in /etc/hosts and /var/spool/postfix/etc/hosts?:
cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
# Auto-generated hostname. Please do not remove this comment.
IP  server.domain.tld mail.domain.tld  server
::1 localhost.localdomain localhost

cat /var/spool/postfix/etc/hosts
127.0.0.1 localhost.localdomain localhost
# Auto-generated hostname. Please do not remove this comment.
IP  server.domain.tld mail.domain.tld  server
::1 localhost.localdomain localhost

myhostname = server.domain.tld

PS: I still receive this kind of message into my email postmaster , and i'm little worry about this erros....
Thank's for your help.

8

Re: Postfix error

Please add the hostname set in "myhostname" to /etc/hosts AND /var/spool/postfix/etc/hosts like this:

127.0.0.1 server.domain.tld  localhost.localdomain localhost

The error message is not very clear, no idea yet.

9

Re: Postfix error

ZhangHuangbin wrote:

Please add the hostname set in "myhostname" to /etc/hosts AND /var/spool/postfix/etc/hosts like this:

127.0.0.1 server.domain.tld  localhost.localdomain localhost

The error message is not very clear, no idea yet.

Hi Zhang,
I add  127.0.0.1 server.domain.tld  localhost.localdomain localhost to /etc/hosts

No change, still receive errors ......

Thank's for help

10

Re: Postfix error

mekerri wrote:

Dec 28 17:58:14 server postfix/smtpd[19234]: B88A860A3BA0: client=snt004-omc3s32.hotmail.com[65.55.90.171]
Dec 28 17:58:22 server postfix/smtpd[20770]: warning: valid_hostname: misplaced delimiter: .
warning: virtual_mailbox_domains lookup failure
Dec 27 18:26:03server postfix/smtpd[24502]: NOQUEUE: reject: RCPT from 9.mo59.mail-out.ovh.net[46.105.73.167]: 451 4.3.0 <l1-return-4-user1=domain.tld@tmrees.org>: Temporary lookup failure
warning: virtual_mailbox_domains lookup failure

It's not very clear which part has a problem.

*) The log shows cluebringer is running, so SQL server is running.
*) Is OpenLDAP service running?
*) Does file /etc/postfix/ldap/virtual_mailbox_domains.cf contain correct LDAP server address, bind dn, password? Please test it with below command:

postmap -v -q 'your_domain.com' ldap:/etc/postfix/ldap/virtual_mailbox_domains.cf

Then paste ALL output in this thread so that others can help troubleshoot.

WARNING: The output may contain sensitive info like password, please remove or replace it before pasting.

11

Re: Postfix error

Hi Zhang;
postfix iredmail connect to a remot server ldap iredmail ( one server for postfix and another server for ldap)
There is  the result of  the command:
postmap -v -q 'domain.tld' ldap:/etc/postfix/ldap/virtual_mailbox_domains.cf

postmap: name_mask: ipv4
postmap: inet_addr_local: configured 3 IPv4 addresses
postmap: dict_ldap_open: Using LDAP source /etc/postfix/ldap/virtual_mailbox_domains.cf
postmap: cfg_get_str: /etc/postfix/ldap/virtual_mailbox_domains.cf: server_host = IP-ADDRESS
postmap: cfg_get_int: /etc/postfix/ldap/virtual_mailbox_domains.cf: server_port = 389
postmap: cfg_get_int: /etc/postfix/ldap/virtual_mailbox_domains.cf: version = 3
postmap: dict_ldap_open: /etc/postfix/ldap/virtual_mailbox_domains.cf server_host URL is ldap://IP_ADDRESS:389
postmap: cfg_get_str: /etc/postfix/ldap/virtual_mailbox_domains.cf: scope = one
postmap: cfg_get_str: /etc/postfix/ldap/virtual_mailbox_domains.cf: search_base = o=domains,dc=domain,dc=tld
postmap: cfg_get_int: /etc/postfix/ldap/virtual_mailbox_domains.cf: timeout = 10
postmap: cfg_get_str: /etc/postfix/ldap/virtual_mailbox_domains.cf: query_filter = (&(objectClass=mailDomain)(|(domainName=%s)(&(enabledService=domainalias)(domainAliasName=%s)))(!(domainBackupMX=yes))(accountStatus=active)(enabledService=mail))
postmap: cfg_get_str: /etc/postfix/ldap/virtual_mailbox_domains.cf: result_format = <NULL>
postmap: cfg_get_str: /etc/postfix/ldap/virtual_mailbox_domains.cf: result_filter = %s
postmap: cfg_get_str: /etc/postfix/ldap/virtual_mailbox_domains.cf: domain =
postmap: cfg_get_str: /etc/postfix/ldap/virtual_mailbox_domains.cf: terminal_result_attribute =
postmap: cfg_get_str: /etc/postfix/ldap/virtual_mailbox_domains.cf: leaf_result_attribute =
postmap: cfg_get_str: /etc/postfix/ldap/virtual_mailbox_domains.cf: result_attribute = domainName
postmap: cfg_get_str: /etc/postfix/ldap/virtual_mailbox_domains.cf: special_result_attribute =
postmap: cfg_get_str: /etc/postfix/ldap/virtual_mailbox_domains.cf: bind = yes
postmap: cfg_get_str: /etc/postfix/ldap/virtual_mailbox_domains.cf: bind_dn = cn=vmail,dc=domain,dc=tld
postmap: cfg_get_str: /etc/postfix/ldap/virtual_mailbox_domains.cf: bind_pw = password
postmap: cfg_get_bool: /etc/postfix/ldap/virtual_mailbox_domains.cf: cache = off
postmap: cfg_get_int: /etc/postfix/ldap/virtual_mailbox_domains.cf: cache_expiry = -1
postmap: cfg_get_int: /etc/postfix/ldap/virtual_mailbox_domains.cf: cache_size = -1
postmap: cfg_get_int: /etc/postfix/ldap/virtual_mailbox_domains.cf: recursion_limit = 1000
postmap: cfg_get_int: /etc/postfix/ldap/virtual_mailbox_domains.cf: expansion_limit = 0
postmap: cfg_get_int: /etc/postfix/ldap/virtual_mailbox_domains.cf: size_limit = 0
postmap: cfg_get_int: /etc/postfix/ldap/virtual_mailbox_domains.cf: dereference = 0
postmap: cfg_get_bool: /etc/postfix/ldap/virtual_mailbox_domains.cf: chase_referrals = off
postmap: cfg_get_bool: /etc/postfix/ldap/virtual_mailbox_domains.cf: start_tls = off
postmap: cfg_get_bool: /etc/postfix/ldap/virtual_mailbox_domains.cf: tls_require_cert = off
postmap: cfg_get_str: /etc/postfix/ldap/virtual_mailbox_domains.cf: tls_ca_cert_file =
postmap: cfg_get_str: /etc/postfix/ldap/virtual_mailbox_domains.cf: tls_ca_cert_dir =
postmap: cfg_get_str: /etc/postfix/ldap/virtual_mailbox_domains.cf: tls_cert =
postmap: cfg_get_str: /etc/postfix/ldap/virtual_mailbox_domains.cf: tls_key =
postmap: cfg_get_str: /etc/postfix/ldap/virtual_mailbox_domains.cf: tls_random_file =
postmap: cfg_get_str: /etc/postfix/ldap/virtual_mailbox_domains.cf: tls_cipher_suite =
postmap: cfg_get_int: /etc/postfix/ldap/virtual_mailbox_domains.cf: debuglevel = 0
postmap: dict_open: ldap:/etc/postfix/ldap/virtual_mailbox_domains.cf
postmap: dict_ldap_lookup: In dict_ldap_lookup
postmap: dict_ldap_lookup: No existing connection for LDAP source /etc/postfix/ldap/virtual_mailbox_domains.cf, reopening
postmap: dict_ldap_connect: Connecting to server ldap://IP-ADDRESS:389
postmap: dict_ldap_connect: Actual Protocol version used is 3.
postmap: dict_ldap_connect: Binding to server ldap://IP-ADDRESS:389 with dn cn=vmail,dc=domain,dc=tld
postmap: dict_ldap_connect: Successful bind to server ldap://IP-ADDRESS:389 with dn cn=vmail,dc=domain,dc=tld
postmap: dict_ldap_connect: Cached connection handle for LDAP source /etc/postfix/ldap/virtual_mailbox_domains.cf
postmap: dict_ldap_lookup: /etc/postfix/ldap/virtual_mailbox_domains.cf: Searching with filter (&(objectClass=mailDomain)(|(domainName=domain.tld)(&(enabledService=domainalias)(domainAliasName=domain.tld)))(!(domainBackupMX=yes))(accountStatus=active)(enabledService=mail))
postmap: dict_ldap_get_values[1]: Search found 1 match(es)
postmap: dict_ldap_get_values[1]: search returned 1 value(s) for requested result attribute domainName
postmap: dict_ldap_get_values[1]: Leaving dict_ldap_get_values
postmap: dict_ldap_lookup: Search returned domain.tld
domain.tld
postmap: dict_ldap_close: Closed connection handle for LDAP source /etc/postfix/ldap/virtual_mailbox_domains.cf

Thank's again for  your help

12

Re: Postfix error

*) LDAP related stuffs are ok.
*) The original error message "warning: valid_hostname: misplaced delimiter: ." means you have some domain name ends with a dot (which is incorrect), but i cannot find where it's.

Did you get any warning/error message while you manually update /etc/postfix/main.cf? Or use command 'postconf -e' to change some settings?

I understand you modified something while pasting Postfix config file, but please double check /etc/postfix/main.cf, is there any domain name ends with a dot? Usually this error caused by incorrect value of "myhostname" setting.

13

Re: Postfix error

ZhangHuangbin wrote:

*) LDAP related stuffs are ok.
*) The original error message "warning: valid_hostname: misplaced delimiter: ." means you have some domain name ends with a dot (which is incorrect), but i cannot find where it's.

Did you get any warning/error message while you manually update /etc/postfix/main.cf? Or use command 'postconf -e' to change some settings?

I understand you modified something while pasting Postfix config file, but please double check /etc/postfix/main.cf, is there any domain name ends with a dot? Usually this error caused by incorrect value of "myhostname" setting.

Hi Zhang,

1) cat  /etc/hosts

127.0.0.1 localhost.localdomain localhost server.domain.tld
# Auto-generated hostname. Please do not remove this comment.
IP-ADDRESS  server.domain.tld  mail.domain.tld  server
::1 localhost.localdomain localhost

2) vi /etc/postfix/main.cf
# See /usr/share/postfix/main.cf.dist for a commented, more complete version

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
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

alias_maps = hash:/etc/postfix/aliases
alias_database = hash:/etc/postfix/aliases
myhostname = server.domain.tld
mydestination = $myhostname, localhost, localhost.localdomain, domain.tld
relayhost =
mynetworks = 127.0.0.1
inet_interfaces = all
recipient_delimiter = +
inet_protocols = ipv4
virtual_alias_domains =
myorigin = server.domain.tld
mydomain = domain.tld
allow_percent_hack = no
swap_bangpath = no
mynetworks_style = host
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_reject_unlisted_recipient = yes
smtpd_reject_unlisted_sender = yes
smtpd_tls_protocols = !SSLv2 !SSLv3
smtp_tls_protocols = !SSLv2 !SSLv3
lmtp_tls_protocols = !SSLv2 !SSLv3
smtpd_tls_mandatory_protocols = !SSLv2 !SSLv3
smtp_tls_mandatory_protocols = !SSLv2 !SSLv3
lmtp_tls_mandatory_protocols = !SSLv2 !SSLv3
smtpd_tls_mandatory_exclude_ciphers = aNULL, eNULL, EXPORT, DES, RC4, MD5, PSK, aECDH, EDH-DSS-DES-CBC3-SHA, EDH-RSA-DES-CDC3-SHA, KRB5-DE5, CBC3-SHA
smtpd_tls_dh1024_param_file = /etc/ssl/dhparams.pem
smtp_tls_security_level = may
smtp_tls_CAfile = $smtpd_tls_CAfile
smtp_tls_loglevel = 0
smtp_tls_note_starttls_offer = yes
smtpd_sender_restrictions = reject_unknown_sender_domain, reject_non_fqdn_sender, reject_unlisted_sender, permit_mynetworks, reject_sender_login_mismatch, permit_sasl_authenticated
delay_warning_time = 0h
maximal_queue_lifetime = 4h
bounce_queue_lifetime = 4h
proxy_read_maps = $canonical_maps $lmtp_generic_maps $local_recipient_maps $mydestination $mynetworks $recipient_bcc_maps $recipient_canonical_maps $relay_domains $relay_recipient_maps $relocated_maps $sender_bcc_maps $sender_canonical_maps $smtp_generic_maps $smtpd_sender_login_maps $transport_maps $virtual_alias_domains $virtual_alias_maps $virtual_mailbox_domains $virtual_mailbox_maps $smtpd_sender_restrictions
smtp_data_init_timeout = 240s
smtp_data_xfer_timeout = 600s
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_helo_hostname, reject_invalid_helo_hostname, check_helo_access pcre:/etc/postfix/helo_access.pcre
queue_run_delay = 300s
minimal_backoff_time = 300s
maximal_backoff_time = 4000s
enable_original_recipient = no
disable_vrfy_command = yes
home_mailbox = Maildir/
allow_min_user = no
message_size_limit = 15728640
virtual_minimum_uid = 2000
virtual_uid_maps = static:2000
virtual_gid_maps = static:2000
virtual_mailbox_base = /var/vmail
transport_maps = proxy:ldap:/etc/postfix/ldap/transport_maps_user.cf, proxy:ldap:/etc/postfix/ldap/transport_maps_domain.cf
virtual_alias_maps = proxy:ldap:/etc/postfix/ldap/virtual_alias_maps.cf, proxy:ldap:/etc/postfix/ldap/virtual_group_maps.cf, proxy:ldap:/etc/postfix/ldap/virtual_group_members_maps.cf, proxy:ldap:/etc/postfix/ldap/catchall_maps.cf
virtual_mailbox_domains = proxy:ldap:/etc/postfix/ldap/virtual_mailbox_domains.cf
virtual_mailbox_maps = proxy:ldap:/etc/postfix/ldap/virtual_mailbox_maps.cf
sender_bcc_maps = proxy:ldap:/etc/postfix/ldap/sender_bcc_maps_user.cf, proxy:ldap:/etc/postfix/ldap/sender_bcc_maps_domain.cf
recipient_bcc_maps = proxy:ldap:/etc/postfix/ldap/recipient_bcc_maps_user.cf, proxy:ldap:/etc/postfix/ldap/recipient_bcc_maps_domain.cf
relay_domains = $mydestination, proxy:ldap:/etc/postfix/ldap/relay_domains.cf
smtpd_sender_login_maps = proxy:ldap:/etc/postfix/ldap/sender_login_maps.cf
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
broken_sasl_auth_clients = yes
smtpd_sasl_security_options = noanonymous
smtpd_tls_auth_only = yes
smtpd_recipient_restrictions = reject_unknown_recipient_domain, reject_non_fqdn_recipient, reject_unlisted_recipient, check_policy_service inet:127.0.0.1:7777, check_policy_service inet:127.0.0.1:10031, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:7777, check_policy_service inet:127.0.0.1:10031,
smtpd_tls_security_level = may
smtpd_tls_loglevel = 0
smtpd_tls_key_file = /etc/ssl/private/iRedMail.key
smtpd_tls_cert_file = /etc/ssl/certs/iRedMail.crt
smtpd_tls_CAfile = /etc/ssl/certs/iRedMail.crt
tls_random_source = dev:/dev/urandom
mailbox_command = /usr/lib/dovecot/deliver
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/dovecot-auth
content_filter = smtp-amavis:[127.0.0.1]:10024
smtp-amavis_destination_recipient_limit = 1

Thank's a lot for your help

14

Re: Postfix error

No idea. I suggest posting to Postfix mailing list to ask for support.
http://www.postfix.org/lists.html