1 (edited by gilles.quenot 2020-02-09 04:34:43)

Topic: Missing mail from particular host

- iRedMail version: 1.0-beta2 MARIADB edition
- Deployed with  downloadable installer
- Linux/BSD distribution name and version: debian10
- Store mail accounts in MySQL backend
- Web server: Nginx

Hi,

I received a mail from amv.fr :

Feb  7 15:59:54 mail1 postfix/qmgr[13756]: 48Ddkd6bGyz45TDH: from=<nepasrepondre2@amv.fr>, size=39209, nrcpt=1 (queue active)
Feb  7 15:59:54 mail1 postfix/smtpd[12433]: disconnect from mailhost01.filhet-allard.com[195.25.190.133] ehlo=1 mail=2 rcpt=2 data=2 quit=1 commands=8
Feb  7 15:59:54 mail1 postfix/pipe[12449]: 48Ddkd6bGyz45TDH: to=<me@mydomain.tld>, orig_to=<mealiased@mydomain.tld>, relay=dovecot, delay=0.
33, delays=0.24/0/0/0.08, dsn=2.0.0, status=sent (delivered via dovecot service)
Feb  7 15:59:54 mail1 postfix/qmgr[13756]: 48Ddkd6bGyz45TDH: removed

But I see nothing in my mailbox (roundcube), nor on my android phone (k9 mail via imap).

If I search 'nepasrepondre2@amv.fr' in /var/vmail, like :

grep -r 'nepasrepondre2@amv\.fr' /var/vmail

I have no result at all.

I receive emails from other hosts. Don't know what's going on at all.

Edit:
in dovecot logs, I have :

Feb  8 15:51:01 mail1 dovecot: auth: Error: passwd-file: open(/etc/dovecot/dovecot-master-users) failed: Permission denied (euid=108(dovecot) egid=114(dovecot) missing +r perm: /etc/dovecot/dovecot-master-users, dir owned by 0:0 mode=0755)

Ran :

ls -l /etc/dovecot/dovecot-master-users
-r-x------ 1 root root 134 Jan 13 23:08 /etc/dovecot/dovecot-master-users
chmod 544 /etc/dovecot/dovecot-master-users
ls -l /etc/dovecot/dovecot-master-users
-r-xr--r-- 1 root root 134 Jan 13 23:08 /etc/dovecot/dovecot-master-users

Any clue ?
Regards

2

Re: Missing mail from particular host

Run “chown dovecot:dovecot /etc/dovecot/dovecot-master-users“ to fix it.

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee

3

Re: Missing mail from particular host

ZhangHuangbin wrote:

Run “chown dovecot:dovecot /etc/dovecot/dovecot-master-users“ to fix it.

OK, thanks, I don't think that's the root cause, because i receive other mails

4

Re: Missing mail from particular host

Then please extract related error log from Postfix log file, cannot help much without log.

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee

5 (edited by gilles.quenot 2020-02-09 20:08:54)

Re: Missing mail from particular host

The logs are there since my first post, there's no error, that's my main issue :

Feb  7 15:59:54 mail1 postfix/qmgr[13756]: 48Ddkd6bGyz45TDH: from=<nepasrepondre2@amv.fr>, size=39209, nrcpt=1 (queue active)
Feb  7 15:59:54 mail1 postfix/smtpd[12433]: disconnect from mailhost01.filhet-allard.com[195.25.190.133] ehlo=1 mail=2 rcpt=2 data=2 quit=1 commands=8
Feb  7 15:59:54 mail1 postfix/pipe[12449]: 48Ddkd6bGyz45TDH: to=<me@mydomain.tld>, orig_to=<mealiased@mydomain.tld>, relay=dovecot, delay=0.
33, delays=0.24/0/0/0.08, dsn=2.0.0, status=sent (delivered via dovecot service)
Feb  7 15:59:54 mail1 postfix/qmgr[13756]: 48Ddkd6bGyz45TDH: removed

Please, read my first post, searched mail in /var/vmail with no result

6

Re: Missing mail from particular host

- Does user "me@mydomain.tld" have any mail forwarding? Or redirecting (in sieve rule)?
- Any error in /var/log/dovecot/*?

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee