Login
Register
Home
Wiki Knowledge Base
FreeDNS
Facebook
Linux Support
Control Web Panel
MENU
Home
Help
Search
Login
Register
Control Web Panel
»
WebPanel
»
E-Mail
»
How to blacklist mails using Centos Web Panel / Centos ?
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to blacklist mails using Centos Web Panel / Centos ? (Read 52512 times)
0 Members and 2 Guests are viewing this topic.
crazytechin
Newbie
Posts: 14
How to blacklist mails using Centos Web Panel / Centos ?
«
on:
December 27, 2017, 07:21:13 AM »
I would like to know how can we blacklist mails so that they do not come into our mail box in Centos 7 or using Centos Web Panel.
Thanks in advance.
Logged
Jae
Full Member
Posts: 142
Re: How to blacklist mails using Centos Web Panel / Centos ?
«
Reply #1 on:
December 28, 2017, 11:35:16 AM »
in /etc/postfix/main.cf
smtpd_relay_restrictions = check_sender_access hash:/etc/postfix/sender_blacklist
In /etc/postfix/sender_blacklist
email1@yahoo.com REJECT
email2@gmail.com REJECT
email3@outlook.com REJECT
email4@domain.tld REJECT
postmap hash:/etc/postfix/sender_blacklist
service postfix reload
Logged
crazytechin
Newbie
Posts: 14
Re: How to blacklist mails using Centos Web Panel / Centos ?
«
Reply #2 on:
December 29, 2017, 06:48:04 AM »
Jae,
Thanks for responding.
There is no /etc/postfix/sender_blacklist file, Do I need to create it ?
Is there no way to add blacklist in Centos web panel or via webmail ?
Logged
Print
Pages: [
1
]
« previous
next »
Control Web Panel
»
WebPanel
»
E-Mail
»
How to blacklist mails using Centos Web Panel / Centos ?