[Kolab-devel] [PATCH] smtp auth support for smarthost/relayhost

Hendrik Muhs Hendrik.Muhs at web.de
Mon Nov 1 18:09:17 CET 2004


Hi,

I added smtp authentication support for the smarthost/relayhost feature of 
postfix (forwarding all mails to a specified mailserver).

The patches are against my kolab install (releasedate 20041014).

Explanation:

Conf.pm.patch (/kolab/lib/perl/vendor_perl/5.8.4/Kolab/Conf.pm)
This one adds code to create the password hash file.

index.php.patch (/kolab/var/kolab/www/admin/service/index.php)
Webadmin code to save postfix-relayhost-user and postfix-relayhost-password 
into LDAP

service.tpl.patch (/kolab/var/kolab/php/admin/templates/en/service.tpl)
this adds the input fields in the html code.

kolab2.schema.patch (/kolab/etc/openldap/schema/kolab2.schema)
adds the LDAP entrys for postfix-relayhost-user and postfix-relayhost-password

main.cf.template.patch (/kolab/etc/kolab/templates/main.cf.template)
adds the necessary postfix configuration parameters for smtp auth

saslpasswd.template ((/kolab/etc/kolab/templates/saslpasswd.template)
simply the empty template for the password file.

As I am not an expert on kolab, perl, LDAP I am not sure if the patches break 
something for other users.

Anyway, I think it is a nice feature and I hope you will accept my patches 
(after some cleanups?)

Regards,

Hendrik Muhs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: index.php.patch
Type: text/x-diff
Size: 1782 bytes
Desc: not available
URL: <http://lists.kolab.org/pipermail/devel/attachments/20041101/99ffb1eb/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Conf.pm.patch
Type: text/x-diff
Size: 2219 bytes
Desc: not available
URL: <http://lists.kolab.org/pipermail/devel/attachments/20041101/99ffb1eb/attachment-0001.bin>
-------------- next part --------------
# (c) 2003 Tassilo Erlewein <tassilo.erlewein at erfrakon.de>
# (c) 2003 Martin Konold <martin.konold at erfrakon.de>
# This program is Free Software under the GNU General Public License (>=v2).
# Read the file COPYING that comes with this packages for details.

# this file is automatically written by the Kolab config backend
# manual additions are lost unless made to the template in the Kolab config directory

-------------- next part --------------
A non-text attachment was scrubbed...
Name: service.tpl.patch
Type: text/x-diff
Size: 1086 bytes
Desc: not available
URL: <http://lists.kolab.org/pipermail/devel/attachments/20041101/99ffb1eb/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kolab2.schema.patch
Type: text/x-diff
Size: 839 bytes
Desc: not available
URL: <http://lists.kolab.org/pipermail/devel/attachments/20041101/99ffb1eb/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.cf.template.patch
Type: text/x-diff
Size: 303 bytes
Desc: not available
URL: <http://lists.kolab.org/pipermail/devel/attachments/20041101/99ffb1eb/attachment-0004.bin>


More information about the devel mailing list