1

Topic: External script as transport with Active Directory

==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
======== Required information ====
- iRedMail version: 0.8.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): Active Directory LDAP
- Linux/BSD distribution name and version: CentOS 6.5
- Related log if you're reporting an issue:
====

Hello again,

http://www.iredmail.org/wiki/index.php? … nal.Script

This page explains how to configure an LDAP user account to redirect to an external script.  Is there any way to get this functionality with an Active Directory backend?  Right now, it seems as though once you go AD, there is no support for any other functionality (like local users, /etc/postfix/alias contents, etc)

A variation on this question goes like this: right now, my old mail server (with local users and /etc/alias), I could set up aliases to external addresses, like so:

/etc/aliases wrote:

# route emergency@mydomain.com to my cell phone and home e-mail
emergency:  4085551212@mobile.mycingular.com, personal_email@yahoo.com

Is there any way to achieve this same functionality with an Active Directory backend?

I do have iRedAdmin Pro LDAP, but I suspect that it is not going to be too helpful when it comes to AD integration.

Thanks again!

----

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

2

Re: External script as transport with Active Directory

*) iRedAdmin-Pro-LDAP doesn't work with AD, so it's useless when it comes to AD integration.
*) You can still create plain text file to store aliases by listing this file in Postfix parameter "virtual_alias_maps". for example:

virtual_alias_maps = hash:/etc/postfix/virtual_aliases, ...

Reference: http://www.postfix.org/postconf.5.html# … alias_maps

3

Re: External script as transport with Active Directory

ZhangHuangbin wrote:

*) iRedAdmin-Pro-LDAP doesn't work with AD, so it's useless when it comes to AD integration.

I think it's pretty important to mention that fact in the Active Directory tutorial at http://www.iredmail.org/docs/active.directory.html

Knowing that information would have saved me $800.00. smile Oh, well.

ZhangHuangbin wrote:

*) You can still create plain text file to store aliases by listing this file in Postfix parameter "virtual_alias_maps". for example:

virtual_alias_maps = hash:/etc/postfix/virtual_aliases, ...

Reference: http://www.postfix.org/postconf.5.html# … alias_maps

Yes! This tip worked!  Thank you very much.

4

Re: External script as transport with Active Directory

mac wrote:

I think it's pretty important to mention that fact in the Active Directory tutorial at

I thought "store mail accounts in OpenLDAP" was clear, but i was wrong. Sorry about this. It's now mentioned in the tutorial and our Pricing page:
http://www.iredmail.org/pricing.html