1

Topic: Filter specific inbound mail by admin

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.8
- Linux/BSD distribution name and version: Ubuntu 16.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hi every one,
Can i filter specific inbound mail without config setting on roundcube?
As Administrator, I want to use python script to filter specific inbound mail, how can i do that?
Thanks.

2

Re: Filter specific inbound mail by admin

coda wrote:

Can i filter specific inbound mail without config setting on roundcube?

Excuse me, what does this mean?

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee

3 (edited by coda 2018-12-09 16:11:03)

Re: Filter specific inbound mail by admin

Sorry, I mean that I want to use python script to filter mail send to my mailbox. If sender is abc@gmail.com I will block it.
How can I do that?

4

Re: Filter specific inbound mail by admin

Hello,
Go to /opt/iRedAPD-x.x/tools
(x.x is the greatest version that is installed)

run command: python greylisting_admin.py --list
to see domains that are filtered

run command: python greylisting_admin.py --from name@domain.xxx --enable
to enable the reject of name@domain.xxx

run command: python greylisting_admin.py --from name@domain.xxx --disable
to accept emails from name@domain.xxx without being filtered by the server

if you are using @domain.xxx all the emails from the domain.xxx will be accepted or rejected

5

Re: Filter specific inbound mail by admin

gabriel79 wrote:

Hello,
Go to /opt/iRedAPD-x.x/tools
(x.x is the greatest version that is installed)

run command: python greylisting_admin.py --list
to see domains that are filtered

run command: python greylisting_admin.py --from name@domain.xxx --enable
to enable the reject of name@domain.xxx

run command: python greylisting_admin.py --from name@domain.xxx --disable
to accept emails from name@domain.xxx without being filtered by the server

if you are using @domain.xxx all the emails from the domain.xxx will be accepted or rejected

Oh I see that tutorial, thanks for your help

6

Re: Filter specific inbound mail by admin

FYI: https://docs.iredmail.org/manage.iredapd.html

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee