Hi

I wonder if there is any obvious explanation of this problem (currently with 
Postfix 3.5.1).

I have several virtual domains defined in /etc/postfix/virtual forwarding 
emails to e.g. gmail
accounts etc.
E.g. (youmail.dk is the actual external domain)

mycustomer.dk      virtual
postmas...@mycustomer.dk   myc...@youmail.dk
u...@mycustomer.dk       myc...@youmail.dk


mycustomer.dk.             86400   IN      MX      10 mail.mycustomer.dk.
mail.mycustomer.dk.        300     IN      A       87.63.164.246


It is usually working fine, but recently mail sometimes get delivered
using the local daemon to the luser_relay user and not to the external user 
using the smtp daemon

Incorrect:

2020-04-25T08:21:56.742991+02:00 vennely postfix/smtpd[58433]: maps_find: 
virtual_alias_maps:
hash:/etc/postfix/virtual(0,lock|fold_fix|utf8_request): u...@mycustomer.dk = 
myc...@youmail.dk
2020-04-25T08:21:56.743066+02:00 vennely postfix/smtpd[58433]: mail_addr_find: 
u...@mycustomer.dk ->
myc...@youmail.dk

2020-04-25T08:21:56.802082+02:00 vennely postfix/smtp[58431]: 0E68A201E8462: 
to=<u...@mycustomer.dk>,
relay=127.0.0.1[127.0.0.1]:10024, delay=2, delays=0.43/0/0/1.6, dsn=2.0.0, 
status=sent (250 2.0.0
from MTA(smtp:[127.0.0.1]:10026): 250 2.0.0 Ok: queued as B1ADB201A1C35)
2020-04-25T08:21:56.802875+02:00 vennely postfix/qmgr[16285]: 0E68A201E8462: 
removed
2020-04-25T08:21:57.845860+02:00 vennely postfix/local[58436]: B1ADB201A1C35: 
to=<lu...@jth.net>,
orig_to=<u...@mycustomer.dk>, relay=local, delay=1.1, delays=0.06/0.04/0/1, 
dsn=2.0.0, status=sent
(delivered to mailbox)
2020-04-25T08:21:57.846156+02:00 vennely postfix/qmgr[16285]: B1ADB201A1C35: 
removed


Correct:

2020-04-25T12:32:52.369132+02:00 vennely postfix/smtpd[83816]: maps_find: 
virtual_alias_maps:
hash:/etc/postfix/virtual(0,lock|fold_fix|utf8_request): u...@mycustomer.dk = 
myc...@youmail.dk
2020-04-25T12:32:52.369180+02:00 vennely postfix/smtpd[83816]: mail_addr_find: 
u...@mycustomer.dk ->
myc...@youmail.dk

2020-04-25T12:32:52.494233+02:00 vennely postfix/smtp[83803]: EE87C201E8462: 
to=<u...@mycustomer.dk>,
relay=127.0.0.1[127.0.0.1]:10024, delay=2.8, delays=0.81/0.02/0/1.9, dsn=2.0.0, 
status=sent (250
2.0.0 from MTA(smtp:[127.0.0.1]:10026): 250 2.0.0 Ok: queued as 58719201A1C35)
2020-04-25T12:32:52.494538+02:00 vennely postfix/qmgr[16285]: EE87C201E8462: 
removed
2020-04-25T12:32:53.247953+02:00 vennely postfix/smtp[83707]: Trusted TLS 
connection established to
fpo9.mail.dk[193.201.76.57]:25: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 
(256/256 bits)
2020-04-25T12:32:54.837993+02:00 vennely postfix/smtp[83707]: 58719201A1C35: 
to=<myc...@youmail.dk>,
orig_to=<u...@mycustomer.dk>, relay=fpo9.mail.dk[193.201.76.57]:25, delay=2.5,
delays=0.13/0/0.78/1.6, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 
498S6Z57Gyz18VQ6n)
2020-04-25T12:32:54.838387+02:00 vennely postfix/qmgr[16285]: 58719201A1C35: 
removed


Header of email to luser:

Return-Path:             <i...@rocketapps.com>
X-Original-To:           u...@mycustomer.dk
Delivered-To:            myc...@youmail.dk
Received:                from localhost (localhost [127.0.0.1])
                         by mail.jth.net (Postfix) with ESMTP id B1ADB201A1C35
                         for <u...@mycustomer.dk>; Sat, 25 Apr 2020 08:21:56 
+0200 (CEST)
X-Virus-Scanned:         amavisd-new at jth.net
X-Spam-Flag:             NO
X-Spam-Score:            -6.299
X-Spam-Level:
X-Spam-Status:           No, score=-6.299 tagged_above=-999 required=5
                         tests=[BAYES_00=-1.9, DKIM_SIGNED=-0.1, 
DKIM_VALID=-0.1,
                         DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, 
DKIM_VERIFIED=-2,
                         DMARC_PASS=-2, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001,
                         SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received:                from mail.jth.net ([127.0.0.1])
                         by localhost (mail.jth.net [127.0.0.1]) (amavisd-new, 
port 10024)
                         with ESMTP id 6iQ-uB_PRf9Q for <u...@mycustomer.dk>;
                         Sat, 25 Apr 2020 08:21:55 +0200 (CEST)
Received-SPF:            pass (rocketapps.com: 54.36.201.144 is authorized to 
use
'i...@rocketapps.com' in 'mfrom' identity (mechanism 'ip4:54.36.201.144' 
matched))
receiver=vennely.jth.net; identity=mailfrom; 
envelope-from="i...@rocketapps.com";
helo=q2.rocketapps.com; client-ip=54.36.201.144
DMARC-Filter:            OpenDMARC Filter v1.3.2 mail.jth.net 0E68A201E8462
Authentication-Results:  mail.jth.net/0E68A201E8462; dmarc=pass (p=none 
dis=none)
header.from=rocketapps.com
Received:                from q2.rocketapps.com (ip144.ip-54-36-201.eu 
[54.36.201.144])
                         (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 
(256/256 bits))
                         (No client certificate requested)
                         by mail.jth.net (Postfix) with ESMTPS id 0E68A201E8462
                         for <u...@mycustomer.dk>; Sat, 25 Apr 2020 08:21:54 
+0200 (CEST)
DKIM-Signature:          v=1; a=rsa-sha256; c=relaxed/relaxed; s=key; 
d=rocketapps.com;
 h=Content-Type:List-Unsubscribe:From:To:Subject:Message-ID:Date:MIME-Version;
                         bh=KWAeKo5h63qFScnCEjRhLYmK/K4LCAwGyfDsIY8UXLw=;
 b=MUfFgEP+esbd4KZlcQFj3Ax9NH1w3pyzgNopdgt3/tkMRM8NjFfQM3pkIahWLLZnpGMK3KYDunzJ
 xPHNAKUM88UAWq7tluvnLhT/d6Ywpww0foWjKKnQGelJttZULnzdeZhhO3TCZzBofI6yAN/D2DEk
                         lSqOWJtetyXjpQb2faI=
Content-Type:            multipart/alternative;
                         boundary="--_NmP-189684a666c60af7-Part_1"
X-Sender:                i...@rocketapps.com
X-Receiver:              u...@mycustomer.dk
List-Open:
 
<http://rocketapps.com/open/45af48d6eee4ef8c7e6cc7988526f3d8/8c5762a23a6064c119d90029a85248fe>
List-Unsubscribe:

<http://rocketapps.com/unsubscribe/45af48d6eee4ef8c7e6cc7988526f3d8/8c5762a23a6064c119d90029a85248fe?source=email-client-unsubscribe-button>
From:                    Jakob Kristiansen <i...@rocketapps.com>
To:                      u...@mycustomer.dk
Subject:                 xxxxxx yyyyy zzzzz
Message-ID:              <b42b4023-94b8-1889-2c6b-24412d571...@rocketapps.com>
Date:                    Sat, 25 Apr 2020 07:33:47 +0000


/ Jørgen Thomsen

Reply via email to