Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - ddd149

#1
Спасибо, но если вносить изменения через консоль, а потом сохранять чрез гуи (а рано или поздно это нужно будет сделать) , но изменения перезапишутся но те что в гуи postfix в OPNsense
#2
Quote from: Giz on October 29, 2025, 04:17:16 PM
Quote from: ddd149 on October 29, 2025, 04:06:49 PMI understand how to do it with Firewall, but how do I block addresses using Postfix itself, or does it not work in OPNsense?
What are you blocking with the header regex then?

Like I said earlier, I do ALL ip address blocking on the OPNSense side (Spamhaus type lists), and do ALL the Content (Header/Body) with regex in my GUI frontend for email system. Keeps it cleaner and when reviewing mail.log I can grab an ip if need be and add to OPNSence to block it for good.
Sorry, I'll ask again. Am I correct in understanding that you block IP addresses at the firewall level, not in Postfix?
Do you also use spam lists at the firewall level?
#3
I understand how to do it with Firewall, but how do I block addresses using Postfix itself, or does it not work in OPNsense?
What are you blocking with the header regex then?
#4
Previously, I used pfsense, and it was easier to set up restrictions there, but I can't do it in opnsense (I only managed to set it up for the sender's domain).
#5
For example, what do you write in Senders to block IP 1.2.3.4 and if with a mask 1.2.3.4/19?
#6
Quote from: Giz on October 29, 2025, 12:46:43 PMWhat did you install for content filtering? Rspamd or other?
Iinstalled, but not configured
#7
Hello.
I installed OPNsense 25.7.6 and Postfix 1.24 on it.
The problem is that I'd like to block by sender IP address or domain.
Postfix only has Senders, which works if you specify a specific email address (*@xxx.ru doesn't work).
I understand you can block through a firewall, but I'd like to use Postfix specifically.
Has anyone encountered this?
#8
Добрый день.
Установил OPNsense 25.7.6 на нем пакет Postfix 1.24
Проблема в том что хотелось бы блокировать по ip адресу или домену отправителя.
В postfix есть только Senders который работает если указать конкретную почту (вариант *@ххх.ru не работает)
Понятно что можно блокировать через firewall ,но хотелось бы именно силами postfix.
Может кто сталкивался?