Hello,

I'm trying to block a recipient's address (To:) but it doesn't work.

# main.cf
header_checks = regexp:/etc/postfix/header_checks

/^To.*gus...@gmail.com/                         DISCARD

warning: header Subject: test Sat, 08 Aug 2020 12:44:14 -0300 from
vps-1107836-x.dattaweb.com[179.43.124.100]; from=<
ggonza...@ambitecnica.com.ar> to=<gus...@gmail.com> proto=SMTP

I've tried To: or to = but can't get it to work.

I know this is a dummy question but I would like some help on that, thanks.

Regards,

Reply via email to