Dnia 30.07.2025 o godz. 09:34:11 Klaipedaville via Postfix-users pisze: > What am I doing wrong? Why any number of \d+ is not recognized? I > also tried some other ways to do it like this: > > /^send\d{2}\.server\.com$/ REJECT No spam allowed. > > and like this: > > /^send\b([0-9]|[1-9][0-9])\b\.server\.com$/ REJECT No spam allowed. > > But the results are the same. There are no errors reported, but "no > spam allowed" is never printed out when postmap -q is run.
regex: type table supports only basic regular expressions, does not support extended regular expressions. Both above are extended REs. Use pcre: instead of regex: to use extended REs. -- Regards, Jaroslaw Rafa r...@rafa.eu.org -- "In a million years, when kids go to school, they're gonna know: once there was a Hushpuppy, and she lived with her daddy in the Bathtub." _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org