Virtual Mailbox - Alias

SYSTEM INFORMATION
OS type and version Ubuntu Linux 24.04.4
Webmin version 2.630
Virtualmin version 8.1.0 GPL
Webserver version Apache version 2.4.58

Bonjour,
j’ai une petite question, qui sera sûrement simple pour beaucoup, mais je bloque dessus. J’ai plusieurs serveurs virtuel, avec des boîtes email, et des alias.

Tout fonctionne bien, mais parfois, certains mails envoyés à un alias (par exemple, test@ndd.fr), n’est pas redirigé, et je ne reçois rien sur la boîte mail de destination.

J’ai tenté de créer une vraie boite Email “test@ndd.fr”, et là, je reçois bien les mails. Auriez-vous une explication, de pourquoi avec une vraie boite Email, je reçois bien tous les mails, mais avec un alias, certains mails ne sont pas traités ?

En vous remerciant par avance.

Bonjour, je me permets de relancer le sujet, car toujours pas eu d’aide. Pensez-vous que cela vienne d’un filtre anti-spam, ou d’un paramétrage manquant ?
Pour ré-expliquer le problème, si je créé une boite alias, qui redirige le courrier vers une boite Gmail par exemple, certains mails ne sont pas transférés.
En revanche, quand je créé cette boite mail réellement (avec nom d’utilisateur, mot de passe etc), là, tous les email arrivent bien dessus.
La question est pourquoi quand c’est un alias, certains mails n’arrivent pas sur la boite Gmail ? (bien entendu, j’ai vérifier dans les spam, rien non plus).
En vous remerciant par avance.

ceisiwch roi eich cwestiynau yn Saesneg, fe gewch chi fwy o ymatebion fel 'na

OK :slight_smile:

I have a quick question, which will probably be simple for many, but I’m stuck on it. I have several virtual servers, with email accounts and aliases.

Everything works fine, but sometimes, certain emails sent to an alias (for example, test@ndd.fr) aren’t forwarded, and I don’t receive anything in the destination mailbox.

I tried creating a real email account, “test@ndd.fr”, and there, I receive the emails just fine. Do you have any explanation for why, with a real email account, I receive all emails correctly, but with an alias, some emails aren’t processed?

To explain the problem again, if I create an alias account that redirects emails to a Gmail inbox, for example, some emails aren’t forwarded.

However, when I create the actual Gmail account (with a username, password, etc.), all emails arrive there correctly.
The question is, why do some emails not arrive in the Gmail inbox when it’s an alias? (Of course, I’ve checked my spam folder, and it’s not there either.)
Thank you in advance.

Could be the spf and dmarc.
Try a forwarding to the email address given at this site and see it receives and what results it gives.

Thank you for your message, here is the result

## **DMARC Results**

#### **Connection parameters**

| Source IP address | **163.xxx.xx.85** |
| Hostname | **sd-xxxxx.dedibox.fr** |
| Sender | **xxxxxx@hotmail.fr** |

#### **SPF**

| Domain | **hotmail.fr**
| Identity | **RFC5321.MailFrom** |
| Auth Result | **softfail** |
| DMARC Alignment | **n/a** |

#### **DKIM**

| Domain | **hotmail.fr** |
| Selector | **selector1** 
| Algorithm | **(2048-bit)** |
| Auth Result | **PASS** |
| DMARC Alignment | **PASS** |

#### **DMARC**

| RFC5322.From domain | **hotmail.fr**
| Policy (p=) | **none** |
| SPF | **FAIL** |
| DKIM | **PASS** |
| **DMARC Result** | **PASS** |

#### **Final verdict:**

**DMARC does not take any specific action regarding message delivery. Generally, this means that the message will be successfully delivered. However, it's important to note that other factors like spam filters can still reject or quarantine a message.**

gmail could send to spam (or reject), have you checked?
What policy have you entered in dmarc. reject or quarantine?

You’ve got to look at the logs. There’s no way for us to guess where mail goes.

On most modern systems, that would be the postfix unit in the journal. You can use the System Logs module to look at the journal and search it, or you can use journalctl.

We have a troubleshooting guide that includes information about how to look at logs and how to test various things.

Here is my DNS record for DMARC, is this what you wanted?

“v=DMARC1; p=none”

Policy=none, that should deliver to gmail, gmail may mark it as spam still.

What would be the solution?

Are the missing emails in the spam box at gmail? The emails getting to gmail, sounds like there spam system could catching them.

This may help when gmail will accept. Them excepting doesn’t mean they won’t mark as spam.

I used a Gmail address as an example, but it happens with others (Outlook, etc.). The emails never end up in spam. They don’t exist there.

Your test to learndmarc shows your emails are going out, so not sure what else could be the problem.

Nobody can offer a solution if you won’t find what the problem is. You need to look at the log to see where mail addressed to GMail addresses ends up and if there are actionable errors/failures.

This morning, I had an example. I received an email, which I did receive in the "tresorier" inbox, but it wasn't forwarded to my "hotmail" inbox. Here's the log:

juin 08 06:38:34 sd-XXXXXXX.dedibox.fr postfix/smtpd[325266]: connect from o1.email.gocardless.com[208.117.50.85]
juin 08 06:38:35 sd-XXXXXXX.dedibox.fr postfix/trivial-rewrite[326943]: warning: database /etc/postfix/dependent.db is older than source file /etc/postfix/dependent
juin 08 06:38:35 sd-XXXXXXX.dedibox.fr postfix/smtpd[325266]: 66D1E9A043E: client=o1.email.gocardless.com[208.117.50.85]
juin 08 06:38:35 sd-XXXXXXX.dedibox.fr postfix/cleanup[326944]: 66D1E9A043E: message-id=<bm7WHwAtSUW9vOE9cdV0wg@geopod-ismtpd-13>
juin 08 06:38:40 sd-XXXXXXX.dedibox.fr postfix/qmgr[3055889]: 66D1E9A043E: from=<bounces+1827704-44dd-tresorier=YYYYY.fr@email.gocardless.com>, size=91471, nrcpt=1 (queue active)
juin 08 06:38:40 sd-XXXXXXX.dedibox.fr postfix/smtpd[325266]: disconnect from o1.email.gocardless.com[208.117.50.85] ehlo=2 starttls=1 mail=1 rcpt=1 data=1 quit=1 commands=7
juin 08 06:38:42 sd-XXXXXXX.dedibox.fr postfix/local[326962]: 66D1E9A043E: to=<"tresorier@YYYYY.fr"@sd-XXXXXXX.dedibox.fr>, orig_to=<tresorier@YYYYY.fr>, relay=local, delay=7.1, delays=5.4/0.01/0/1.7, dsn=2.0.0, status=sent (deliv>
juin 08 06:38:42 sd-XXXXXXX.dedibox.fr postfix/cleanup[326944]: BAE609A0A8C: message-id=<bm7WHwAtSUW9vOE9cdV0wg@geopod-ismtpd-13>
juin 08 06:38:42 sd-XXXXXXX.dedibox.fr postfix/local[326962]: 66D1E9A043E: to=<"tresorier@YYYYY.fr"@sd-XXXXXXX.dedibox.fr>, orig_to=<tresorier@YYYYY.fr>, relay=local, delay=7.1, delays=5.4/0.01/0/1.7, dsn=2.0.0, status=sent (forwa>
juin 08 06:38:42 sd-XXXXXXX.dedibox.fr postfix/qmgr[3055889]: BAE609A0A8C: from=<bounces+1827704-44dd-tresorier=YYYYY.fr@email.gocardless.com>, size=91632, nrcpt=4 (queue active)
juin 08 06:38:42 sd-XXXXXXX.dedibox.fr postfix/qmgr[3055889]: 66D1E9A043E: removed
juin 08 06:38:42 sd-XXXXXXX.dedibox.fr postfix/smtp[326997]: warning: DNSSEC validation may be unavailable
juin 08 06:38:42 sd-XXXXXXX.dedibox.fr postfix/smtp[326997]: warning: reason: dnssec_probe 'ns:.' received a response that is not DNSSEC validated
juin 08 06:38:42 sd-XXXXXXX.dedibox.fr postfix/smtp[326998]: warning: DNSSEC validation may be unavailable
juin 08 06:38:42 sd-XXXXXXX.dedibox.fr postfix/smtp[326998]: warning: reason: dnssec_probe 'ns:.' received a response that is not DNSSEC validated
juin 08 06:38:42 sd-XXXXXXX.dedibox.fr postfix/smtp[326999]: warning: DNSSEC validation may be unavailable
juin 08 06:38:42 sd-XXXXXXX.dedibox.fr postfix/smtp[326999]: warning: reason: dnssec_probe 'ns:.' received a response that is not DNSSEC validated
juin 08 06:38:42 sd-XXXXXXX.dedibox.fr postfix/smtp[327000]: warning: DNSSEC validation may be unavailable
juin 08 06:38:42 sd-XXXXXXX.dedibox.fr postfix/smtp[327000]: warning: reason: dnssec_probe 'ns:.' received a response that is not DNSSEC validated
juin 08 06:38:42 sd-XXXXXXX.dedibox.fr postfix/smtp[326999]: BAE609A0A8C: to=<XXXXXXX@hotmail.fr>, orig_to=<tresorier@YYYYY.fr>, relay=eur.olc.protection.outlook.com[52.101.73.0]:25, delay=2, delays=1.7/0.09/0.12/0.09, dsn=5.7.800, >
juin 08 06:38:48 sd-XXXXXXX.dedibox.fr postfix/cleanup[326944]: 3DE049A17EB: message-id=<20260608043848.3DE049A17EB@sd-XXXXXXX.dedibox.fr>
juin 08 06:38:48 sd-XXXXXXX.dedibox.fr postfix/bounce[327003]: BAE609A0A8C: sender non-delivery notification: 3DE049A17EB
juin 08 06:38:48 sd-XXXXXXX.dedibox.fr postfix/qmgr[3055889]: 3DE049A17EB: from=<>, size=5926, nrcpt=1 (queue active)
juin 08 06:38:48 sd-XXXXXXX.dedibox.fr postfix/qmgr[3055889]: BAE609A0A8C: removed
juin 08 06:38:49 sd-XXXXXXX.dedibox.fr postfix/smtp[326999]: 3DE049A17EB: to=<bounces+1827704-44dd-tresorier=YYYYY.fr@email.gocardless.com>, relay=mx.sendgrid.net[16.52.110.174]:25, delay=1.1, delays=0.01/0/0.76/0.3, dsn=2.0.0, statu>
juin 08 06:38:49 sd-XXXXXXX.dedibox.fr postfix/qmgr[3055889]: 3DE049A17EB: removed

perhaps turn dnssec off you need to look at your config files to see if you have it switched on. The error indicates that you have it switched on

Okay, thanks for the info, I just disabled it, we’ll see.

I check my log file for the foward and its should look like this (from yahoo and forwards to gmail)

image