<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.qmailtoaster.org:80/index.php?action=history&amp;feed=atom&amp;title=Qmail_Active_Directory_Authentication</id>
	<title>Qmail Active Directory Authentication - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.qmailtoaster.org:80/index.php?action=history&amp;feed=atom&amp;title=Qmail_Active_Directory_Authentication"/>
	<link rel="alternate" type="text/html" href="http://wiki.qmailtoaster.org:80/index.php?title=Qmail_Active_Directory_Authentication&amp;action=history"/>
	<updated>2026-05-01T21:28:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>http://wiki.qmailtoaster.org:80/index.php?title=Qmail_Active_Directory_Authentication&amp;diff=1573&amp;oldid=prev</id>
		<title>Ebroch at 15:55, 2 November 2024</title>
		<link rel="alternate" type="text/html" href="http://wiki.qmailtoaster.org:80/index.php?title=Qmail_Active_Directory_Authentication&amp;diff=1573&amp;oldid=prev"/>
		<updated>2024-11-02T15:55:04Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:55, 2 November 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Configuration#Qmail_LDAP_Authentication | Back]]&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Configuration#Qmail_LDAP_Authentication | Back]]&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To authenticate Qmail Submssion/SMTPS  against LDAP server instead of vpopmail download and compile [[https://&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;github&lt;/del&gt;.com/qmtoaster/source/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;blob&lt;/del&gt;/main/qldapauth.c this]] file&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To authenticate Qmail Submssion/SMTPS  against LDAP server instead of vpopmail download and compile [[https://&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;raw.githubusercontent&lt;/ins&gt;.com/qmtoaster/source/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;refs/heads&lt;/ins&gt;/main/qldapauth.c this]] file&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# wget https://raw.githubusercontent.com/qmtoaster/source/main/qldapauth.c&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# wget https://raw.githubusercontent.com/qmtoaster/source/main/qldapauth.c&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ebroch</name></author>
	</entry>
	<entry>
		<id>http://wiki.qmailtoaster.org:80/index.php?title=Qmail_Active_Directory_Authentication&amp;diff=1570&amp;oldid=prev</id>
		<title>Ebroch: Created page with &quot; Back&lt;br&gt; To authenticate Qmail Submssion/SMTPS  against LDAP server instead of vpopmail download and compile https://github.com/qmtoaster/source/blob/main/qldapauth.c this file &lt;pre&gt; # wget https://raw.githubusercontent.com/qmtoaster/source/main/qldapauth.c # dnf install openldap-devel # g++ -o qldapauth qldapauth.cpp -lldap # mv qldapauth /home/vpopmail/bin # chown vpopmail:vchkpw /home/vpopmail/bin/qldapauth # chmod 755...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.qmailtoaster.org:80/index.php?title=Qmail_Active_Directory_Authentication&amp;diff=1570&amp;oldid=prev"/>
		<updated>2024-11-02T15:03:12Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/index.php?title=Configuration#Qmail_LDAP_Authentication&quot; title=&quot;Configuration&quot;&gt; Back&lt;/a&gt;&amp;lt;br&amp;gt; To authenticate Qmail Submssion/SMTPS  against LDAP server instead of vpopmail download and compile &lt;a href=&quot;/index.php?title=Https://github.com/qmtoaster/source/blob/main/qldapauth.c_this&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Https://github.com/qmtoaster/source/blob/main/qldapauth.c this (page does not exist)&quot;&gt;https://github.com/qmtoaster/source/blob/main/qldapauth.c this&lt;/a&gt; file &amp;lt;pre&amp;gt; # wget https://raw.githubusercontent.com/qmtoaster/source/main/qldapauth.c # dnf install openldap-devel # g++ -o qldapauth qldapauth.cpp -lldap # mv qldapauth /home/vpopmail/bin # chown vpopmail:vchkpw /home/vpopmail/bin/qldapauth # chmod 755...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Configuration#Qmail_LDAP_Authentication | Back]]&amp;lt;br&amp;gt;&lt;br /&gt;
To authenticate Qmail Submssion/SMTPS  against LDAP server instead of vpopmail download and compile [[https://github.com/qmtoaster/source/blob/main/qldapauth.c this]] file&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# wget https://raw.githubusercontent.com/qmtoaster/source/main/qldapauth.c&lt;br /&gt;
# dnf install openldap-devel&lt;br /&gt;
# g++ -o qldapauth qldapauth.cpp -lldap&lt;br /&gt;
# mv qldapauth /home/vpopmail/bin&lt;br /&gt;
# chown vpopmail:vchkpw /home/vpopmail/bin/qldapauth&lt;br /&gt;
# chmod 755 /home/vpopmail/bin/qldapauth&lt;br /&gt;
&lt;br /&gt;
Change Submission &amp;amp; SMTPS run files:&lt;br /&gt;
&lt;br /&gt;
#VCHKPW=&amp;quot;/home/vpopmail/bin/vchkpw&amp;quot;&lt;br /&gt;
VCHKPW=&amp;quot;/home/vpopmail/bin/qldapauth&amp;quot;&lt;br /&gt;
export LDAP_HOST=&amp;quot;192.168.1.x&amp;quot;&lt;br /&gt;
export LDAP_PORT=389&lt;br /&gt;
&lt;br /&gt;
# qmailctl stop&lt;br /&gt;
# qmailctl start&lt;br /&gt;
&lt;br /&gt;
Check for success (or failure) in /var/log/maillog.&lt;br /&gt;
&lt;br /&gt;
...qldapauth[246984]: Auth succeded for: administrator@domain.tld:192.168.1.x&lt;br /&gt;
or&lt;br /&gt;
...qldapauth[246984]: Auth failed for: administrator@domain.tld:192.168.1.x&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 *Email Client: Connection Security:   SSL/TLS&lt;br /&gt;
                Authentication Method: &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Normal Password&amp;lt;/span&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ebroch</name></author>
	</entry>
</feed>