Si j’envoie un courriel à un utilisateur local, j’obtiens ceci :# tail -f /var/log/mail.info
Nov 2 11:31:26 libellule postfix/pickup[5813]: 566D63A0707: uid=1000 from=<patrick>
Nov 2 11:31:26 libellule postfix/cleanup[6638]: 566D63A0707: message-id=<20121102103126.566D63A0707@libellule>
Nov 2 11:31:26 libellule postfix/qmgr[3126]: 566D63A0707: from=<patrick@free.fr>, size=288, nrcpt=1 (queue active)
Nov 2 11:31:26 libellule postfix/local[6640]: 566D63A0707: to=<patrick@free.fr>, orig_to=<patrick>, relay=local, delay=0.49, delays=0.32/0.07/0/0.09, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSION")
Nov 2 11:31:26 libellule postfix/qmgr[3126]: 566D63A0707: removed
Dans l’affaire, il mentionne une adresse patrick@free.fr dont la provenance m’échappe : Patrick est bien mon nom d’utilisateur, mais quid de free.fr ?
Si j’envoie un courriel à une adresse électronique, j’obtiens ceci :# tail -f /var/log/mail.info
Nov 2 11:54:50 libellule postfix/pickup[5813]: 5453C3A0707: uid=1000 from=<patrick>
Nov 2 11:54:50 libellule postfix/cleanup[7159]: 5453C3A0707: message-id=<20121102105450.5453C3A0707@libellule>
Nov 2 11:54:50 libellule postfix/qmgr[3126]: 5453C3A0707: from=<patrick@free.fr>, size=286, nrcpt=1 (queue active)
Nov 2 11:54:50 libellule postfix/local[7161]: 5453C3A0707: to=<pathe@free.fr>, relay=local, delay=0.48, delays=0.33/0.01/0/0.14, dsn=5.1.1, status=bounced (unknown user: "pathe")
Nov 2 11:54:50 libellule postfix/cleanup[7159]: C596A3A0708: message-id=<20121102105450.C596A3A0708@libellule>
Nov 2 11:54:50 libellule postfix/bounce[7162]: 5453C3A0707: sender non-delivery notification: C596A3A0708
Nov 2 11:54:51 libellule postfix/qmgr[3126]: C596A3A0708: from=<>, size=1920, nrcpt=1 (queue active)
Nov 2 11:54:51 libellule postfix/local[7161]: C596A3A0708: to=<patrick@free.fr>, relay=local, delay=0.48, delays=0.34/0/0/0.13, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSION")
Nov 2 11:54:51 libellule postfix/qmgr[3126]: 5453C3A0707: removed
Nov 2 11:54:51 libellule postfix/qmgr[3126]: C596A3A0708: removed
Et la notification qui m’est adressée contient les lignes fatales :Final-Recipient: rfc822; pathe@free.fr
Action: failed
Status: 5.1.1
Diagnostic-Code: X-Postfix; unknown user: "pathe"
Aïe !