1

Topic: Local account delivery proeblem

==== Required information ====
- iRedMail version: 1.8.2
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: openSUSE 12.3
- Related log if you're reporting an issue:
====
Hello.
I had to change IP server address and made by yast. Some days before upgraded to the newest version of iRedMail-Pro. After restarting server stopped respond on port 25. In /etc/postfix/main.cf changed inet_interfaces line as
inet_interfaces = all before was inet_interfaces = localhost

Server began respond on all interfaces and work on port 25 but when I send mail by any of mail clients from local account to local account (the same domain) postfix does not deliver to any account (other domain on local server too). It seems like postfix does not verify or recognize own handled domain and send DNS request to DNS server to lookup for MX record and tried to send message to that server. When try to send on any outside domain everything is ok. When send from outside to this server - message does not reach destination and have empty mailbox.
I spend some time but have not idea what is going on.
Please help.

----

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

2

Re: Local account delivery proeblem

Any related error in Postfix/Dovecot log files?

By the way, I replied your email, but bounced back due to your server issue.

3

Re: Local account delivery proeblem

In dovecot log there are not errors - only information about log in and log of imap.

In mail log when try send mail  by means of roundcube:

Mar  1 10:39:28 mail postfix/smtpd[25645]: connect from localhost[127.0.0.1]
Mar  1 10:39:28 mail postfix/smtpd[25645]: 2351718AC5A: client=localhost[127.0.0.1], sasl_method=LOGIN, sasl_username=p.jankowski@akcess.com.pl
Mar  1 10:39:28 mail postfix/cleanup[25648]: 2351718AC5A: message-id=<b15058ddfb59d7dd1343686bbfbfa372@akcess.com.pl>
Mar  1 10:39:28 mail postfix/qmgr[16653]: 2351718AC5A: from=<p.jankowski@akcess.com.pl>, size=556, nrcpt=1 (queue active)
Mar  1 10:39:28 mail roundcube: User p.jankowski@akcess.com.pl [10.10.1.10]; Message for p.jankowski@akcess.com.pl; 250: 2.0.0 Ok: queued as 2351718AC5A
Mar  1 10:39:28 mail postfix/smtp[25655]: error: open database /etc/postfix/sasl_passwd.db: No such file or directory
Mar  1 10:39:28 mail postfix/smtpd[25645]: disconnect from localhost[127.0.0.1]
Mar  1 10:39:28 mail postfix/smtp[25655]: warning: hash:/etc/postfix/sasl_passwd is unavailable. open database /etc/postfix/sasl_passwd.db: No such file or directory
Mar  1 10:39:28 mail postfix/smtp[25655]: warning: hash:/etc/postfix/sasl_passwd lookup error for "www.akcess.com.pl"
Mar  1 10:39:28 mail postfix/smtp[25655]: warning: 2351718AC5A: smtp_sasl_passwd lookup error
Mar  1 10:39:28 mail postfix/smtp[25655]: 2351718AC5A: to=<p.jankowski@akcess.com.pl>, relay=www.akcess.com.pl[10.10.1.3]:25, delay=0.29, delays=0.05/0.02/0.22/0, dsn=4.3.0, status=deferred (local data error while talking to www.akcess.com.pl[10.10.1.3])

4

Re: Local account delivery proeblem

pj2015 wrote:

Mar  1 10:39:28 mail postfix/smtp[25655]: error: open database /etc/postfix/sasl_passwd.db: No such file or directory
Mar  1 10:39:28 mail postfix/smtp[25655]: warning: hash:/etc/postfix/sasl_passwd is unavailable. open database /etc/postfix/sasl_passwd.db: No such file or directory
Mar  1 10:39:28 mail postfix/smtp[25655]: warning: hash:/etc/postfix/sasl_passwd lookup error for "www.akcess.com.pl"
Mar  1 10:39:28 mail postfix/smtp[25655]: warning: 2351718AC5A: smtp_sasl_passwd lookup error

Read above log please.

5

Re: Local account delivery proeblem

Because I had no time to analyze and look for mistake in configuration I decided to reinstall iRedMail and iRedAdmin-Pro. Had some problems but eventually all works properly. After reinstall recovered vmail database and all seems to be ok.
I am sure the problem was in configuration but no idea where. All confusion was caused by YAST. Yast after some changes made on network interfaces updated configuration and iRedMail stopped working.
I know - in above log can see
/etc/postfix/sasl_passwd.db: No such file or directory
but now all works properly and still there is no /etc/postfix/sasl_passwd.db
because sasl authentication should be set dovecot (if I understand).

Thank you for help.

6

Re: Local account delivery proeblem

pj2015 wrote:

because sasl authentication should be set dovecot (if I understand).

You're right.

By the way, which Linux distribution are you running? still openSUSE/SLES?

7

Re: Local account delivery proeblem

Yes
still openSUSE 12.3 as guest on SLES.