Howto block from AND to

Questions and answers about how to do stuff
Post Reply
Odon Garma
Posts: 19
Joined: 08 May 2017 14:10

Howto block from AND to

Post by Odon Garma » 07 Sep 2018 13:24

I want to block or reject an Individual Sender to a special recipient.

How to do this in postfix and or in spamassassin?

To make clear: block mails from user@domain.tld to user2@domain2.tld only.

Greetz

User avatar
shawniverson
Posts: 2592
Joined: 13 Jan 2014 23:30
Location: Rushville, Indiana, USA
Contact:

Re: Howto block from AND to

Post by shawniverson » 08 Sep 2018 19:26

Just use a blacklist entry. You can specify both from and to.
Version 3.0.2.6 released! Update now to keep your eFa secure!

Odon Garma
Posts: 19
Joined: 08 May 2017 14:10

Re: Howto block from AND to

Post by Odon Garma » 09 Sep 2018 10:33

Can you make an example, where and how to do this?

User avatar
shawniverson
Posts: 2592
Joined: 13 Jan 2014 23:30
Location: Rushville, Indiana, USA
Contact:

Re: Howto block from AND to

Post by shawniverson » 09 Sep 2018 20:49

You can do this in the MailWatch GUI under black and white lists. Just enter the from and the to and specify blacklist and it will take effect either after restarting MailScanner or the next refresh (typically 15 minutes).
Version 3.0.2.6 released! Update now to keep your eFa secure!

Odon Garma
Posts: 19
Joined: 08 May 2017 14:10

Re: Howto block from AND to

Post by Odon Garma » 10 Sep 2018 08:10

ok, this is dead simple.

in which process the blacklist sql lookup take place?

Post Reply