On Fri, Oct 29, 2021 at 09:49:43AM +0200, Peter N. M. Hansteen wrote:
>
> How do you maintain the contents of the /etc/mail/spamd-white file?
>
> As in, do you have a cron job or similar that dumps the contents of the
> table there?
>
This little tidbit of necessary information is not really
On 2021-10-28 12:06:24, Zé Loff wrote:
From the man page:
For the add, delete, replace, and test commands, the list of
addresses can be specified either directly on the command
line and/or in an unformatted text file, using the -f flag.
So:
pfctl -t spamd-white -T add -f
On 2021-10-28 12:58, Otto Moerbeek wrote:
On Thu, Oct 28, 2021 at 11:55:33AM +0200, Harald Dunkel wrote:
Hi folks,
my pf.conf contains
table persist file "/etc/mail/spamd-white"
I understand that I can add and delete hosts from the table manually
later, but on very large tables
>> I don't know how atomic that is: is the table either empty
>> or does it contain all the addresses in the file? I would
>> guess the addresses are added as they are read, just like
>> when you add them manually.
>>
>
>That is a wrong guess. pf tries to do things atomically when it makes
>sense
On Thu, Oct 28, 2021 at 12:15:45PM +0200, Jan Stary wrote:
> On Oct 28 11:55:33, harald.dun...@aixigo.com wrote:
> > Hi folks,
> >
> > my pf.conf contains
> >
> > table persist file "/etc/mail/spamd-white"
> >
> > I understand that I can add and delete hosts from the table manually
>
On Thu, Oct 28, 2021 at 11:55:33AM +0200, Harald Dunkel wrote:
> Hi folks,
>
> my pf.conf contains
>
> table persist file "/etc/mail/spamd-white"
>
> I understand that I can add and delete hosts from the table manually
> later, but on very large tables this is pretty painful. There
On Oct 28 11:55:33, harald.dun...@aixigo.com wrote:
> Hi folks,
>
> my pf.conf contains
>
> table persist file "/etc/mail/spamd-white"
>
> I understand that I can add and delete hosts from the table manually
> later, but on very large tables this is pretty painful.
> There is a high
On Thu, Oct 28, 2021 at 11:55:33AM +0200, Harald Dunkel wrote:
> Hi folks,
>
> my pf.conf contains
>
> table persist file "/etc/mail/spamd-white"
>
> I understand that I can add and delete hosts from the table manually
> later, but on very large tables this is pretty painful. There
Hi folks,
my pf.conf contains
table persist file "/etc/mail/spamd-white"
I understand that I can add and delete hosts from the table manually
later, but on very large tables this is pretty painful. There is a high
risk that the table has just been flushed and is not up-to-date
9 matches
Mail list logo