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
Howto block from AND to
- shawniverson
- Posts: 3649
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: Howto block from AND to
Just use a blacklist entry. You can specify both from and to.
-
- Posts: 33
- Joined: 08 May 2017 14:10
Re: Howto block from AND to
Can you make an example, where and how to do this?
- shawniverson
- Posts: 3649
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: Howto block from AND to
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).
-
- Posts: 33
- Joined: 08 May 2017 14:10
Re: Howto block from AND to
ok, this is dead simple.
in which process the blacklist sql lookup take place?
in which process the blacklist sql lookup take place?