Comments (7)
It is probably the problem with quoting in the systemd unit that I described in this comment on an older issue: #44 (comment)
Check the parameters with ps aux |grep postsrsd
. You will probably see postsrsd ... -X"exclude1 exclude2 exclude3"
with literal quotes being passed to postsrsd. Which means this is actually taken as "exclude1
and exclude3"
, while exclude2
would be fine.
Adding some dummy at the front and back avoids the problem, but it would be even better to fix the systemd unit file.
from postsrsd.
@raimue The systemd unit file proves to be a source of unending pain joy...
@tedeasydns PostSRSd sees nothing but the sender's email address (via the canonical
lookup mechanism), so all rewrite decision have to be based on the sender's email address only, plus some system-wide configuration items (e.g. the domain name to which addresses are rewritten). For a more complex setup, PostSRSd would have to run as milter. I've been thinking about implementing a milter mode, but my time is rather limited and I haven't gotten around to do it yet...
from postsrsd.
After an upgrade from 1.2 to 1.4 (using Debian backport packages), I encountered the same issue.
from postsrsd.
Hm, I'll need to do some more digging. The executable itself handles everything fine on my end. Maybe it's a problem with the startup scripts not passing the -X option properly?
from postsrsd.
Thanks for the replies, and sorry it took me a while to get back to this. It turns out the problem I was having seems to have been an understanding on what basis the exemption is being made. The exemptions seem to work for the domain sending the email, where as I was thinking to exempt domains using the mailserver for forwarding or backup mail spool. Is that correct? That when you put example.com in the exemptions, that refers to not rewriting email which is sent from example.com, not exempting email sent to example.com from SRS rewrite? Some of our clients using various forms of forwarding to mail systems they control are interested in having email to their domains not subjected to the SRS rewrite. Can you point me in the right direction to be able to exempt domains we are handling mail for from the SRS system?
from postsrsd.
See #74, you must write postsrsd ... -X"exclude1 exclude2 exclude3 "
(ending space added). I think it's a bug in the postsrsd.
from postsrsd.
See #74
from postsrsd.
Related Issues (20)
- srs_reverse sometimes fails to rewrite SRS1 multihop addresses HOT 4
- Message in spam for outlook.com HOT 1
- SRS_DOMAIN / wrong default value HOT 2
- 550 Invalid sender address (in reply to MAIL FROM command) HOT 1
- Loophole of rewriting destination address? HOT 5
- Is default hash length 4 safe enough? HOT 1
- 553 5.1.7 local part too long in HOT 6
- unknown canonical_classes value "header_recipien" in "envelope_recipient, header_recipien" HOT 2
- Systemd unit fails to start if postfix is not installed HOT 5
- Systemd service startup failure in PostSRSd 1.8 / `SRS_EXTRA_OPTIONS` empty argument HOT 3
- Rewrite sender addresses based on recipient domain HOT 6
- 100% CPU usage without further logs or ports opened HOT 7
- multiple domains must be separated by comma
- Old behaviour CMP0026 is deprecated and will be removed soon
- [Bug] Wrong systemd daemon generation HOT 1
- Testsuite too likely to create false positives
- Newly introduced systemd detection does not work HOT 1
- init script does not properly stop postsrsd on Debian Buster HOT 3
- Option to use unix sockets instead of TCP HOT 3
- SPF should ignore Reply-To 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 postsrsd.