Page 1 of 1

Howto block from AND to

Posted: 07 Sep 2018 13:24
by Odon Garma
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

Re: Howto block from AND to

Posted: 08 Sep 2018 19:26
by shawniverson
Just use a blacklist entry. You can specify both from and to.

Re: Howto block from AND to

Posted: 09 Sep 2018 10:33
by Odon Garma
Can you make an example, where and how to do this?

Re: Howto block from AND to

Posted: 09 Sep 2018 20:49
by shawniverson
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).

Re: Howto block from AND to

Posted: 10 Sep 2018 08:10
by Odon Garma
ok, this is dead simple.

in which process the blacklist sql lookup take place?