question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Haraka plugin for incoming email doesn't work when install with different domain and hostname

See original GitHub issue

Hello, thanks for build this great mail server.

I already follow the instruction to setup the wildduck mail, and found a issues when I run the command below $ ./install.sh mydomain.com mail.mydomain.com if I define the mydomain.com same with mail.mydomain.com, the zone-mta for outbond SMTP and haraka for inbound SMTP work well without problem. but when I define the mydomain different with mail.mydomain.com, the zone-mta for outbund SMTP works well, but the haraka for inbound SMTP doesn’t work (proven by reply email from sender, that message couldn’t be delivered to username@mydomain.com because the remote server is misconfigured. see technical below for more information). do I miss some configuration ? please help me and thanks in advance

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
andris9commented, Aug 23, 2020

Sometimes VPS providers install Postfix to VPS servers by default. In your case make sure that the MX record is the following:

$ dig mx +short mydomain.com
10 mail.mydomain.com.

also make sure that when opening a tcp connection to port 25 of mail.mydomain.com then you get an answer from Haraka and not from Postfix.

2reactions
louis-laucommented, Aug 23, 2020

As a mail server administrator you should be familiar with the various DNS records relating to email, and how they function: https://en.wikipedia.org/wiki/MX_record https://dmarcian.com/what-is-spf/ https://dmarcian.com/what-is-dkim/ https://dmarcian.com/start-dmarc/

does wildduck use postfix?

No. It uses Haraka for inbound email. Which is why this isn’t an issue with either wildduck or haraka, but probably an issue with your DNS records. You’re probably trying to send email to another mail server.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Use Haraka as a proxy · Issue #1515 - GitHub
Basically, I was thinking into installing Haraka into AWS and then reroute Gmail to this server. But it doesn't seem so simple, i've...
Read more >
Outbound Mail with Haraka
A default installation of Haraka will queue outbound mail for delivery in the queue directory. Those mails will be delivered to the appropriate...
Read more >
Haraka - npm
Haraka - a Node.js Mail Server. Haraka is a plugin capable SMTP server. It uses a highly scalable event model to be able...
Read more >
email - How can I configure a Haraka mail server to forward ...
What you need to do is first setup aliasing that address. You can do this with the aliases plugin (or the plugin you...
Read more >
adarshasp-haraka - npm Package Health Analysis - Snyk
To choose which plugins run, edit config/plugins . Plugins control the overall behaviour of Haraka. By default, only messages to domains listed ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found