Hi,
Can't you use REGEX to write a rule to catch them, and then decide what you
want to do with those emails ?
Maybe:
/etc/postfix/catch_spammer file has this:
/^oursuperclub-members(.*)@googlegroups.com ${1}@spammer.google.bad
Not sure where you add the file to do the rejection, maybe mynetworks line in
main.cf ??
-Angelo Fazzina
Operating Systems Programmer / Analyst
University of Connecticut, UITS, SSG-Linux/ M&C
860-486-9075
-----Original Message-----
From: [email protected] [mailto:[email protected]]
On Behalf Of Nikolaos Milas
Sent: Monday, October 24, 2016 10:06 AM
To: postfix users <[email protected]>
Subject: Blacklisting googlegroups
Hello,
I am using:
smtpd_recipient_restrictions =
...
check_sender_access hash:/etc/postfix/blacklisted_senders
...
to blacklist certain senders in blacklisted_senders file.
I would like to block a certain spam googlegroups mailing list but
sender is not constant; it's like:
oursuperclub-members+bncbcg7bjnotikrbewdwpaakgqeabvw...@googlegroups.com
and the <BCG7BJNOTIKRBEWDWPAAKGQEABVW2YA> part is constantly changing.
Which would be the best way to block this?
Please advise.
Thanks,
Nick