1

Topic: iRedMail sending mails to wrong user

==== Required information ====
- iRedMail version: 0.8.3
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: CentOS 5.8 Kernel PAE
- Related log if you're reporting an issue: ----
====

Hi good morning. I`m glad to make part of this comunity.

My mail server is having some problems, it`s sending mails to non listed contacs. One of users is receiveing some mails from another users.
Example: user aaa@teste.com sends a mail to user bbb@teste.com, them, user bbb@teste.com receive the mail and the user ccc@teste.com receive the same mail too.
I already look for aliases, redirecting, and other. I deleted the user and created again, but the bug stills there. This is happening  from older versions to newest, update after update and it`s still happening.
now the user is receiving mails sended to root@teste.com too! mails about cron jobs, spams, content-filter, spamassassin...

All system and programs update.
What is going on? Perhaps even the emails being different it`s creating the same "hash"? is this possible?

Thanks,

Att, Robert

2

Re: iRedMail sending mails to wrong user

Weird, no similar report before. Still no idea about what the problem is.
Did you check /etc/postfix/aliases? Also, did you check records in SQL database "vmail", table "alias"?

3

Re: iRedMail sending mails to wrong user

ZhangHuangbin wrote:

Weird, no similar report before. Still no idea about what the problem is.
Did you check /etc/postfix/aliases? Also, did you check records in SQL database "vmail", table "alias"?

Hi good morning.
Thanks for the fast answer.
yes, I`ve already checked aliases and databases.
In the first time this happens, I deleted all the aliases and created again, but no success.
It`s very weird because now, the mails to root@teste.com is sent to that normal user...
What can I do?

Att, Robert

4

Re: iRedMail sending mails to wrong user

I have no idea at all, it doesn't work as designed.
I suggest re-installing the OS and iRedMail IF POSSIBLE.

5

Re: iRedMail sending mails to wrong user

ZhangHuangbin wrote:

I have no idea at all, it doesn't work as designed.
I suggest re-installing the OS and iRedMail IF POSSIBLE.

Hi, thanks for the answer.
But, for now, is not possible to reinstall it.
I will keep looking for the solution, if I have some news I will post here.
thanks again,

Att, Robert

6

Re: iRedMail sending mails to wrong user

rhedler wrote:
ZhangHuangbin wrote:

I have no idea at all, it doesn't work as designed.
I suggest re-installing the OS and iRedMail IF POSSIBLE.

Hi, thanks for the answer.
But, for now, is not possible to reinstall it.
I will keep looking for the solution, if I have some news I will post here.
thanks again,

Att, Robert


Hi good morning. I found the error.
For some unknow reason, 3 mail accounts is sharing the same directory in /var/vmail/vmail1/teste@.com/$$$
I deleted these accounts and the mailbox path, then created again and now is working fine.

Yahooooooooooooo!

Thanks for the support.