1

Topic: how to restrict sending mails towards outside for some users?

I use iredmail0.6

I would like to prevent to send or receive any mails for some virtual mail users.
For example there is a abc@test.com on the iredmail server.
I don't want this mail user is to able to send any mails to outside apart from its own domain.
How can I do that ?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: how to restrict sending mails towards outside for some users?

Never used it, but I think the answer is Postfix's restriction classes:
http://www.postfix.org/RESTRICTION_CLAS … l#external

3

Re: how to restrict sending mails towards outside for some users?

iRedAPD with per-user white/blacklist can do it too.
http://www.iredmail.org/roc.html#iredapd

4

Re: how to restrict sending mails towards outside for some users?

ZhangHuangbin wrote:

iRedAPD with per-user white/blacklist can do it too.
http://www.iredmail.org/roc.html#iredapd

Ok
Also How can I restrict a local user to received from outside apart from local users?

Meanwhile I can't  see the link page I think your link is wrong.

5

Re: how to restrict sending mails towards outside for some users?

Sorry, typo error in URL (doc.html -> roc.html). This is correct one:
http://www.iredmail.org/doc.html#iredapd