1 (edited by ryandmilton 2017-01-02 02:17:34)

Topic: Sub-Domains appending emails with '@domain.com'

==== Required information ====
- iRedMail version (check /etc/iredmail-release):  iRedMail-0.9.5-1
- Linux/BSD distribution name and version: Centos 7 with SoGo
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? no
- Related log if you're reporting an issue:
====
Please refer to the attached image to understand the subject. This is not the primary domain, but other domains on the server.

This is a migrated server from a physical server to a VPS, but totally clean.

That said, the original didn't have SoGo.

all DKIM keys have been moved and test just fine.

/etc/hosts are correct and match /var/spool/postfix/etc/hosts

/etc/amavisd/amavisd.conf has $myhostname = 'mx.ryanmilton.xyz';

Yet, the emails in the "To" are still showing incorrectly.

Lastly, I don't know why some email won't accept email from this server (like outlook.com), when they did from my previous server:

https://www.spamhaus.org/query/ip/23.92.71.62

Thank you in advance.

Here are the headers from one such email sent to a corporate and gmail account:

Received: from nj1-exmb-04.ip-soft.net (10.154.23.142) by
ny1-exmb-04.ip-soft.net (10.155.23.142) with Microsoft SMTP Server (TLS) id
15.0.1178.4 via Mailbox Transport; Sun, 1 Jan 2017 12:39:41 -0500
Received: from nj1-excas-03.ip-soft.net (10.154.23.112) by
nj1-exmb-04.ip-soft.net (10.154.23.142) with Microsoft SMTP Server (TLS) id
15.0.1178.4; Sun, 1 Jan 2017 12:39:41 -0500
Received: from nj1-mr-01.ipsoft.com (208.82.192.99) by
nj1-excas-03.ip-soft.net (10.154.23.112) with Microsoft SMTP Server (TLS) id
15.0.1178.4 via Frontend Transport; Sun, 1 Jan 2017 12:39:41 -0500
X-AuditID: d052c063-2a5ff70000000cc5-15-58693ed3e0b5
Received: from mx.ryanmilton.xyz (23-92-71-62-customer-at-wable.com [23.92.71.62])
    (using TLS with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
    (Client did not present a certificate)
    by nj1-mr-01.ipsoft.com (IPsoft Mail) with SMTP id 04.95.03269.3DE39685; Sun,  1 Jan 2017 12:39:31 -0500 (EST)
Received: from mx.ryanmilton.xyz (mx.ryanmilton.xyz [127.0.0.1])
    by mx.ryanmilton.xyz (Postfix) with ESMTP id 0D4433CE0B0B
    for <ryan.milton@ipsoft.com>; Sun,  1 Jan 2017 10:18:18 -0500 (EST)
Authentication-Results: mx.ryanmilton.xyz (amavisd-new);
    dkim=pass (1024-bit key) reason="pass (just generated, assumed good)"
    header.d=tcp3way.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tcp3way.com; h=
    from:from:message-id:subject:subject:date:date:mime-version
    :user-agent:to:content-type:content-type; s=dkim; t=1483283897;
     x=1484147898; bh=Faky/xx5p1q3xYiLhwoMviuYhObgUtMBfGPsN1Nx5po=; b=
    GXyfQNVS6wCm7SfTADlFNvTR8xQKu+WtlQZRD02xXPEG8qmbWZAeINnIiGXpHAb8
    Mjtee5bZpfHx2WuBZskfbih4chlE6ChKNFwYdYTI9KysQHCb5YDPu799t8V7IF2I
    sfoFGUkw1/TG3x5qun0yDegk5q3CItUcQiyfxTBKYvE=
X-Virus-Scanned: amavisd-new at localhost.localdomain
Received: from mx.ryanmilton.xyz ([127.0.0.1])
    by mx.ryanmilton.xyz (mx.ryanmilton.xyz [127.0.0.1]) (amavisd-new, port 10024)
    with ESMTP id LV3wFXME-2QY for <ryan.milton@ipsoft.com>;
    Sun,  1 Jan 2017 10:18:17 -0500 (EST)
Received: from mx.ryanmilton.xyz (mx.ryanmilton.xyz [127.0.0.1])
    by mx.ryanmilton.xyz (Postfix) with ESMTP id 75BBA3CE0AF6;
    Sun,  1 Jan 2017 10:18:17 -0500 (EST)
To: "ryandm1776@gmail.com"@mx.ryanmilton.xyz,
    "ryan.milton@ipsoft.com"@mx.ryanmilton.xyz
User-Agent: SOGoMail 3.2.4
MIME-Version: 1.0
Date: Sun, 01 Jan 2017 10:18:17 -0500
Subject: MX records
Message-ID: <2a3-58691d80-3-6331eb00@183325626>
X-Forward: mx.ryanmilton.xyz
From: "ryan@tcp3way.com" <ryan@tcp3way.com>
X-Brightmail-Tracker: H4sIAAAAAAAAA21Ua2wUVRjdOzO7M213ZDrbx8dK0Wy0KKRPawApjX8Uo0EaEmKDjXTbTrsr
    +2h2ti8NpAK1oeli1ZTCKrXYF1YgtYBurJXtQhOlUDdtjQ19aW0DlgQshRCwD+90druj4c/N
    nXPud8/5HnMZkq+I0DNCmVNw2IwWgyacis3elpEwlGHOSm46RG06PO4mX0av+f9qpzPR7vD0
    fMFiLhEcSRk54abeTq+6qJkuq+nyaypQt6YahTHApcFH5xaoahTO8Nw3BPR5Ggn5w4eg7u8x
    tXQKcfUI+qqipD3FeUkYXtomR78Iv9b1kHLAJILWgy5a/mhBcGGhmpJOkZwdmuoHl2+K4nZD
    e+0i1maYaE4Pnma9BLNcJPx8fIqSBZ6Fxd4uUtrrOB24Fk4Q8pkkmPrUj2ThNTD306PlFDTc
    BnD9OULVoki3Qs2tuFbG18F8wwAp7zdA68lbgb0Omr9+QLuxI5KLh9ZKw+OOzPx+RNOImHYU
    ZXs3JcHqSEhOSTQXifYCZ2Ke3dqJcCf8O715HjQ9vsWHOAYZtGyyypTFq40lYrnVhwoZwhDN
    5nRg6Ilce365ySia9jiKLYJoiGIfvVKQxbMrcG6xZa9Bzx7cZM7idSuoTSgVLYITtx5zSKVS
    KTixONdqFkWz3YbbxpD4yoR0HMzmG8vfExx2WciHnmQoQyxr5Kfe4rlCo1PYKwhFgiPIEgzt
    QyLDGIDNSsPRkQ6hUCgrMFucwTM4+JmNmOGUzLLbOHY/i3OIURIKw3Gy4f/QSs8EEyYt4T6U
    x2ix++RUyb1YZLSK5sKAto7dmohRbRBd1l3N6rdgkA+CCs3VsuYKFdK7glyI8d45NU0wvuGz
    eB2ewCtP2ew2QR/L/iaVjpPCTMW2ldz1Mazfg7u3SkFIFvRr2O2rcOrRCjzkArMt7P/YkJHg
    DzyA4vQ62a4WN8RqdgZyDvCTSDWDGgk8VTqW2CoVwWxzhirDsylSESIC4HJhgF3YLPUwgCnq
    AuxZpmfXChNyk/ojwr/6C+A71P4cnB97uBHm3B9sh9rKtmxYHLhWAvMXb+2HBv/FzxF0PGhr
    IyT+GgGeo/WTBBy/d/sACaM3/Wfw+9A9NEzChX+mjlJQ99XUlxR+V/qvU1BzePw+BQ1zZ75X
    w6meb3vVsPTh7Stq6Jx19eF1wvedBvrPjfZqYObOvRsafP/Juxr4oqO3ggZ/w7EjNJweqvbS
    MDoyOEbDdP/SXRrqHvrnaWi5OvMJM4Onh8DTc/+dQml6nEancnoGtAXS9ATQwPRclUA+CD5u
    egJUqEz6ClQb4b7x9JsxrcfWflwzePlm6/ldMSPasMzmct0vqrKEz5LW2Xd6ohcmfPbF931z
    P6T3mXLIkfzY0o5tr6ZemtihbXu7sn892jH2+tqKqsbT9Oy+gut1lrmaE3uqug50zHpzhrrz
    SktcVOZLm5+K99Q8v5TWND0af8m8z2X6I/uy7g0HZ6BEkzFlPekQjf8C/7y85xMGAAA=
Return-Path: ryan@tcp3way.com
X-MS-Exchange-Organization-Network-Message-Id: c675013a-6309-4e44-51b9-08d4326d2a9b
X-MS-Exchange-Organization-AVStamp-Mailbox: SYMANTEC;1;0;info
X-MS-Exchange-Organization-AuthSource: nj1-excas-03.ip-soft.net
X-MS-Exchange-Organization-AuthAs: Anonymous
Content-type: multipart/alternative;
    boundary="B_3566120919_434740532"

> This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--B_3566120919_434740532
Content-type: text/plain;
    charset="UTF-8"
Content-transfer-encoding: 7bit


amavisd hostname change.
amavisd hostname change.

amavisd hostname change.amavisd hostname change.amavisd hostname change.amavisd hostname change.
amavisd hostname change.amavisd hostname change.amavisd hostname change.

--B_3566120919_434740532
Content-type: text/html;
    charset="UTF-8"
Content-transfer-encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf-8">
</head>
<body>
<br>
amavisd hostname change.<br>
amavisd hostname change.<br>
<br>
amavisd hostname change.amavisd hostname change.amavisd hostname change.ama=
visd hostname change.<br>
amavisd hostname change.amavisd hostname change.amavisd hostname change.
</body>
</html>


--B_3566120919_434740532--

Post's attachments

Screen Shot 2017-01-01 at 12.43.39 PM.png
Screen Shot 2017-01-01 at 12.43.39 PM.png 20.95 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Sub-Domains appending emails with '@domain.com'

I'm confused here. The addresses in "To:" is built by MUA like Outlook, Thunderbird, webmail, etc, not by MTA (Postfix). Are you sure you typed correct To addresses while composing email?

3

Re: Sub-Domains appending emails with '@domain.com'

ZhangHuangbin wrote:

I'm confused here. The addresses in "To:" is built by MUA like Outlook, Thunderbird, webmail, etc, not by MTA (Postfix). Are you sure you typed correct To addresses while composing email?

Very simple. I add an address, user@domain.com.

Then the email shows as 'user@domain.com@mx.ryanmilton.xyz'

4

Re: Sub-Domains appending emails with '@domain.com'

After you typed the address "user@domain.com", is it displayed as "user@domain.com@mx.ryanmilton.xyz" immediately in your MUA?

5

Re: Sub-Domains appending emails with '@domain.com'

ZhangHuangbin wrote:

After you typed the address "user@domain.com", is it displayed as "user@domain.com@mx.ryanmilton.xyz" immediately in your MUA?

Correct. That is in SoGo, but I only see it in the receiving end. That is came to the "To" email.

6

Re: Sub-Domains appending emails with '@domain.com'

It sounds like you have these addresses saved in SOGo address book with the domain name appended. Could you double check?

Also, i saw a very similar post in SOGo mailing list, is that you?
https://lists.inverse.ca/sogo/arc/users … 00000.html