Posts by Jadawin

    Was muss ich denn unter Domain eintragen? Bisher habe ich nur (z.B. root123.mein-provider.com), und das kann ich nicht nehmen, weil da schon die erste IP hinweist. Wie realisiere ich es, dass alle 5 IP's auf den Server verweisen?


    Was du da als Domain einträgst ist per se nicht so wichtig, weils nirgendwo im System aktiv eingesetzt wird. Aber mach am Besten die Domain rein, die du bei der IP als PTR eingetragen hast.



    @Chrissio: Die IP wird von imscp selbst hinzugefügt, eine manuelle Konfiguration ist nicht nötig. Ausserdem Subinterfaces? Bäh :s

    Oh well, I see. It's just since Apache 2.4...


    You can use this, it's not as performant as the other one, but works:

    Code
    1. RewriteEngine On
    2. RewriteCond %{HTTPS} off
    3. RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI}

    Kurzversion, vereinfacht:
    Postfix: MTA (mail transfer agent). Versendet und empfängt Mails. Stellt den SMTP Service auf Port 25 und 587 sicher. Empfangene Mails werden an Courier/Dovecot übergeben, der die Mails dann ins Postfach vom Benutzer speichert.
    Courier/Dovecot: Legt Mails ab, macht Quotaüberprüfungen. Stellt IMAP/POP3 zum Mails abrufen/löschen/speichern zur Verfügung.


    Also dein Mailclient verbindet sich mit beiden, abhängig von der Aufgabe: Zum Mails abrufen wird er sich immer mit Courier oder Dovecot verbinden, um eine Mail zu senden verbindet er sich mit Postfix.



    Lange Version: Wikipedia ;)


    sudo a2ensite 00_webmail.conf
    ERROR: Site 00_webmail.conf does not exist!


    Where did you save the file?
    It should be at /etc/apache2/sites-available/
    And you should've copied the 00_master from there, sorry that I didn't point that out...

    Create a seperate vhost for that.
    Copy 00_master.conf to 00_webmail.conf.



    - Delete all the Alias lines.
    - And add/replace this lines:

    Code
    1. ServerName mail.example.com
    2. ServerAlias mail.* webmail.*
    3. DocumentRoot /var/www/imscp/public/tools/webmail


    - Leave the rest as is (php configuration etc.)


    After that restart apache.


    If you have SSL activated do this again with a copy of master_ssl.conf. But SSL certificates won't match then. A redirect to the imscp domain would be better suited in this case.