ajoergensen / docker-postsrsd Goto Github PK
View Code? Open in Web Editor NEWContainer with postsrsd for Postfix/Exim
Container with postsrsd for Postfix/Exim
Hello everyone,
sorry for reopen this Issue. But after upgrade today I have the same problem again :-(. I have set the configuration like this:
/etc/postfix/main.cf
sender_canonical_maps = socketmap:unix:srs:forward sender_canonical_classes = envelope_sender recipient_canonical_maps = socketmap:unix:srs:reverse recipient_canonical_classes = envelope_recipient, header_recipien
Is there no change needed in master.conf? Before I have this settings in my master.conf:
cleanup-srs unix n - - - 0 cleanup
-o sender_canonical_maps=tcp:172.22.1.42:10001
-o sender_canonical_classes=envelope_sender
-o recipient_canonical_maps=regexp:/opt/postfix/conf/regex_sender_canonical_srs
127.0.0.1:10029 inet n - - - - smtpd
-o cleanup_service_name=cleanup-srs
-o smtpd_tls_security_level=none
-o content_filter=smtp:
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o smtpd_milters=
If I change the line -o sender_canonical_maps=tcp:172.22.1.42:10001 to -o sender_canonical_maps=socketmap:inet:172.22.1.42:10003:forward and use the settings above in the extra.conf I have problems in the log like this:
Jun 19 22:46:38 postfix/cleanup[391]: warning: table socketmap:unix:srs:forward lookup error: No such file or directory
Jun 19 22:46:38 postfix/cleanup[391]: warning: socketmap:unix:srs:forward lookup error for "[email protected]"
Jun 19 22:46:38 postfix/cleanup[391]: warning: B272580380: sender_canonical_maps map lookup problem for [email protected] message not accepted, try again later
Sorry I hope you can help me!
Thanks!
Hi,
Just FYI, I'm using this docker container with mailcow.
In the docs, it's required to add this line:
sender_canonical_maps = socketmap:inet:172.22.1.42:10003:forward
I had to disable it, because any email sent by my accounts was rewritten on Return-Path part to my SRS redirect domain. Not sure why it was added to the documentation.
Disabling this line allows me to send emails normally, and still receive redirected emails through SRS for real SRS aliases.
Best regards,
Romain
Hello, I have been using this container for many months without any problems. However, since the last "docker compose pull" this container is causing problems. In the postfix log I keep getting the entry "postfix/cleanup[699]: warning: connect to TCP map 172.22.1.42:10001: Connection refused"
and "postfix/smtpd[410]: warning: connect to TCP map 172.22.1.42:10002: Connection refused".
I did the configuration as on the page and did not change anything. What could be the problem? Implementing SRS with Mailcow
Thanks for any help!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.