Comments (6)
@The-Inamati: Thanks for the nice words about my work 😃
Judging by the error message, it seems like your emails are reaching a mail server, who’s declining to deliver the messages. The thing is: That doesn’t sound like the Kill the Newsletter! email server!
One thing I know for sure: Kill the Newsletter! doesn’t send that type of error message: if it doesn’t recognize an address, it considers that as spam and drops the message on the floor.
Under the hood we’re using the smtp-server package, but I don’t think it would send that kind of error message either.
Also, you’re running the email server on port 2525, which is for development/test. In production, you should use port 25, which is the appropriate port for SMTP servers receiving email from the internet.
Then again, you may not be able to do that, because it sounds like your server already has an email service running on that port…
Let me know how it goes.
from kill-the-newsletter.
You are right I do have a mail server already running on that port. Is there a way to run Kill The Newsletter through an existing mail server?
from kill-the-newsletter.
I really recommend that you let Kill the Newsletter! sit on a machine by itself.
That said: I’ve never done this myself, but I think there are two ways to do what you asked for (in the following discussion say your email server is Exim):
- Exim relays the emails to Kill the Newsletter!
This is similar to how you’d setup email forwarding. You’re probably interested in the SMTP transport.
You must also configure Kill the Newsletter! to run the email server on a port other than 25 (for example, 2525, as you’re already doing). Check the EMAIL_PORT
environment variable.
- A mail proxy sits in front of both Exim and Kill the Newsletter!
I think the most popular solution as a mail proxy is nginx. Start here:
http://nginx.org/en/docs/mail/ngx_mail_core_module.html
https://docs.nginx.com/nginx/admin-guide/mail-proxy/mail-proxy/
Good luck. Let me know how it goes.
I’m closing this for now since the main issue seems to have been resolved.
from kill-the-newsletter.
Follow Up to this.
I added a routing rule in my mail server pointing to the Kill The Newsletter container.
When I test the routing in the mail server it appears to be working as you can see below:
The issue is that the feed isn't updated. I checked the feeds folder inside the container and there is a XML file with the feed information. How can I troubleshoot this further?
from kill-the-newsletter.
Nevermind. It's working now.
from kill-the-newsletter.
👍
What was wrong? Or was it one of those issues that solves itself and you never get to learn what happened?
from kill-the-newsletter.
Related Issues (20)
- Not receiving mails HOT 2
- Database backup / server migration HOT 1
- Feature regression: Sender's Name & Email Address HOT 6
- Docker container crashes HOT 3
- kill-the-newsletter.com site is down HOT 1
- --migrate wont work from 2.0.2 HOT 1
- "Something went wrong" message. HOT 3
- Cannot run KtN in Docker construct HOT 5
- Feeds not updating after email sent to address HOT 1
- Subscription confirmation type "Reply to email" HOT 4
- Substack rejecting KTN adresses? HOT 11
- Expiration Date HOT 2
- Fetch favicon from newsletter? HOT 7
- [Feature Request] Support separate IDs for addresses and feeds HOT 2
- Cant find configuration file for self-hosted HOT 2
- Suggestion for improvement HOT 1
- edit readme to reference where the current working source is and add screenshots / explanation of what it does HOT 2
- Is this possible? A list requires me to send an email to sign up HOT 2
- How to change the Auto Delete Entries period HOT 1
- Hint on how to run as user w/o root with listening ports < 1024 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kill-the-newsletter.