Re: [OT] Postfwd question
* Alex JOST : > Sat = 6 > Sun = 0 > > Maybe postwfd has issues dealing with a range of 6-0. Have you tried > specifying both weekdays separately? Nope, I should try that. -- [*] sys4 AG https://sys4.de, +49 (89) 30 90 46 64 Schleißheimer Straße 26/MG, 80333 München Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein
Re: [OT] Postfwd question
Am 03.09.2018 um 13:15 schrieb Ralf Hildebrandt: id=mass_mailing_feierabend time=17:00:01-23:59:59 time=00:00:00-08:59:59 days=Mon-Fri & action=rcpt(sender/100/43200/450 4.7.1 Recipient limit exceeded) # This is also working, but I feel stupid using these two definitions # for the periods before and after work!! I think you could write it like this: time=!!09:00:00-17:00:00 -- Alex JOST
Re: [OT] Postfwd question
Am 03.09.2018 um 13:15 schrieb Ralf Hildebrandt: I know, I know, it's offtopic since it'S not entirely postfix per se, but I am at my wit's end here. I'm trying to implement a (I think) simple ratelimiting feature: * during our business hours 400 Mails per sender from internat host * otherwise 100 # sonst id=mass_mailing_wochenende time=00:00:00-23:59:59 days=Sat-Sun & action=rcpt(sender/100/43200/450 4.7.1 Recipient limit exceeded) # Alas, this is not triggering at all. Dunno why! Sat = 6 Sun = 0 Maybe postwfd has issues dealing with a range of 6-0. Have you tried specifying both weekdays separately? -- Alex JOST
[OT] Postfwd question
I know, I know, it's offtopic since it'S not entirely postfix per se, but I am at my wit's end here. I'm trying to implement a (I think) simple ratelimiting feature: * during our business hours 400 Mails per sender from internat host * otherwise 100 Some of my limits work, others don't trigger at all: id=mass_mailing_exceptions & sender==file:/etc/postfix/mass_mailing_absolute_exceptions action=dunno # these are exceptions for high volume senders. Working OK! # Arbeitszeit id=mass_mailing_business_hours days=Mon-Fri time=09:00:00-17:00:00 & action=rcpt(sender/400/43200/450 4.7.1 Recipient limit exceeded) # Monday to friday, 9 to 5, working as it should id=mass_mailing_feierabend time=17:00:01-23:59:59 time=00:00:00-08:59:59 days=Mon-Fri & action=rcpt(sender/100/43200/450 4.7.1 Recipient limit exceeded) # This is also working, but I feel stupid using these two definitions # for the periods before and after work!! # sonst id=mass_mailing_wochenende time=00:00:00-23:59:59 days=Sat-Sun & action=rcpt(sender/100/43200/450 4.7.1 Recipient limit exceeded) # Alas, this is not triggering at all. Dunno why! -- [*] sys4 AG https://sys4.de, +49 (89) 30 90 46 64 Schleißheimer Straße 26/MG, 80333 München Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein