qpsmtpd plugins for deepOfix Mail Server

This are the plug ins I wrote primarily for qpsmtpd to work in deepOfix Mail Server. However I would be glad if any of them can be in generally used with qpsmtpd. Also I will be glad to help you tweak the plug ins to suit your requirement. Hope it helps.

  • auth_ldap_bind

    This plugin authenticates users against an LDAP Directory. The plugin first performs a lookup for an entry matching the connecting user. This lookup uses the 'ldap_auth_filter_attr' attribute to match the connecting user to their LDAP DN. Once the plugin has found the user's DN, the plugin will attempt to bind to the Directory as that DN with the password that has been supplied.

    This plugin is available when you install qpsmtpd but I have added a small tweak to the plugin. The plugin now also enables binding to directory servers that do not allow anonymous bind.

  • rcpt_ldap

    This plugin looks up users in an LDAP Directory. This plugin uses the 'ldap_rcpt_filter' to match the recipient address.
    Again in this one I have made the tweak that allows you to bind to a directory server that does not allow anonymous binding.

  • max_mail_size

    This plugin connects to the LDAP directory and checks if the size of the mail is within the limit set for the user in the ldap directory. This plugin assumes that the attribute is stored as mailSizeMax.

  • max_rcpt_check

    This plugin checks if the number of recipients of the mail is within the limit set by the server administrator.

  • account_status

    This plugin connects to the LDAP directory and checks if the account status of the user is active. This plugin assumes that the attribute is stored as accountStatus.

  • mail_ldap

    This plugin constraints the FQDN address space and/or the username space to ones defines in the rcpthosts and locals along with appropriate entries in the users account.

Also available in: HTML TXT