mailcow / mailcow-dockerized

mailcow: dockerized - 🐮 + 🐋 = 💕
https://mailcow.email
GNU General Public License v3.0
8.92k stars 1.17k forks source link

Using mailcow like Antispam/Antivirus gateway #4653

Open expertaz-zz opened 2 years ago

expertaz-zz commented 2 years ago

Summary

I wrote about this issue/enhacement on community forum, https://community.mailcow.email/d/1710-rejected-mails-not-in-quarantine-in-domain-relayed-scenario

Have a idea to use mailcow like Antispam/Antivirus gateway in front of mail server(Zimbra,Exchange .etc) Mailcow has a good UI options like domain relay and route/transport maps. It's very suitible for using like Antispam/Antivirus gateway. Everything working well,rspamd/clam acting well,clean mails delivered with success. Only issue is rejected mails not going to quaratine in mailcow.I made some debugging found some userfull logs:

[28-Jun-2022 14:39:10] WARNING: [pool system-worker] child 99 said into stderr: "NOTICE: PHP message: RCPT RESOVLER: http pipe: query as username from mailbox" fd4d:6169:6c63:6f77::f - 28/Jun/2022:14:39:10 +0300 "POST /pipe.php" 200 [28-Jun-2022 14:39:10] WARNING: [pool system-worker] child 99 said into stderr: "NOTICE: PHP message: RCPT RESOVLER: is not a mailcow handled mailbox or alias address" [28-Jun-2022 14:39:10] WARNING: [pool system-worker] child 99 said into stderr: "NOTICE: PHP message: RCPT RESOVLER: http pipe: goto array count on loop #1 is 0"

Mailcow looking for local mailboxes in order to store rejected mails into quaratine even if domain relay mode set .

Maybe tiny enhancement like below: -- while domain in relay mode RCPT RESOVLER stop to look for local mailbox--- will solve this issue and will be good enhancement.

Motivation

Mailcow has a good UI options like domain relay and route/transport maps,integreted rspamd,clam. It's very suitible for using like Antispam/Antivirus gateway.

This enhancement will open new horizons for mailcow in mail security areas.

Additional context

No response

OGudzik commented 2 years ago

https://www.proxmox.com/en/proxmox-mail-gateway Do you see this ?

expertaz-zz commented 2 years ago

Thank you for your reply. I know proxmox mail gateway,has it free version?and what it uses for spam fighting?

Regards, Hafiz.

OGudzik @.***>, 10 Ağu 2022 Çar, 15:00 tarihinde şunu yazdı:

https://www.proxmox.com/en/proxmox-mail-gateway Do you see this ?

— Reply to this email directly, view it on GitHub https://github.com/mailcow/mailcow-dockerized/issues/4653#issuecomment-1210574657, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACHLG5TMHG6LG4SBCST73XTVYOKVDANCNFSM52FXDSYQ . You are receiving this because you authored the thread.Message ID: @.***>

Dawico commented 1 year ago

Proxmox Mail Gateway is supplied with unstable updates in the free version and still relies on SpamAssassin.