Comments (5)
I just confirmed the edge
image improves the behavior -- no need to set a RELAY_HOST
for the map to work.
from docker-mailserver.
@gszr thanks for the follow-up comments, it's helpful for other users that land on the issue 👍
Hoping to get v14 published in April with the much better relay host support!
from docker-mailserver.
Please note that this response was created using generative AI, leveraging previously available information from the repository. This information may be helpful. However, it is our strong recommendation that you carefully consider the information before blindly applying it.
It seems like your relay configuration is not being applied as expected. Based on the information provided and the documentation, here are a few steps and checks to ensure your relay setup works correctly:
-
Verify Configuration Files: Ensure that the
postfix-relaymap.cf
andpostfix-sasl-password.cf
files are correctly configured and located in the correct directory (mail/config/
). These files should contain the relay domain and authentication details you've set up. -
Check for Typos: Double-check the domain names, email addresses, and passwords for any typos. It's crucial that these details are accurate for the relay to work.
-
Restart the Container: After making changes to the configuration or adding relay settings, ensure you restart the Docker container to apply these changes. Use
docker-compose down
and thendocker-compose up -d
to restart the container. -
Check DMS Version: Ensure you are running a version of DMS that supports the relay features you are trying to use. You mentioned running version
13.3.1
, which should support these features, but it's always good to check the DMS GitHub repository for any updates or changes related to relay configurations. -
Review Relay Configuration Steps: Refer to the Relay Hosts documentation to ensure all steps were followed correctly. Pay special attention to the
setup relay add-domain
andsetup relay add-auth
commands and their parameters. -
Debugging Logs: Since you have
DMS_DEBUG=1
enabled, review the detailed debug logs for any errors or warnings related to the relay setup. This can provide clues on what might be going wrong. -
Ensure No Conflicting Configurations: Make sure there are no conflicting configurations in your
docker-compose.yml
or in the DMS environment variables that might be overriding or interfering with your relay setup.
If after following these steps your issue persists, consider reaching out to the DMS community on GitHub by creating an issue with detailed information about your setup, steps taken, and logs observed. The community or the maintainers might be able to provide more specific guidance.
This comment was generated by Glime.
from docker-mailserver.
Folks, I might have been a bit hasty in opening this as an issue. I will take some more time to investigate what is going on and reopen if needed. Apologies for the noise.
from docker-mailserver.
In case others come across this issue.
I was trying to route only emails sent from my @acm.org alias through ACM's Mailroute smtp server. I did run both ./setup.sh relay add-domain
and ./setup.sh relay add-auth acm.org
, but it still did not work. Looking at the code, I saw that RELAY_HOST
needs to be set for the relay map to apply. I also found #3607, which seems to be fixed (I did not test) in the master branch. Setting RELAY_HOST
to " " - just to test - the acm.org map worked, but now any mail sent from my smtp server fails.
from docker-mailserver.
Related Issues (20)
- Your DKIM signature is not valid - opendkim HOT 4
- bug report: `SSL_TYPE=none` should not disable STARTTLS for outbound SMTP connections HOT 8
- Sender dependent relay should NOT require RELAY_HOST env HOT 6
- question: Why does `SMTP_ONLY=1` still allow to receive mail locally? HOT 5
- bug report: [Windows] No difference after call to 'sed' in 'sedfile' HOT 3
- feature request: Support per-user SASL authentication when used as a relay HOT 3
- Question: How to merge 2 servers into 1? HOT 3
- other: Question lost connection after BDAT / DATA in postfix HOT 3
- How to send email by java-smpt/pop3,how to get auth-code HOT 2
- Userdb alias dummy accounts use wrong home directory HOT 2
- Feature request: Replace Redis HOT 4
- question: Why does LetsEncrypt certificate from `nginxproxy/acme-companion` fail to send mail with TLS? HOT 4
- Rspamd rejects `asciinema` e-mails HOT 45
- bug report: I copied volumes to another system to migrate DMS but it fails to start properly HOT 8
- bug report: bad hostname or network address: 127.0.0.1:10025 HOT 17
- bug report: setup script alway fail with "setup email list" related on the user name HOT 18
- bug report: getmail not set up HOT 3
- [BUG]: RSPAMD needs a password for the web interface HOT 16
- [BUG]: Solr image is oudated and does not support arm64 HOT 16
- bug report: docker-mailserver unable to send mails to other domains once LDAP is configured. HOT 5
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 docker-mailserver.