wallix / PEPS

Innovative Open source Email + File sharing
GNU Affero General Public License v3.0
699 stars 109 forks source link

Incoming emails are rejected #41

Open aravindet opened 8 years ago

aravindet commented 8 years ago

I use corp.scrollback.io as web UI domain and test.heyneighbor.chat as email domain. Outgoing emails sent to Gmail are delivered correctly. However replying from Gmail results in a bounce:

Delivery to the following recipient failed permanently:

     aravind@test.heyneighbor.chat

Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the server for the recipient domain test.heyneighbor.chat by corp.scrollback.io. [52.76.37.88].

The error that the other server returned was:
550 I cannot deliver mail for <aravind@test.heyneighbor.chat>

----- Original message -----

DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:in-reply-to:references:from:date:message-id:subject:to
         :content-type;
        bh=h7ziPwXQAp0E5aBLjeQC0DvnapNkO26lcUCdUWLke0U=;
        b=FAVRJoFH+wzcHAH7CdOxvBeEERGICu8mC4ZOJldt2c9ywgochuwMVDIyabqhkVxdlN
         go0AtD4moAx26nBQLUCK+ODLsnCczM3vbVb1R/UgjeOmWjt5o6sJI4Ff03AubQAEMtIa
         ka24GNAMoFvEsXNfVCht2pgg48H/9Jcnf+2lbFlQ/VO/dj1MAR9u1wdHD1Eox7jVAvna
         4XHICHnmfb11KypEnUqa6UWHamb9TzJmRqoffmRySbRQmAM0QV3qV7UyZr0wOHqcWPF8
         CausxdhgFpRKr6Ps8h4afj+lnarGHlIxtvEPQUcr33eRc/dRGQ1PCYZykM/GbKfsBw56
         DyAg==
X-Received: by 10.129.31.67 with SMTP id f64mr1633168ywf.338.1449397631331;
 Sun, 06 Dec 2015 02:27:11 -0800 (PST)
MIME-Version: 1.0
Received: by 10.37.223.8 with HTTP; Sun, 6 Dec 2015 02:26:52 -0800 (PST)
In-Reply-To: <1449397591280-3a9a826f-0bb71c5f-c4c83870@test.heyneighbor.chat>
References: <1449397591280-3a9a826f-0bb71c5f-c4c83870@test.heyneighbor.chat>
From: Aravind R S <aravindet@gmail.com>
Date: Sun, 6 Dec 2015 15:56:52 +0530
Message-ID: <CAHZgRdCg582WNte6b5BrB_F60t8aOLnk4JMtVHguZLEHpb87PA@mail.gmail.com>
Subject: Re: New test
To: Aravind R S <aravind@test.heyneighbor.chat>
Content-Type: multipart/alternative; boundary=001a1141ed3cf435b30526382ecf

Testing

How do I figure out what’s wrong?

aravindet commented 8 years ago

After setting up an MX record for corp.scrollback.io, I see that emails sent to aravind@corp.scrollback.io are being accepted and delivered correctly. The issue seems to occur when, after installation, the mail domain is changed from the admin interface.

Within the smtpin container, I found that /usr/local/haraka/config/host_list only contains corp.scrollback.io. I added test.heyneighbor.chat to that and restarted, but it did not change the behavior (aravind@test.heyneighbor.chat bounces with 550 I cannot deliver mail for … while messages to aravind@corp.scrollback.io are delivered)