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
I'm selfhosting an addy instance using docker on a VPS, but I'm not exposing SMTP port of my VPS to internet, I'm using another email service as an MX and it forward all recieved email to my instance :
Email from internet --> external relay MX --> selfhosted Addy
To get rspamd ignore the external relay that forward email to my instance, and do security checks on the "real" sender, I'm trying to use rspamd external relay module https://rspamd.com/doc/modules/external_relay.html without success
I added two files via volume mapping to addy container :
And /etc/rspamd/local.d/maps.d/external_relay_hostname.map :
rspamd seems to accept the module as I can see it in Modules enabled and logs:
But rspamd still consider the external relay MX as the sender. So if the the "real" dmarc sender is configured to quarantine/reject, dmarc policy is applied (quarantine : add a header, reject : reject the email). (If the dmarc policy is set to none, emails are forwarded correctly)
lua; external_relay.lua:187: found nothing useful in Received headers
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I'm selfhosting an addy instance using docker on a VPS, but I'm not exposing SMTP port of my VPS to internet, I'm using another email service as an MX and it forward all recieved email to my instance :
Email from internet --> external relay MX --> selfhosted Addy
To get rspamd ignore the external relay that forward email to my instance, and do security checks on the "real" sender, I'm trying to use rspamd external relay module https://rspamd.com/doc/modules/external_relay.html without success
I added two files via volume mapping to addy container :
/etc/rspamd/local.d/external_relay.conf (strategy = "hostname_map" ) :
And /etc/rspamd/local.d/maps.d/external_relay_hostname.map :
rspamd seems to accept the module as I can see it in Modules enabled and logs:
But rspamd still consider the external relay MX as the sender. So if the the "real" dmarc sender is configured to quarantine/reject, dmarc policy is applied (quarantine : add a header, reject : reject the email). (If the dmarc policy is set to none, emails are forwarded correctly)
lua; external_relay.lua:187: found nothing useful in Received headers
Did any one use this type of configuration ?
Beta Was this translation helpful? Give feedback.
All reactions