Source

iredapd / INSTALL

- Requirements:

    # Python >= 2.4: http://www.python.org/
    # python-ldap: http://www.python-ldap.org/

- Install iredapd.

    - Install required python modules:

        # easy_install python-ldap

    - Copy iredapd to /opt:

        # cp -rf iredapd-x.y.z /opt/
        # ln -s /opt/iredapd-x.y.z /opt/iredapd
        # chmod +x /opt/iredapd/src/iredapd.py

    - Copy necessary rc script:

        # cp /opt/iredapd/rc_scripts/iredapd /etc/init.d/iredapd
        # chmod +x /etc/init.d/iredapd

- Run iredapd:

    # /etc/init.d/iredapd start

- Postfix configuration:

    In postfix main.cf, modify 'smtpd_recipient_restrictions' setting:

        smtpd_recipient_restrictions =
            ...
            permit_mynetworks,
            reject_unauth_destination,                  # First
            check_policy_service inet:127.0.0.1:7777,   # Second
            permit_sasl_authenticated,                  # Third
            ...

    Note:
        - iRedMail has 'permit_sasl_authenticated' in front of
          'reject_unauth_destination' by default, you must swap them.
        - 'check_policy_service inet:127.0.0.1:7777' MUST stay in
          front of 'permit_sasl_authenticated'.
        - Restart postfix to make it work.

- Access policies:
    - public        # Unrestricted.
    - domain        # Restricted to users under same domain.
    - membersOnly    # Only members are allowed.
    - allowedOnly   # Only allowed addresses are allowed.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.