1

Topic: Set account only for receive message

==== Required information ====
- iRedMail version (check /etc/iredmail-release): v0.1.8
- Linux/BSD distribution name and version: Ubuntu12.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx):Apache
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue:
====

I'm just wondering if there any ways to just activate account only for receive message. Not send any emails at all.

Thank you

Indy

----

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

2

Re: Set account only for receive message

addyyyyy wrote:

- iRedMail version (check /etc/iredmail-release): v0.1.8
- Linux/BSD distribution name and version: Ubuntu12.04

Seems you're running a very old iRedMail release, could you please show us the content in file /etc/iredmail-release?

In recent iRedMail releases, we can easily achieve this with iRedAPD plugin "amavisd_wblist", you can block recipient "@." (it means catch-all) for this user, this makes it receiving only, no email sending (all sent email will be  rejected by your server immediately).

3

Re: Set account only for receive message

in /etc/iredmail-release it's say 0.8.1

another question if I want to upgrade 0.8.1 to the version that has iRedAPD plugin "amavisd_wblist" , which version is the cheapest thank you in advance.

4

Re: Set account only for receive message

Oh, i forgot another way to do this: Remove attribute/value pairs from this user's LDAP object:

- enabledService=smtp
- enabledService=smtpsecured

First one is SMTP without SSL/TLS, second one is SMTP over TLS or SSL.

5

Re: Set account only for receive message

I'm sorry where do I have to look for remove two pair for specific user?

Thank you

6

Re: Set account only for receive message

Do you have phpLDAPadmin installed? Or command line tool "ldapvi"?

7

Re: Set account only for receive message

No, not at all.

Thank you

8

Re: Set account only for receive message

If you're familiar with LDAP command line and Vi/Vim editor, "ldapvi" might be the best for you. Otherwise try phpLDAPadmin.

If you don't mind opening network port of LDAP service to internet, you can try desktop client application like:

- Apache Directory Studio (Java app): http://directory.apache.org/studio/
- LDAP admin (Windows only, lightweight): http://www.ldapadmin.org