1 (edited by N3to 2015-03-24 10:07:59)

Topic: error

==== Required information ====
- iRedMail version: 0.9.0
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  MySQL
- Web server (Apache or Nginx):Apache
- Linux/BSD distribution name and version: Debian 7
- Related log if you're reporting an issue:  http://pastebin.com/b4rXagRc
====

i Cant send mails, always "SMTP Error (-1): authentication failure"

----

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

2

Re: error

The log says:

Mar 24 02:50:31 vps dovecot: imap(postmaster@neto.ovh): Error: net_connect_unix(/var/run/dovecot/dict) failed: Permission denied (euid=2000(vmail) egid=2000(vmail) missing +r perm: /var/run/dovecot/dict, dir owned by 0:0 mode=0755)

Does restarting Dovecot service work for you?

3 (edited by N3to 2015-03-24 23:38:57)

Re: error

yes, but now return other error

Erro SMTP (451):Failed to add the recipient (4.3.5 Server configuration problem).

4

Re: error

Can you now give us the mail.log/maillog so we can see the actual configuration issue..?

5

Re: error

http://pastebin.com/xFNpKSs6

6

Re: error

 Mar 24 02:50:31 vps dovecot: imap(postmaster@neto.ovh): Error: net_connect_unix(/var/run/dovecot/dict) failed: Permission denied (euid=2000(vmail) egid=2000(vmail) missing +r perm: /var/run/dovecot/dict, dir owned by 0:0 mode=0755)
Mar 24 02:50:31 vps dovecot: imap(postmaster@neto.ovh): Error: acl: dict iteration failed, can't update dict
Mar 24 02:50:31 vps dovecot: imap(postmaster@neto.ovh): Disconnected: Logged out in=195 out=893

What are the permissions of /var/run/dovecot/dict?
ls -la /var/run/dovecot/dict

7

Re: error

On my system it is owned by vmail:vmail srw-rw----

8

Re: error

mine is srwxrwxrwx by vmail

9

Re: error

What about /var/run/dovecot (the parent directory)?

10 (edited by N3to 2015-03-25 01:11:36)

Re: error

drwxrwxr-x by root root

11

Re: error

I have no idea then, the log complains of something completely different; Sorry, Wait for Zhang to reply.

12

Re: error

ok thanks for ur time

13

Re: error

Do you have below settings in /etc/dovecot/dovecot.conf?

service dict {                                                                     
    unix_listener dict {                                                           
        mode = 0660                                                                                                           
        user = vmail
        group = vmail
    }                                                                              
}