You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While there is already semi-support for SRS to handle forwarding failures due to SPF, there is not yet any support for ARC, which can do the same for DMARC. This would be very nice to have, and could be reasonably easy to implement. It's also arguably a cleaner approach than SRS.
Mail::DKIM already supports ARC, so messages could be signed using Mail::DKIM::ARC::Signer instead of (or rather in addition to) Mail::DKIM::Signer. Given that you're already using this module, this is likely the easiest option.
Currently I'm using an approach similar to https://github.com/mbirth/mail-arc but not actually using this script (as I couldn't get it to work). Instead I use the standalone arcsign wrapper from the dkimpy library (python3-dkim package in Debian), initiated in .qmail files like this:
|arcsign $SELECTOR $DOMAIN $KEY $HOSTNAME | forward <ADDRESS> (where the variables mostly come from a small wrapper script I use around arcsign instead of it directly).
It might also be possible to use rspamadm from the Rspamd package for signing, but I haven't gotten this working yet.
Since better-qmail-remote is already wrapping qmail-remote, this would be a more obvious place to handle ARC signing. It would likely lead to a simpler setup, and could also potentially handle things more dynamically.
The text was updated successfully, but these errors were encountered:
Hi! Thanks for the interest, sadly I'm swamped with work until next Wednesday 29 January, I'll have to read your tickets in detail then. Renewing my mail server setup is due so those are welcome.
One thing that had gone through my mind is to rewrite the code in Rust (I'm big into Rust now), but if everything is well set up for Perl I guess I'll just keep it that way.
No rush - five years go by in a flash :)
If you were going the Rust route, I guess it might be possible to integrate with Rspamd, like I previously mentioned: https://crates.io/crates/rspamd-client - though I guess the same could maybe be accomplished just by invoking rspamc.
Anyway, for the stuff I've proposed, I think just altering the existing Perl code would be easier - especially since everything needed should already be supported by the libs in use.
While there is already semi-support for SRS to handle forwarding failures due to SPF, there is not yet any support for ARC, which can do the same for DMARC. This would be very nice to have, and could be reasonably easy to implement. It's also arguably a cleaner approach than SRS.
Mail::DKIM already supports ARC, so messages could be signed using
Mail::DKIM::ARC::Signer
instead of (or rather in addition to)Mail::DKIM::Signer
. Given that you're already using this module, this is likely the easiest option.Currently I'm using an approach similar to https://github.com/mbirth/mail-arc but not actually using this script (as I couldn't get it to work). Instead I use the standalone
arcsign
wrapper from the dkimpy library (python3-dkim
package in Debian), initiated in.qmail
files like this:|arcsign $SELECTOR $DOMAIN $KEY $HOSTNAME | forward <ADDRESS>
(where the variables mostly come from a small wrapper script I use around arcsign instead of it directly).It might also be possible to use
rspamadm
from theRspamd
package for signing, but I haven't gotten this working yet.Since better-qmail-remote is already wrapping qmail-remote, this would be a more obvious place to handle ARC signing. It would likely lead to a simpler setup, and could also potentially handle things more dynamically.
The text was updated successfully, but these errors were encountered: