Slapd Directory and LDAP User Objects are Configured Correctly and all users can login to Squirrelmail panel which means that dovecot and postfix ldap queries will be searched on ldap directories and get users attributes and it succeeds.
The Problem Is That, When Someone for example user:tom with uidnumber:1002 Sends an email, dovecot-lda will have an error on user uidnumber which says:
> SRV2 dovecot: lda(tom@mh.com): Fatal: setuid(1002 from
> userdb lookup) failed with euid=1001(admin): Operation not permitted
> (This binary should probably be called with process user set to 1002
> instead of 1001(admin))
But When user:admin with uidnumber:1001 Sends an email It Will Work Perfectly. So By This Issue, Everyone Except user:admin Cannot Send emails.
On Slapd, uid and ObjectClass are indexed and "everyone" is able to read ldap directories.
This is not a general Postfix help forum - this is for the separate package Postfix Admin which configures/maintains virtual domains & mailboxes using Postfix (plus MySQL, optionally maildrop, and Courier or Dovecot).
For Postfix help you should head over to postfix.org and check out the Postfix mailing lists.
In this case, a dovecot-specific mailinglist might be a better choice.
(Personally, I avoid LDAP. At any cost ;-)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I know this is an old thread, but I am working with Nethserver's mailserver function and they do not support muliple domains. Thus I am looking at bolting postfixadmin onto their system.
Thing is their 'simple' user and group management is openLDAP, and I would like to see if I can use that. In the past I have used mysql (now mariadb). So if no openLDAP, I will also be bolting on mariadb.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm Trying to Configure Postfix and Dovecot with Openldap/Slapd Authentication and the mailing panel is Squirrelmail.
[Slapd Server]--------------[Postfix/Dovecot/Squirrelmail(SRV2)]--------------[Client]
Slapd Directory and LDAP User Objects are Configured Correctly and all users can login to Squirrelmail panel which means that dovecot and postfix ldap queries will be searched on ldap directories and get users attributes and it succeeds.
The Problem Is That, When Someone for example user:tom with uidnumber:1002 Sends an email, dovecot-lda will have an error on user uidnumber which says:
But When user:admin with uidnumber:1001 Sends an email It Will Work Perfectly. So By This Issue, Everyone Except user:admin Cannot Send emails.
On Slapd, uid and ObjectClass are indexed and "everyone" is able to read ldap directories.
Summary of main.cf
master.cf
/etc/postfix/ldap.cf
Summary of doveconf -n
Summary of /etc/dovecot/dovecot-ldap.conf.ext
Let me steal Simon's post (in another thread):
In this case, a dovecot-specific mailinglist might be a better choice.
(Personally, I avoid LDAP. At any cost ;-)
Christian,
I know this is an old thread, but I am working with Nethserver's mailserver function and they do not support muliple domains. Thus I am looking at bolting postfixadmin onto their system.
Thing is their 'simple' user and group management is openLDAP, and I would like to see if I can use that. In the past I have used mysql (now mariadb). So if no openLDAP, I will also be bolting on mariadb.