Howto block from AND to

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

Howto block from AND to

Post 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
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Howto block from AND to

Post by shawniverson »

Just use a blacklist entry. You can specify both from and to.
Odon Garma
Posts: 33
Joined: 08 May 2017 14:10

Re: Howto block from AND to

Post by Odon Garma »

Can you make an example, where and how to do this?
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Howto block from AND to

Post 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).
Odon Garma
Posts: 33
Joined: 08 May 2017 14:10

Re: Howto block from AND to

Post by Odon Garma »

ok, this is dead simple.

in which process the blacklist sql lookup take place?
Post Reply