Re: OpenSMTP and OpenLDAP

2017-07-25 Thread Markus Rosjat


Hey hendrik,
This was a hint I was looking for thought! I will check that out :)
Regards
Markus

 Ursprüngliche Nachricht 
Von: Henrik Friedrichsen <hen...@diff.cc> 
Datum: 25.07.17  19:15  (GMT+01:00) 
An: misc@openbsd.org 
Cc: ros...@ghweb.de 
Betreff: Re: OpenSMTP and OpenLDAP 

Hey,

On Tue, Jul 25, 2017 at 10:50:32AM +0200, Markus Rosjat wrote:
> I was just wondering if does two work together at all? I saw examples with
> ldapd that ships with the OS but not with OpenLDAP. Since I try to get my
> user table defined, and the man only has options for db and file, whats the
> way to go here if there is a way at all?

The OpenSMTPD-extras package should have an LDAP filter. I have no
experience with it and whether it works with OpenLDAP, but it might be
starting point:

https://github.com/OpenSMTPD/OpenSMTPD-extras/tree/master/extras/tables/table-ldap



Re: OpenSMTP and OpenLDAP

2017-07-25 Thread Henrik Friedrichsen
Hey,

On Tue, Jul 25, 2017 at 10:50:32AM +0200, Markus Rosjat wrote:
> I was just wondering if does two work together at all? I saw examples with
> ldapd that ships with the OS but not with OpenLDAP. Since I try to get my
> user table defined, and the man only has options for db and file, whats the
> way to go here if there is a way at all?

The OpenSMTPD-extras package should have an LDAP filter. I have no
experience with it and whether it works with OpenLDAP, but it might be
starting point:

https://github.com/OpenSMTPD/OpenSMTPD-extras/tree/master/extras/tables/table-ldap



Re: OpenSMTP and OpenLDAP

2017-07-25 Thread Markus Rosjat
well it seems no one has an answer to that so while you see always 
examples for ldapd I confused still since man smtpd.conf states you 
should use file:/ or db:/ to define a table and not any other otion like 
ldap:/ is mentioned at all.


So lets refine the question ...

Is LDAP supported in OpenSMTP at all?


And if so, where to find a piece of information how to configure it?

regards

MArkus

Am 25.07.2017 um 10:50 schrieb Markus Rosjat:

Hi there,

I was just wondering if does two work together at all? I saw examples 
with ldapd that ships with the OS but not with OpenLDAP. Since I try to 
get my user table defined, and the man only has options for db and file, 
whats the way to go here if there is a way at all?


Regards



--
Markus Rosjatfon: +49 351 8107223mail: ros...@ghweb.de

G+H Webservice GbR Gorzolla, Herrmann
Königsbrücker Str. 70, 01099 Dresden

http://www.ghweb.de
fon: +49 351 8107220   fax: +49 351 8107227

Bitte prüfen Sie, ob diese Mail wirklich ausgedruckt werden muss! Before 
you print it, think about your responsibility and commitment to the 
ENVIRONMENT




OpenSMTP and OpenLDAP

2017-07-25 Thread Markus Rosjat

Hi there,

I was just wondering if does two work together at all? I saw examples 
with ldapd that ships with the OS but not with OpenLDAP. Since I try to 
get my user table defined, and the man only has options for db and file, 
whats the way to go here if there is a way at all?


Regards

--
Markus Rosjatfon: +49 351 8107223mail: ros...@ghweb.de

G+H Webservice GbR Gorzolla, Herrmann
Königsbrücker Str. 70, 01099 Dresden

http://www.ghweb.de
fon: +49 351 8107220   fax: +49 351 8107227

Bitte prüfen Sie, ob diese Mail wirklich ausgedruckt werden muss! Before 
you print it, think about your responsibility and commitment to the 
ENVIRONMENT