Comments (8)
Thank you for reporting this!
There are two things going on:
-
chasquid-util aliases-resolve ignores the hooks. This is at the very least a documentation bug that should be fixed.
There should also be a convenient way of resolving via chasquid itself, as that can be useful to troubleshoot issues (like in this case), and currently there isn't any.
I've filed #18 to track fixing this issue. -
The hooks not working when you send email. The most typical is permissions, but yours seem to be fine here.
What do you see in the chasquid logs? What about the monitoring http server?
There's a tracing endpoint for the hooks, you should be able to see the execution of them there.
If you navigate to the monitoring http server, then requests (short-lived), and then the [>= 0] on both Hook.Alias-Exists
and Hook.Alias-Resolve
, you should be able to see the execution attempts and detailed errors. What do they say?
The same information should appear in chasquid logs if you run it with -v=2
.
from chasquid.
I don't exactly understand what's going on right now. When I do apt-get install chasquid
, my emails don't come through. When trying to debug the issue above, I forked the repo trying to fix it. With only this commit on top of master DiederikvandenB@88434d7, everything works like a charm.
Is the apt package up to date? Or it might be an environmental issue which was solved by building the package myself?
from chasquid.
That is quite odd! What version of Debian are you using? What version of the apt package are you installing?
When you build chasquid yourself, are you installing it via cp chasquid /usr/bin/chasquid
or something else?
If you prefer to look at this more interactively, feel free to jump on irc, #chasquid
at freenode.net!
from chasquid.
I’m deploying on an rpi4 (armv7). I’m on mobile now so I can’t tell you the version numbers.
I ran make all
and then copied the bins to /usr/bin/ (not the local dir, as per the makefile) and then service chasquid start
, borrowing the service from the apt installation.
I’ll report back later with the version numbers. And thanks for taking the time debugging this with me!
from chasquid.
So the issue is that the most up to date version on APT for raspi is v.07-1:
$ apt info chasquid
Package: chasquid
Version: 0.07-1
I also ran apt-get update
from chasquid.
Thanks for the update! I think that explains the problem:
chasquid 0.07 (which is included in the current Debian stable release) does not have the aliases hook feature. The feature was implemented in 1.1 (2019-10-26), specifically commit f399fe3.
So updating chasquid binaries to the latest version by hand, as you're doing, good way to get it while still taking advantage of the distribution integration.
FWIW, the upcoming Debian stable release will include chasquid 1.6.
So if I understand correctly what you mentioned above, the updated binaries fix this problem and things work fine?
Besides issue #18 (chasquid-util aliases-resolve
does not take hooks into account) that is, which is tracked separately.
from chasquid.
Awesome, good to know.
Yes, other than #18, everything is working as expected. Thanks for your help, and stay healthy!
from chasquid.
Related Issues (20)
- TLS Certificate reloading HOT 5
- docker container won't restart due to dublicate hostname option in chasquid.conf HOT 5
- `chasquid-util aliases-resolve` does not take hooks into account HOT 1
- Error while installing chasquid-1.6-1 on Arch Linux HOT 18
- Docker pull error when pulling `latest` tag HOT 3
- Add support for specifying outbound source IP address (i.e. for multi-homed servers) HOT 3
- Question about catch-all aliases HOT 10
- When set to "", some config options use the default value instead HOT 3
- Question about symlinking the certbot pem files... HOT 5
- JMAP support HOT 2
- t-11-dovecot fails due to permission errors HOT 2
- docker: setfacl step fails when using user-provided certificates HOT 4
- Send-only server without dovecot? HOT 3
- SpamAssassin integration in Ubuntu 16.04 needs adjustment HOT 5
- Send-only server: `Destination address is unknown` when sending to local domain HOT 2
- Do not `chown` files (unless the new file has a different UID/GID) HOT 1
- Question on LookupMX error handling HOT 3
- Allow alias '*' to redirect all email HOT 3
- Add support for forwarding via SMTP (with SRS due SPF) HOT 4
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 chasquid.