smtp smarthost

Bernhard Reiter bernhard at intevation.de
Tue Apr 19 09:14:01 CEST 2005


On Tuesday 12 April 2005 14:19, Oliver Wiemer wrote:
> kolab2 Test3

Assuming Kolab2 Server Beta3?
(We are beyond "testing" in that we do have production installations,
but wait for more experience.).

On which host operating system?
Did you freshly install, or did you upgrade?

> is it possible, that the field SMTP"smarthost" is not active?
> If i insert here an hostname or ip, nothing was written to the main.cf
> Should postfix get this information from ldap, the assignment to ldap
> fails. I wrote the host in the main.cf (relayhost) an it works fine.

I just retested this and changing the smarthost works here
and I remember it to work before.

To debug this:
Look for the contents of your ldap:
/kolab# sbin/slapcat
and check for the postfix-relayhost: setting.
If it is there you know that ldap assignment has worked.

What happens next is that kolabd will detect a change
and rewrite the configuration files, using the templates.
Your template /kolab# vim etc/kolab/templates/main.cf.template
should have a macro for 
relayhost = @@@postfix-relayhost@@@

Next you can check /kolab/etc/postfix/main.cf
and see if this got expanded.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2145 bytes
Desc: signature
URL: <http://lists.kolab.org/pipermail/users/attachments/20050419/81dc0830/attachment.p7s>


More information about the users mailing list