Coder Social home page Coder Social logo

erik73 / addon-mailfilter Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 437 KB

Mailfilter based on Rspamd and ClamAV - Home Assistant Add-on by Erik73

Home Page: https://erik73.github.io

License: MIT License

Dockerfile 16.69% Shell 52.01% NASL 13.56% C++ 0.98% Jinja 16.76%
rspamd homeassistant-addons clamav clamd spam-detection

addon-mailfilter's People

Contributors

dependabot[bot] avatar erik73 avatar renovate[bot] avatar

Watchers

 avatar

Forkers

heartshare

addon-mailfilter's Issues

OpenDKIM support

Problem/Motivation

OpenDKIM support is missing

Expected behavior

OpenDKIM support should be there to sign outgoing emails.

Actual behavior

OpenDKIM is not there, outgoing mail is not signed and therefore not accepted by every e-mail server.

Steps to reproduce

Send e-mail, look at headers.

Proposed changes

Add OpenDKIM support.

Unable to send email using built-in Windows 11 e-mail client

2022-11-11 23:27:06.471754414  mail.info: Nov 11 23:27:06 postfix/smtps/smtpd[432]: connect from unknown[192.168.1.1]
2022-11-11 23:27:06.533530027  mail.info: Nov 11 23:27:06 postfix/smtps/smtpd[432]: Anonymous TLS connection established from unknown[192.168.1.1]: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
2022-11-11 23:27:11.587650201  mail.warn: Nov 11 23:27:11 postfix/smtps/smtpd[432]: warning: host or service 32b8266a-mailfilter:11332 not found: Try again
2022-11-11 23:27:11.589050598  mail.warn: Nov 11 23:27:11 postfix/smtps/smtpd[432]: warning: connect to Milter service inet:32b8266a-mailfilter:11332: Address not available
2022-11-11 23:27:46.708696279  mail.warn: Nov 11 23:27:46 postfix/smtps/smtpd[432]: warning: connect to mysql server core-mariadb: Unknown MySQL server host 'core-mariadb' (-3)
2022-11-11 23:27:46.710119028  mail.warn: Nov 11 23:27:46 postfix/smtps/smtpd[432]: warning: mysql:/etc/postfix/sql/mysql_virtual_alias_maps.cf lookup error for "[email protected]"
2022-11-11 23:27:46.711016595  mail.info: Nov 11 23:27:46 postfix/smtps/smtpd[432]: NOQUEUE: reject: RCPT from unknown[192.168.1.1]: 451 4.3.0 <[email protected]>: Temporary lookup failure; from=<admin@MYDOMAINHERE> to=<[email protected]> proto=ESMTP helo=<[IPv6:::ffff:192.168.1.206]>
2022-11-11 23:27:46.716612239  mail.info: Nov 11 23:27:46 postfix/smtps/smtpd[432]: disconnect from unknown[192.168.1.1] ehlo=1 auth=1 mail=1 rcpt=0/1 quit=1 commands=4/5

This is what happens when I try to send an email using the builtin Windows 11 email client. Despite what the log says Milter service is in fact running at 32b8266a-mailfilter (and works, it is scanning incoming email), so is MariaDB at core-mariadb (I can log in into postfixadmin without issues). I am in fact receiving email using this client without issues (DNS, SSL certificates are all set up correctly).

mailserver:

 Add-on version: 1.2.8
 You are running the latest version of this add-on.
 System: Home Assistant OS 9.3  (aarch64 / raspberrypi4-64)
 Home Assistant Core: 2022.11.2
 Home Assistant Supervisor: 2022.10.2

spamd:

Add-on version: 2.0.2
 You are running the latest version of this add-on.
 System: Home Assistant OS 9.3  (aarch64 / raspberrypi4-64)
 Home Assistant Core: 2022.11.2
 Home Assistant Supervisor: 2022.10.2

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

This repository currently has no open or pending branches.

Detected dependencies

dockerfile
mailfilter/Dockerfile
  • ghcr.io/erik73/base/amd64 3.0.22
github-actions
.github/workflows/ci.yaml
.github/workflows/deploy.yaml
.github/workflows/labels.yaml
.github/workflows/lock.yaml
.github/workflows/pr-labels.yaml
.github/workflows/release-drafter.yaml
.github/workflows/stale.yaml
regex
mailfilter/Dockerfile
  • ghcr.io/erik73/base/amd64 3.0.22
mailfilter/build.yaml
  • ghcr.io/erik73/base/aarch64 3.0.22
  • ghcr.io/erik73/base/amd64 3.0.22
  • ghcr.io/erik73/base/armv7 3.0.22
mailfilter/Dockerfile
  • just-containers/s6-overlay v3.2.0.0
mailfilter/Dockerfile
  • alpine_3_20/nginx 1.26.1-r0
  • alpine_3_20/freshclam 1.2.2-r0
  • alpine_3_20/clamav-scanner 1.2.2-r0
  • alpine_3_20/clamav-daemon 1.2.2-r0
  • alpine_3_20/clamav 1.2.2-r0
  • alpine_3_20/clamav-libunrar 1.2.2-r0
  • alpine_3_20/redis 7.2.5-r0
  • alpine_3_20/rspamd 3.8.4-r0
  • alpine_3_20/rspamd-openrc 3.8.4-r0

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.