autodiscover problem

Christian Rößner c at roessner-network-solutions.com
Wed May 9 19:11:42 CEST 2012


Hi,

> Testing Autoconfig ...
> Connecting to http://autoconfig.uni-hohenheim.de/mail/config-v1.1.xml?emailaddress=testaccount@uni-hohenheim.de ...
> 
>  HTTP/1.1 200 OK
>  Date: Wed, 09 May 2012 13:21:00 GMT
>  Server: Apache/2.2.15 (Scientific Linux)
>  Content-Length: 887
>  Connection: close
>  Content-Type: text/xml
> <?xml version='1.0' encoding='utf-8'?>
> <clientConfig version="1.1">
> <emailProvider id="uni-hohenheim.de">
> ....(cut off)
> <username>%EMAILLOCALPART%</username>

(this attribute should be fixed in automx.conf as well. See *_auth_identity in the man page for examples; Maybe you will like smtp_auth_identity = %s and same for imap_ and pop_)

> </incomingServer>
> </emailProvider>
> </clientConfig>
> 
> Testing Autodiscover (Microsoft Outlook(tm)) ...
> Connecting to https://autodiscover.uni-hohenheim.de/autodiscover/autodiscover.xml ...
> 
>  HTTP/1.1 404 Not Found

It looks like Apache is not configured correctly for 443. It returns 404 not found.

> <VirtualHost  *:443>
> 
>  ServerName autodiscover.uni-hohenheim.de:443
>  ServerAdmin myname at uni-hohenheim.de
> 
> <IfModule mod_wsgi.c>
>    WSGIScriptAlias /Autodiscover/Autodiscover.xml /opt/automx/lib/automx.wsgi
>    WSGIScriptAlias /autodiscover/autodiscover.xml /opt/automx/lib/automx.wsgi
> <Directory "/opt/automx/lib">
>      Order allow,deny
>      Allow from all
> </Directory>
> </IfModule>
> </VirtualHost>


This looks good so far. Is this virtual host the only 443 host? Or is the www page on the same machine? If so, you might need a second IP address for this instance and use NameVirtualHost settings.

Maybe see also: http://wiki.apache.org/httpd/NameBasedSSLVHostsWithSNI

Two IPs is done easily. I had done SNI with gnutls, but I do not suggest gnutls.

-Christian Rößner

---
Roessner-Network-Solutions
Bachelor of Science Informatik
Nahrungsberg 81, 35390 Gießen
F: +49 641 5879091, M: +49 176 93118939
USt-IdNr.: DE225643613
http://www.roessner-network-solutions.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3880 bytes
Desc: not available
URL: <http://mail.state-of-mind.de/pipermail/automx-users/attachments/20120509/5d1e81ef/attachment.bin>


More information about the automx-users mailing list