1

Topic: Sender address rejected: not logged in (in reply to RCPT TO comman

i have two servers installed with iredmail one configured as pop server and another(mx) as a relay host to pop
server

i have added the IP  of  mx in  mynetworks as suggested in this forum but still i get above error.

below is the bounce back message

''

This is the mail system at host mx.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

                   The mail system

<nocsimba@yahoo.com>: host pop said: 553 5.7.1
    <bozra@kibokowifi.com>: Sender address rejected: not logged in (in reply to
    RCPT TO command)

please assist what might  be causing this error

----

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

2

Re: Sender address rejected: not logged in (in reply to RCPT TO comman

If you have ip address of "mx" server in Postfix "mynetworks" on server "pop", this issue won't happen at all.
Please post output of command "postconf mynetworks" on server "pop".

3

Re: Sender address rejected: not logged in (in reply to RCPT TO comman

Dear Zhang,

below is the output

root@pop#postconf mynetworks
mynetworks = 127.0.0.0/8,41.221.41.0/25

after doing this change and restarting postfix the error changed to

<test@yahoo.com>: host mx[41.221.xxx.4] said: 554 5.4.0 Error:
    too many hops (in reply to end of DATA command)

regards

4

Re: Sender address rejected: not logged in (in reply to RCPT TO comman

Did you try "41.221.xxx.4" instead of "41.221.41.0/25"?

5

Re: Sender address rejected: not logged in (in reply to RCPT TO comman

Dear Zhang,

yes i tried did ,but with no luck

regards

6

Re: Sender address rejected: not logged in (in reply to RCPT TO comman

Seems your mail is looping.
Does this account forward email to this yahoo mailbox?

7

Re: Sender address rejected: not logged in (in reply to RCPT TO comman

Dear Zhang,

It does not,i dont recive any mail in yahoo,i just get a bounce back message in pop.

8

Re: Sender address rejected: not logged in (in reply to RCPT TO comman

Did you test other mail accounts?
All mail accounts have same issue or only this one?

9

Re: Sender address rejected: not logged in (in reply to RCPT TO comman

Dear Zhang,

i have tested all accounts they give the same error,when i disable relay host,pop can directly send well,i think there  is a problem with relay configs.

10 (edited by Bozra 2011-09-25 12:35:00)

Re: Sender address rejected: not logged in (in reply to RCPT TO comman

Bozra wrote:

Dear Zhang,

i have tested all accounts they give the same error,when i disable relay host,pop can directly send well,i think there  is a problem with relay configs.

==== Provide basic information to help troubleshoot ====
- iRedMail version:
- Linux/BSD distribution name and version:
- Any related log? Log is helpful for troubleshooting.
====

dear zhang,

check the looping bounce back message

This is the mail system at host pop.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

                   The mail system

<xxxx@yahoo.com>: host ip adress of mx[ip adress of mx] said: 554 5.4.0 Error: too
    many hops (in reply to end of DATA command)

Reporting-MTA: dns; pop
X-Postfix-Queue-ID: 75FE212F8389
X-Postfix-Sender: rfc822; xxx@kibokowifi.com
Arrival-Date: Sun, 25 Sep 2011 07:20:22 +0300 (EAT)

Final-Recipient: rfc822; xxxx@yahoo.com
Original-Recipient: rfc822;xxxx@yahoo.com
Action: failed
Status: 5.4.0
Remote-MTA: dns; ip adress of mx
Diagnostic-Code: smtp; 554 5.4.0 Error: too many hops

Received: from mx (unknown [ip adress of mx])
    by pop (Postfix) with ESMTP id 75FE212F8389
    for <xxxx@yahoo.com>; Sun, 25 Sep 2011 07:20:22 +0300 (EAT)
Received: from localhost (localhost [127.0.0.1])
    by mx (Postfix) with ESMTP id D6A0A101617
    for <xxxx@yahoo.com>; Sun, 25 Sep 2011 07:20:18 +0300 (EAT)
X-Virus-Scanned: amavisd-new at mx
Received: from mx ([127.0.0.1])
    by localhost (mx [127.0.0.1]) (amavisd-new, port 10024)
    with ESMTP id yHXsgEd4JUB3 for <xxxx@yahoo.com>;
    Sun, 25 Sep 2011 07:20:18 +0300 (EAT)
Received: from pop (unknown [ip adress of pop])
    by mx (Postfix) with ESMTP id 2A7411015A5
    for <xxxx@yahoo.com>; Sun, 25 Sep 2011 07:20:18 +0300 (EAT)
Received: from mx (unknown [ip adress of mx])
    by pop (Postfix) with ESMTP id AF8F712F8389
    for <xxxx@yahoo.com>; Sun, 25 Sep 2011 07:20:21 +0300 (EAT)
Received: from localhost (localhost [127.0.0.1])
    by mx (Postfix) with ESMTP id 1C8FC101617
    for <xxxx@yahoo.com>; Sun, 25 Sep 2011 07:20:18 +0300 (EAT)
X-Virus-Scanned: amavisd-new at mx
Received: from mx ([127.0.0.1])
    by localhost (mx [127.0.0.1]) (amavisd-new, port 10024)
    with ESMTP id 5D36ElhKO59w for <xxxx@yahoo.com>;
    Sun, 25 Sep 2011 07:20:17 +0300 (EAT)
Received: from pop (unknown [ip adress of pop])
    by mx (Postfix) with ESMTP id 6463F1015A5
    for <xxxx@yahoo.com>; Sun, 25 Sep 2011 07:20:17 +0300 (EAT)
Received: from mx (unknown [ip adress of mx])
    by pop (Postfix) with ESMTP id E7C1D12F8389
    for <xxxx@yahoo.com>; Sun, 25 Sep 2011 07:20:20 +0300 (EAT)
Received: from localhost (localhost [127.0.0.1])
    by mx (Postfix) with ESMTP id 537D1101617
    for <xxxx@yahoo.com>; Sun, 25 Sep 2011 07:20:17 +0300 (EAT)
X-Virus-Scanned: amavisd-new at mx
Received: from mx ([127.0.0.1])
    by localhost (mx [127.0.0.1]) (amavisd-new, port 10024)
    with ESMTP id RuSpfX-M3WiN for <xxxx@yahoo.com>;
    Sun, 25 Sep 2011 07:20:16 +0300 (EAT)
Received: from pop (unknown [ip adress of pop])
    by mx (Postfix) with ESMTP id 9CE881015A5
    for <xxxx@yahoo.com>; Sun, 25 Sep 2011 07:20:16 +0300 (EAT)
Received: from mx (unknown [ip adress of mx])
    by pop (Postfix) with ESMTP id 2BC9212F8389
    for <xxxx@yahoo.com>; Sun, 25 Sep 2011 07:20:20 +0300 (EAT)
Received: from localhost (localhost [127.0.0.1])
    by mx (Postfix) with ESMTP id 8B3D2101617
    for <xxxx@yahoo.com>; Sun, 25 Sep 2011 07:20:16 +0300 (EAT)
X-Virus-Scanned: amavisd-new at mx
Received: from mx ([127.0.0.1])
    by localhost (mx [127.0.0.1]) (amavisd-new, port 10024)
    with ESMTP id KD0NQcelTGPt for <xxxx@yahoo.com>;
    Sun, 25 Sep 2011 07:20:15 +0300 (EAT)
Received: from pop (unknown [ip adress of pop])
    by mx (Postfix) with ESMTP id D274D1015A5
    for <xxxx@yahoo.com>; Sun, 25 Sep 2011 07:20:15 +0300 (EAT)
Received: from mx (unknown [ip adress of mx])
    by pop (Postfix) with ESMTP id 628C012F8389
    for <xxxx@yahoo.com>; Sun, 25 Sep 2011 07:20:19 +0300 (EAT)
Received: from localhost (localhost [127.0.0.1])
    by mx (Postfix) with ESMTP id C3BE5101617
    for <xxxx@yahoo.com>; Sun, 25 Sep 2011 07:20:15 +0300 (EAT)
X-Virus-Scanned: amavisd-new at mx
Received: from mx ([127.0.0.1])
    by localhost (mx [127.0.0.1]) (amavisd-new, port 10024)
    with ESMTP id plZ7SZkZQ+HB for <xxxx@yahoo.com>;
    Sun, 25 Sep 2011 07:20:15 +0300 (EAT)
Received: from pop (unknown [ip adress of pop])
    by mx (Postfix) with ESMTP id 1B2171015A5
    for <xxxx@yahoo.com>; Sun, 25 Sep 2011 07:20:15 +0300 (EAT)
Received: from mx (unknown [ip adress of mx])
    by pop (Postfix) with ESMTP id 9EAB712F8389
    for <xxxx@yahoo.com>; Sun, 25 Sep 2011 07:20:18 +0300 (EAT)
Received: from localhost (localhost [127.0.0.1])
    by mx (Postfix) with ESMTP id 0912E101617
    for <xxxx@yahoo.com>; Sun, 25 Sep 2011 07:20:15 +0300 (EAT)
X-Virus-Scanned: amavisd-new at mx
Received: from mx ([127.0.0.1])
    by localhost (mx [127.0.0.1]) (amavisd-new, port 10024)
    with ESMTP id 03YFuvuHOA5m for <xxxx@yahoo.com>;
    Sun, 25 Sep 2011 07:20:14 +0300 (EAT)
Received: from pop (unknown [ip adress of pop])
    by mx (Postfix) with ESMTP id 4AE201015A5
    for <xxxx@yahoo.com>; Sun, 25 Sep 2011 07:20:14 +0300 (EAT)
Received: from mx (unknown [ip adress of mx])
    by pop (Postfix) with ESMTP id C5D0312F8389
    for <xxxx@yahoo.com>; Sun, 25 Sep 2011 07:20:17 +0300 (EAT)
Received: from localhost (localhost [127.0.0.1])
    by mx (Postfix) with ESMTP id 31A00101617
    for <xxxx@yahoo.com>; Sun, 25 Sep 2011 07:20:14 +0300 (EAT)
X-Virus-Scanned: amavisd-new at mx
Received: from mx ([127.0.0.1])
    by localhost (mx [127.0.0.1]) (amavisd-new, port 10024)
    with ESMTP id ocltlkCeBVOU for <xxxx@yahoo.com>;
    Sun, 25 Sep 2011 07:20:13 +0300 (EAT)
Received: from pop (unknown [ip adress of pop])
    by mx (Postfix) with ESMTP id 74BD81015A5
    for <xxxx@yahoo.com>; Sun, 25 Sep 2011 07:20:13 +0300 (EAT)
Received: from mx (unknown [ip adress of mx])
    by pop (Postfix) with ESMTP id F05CD12F8389
    for <xxxx@yahoo.com>; Sun, 25 Sep 2011 07:20:16 +0300 (EAT)
Received: from localhost (localhost [127.0.0.1])
    by mx (Postfix) with ESMTP id 5D325101617
    for <xxxx@yahoo.com>; Sun, 25 Sep 2011 07:20:13 +0300 (EAT)
X-Virus-Scanned: amavisd-new at mx
Received: from mx ([127.0.0.1])
    by localhost (mx [127.0.0.1]) (amavisd-new, port 10024)
    with ESMTP id dLrMk50rAbnp for <xxxx@yahoo.com>;
    Sun, 25 Sep 2011 07:20:12 +0300 (EAT)
Received: from pop (unknown [ip adress of pop])
    by mx (Postfix) with ESMTP id AD3C61015A5
    for <xxxx@yahoo.com>; Sun, 25 Sep 2011 07:20:12 +0300 (EAT)
Received: from mx (unknown [ip adress of mx])
    by pop (Postfix) with ESMTP id 34B9312F8389
    for <xxxx@yahoo.com>; Sun, 25 Sep 2011 07:20:16 +0300 (EAT)
Received: from localhost (localhost [127.0.0.1])
    by mx (Postfix) with ESMTP id 94BEA101617
    for <xxxx@yahoo.com>; Sun, 25 Sep 2011 07:20:12 +0300 (EAT)
X-Virus-Scanned: amavisd-new at mx
Received: from mx ([127.0.0.1])
    by localhost (mx [127.0.0.1]) (amavisd-new, port 10024)
    with ESMTP id UrsQR3UqssIc for <xxxx@yahoo.com>;
    Sun, 25 Sep 2011 07:20:11 +0300 (EAT)
Received: from pop (unknown [ip adress of pop])
    by mx (Postfix) with ESMTP id E5B081015A5
    for <xxxx@yahoo.com>; Sun, 25 Sep 2011 07:20:11 +0300 (EAT)
Received: from mx (unknown [ip adress of mx])
    by pop (Postfix) with ESMTP id 6FF3B12F8389
    for <xxxx@yahoo.com>; Sun, 25 Sep 2011 07:20:15 +0300 (EAT)
Received: from localhost (localhost [127.0.0.1])
    by mx (Postfix) with ESMTP id CF16F101617
    for <xxxx@yahoo.com>; Sun, 25 Sep 2011 07:20:11 +0300 (EAT)
X-Virus-Scanned: amavisd-new at mx
Received: from mx ([127.0.0.1])
    by localhost (mx [127.0.0.1]) (amavisd-new, port 10024)
    with ESMTP id ro5KJT00+PIC for <xxxx@yahoo.com>;
    Sun, 25 Sep 2011 07:20:04 +0300 (EAT)
Received: from pop (unknown [ip adress of pop])
    by mx (Postfix) with ESMTP id B56331015A5
    for <xxxx@yahoo.com>; Sun, 25 Sep 2011 07:20:04 +0300 (EAT)
Received: from mx (unknown [ip adress of mx])
    by pop (Postfix) with ESMTP id 42A8812F8389
    for <xxxx@yahoo.com>; Sun, 25 Sep 2011 07:20:08 +0300 (EAT)
Received: from localhost (localhost [127.0.0.1])
    by mx (Postfix) with ESMTP id A26B6101617
    for <xxxx@yahoo.com>; Sun, 25 Sep 2011 07:20:04 +0300 (EAT)
X-Virus-Scanned: amavisd-new at mx
Received: from mx ([127.0.0.1])
    by localhost (mx [127.0.0.1]) (amavisd-new, port 10024)
    with ESMTP id Enq12aidmZ6l for <xxxx@yahoo.com>;
    Sun, 25 Sep 2011 07:19:54 +0300 (EAT)
Received: from pop (unknown [ip adress of pop])
    by mx (Postfix) with ESMTP id F04D31015A5
    for <xxxx@yahoo.com>; Sun, 25 Sep 2011 07:19:53 +0300 (EAT)
Received: from mx (unknown [ip adress of mx])
    by pop (Postfix) with ESMTP id 7BE9012F8389
    for <xxxx@yahoo.com>; Sun, 25 Sep 2011 07:19:57 +0300 (EAT)
Received: from localhost (localhost [127.0.0.1])
    by mx (Postfix) with ESMTP id D0E56101617
    for <xxxx@yahoo.com>; Sun, 25 Sep 2011 07:19:53 +0300 (EAT)
X-Virus-Scanned: amavisd-new at mx
Received: from mx ([127.0.0.1])
    by localhost (mx [127.0.0.1]) (amavisd-new, port 10024)
    with ESMTP id 8WmfwoP0Fcvg for <xxxx@yahoo.com>;
    Sun, 25 Sep 2011 07:19:33 +0300 (EAT)
Received: from pop (unknown [ip adress of pop])
    by mx (Postfix) with ESMTP id 287251015A5
    for <xxxx@yahoo.com>; Sun, 25 Sep 2011 07:19:33 +0300 (EAT)
Received: from pop (localhost.localdomain [127.0.0.1])
    by pop (Postfix) with ESMTPA id AD55C12F8395
    for <xxxx@yahoo.com>; Sun, 25 Sep 2011 06:54:40 +0300 (EAT)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8;
format=flowed
Content-Transfer-Encoding: 7bit
Date: Sun, 25 Sep 2011 06:54:40 +0300
From: xxx@kibokowifi.com
To: <xxxx@yahoo.com>
Subject: test @0654
Message-ID: <64f1431902ca2ec9b77ff825f34224c7@kibokowifi.com>
X-Sender: xxx@kibokowifi.com
User-Agent: RoundCube WebMail

Test

11

Re: Sender address rejected: not logged in (in reply to RCPT TO comman

Did you see there're many "Received:" mail headers? Your mail is looping between these two servers. You have to fingure out why it happened first.

Please post output of command "postconf -n" on both servers.

12

Re: Sender address rejected: not logged in (in reply to RCPT TO comman

Dear Zhang,

please find the outputs of postconf -n for both servers below,i tried disabling relay host in pop,i was able to send to external domains but the pop was sending directly my aim is for the mails to pass via mx.


pop:
# postconf -n
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
allow_min_user = no
biff = no
bounce_queue_lifetime = 1d
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
delay_warning_time = 0h
disable_vrfy_command = yes
enable_original_recipient = no
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
inet_protocols = ipv4
mail_owner = postfix
mailbox_command = /usr/libexec/dovecot/deliver
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
maximal_backoff_time = 4000s
maximal_queue_lifetime = 1d
message_size_limit = 15728640
minimal_backoff_time = 300s
mydestination = $myhostname, localhost, localhost.localdomain, localhost.$myhostname
mydomain = simbanet.co.tz
myhostname = pop.simbanet.co.tz
mynetworks = 127.0.0.0/8,41.221.41.0/25
mynetworks_style = subnet
myorigin = pop.simbanet.co.tz
newaliases_path = /usr/bin/newaliases.postfix
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_directory = /var/spool/postfix
queue_run_delay = 300s
readme_directory = /usr/share/doc/postfix-2.5.9/README_FILES
recipient_bcc_maps = proxy:ldap:/etc/postfix/ldap/recipient_bcc_maps_domain.cf, proxy:ldap:/etc/postfix/ldap/recipient_bcc_maps_user.cf
recipient_delimiter = +
relay_domains = $mydestination, proxy:ldap:/etc/postfix/ldap/relay_domains.cf
sample_directory = /usr/share/doc/postfix-2.5.9/samples
sender_bcc_maps = proxy:ldap:/etc/postfix/ldap/sender_bcc_maps_domain.cf, proxy:ldap:/etc/postfix/ldap/sender_bcc_maps_user.cf
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp_data_init_timeout = 240s
smtp_data_xfer_timeout = 600s
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_enforce_tls = no
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks,permit_sasl_authenticated, check_helo_access pcre:/etc/postfix/helo_access.pcre
smtpd_recipient_restrictions = reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unlisted_recipient,check_policy_service inet:127.0.0.1:7777, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_non_fqdn_helo_hostname, reject_invalid_helo_hostname,
smtpd_reject_unlisted_recipient = yes
smtpd_reject_unlisted_sender = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = no
smtpd_sasl_local_domain =
smtpd_sasl_path = ./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 = permit_mynetworks,reject_sender_login_mismatch,permit_sasl_authenticated
smtpd_tls_CAfile = /etc/pki/tls/certs/iRedMail_CA.pem
smtpd_tls_cert_file = /etc/pki/tls/certs/iRedMail_CA.pem
smtpd_tls_key_file = /etc/pki/tls/private/iRedMail.key
smtpd_tls_loglevel = 0
smtpd_tls_security_level = may
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
unknown_local_recipient_reject_code = 550
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/sender_login_maps.cf, proxy:ldap:/etc/postfix/ldap/catchall_maps.cf
virtual_gid_maps = static:513
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 = 512
virtual_transport = dovecot
virtual_uid_maps = static:512

2.mx

[root@mx1 ~]# postconf -n
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
allow_min_user = no
biff = no
bounce_queue_lifetime = 1d
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
delay_warning_time = 0h
disable_vrfy_command = yes
enable_original_recipient = no
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
inet_protocols = ipv4
mail_owner = postfix
mailbox_command = /usr/libexec/dovecot/deliver
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
maximal_backoff_time = 4000s
maximal_queue_lifetime = 1d
message_size_limit = 15728640
minimal_backoff_time = 300s
mydestination = $myhostname, localhost, localhost.localdomain, localhost.$myhostname
mydomain = simbanet.co.tz
myhostname = mx1.simbanet.co.tz
mynetworks = 127.0.0.0/8,41.221.41.0/25
mynetworks_style = subnet
myorigin = mx1.simbanet.co.tz
newaliases_path = /usr/bin/newaliases.postfix
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_directory = /var/spool/postfix
queue_run_delay = 300s
readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
recipient_bcc_maps = proxy:ldap:/etc/postfix/ldap/recipient_bcc_maps_domain.cf, proxy:ldap:/etc/postfix/ldap/recipient_bcc_maps_user.cf
recipient_delimiter = +
relay_domains = $mydestinations,proxy:ldap:/etc/postfix/ldap/virtual_mailbox_domains.cf
relay_recipient_maps = proxy:ldap:/etc/postfix/ldap/virtual_mailbox_maps.cf
sample_directory = /usr/share/doc/postfix-2.6.6/samples
sender_bcc_maps = proxy:ldap:/etc/postfix/ldap/sender_bcc_maps_domain.cf, proxy:ldap:/etc/postfix/ldap/sender_bcc_maps_user.cf
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp_data_init_timeout = 240s
smtp_data_xfer_timeout = 600s
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_enforce_tls = no
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks,permit_sasl_authenticated, check_helo_access pcre:/etc/postfix/helo_access.pcre
smtpd_recipient_restrictions = reject_unknown_sender_domain, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unlisted_recipient, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_non_fqdn_helo_hostname, reject_invalid_helo_hostname, check_policy_service inet:127.0.0.1:10031
smtpd_reject_unlisted_recipient = yes
smtpd_reject_unlisted_sender = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = no
smtpd_sasl_local_domain =
smtpd_sasl_path = ./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 = permit_mynetworks, reject_sender_login_mismatch, permit_sasl_authenticated
smtpd_tls_CAfile = /etc/pki/tls/certs/iRedMail_CA.pem
smtpd_tls_cert_file = /etc/pki/tls/certs/iRedMail_CA.pem
smtpd_tls_key_file = /etc/pki/tls/private/iRedMail.key
smtpd_tls_loglevel = 0
smtpd_tls_security_level = may
tls_random_source = dev:/dev/urandom
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
virtual_alias_domains =
virtual_gid_maps = static:502
virtual_mailbox_base = /var/vmail
virtual_minimum_uid = 502
virtual_transport = dovecot
virtual_uid_maps = static:502