From f8a4da578bc8f58924ef060b60c472ade8390d55 Mon Sep 17 00:00:00 2001 From: Horus3 Date: Tue, 2 Jun 2015 05:38:12 +0200 Subject: Bug fix and better wording. --- Makefile | 2 +- domain.go | 28 +++++++++++--- html/about.html | 65 ++++++++++++++++++++++++++++++++ html/about_de.html | 66 ++++++++++++++++++++++++++++++++ html/alert.html | 24 ++++++++++++ html/footer.html | 56 +++++++++++++++++++++++++++ html/header.html | 17 +++++++++ html/howto.html | 52 +++++++++++++++++++++++++ html/howto_de.html | 49 ++++++++++++++++++++++++ html/index.html | 47 +++++++++++++++++++++++ html/index_de.html | 46 +++++++++++++++++++++++ html/navbar.html | 56 +++++++++++++++++++++++++++ html/navbar_de.html | 56 +++++++++++++++++++++++++++ html/password.html | 76 +++++++++++++++++++++++++++++++++++++ html/password_de.html | 76 +++++++++++++++++++++++++++++++++++++ html/privacy.html | 44 ++++++++++++++++++++++ html/privacy_de.html | 44 ++++++++++++++++++++++ html/register.html | 98 ++++++++++++++++++++++++++++++++++++++++++++++++ html/register_de.html | 98 ++++++++++++++++++++++++++++++++++++++++++++++++ html/server.html | 79 ++++++++++++++++++++++++++++++++++++++ html/server_de.html | 81 +++++++++++++++++++++++++++++++++++++++ html/tos.html | 40 ++++++++++++++++++++ html/tos_de.html | 39 +++++++++++++++++++ html/user.html | 46 +++++++++++++++++++++++ html/user_de.html | 43 +++++++++++++++++++++ main.go | 3 +- statistics/mailgraph.cgi | 3 -- views/about.html | 65 -------------------------------- views/about_de.html | 66 -------------------------------- views/alert.html | 24 ------------ views/email/index.html | 0 views/footer.html | 56 --------------------------- views/header.html | 17 --------- views/howto.html | 52 ------------------------- views/howto_de.html | 49 ------------------------ views/index.html | 47 ----------------------- views/index_de.html | 46 ----------------------- views/navbar.html | 56 --------------------------- views/navbar_de.html | 56 --------------------------- views/password.html | 76 ------------------------------------- views/password_de.html | 76 ------------------------------------- views/privacy.html | 42 --------------------- views/privacy_de.html | 42 --------------------- views/register.html | 98 ------------------------------------------------ views/register_de.html | 98 ------------------------------------------------ views/server.html | 79 -------------------------------------- views/server_de.html | 81 --------------------------------------- views/tos.html | 38 ------------------- views/tos_de.html | 37 ------------------ views/user.html | 46 ----------------------- views/user_de.html | 43 --------------------- 51 files changed, 1322 insertions(+), 1302 deletions(-) create mode 100644 html/about.html create mode 100644 html/about_de.html create mode 100644 html/alert.html create mode 100644 html/footer.html create mode 100644 html/header.html create mode 100644 html/howto.html create mode 100644 html/howto_de.html create mode 100644 html/index.html create mode 100644 html/index_de.html create mode 100644 html/navbar.html create mode 100644 html/navbar_de.html create mode 100644 html/password.html create mode 100644 html/password_de.html create mode 100644 html/privacy.html create mode 100644 html/privacy_de.html create mode 100644 html/register.html create mode 100644 html/register_de.html create mode 100644 html/server.html create mode 100644 html/server_de.html create mode 100644 html/tos.html create mode 100644 html/tos_de.html create mode 100644 html/user.html create mode 100644 html/user_de.html delete mode 100644 views/about.html delete mode 100644 views/about_de.html delete mode 100644 views/alert.html delete mode 100644 views/email/index.html delete mode 100644 views/footer.html delete mode 100644 views/header.html delete mode 100644 views/howto.html delete mode 100644 views/howto_de.html delete mode 100644 views/index.html delete mode 100644 views/index_de.html delete mode 100644 views/navbar.html delete mode 100644 views/navbar_de.html delete mode 100644 views/password.html delete mode 100644 views/password_de.html delete mode 100644 views/privacy.html delete mode 100644 views/privacy_de.html delete mode 100644 views/register.html delete mode 100644 views/register_de.html delete mode 100644 views/server.html delete mode 100644 views/server_de.html delete mode 100644 views/tos.html delete mode 100644 views/tos_de.html delete mode 100644 views/user.html delete mode 100644 views/user_de.html diff --git a/Makefile b/Makefile index 95cb3b5..6f76677 100644 --- a/Makefile +++ b/Makefile @@ -95,7 +95,7 @@ pack: gen_config if [ ! -d $(FREEMAIL_DB_DIR) ]; then \ mkdir $(FREEMAIL_DB_DIR); \ fi - tar czf $(APP).tar.gz start.sh $(APP) _env.sh views static $(FREEMAIL_DB_DIR) statistics 2>/dev/null && \ + tar czf $(APP).tar.gz start.sh $(APP) _env.sh html static $(FREEMAIL_DB_DIR) statistics 2>/dev/null && \ rm start.sh 2>/dev/null && \ echo "\n/$(APP).tar.gz is ready." || \ (echo "Run \"make build\" first." && exit 1) diff --git a/domain.go b/domain.go index 252cab4..e18b379 100644 --- a/domain.go +++ b/domain.go @@ -32,6 +32,7 @@ func (vD VirtualDomain) CreateDomain() bool { return true } +// TODO: Needs better handling with multiple IPs. func (vD VirtualDomain) ValidateDomain(ref string) bool { log.Println("Info: Validating " + vD.Name) if vD.Name == "" { @@ -52,36 +53,51 @@ func (vD VirtualDomain) ValidateDomain(ref string) bool { } return reflect.DeepEqual(serverIP, addr) } + func (vD VirtualDomain) ValidateDomainMX(ref string) bool { log.Println("Info: Validating MX " + vD.Name) + var isValid bool = false // Has the domain an MX entry pointing to this server? + if vD.Name == "" { log.Println("Info: Empty domain.") return false } + + // All the MX entries for the desired domain. mx, err := net.LookupMX(vD.Name) if err != nil { log.Println("Info: Lookup error " + vD.Name + " " + err.Error()) return false } - match := false - serverIP, err := net.LookupIP(ref) + // Our IPs. + serverIPs, err := net.LookupIP(ref) if err != nil { log.Println("Info: Lookup error for server " + ref + " " + err.Error()) return false } + + // We loop over MX entries, each one has a host field. for _, v := range mx { - mxIP, err := net.LookupIP(v.Host) + // Each host field may have multiple IPs. + mxIPs, err := net.LookupIP(v.Host) if err != nil { log.Println("Info: ", err) } - if reflect.DeepEqual(serverIP, mxIP) { - match = true + // Our server has probably more than one IP as well... + for _, serverIP := range serverIPs { + // ... thus we need to compare all of them. + for _, mxIP := range mxIPs { + if string(serverIP) == string(mxIP) { + isValid = true + } + } } } - return match + return isValid } +// Returns the last fragment from a string splitted by '@'. func GetDomain(email string) string { fragments := strings.Split(email, "@") return fragments[len(fragments)-1] diff --git a/html/about.html b/html/about.html new file mode 100644 index 0000000..364bc28 --- /dev/null +++ b/html/about.html @@ -0,0 +1,65 @@ +{{template "header.html" "About | Libremail"}} +{{template "navbar.html"}} +{{template "alert.html" .}} + +
+
+
+

About Libremail

+
+
+

What are we doing?

+

We host your E-Mail, like GMail or Yahoo mail. But without ads or selling your data.

+
+

Why Libremail?

+

Because Libremail is young, free (without commercial aim) and open source. If you don't want it hosted, grab the source and run it on your own server. +
+ Also we run a secure setup. Read here more.

+
+

By whom?

+

Libremail is hosted on a dedicated server and managed by Maximilian Möhring . +

+
+

How secure is it?

+

Our IMAP login server enforces TLS 1.0, 1.1 or 1.2 with Perfect Forward Secrecy. +
If you are interested, those SSL ciphers are allowed: ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS +
In regards of SMTP, since enforcing strict security may prevent a remote client from connecting, we have to allow incomming mails with the SSLv3 protocol. On the other hand, SMTP is not vulnerable to POODLE either way. +
Please note: Since Libremail is hosted we can't provide end-to-end encryption, but we strongly suggest to use GPG. +

+
+

Why? How do you make money?

+

Because it's fun and useful. There is no plan to make money with Libremail. +

+
+

How to sign up?

+

Please look here. + +
+
+

Warranty

+

+ THERE IS ABSOLUT NO WARRANTY IN ANY WAY, BE IT UPTIME, BACKUP OR ABUSE. THE USER IS RESPONSIBLE FOR HIS OWN DOING. +

+
+
+
+
+{{template "footer.html" .Language}} diff --git a/html/about_de.html b/html/about_de.html new file mode 100644 index 0000000..7cee528 --- /dev/null +++ b/html/about_de.html @@ -0,0 +1,66 @@ +{{template "header.html" "Über uns | Libremail"}} +{{template "navbar_de.html"}} +{{template "alert.html" .}} + +
+
+
+

Über Libremail

+
+
+

Was tun wir?

+

Wir hosten Ihre E-Mails, so wie GMail oder Yahoo mail. Aber ohne Werbung und ohne Ihre Daten zu verkaufen.

+
+

Wieso Libremail?

+

Libremail ist jung, frei (ohne kommerzielle Absicht) und Open Source. Wenn Sie uns nicht vertrauen, setzen Sie sich es selber auf! +
+ Außerdem legen wir Wert auf Sicherheit. Lesen Sie hier mehr.

+
+

Von wem?

+

Libremail liegt auf einem sicherem Server und wird von Maximilian Möhring betrieben. +

+
+

Wie sicher ist es?

+

Unser IMAP Login Server erzwingt TLS 1.0, 1.1 oder 1.2 mit Perfect Forward Secrecy. +
Falls Sie interessiert sind, nur diese SSL ciphers sind zugelassen: ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS +
In Bezug auf eingehende E-Mails, das erzwingen von absoluter Sicherheit könnte unter Umständen einen entfernen Klienten daran hindern E-Mails zuzustellen. Deswegen überlauben wir für unseren SMTP Server immer noch das SSLv3 Protokoll. Auf der anderen Seite, SMTP war sowieso nie durch POODLE betroffen. +
+
+ Beachtung: Weil Libremail auf unserem Server liegt können wir keine wahre Ende-zu-Ende Verschlüsselung erzwingen. Wir empfehlen aber trotzdem den Gebrauch von GnuPG. +

+
+

Warum? Wie verdient Ihr Geld?

+

Weil es Spaß macht und es nützlich ist. Libremail ist nicht dafür gebaut worden um Geld zu machen. +

+
+

Wie erstelle ich eine neue Adresse?

+

Schauen Sie hier nach.

+ +
+

Garantie

+

+ ES WIRD KEINERLEI GARANTIE IN IRGENDEINER ART UND WEISE GEWÄHRLEISTET, SEI ES ERREICHBARKEIT, BACKUPS ODER MISSBRAUCH. JEDER NUTZER IST FÜR SEIN EIGENES VERHALTEN VERANTWORTLICH. +

+
+
+
+
+{{template "footer.html" .Language}} diff --git a/html/alert.html b/html/alert.html new file mode 100644 index 0000000..aa4dd1a --- /dev/null +++ b/html/alert.html @@ -0,0 +1,24 @@ +{{if .Error}} +
+ {{range .Error}} + + {{end}} +
+{{end}} +{{if .Success}} +
+ {{range .Success}} + + {{end}} +
+{{end}} + diff --git a/html/footer.html b/html/footer.html new file mode 100644 index 0000000..6581cac --- /dev/null +++ b/html/footer.html @@ -0,0 +1,56 @@ + + + + + + + + + + diff --git a/html/header.html b/html/header.html new file mode 100644 index 0000000..8269f3d --- /dev/null +++ b/html/header.html @@ -0,0 +1,17 @@ + + + + + + + + {{.}} + + + + + + + + + diff --git a/html/howto.html b/html/howto.html new file mode 100644 index 0000000..72a4e3f --- /dev/null +++ b/html/howto.html @@ -0,0 +1,52 @@ +{{template "header.html" "How To | Libremail"}} +{{template "navbar.html"}} +{{template "alert.html" .}} + +
+
+
+

How to

+
+
+

Create new address

+

To create a new mail address follow and fill out this link. +
+ You can use email.iamfabulous.de or user.iamfabulous.de as a base domain, so e.g. 'post@email.iamfabulous.de' or 'tidyupmyroom@user.iamfabulous.de' are valid entries. +
+ Try it out, if the mail is already taken it will prompt you with more details. +

+
+

Login

+

The easiest way to login is using our webmail interface with your browser. You can find it here . +
+ Your login name is your full mail address. +
+
+ If you want to use your own client, see here for connection details. +

+
+

Change Password

+

+ You can easily change your password through the webinterface. You just need your old password in before. +
+ Follow this link here . +

+
+

Use other domains

+

It is possible to use other domains as well. If you own one, we can do the mail hosting for you. +

+

+ The requirements are a valid MX entry in your DNS. MX means 'mail exchange' and is a special resource record which points the responsible mail server. The correct entry is mx.iamfabulous.de. +
+ For hassle-free mail delivery a valid SPF entry is mandatory. A valid TXT record may look like +
+ v=spf1 mxipv4:62.210.138.105 -all. +

+

+ We also recommend to sign your mails with DKIM. To set up DKIM send me a notice, because it's not possible to automate this procedure. +

+
+
+
+
+{{template "footer.html" .Language}} diff --git a/html/howto_de.html b/html/howto_de.html new file mode 100644 index 0000000..76ce646 --- /dev/null +++ b/html/howto_de.html @@ -0,0 +1,49 @@ +{{template "header.html" "How To | Libremail"}} +{{template "navbar_de.html"}} +{{template "alert.html" .}} + +
+
+
+

How to

+
+
+

Neue Adresse

+

Um eine neue E-Mail Adresse zu erstellen folgen Sie diesem Link. +
+ Es steht u.a. email.iamfabulous.de oder user.iamfabulous.de als Domain zur Verfügung, zum Beispiel 'post@email.iamfabulous.de' oder 'tidyupmyroom@user.iamfabulous.de' sind gültige Adressen. +
+ Probieren Sie es aus. Wenn die Adresse schon vergeben ist, wird Ihnen eine Meldung mit mehr Informationen angezeigt. +

+
+

Login

+

Am einfachsten ist es, wenn Sie sich über Ihren Browser einloggen. Sie finden unser Webmail Angebot hier . +
+ Benutzen Sie Ihre volle E-Mail Adresse als Loginname. +
+
+ Wenn Sie Ihren eigenen Klienten (Smartphone oder Thunderbird etc.) benutzen wollen, können Sie hier Details zur Verbindungsherstellung einsehen. +

+
+

Passwort ändern

+

+ Sie können einfach und bequem Ihr Passwort über diese Webseite ändern. Sie benötigen dafür Ihr altes Passwort. +
+ Folgen Sie dafür einfach diesem Link. +

+
+

Eigene Domain

+

Es ist möglich Libremail auch mit anderen Domains zu verwenden. Wenn Sie eine eigene Domain besitzen, dann können wir uns um die E-Mail Geschichte kümmern. +

+

+ Verlangt wird ein gültiger MX Eintrag in Ihrem DNS. MX bedeutet 'Mail Exchange' und ist ein spezieller Eintrag welcher auf den verantwortlichen Mail Server zeigt. Der korrekte Eintrag lautet mx.iamfabulous.de. +
+ Für eine korrekte Mail Zustellung ist außerdem mindestens ein gültiger SPF Record im DNS notwendig. Ein gültiger Eintrag könnte als TXT Record so aussehen.
v=spf1 mxipv4:62.210.138.105 -all +

+

Wir empfehlen außerdem die Signierung der E-Mails mit DKIM. Sollten Sie einen DKIM Eintrag wünschen, setzen Sie sich mit mir in Kontakt, da dieser Vorgang nicht automatisiert werden kann. +

+
+
+
+
+{{template "footer.html" .Language}} diff --git a/html/index.html b/html/index.html new file mode 100644 index 0000000..4e5b2ee --- /dev/null +++ b/html/index.html @@ -0,0 +1,47 @@ +{{template "header.html" "Libremail"}} +{{template "navbar.html"}} +{{template "alert.html" .}} + +
+
+

Libremail

+

Tired of getting spam daily? You just need quickly a mail address? Or you own a domain and want to use it to recieve E-Mails? + You are in the right place. +
It's completly free and ad-free.

+

Sign Up »

+
+
+
+
+
+

Simple & Fast

+

It's 10 seconds to your new mail address. + Pick a free one and sign up.
+ It's free and we don't bite.

+

Sign up »

+
+
+

Secure

+

We do our best to keep up-to-date with the latest technologies and not only suggest, but rather enforce encryption on every step.

+

About us »

+
+
+

Own Domain

+

You want to send and recieve e-mails with your own domain? We will gladly do the mail hosting for you. Follow our instructions and we will do the rest. +

Read More »

+
+
+
+
+
+
+
+
+

Why

+

Libremail is the result from when I first needed a quick and simple E-Mail solution without much hassle. Now a lot of people are relying on mail delivery. We are even hosting some mailing lists here. + If you are interested you can follow my blog to read and find more projects I am working on.

+

Follow me »

+
+
+
+{{template "footer.html" .Language}} diff --git a/html/index_de.html b/html/index_de.html new file mode 100644 index 0000000..f563b9e --- /dev/null +++ b/html/index_de.html @@ -0,0 +1,46 @@ +{{template "header.html" "Libremail"}} +{{template "navbar_de.html"}} +{{template "alert.html" .}} + +
+
+

Libremail

+

Genervt from Spam? Sie brauchen nur ein E-Mail Adresse? Oder Sie besitzen eine eigene Domain und möchten darüber E-Mails versenden? + Hier sind Sie genau richtig! +
Komplett kostenlos und werbefrei!

+

Neue Adresse »

+
+
+
+
+
+

Schnell & Einfach

+

Nur noch 10 Sekunden bis zur neuen Mail Adresse. + Wählen Sie sich eine freie Adresse aus und lassen Sie sie registrieren. + Trauen Sie sich! Es ist frei wie in Freibier und wir beißen nicht.

+

Registrieren »

+
+
+

Sicher

+

Wir benutzen die aktuellesten Technologien und Methoden. Deswegen empfehlen wir nicht nur eine für den Nutzer transparente Verschlüsselung der Daten, sondern erzwingen sie wann und wo immer es geht. +

Über uns »

+
+
+

Eigene Domain

+

Sie verfügen über eine eigene Domain? Und Sie möchten E-Mails darüber versenden und empfangen können? Folgen Sie unserer Anleitung und wir kümmern uns um den Rest.

+

Lies wie es geht »

+
+
+
+
+
+
+
+

Warum

+

Libremail ist das Ergebnis meiner Bemühungen, als ich einen stressfreien E-Mail Anbieter ohne großes Brimborium drumherum gesucht habe. Inzwischen vertrauen einige Leute darauf, dass ihre E-Mails zugestellt werden. Wir betreiben sogar Mailing Listen auf diesem Server. + Wenn Sie interessiert sind, folgen Sie meinem Blog. Ich arbeite noch an anderen interessanten Projekten.

+

Lies mehr »

+
+
+
+{{template "footer.html" .Language}} diff --git a/html/navbar.html b/html/navbar.html new file mode 100644 index 0000000..77cec0f --- /dev/null +++ b/html/navbar.html @@ -0,0 +1,56 @@ + diff --git a/html/navbar_de.html b/html/navbar_de.html new file mode 100644 index 0000000..a4d38d1 --- /dev/null +++ b/html/navbar_de.html @@ -0,0 +1,56 @@ + diff --git a/html/password.html b/html/password.html new file mode 100644 index 0000000..c5f6741 --- /dev/null +++ b/html/password.html @@ -0,0 +1,76 @@ +{{template "header.html" "Change Password | Libremail"}} +{{template "navbar.html"}} +{{template "alert.html" .}} + +
+
+
+
+

Change your password!

+
+
+
+
+
+
+
+
+
+
+ + + + + +
+ +
+ +
+
+ + +
+ +
+ +
+
+ + +
+ +
+ +
+
+ +
+ + +
+ +
+ +
+
+ + +
+ +
+ +
+
+ +
+
+ +
+
+
+{{template "footer.html" .Language}} diff --git a/html/password_de.html b/html/password_de.html new file mode 100644 index 0000000..11ad57b --- /dev/null +++ b/html/password_de.html @@ -0,0 +1,76 @@ +{{template "header.html" "Passwort ändern | Libremail"}} +{{template "navbar_de.html"}} +{{template "alert.html" .}} + +
+
+
+
+

Ändern Sie ihr Passwort!

+
+
+
+
+
+
+
+
+
+
+ + + + + +
+ +
+ +
+
+ + +
+ +
+ +
+
+ + +
+ +
+ +
+
+ +
+ + +
+ +
+ +
+
+ + +
+ +
+ +
+
+ +
+
+ +
+
+
+{{template "footer.html" .Language}} diff --git a/html/privacy.html b/html/privacy.html new file mode 100644 index 0000000..03a2f2d --- /dev/null +++ b/html/privacy.html @@ -0,0 +1,44 @@ +{{template "header.html" "Privacy Policy | Libremail"}} +{{template "navbar.html"}} +{{template "alert.html" .}} + +
+
+
+

Privacy Policy

+
+
+

E-Mails

+

+ We do not read your e-mails. +

+
+

Public Information

+

+ We might make those information public at any time: +

    +
  • your registered mail address (existence of your email address can be checked during registration and password changing)
  • +
  • anonymized statistics, e.g. about disk space usage
  • +
  • anonymized data
  • +
+

+
+

Website

+

+ In common with other websites, log files are stored on the web server saving details such as the visitor's IP address, browser type, referring page and time of visit. +
+ + Cookies may be used to remember and analyze visitor preferences when interacting with the website. +

+
+

Logs

+

+ The server software may store logs about usage, this includes e.g. the time of login. We are using those logs to debug the application and prevent spamming. +

+
+

Please note we may change the privacy policy any moment without prior notice.

+
+
+
+
+{{template "footer.html" .Language}} diff --git a/html/privacy_de.html b/html/privacy_de.html new file mode 100644 index 0000000..cc4a0ec --- /dev/null +++ b/html/privacy_de.html @@ -0,0 +1,44 @@ +{{template "header.html" "Datenschutzerklärung | Libremail"}} +{{template "navbar_de.html"}} +{{template "alert.html" .}} + +
+
+
+

Datenschutzerklärung

+
+
+

E-Mails

+

+ Wir lesen nicht ihre E-Mails. +

+
+

Öffentliche Informationen

+

+ Folgende Informationen können jederzeit veröffentlicht werden: +

    +
  • ihre registrierte E-Mail Adresse (die Existenz kann während der Registrierung oder beim Password wechseln kontrolliert werden)
  • +
  • anonymisierte Statistiken, z.B. über den Speicherverbrauch
  • +
  • andere anonymisierte Daten
  • +
+

+
+

Website

+

+ So wie bei andere Webseiten werden Zugriffe automatisch vom Webserver geloggt. Das schließt u.a. die IP Adresse des Besuchers ein, der Browser, der Referer sowie die Zeit des Besuchs. +
+ Cookies werden benutzt um Besucher beim Besuch und Interaktion mit der Website wiederzuerkennen, sowie werden Statistiken über Nutzung der Website erhoben. + +

+
+

Logs

+

+ Die Server Software speichert automatisch Daten über die Benutzung des Services, das schließt u.a. den Zeitpunkt des Logins ein. Wir nutzen diese Logs um Fehler in der Anwendung zu finden, sowie um Spam und Ausnutzung zu erkennen und zu verhindern. +

+
+

Bitte beachten Sie, dass die Datenschutzerklärung jederzeit ohne vorherige Ankündigung geändert werden kann.

+
+
+
+
+{{template "footer.html" .Language}} diff --git a/html/register.html b/html/register.html new file mode 100644 index 0000000..2bd62b0 --- /dev/null +++ b/html/register.html @@ -0,0 +1,98 @@ +{{template "header.html" "Register | Libremail"}} +{{template "navbar.html"}} +{{template "alert.html" .}} + +
+
+
+
+

You only need to sign up!

+
+
+
+
+
+
+
+
+
+
+ + + + + +
+ +
+ +
+
+ + +
+ +
+ +
+
+ + +
+ +
+ +
+
+ + +
+ +
+ +
+
+ + +
+
+ +
+
+ + +
+ +
+ +
+
+ +
+
+ +
+
+
+
+
+
+
+

Your password

+

We don't store your password in clear text. +
It is needed to authenticate yourself with the mail server. Please choose a strong password.

+
+
+

After Sign up

+

You can use the webmail interface to login or connect a custom client like your phone or thunderbird.

+
+
+
+{{template "footer.html" .Language}} diff --git a/html/register_de.html b/html/register_de.html new file mode 100644 index 0000000..17d9550 --- /dev/null +++ b/html/register_de.html @@ -0,0 +1,98 @@ +{{template "header.html" "Registrierung | Libremail"}} +{{template "navbar_de.html"}} +{{template "alert.html" .}} + +
+
+
+
+

Sie müssen sich nur registrieren!

+
+
+
+
+
+
+
+
+
+
+ + + + + +
+ +
+ +
+
+ + +
+ +
+ +
+
+ + +
+ +
+ +
+
+ + +
+ +
+ +
+
+ + +
+
+ +
+
+ + +
+ +
+ +
+
+ +
+
+ +
+
+
+
+
+
+
+

Ihr Passwort

+

Wir speichern Ihr Passwort nicht im Klartext. +
Es ist nötig um Ihre E-Mails abzurufen. Bitte wählen Sie ein möglichst starkes Passwort aus.

+
+
+

Nach dem Erstellen

+

Sie könne sich mit unserem Webmail Interface einloggen oder Ihr Telefon verbinden.

+
+
+
+{{template "footer.html" .Language}} diff --git a/html/server.html b/html/server.html new file mode 100644 index 0000000..ef2929c --- /dev/null +++ b/html/server.html @@ -0,0 +1,79 @@ +{{template "header.html" "Server Details | Libremail"}} +{{template "navbar.html"}} +{{template "alert.html" .}} + +
+
+
+

Server details

+
+
+

Everything you need to know to use Libremail.

+
    +
  • +

    Webmail

    +

    You can use the webmail interface to browse your emails with your webbrowser of choice. Use this link to open roundcube now. +
    + Use your mail address and the passwort as credentials to log in. +
    + The TLS certificate is signed to 'webmail.iamfabulous.de' +

    +

    + Please note: Unfortunalety roundcube does not support GPG encryption yet. +

    +
  • +
  • +

    SMTP

    +

    We use Postfix as our SMTP server. It's responsible to send and recieve mails. +
    + The TLS certificate is signed to 'mx.iamfabulous.de'

    +

    Ports:

    +
      +
    • + 25 STARTTLS +
    • +
    • + 465 SMTPS +
    • +
    • + 587 STARTTLS +
    • +
    +
  • +
  • +

    IMAP

    +

    IMAP is used to manage the mails on the server. Nearly all of the clients (e.g. your phone or thunderbird) use IMAP. Dovecot is responsible for this task. +
    + The TLS certificate is signed to 'mx.iamfabulous.de'

    +

    Ports:

    +
      +
    • + 143 TLS +
    • +
    • + 993 TLS +
    • +
    +
  • +
  • +

    POP3

    +

    POP3 is used to pull the mails from the server to the client e.g. your phone or thunderbird. Dovecot also handles your POP3 connections. +
    + The TLS certificate is signed to 'mx.iamfabulous.de'

    +

    Ports:

    +
      +
    • + 110 TLS +
    • +
    • + 995 TLS +
    • +
    +
  • +
+ +
+
+
+
+{{template "footer.html" .Language}} diff --git a/html/server_de.html b/html/server_de.html new file mode 100644 index 0000000..eeb26b9 --- /dev/null +++ b/html/server_de.html @@ -0,0 +1,81 @@ +{{template "header.html" "Server Details | Libremail"}} +{{template "navbar_de.html"}} +{{template "alert.html" .}} + +
+
+
+

Server-Details

+
+
+

Alles was Sie wissen müssen, um Libremail zu benutzen.

+
    +
  • +

    Webmail

    +

    Nutzen Sie Ihren Browser, um Ihre E-Mails zu lesen. Unser Webmail finden Sie unter diesem Link . +
    + Loggen Sie sich mit Ihrer kompletten E-Mail Adresse und Ihrem Passwort ein. +
    + Das TLS Zertifikat ist auf 'webmail.iamfabulous.de' signiert. +

    +

    + Bitte beachten Sie: Leider unterstützt Roundcube noch keine GPG Verschlüsselung.

    +
  • +
  • +

    SMTP

    +

    Wir benutzen Postfix als unseren SMTP Server, um E-Mails zu versenden oder zu empfangen. +
    + Das TLS Zertifikat ist auf 'mx.iamfabulous.de' signiert. +

    +

    Ports:

    +
      +
    • + 25 STARTTLS +
    • +
    • + 465 SMTPS +
    • +
    • + 587 STARTTLS +
    • +
    +
  • +
  • +

    IMAP

    +

    IMAP wird benutzt, um Ihre E-Mails auf dem Server zu verwalten. So gut wie alle Klienten (zum Beispiel Ihr Smartphone oder Thunderbird) sprechen IMAP. Bei uns ist Dovecot dafür verantwortlich, dass alles reibungslos klappt. +
    + Das TLS Zertifikat ist auf 'mx.iamfabulous.de' signiert. +

    +

    Ports:

    +
      +
    • + 143 TLS +
    • +
    • + 993 TLS +
    • +
    +
  • +
  • +

    POP3

    +

    Mit POP3 werden die E-Mails von dem Server auf Ihren Computer geladen. POP3 stellt eine (veraltete) Alternative zu IMAP dar. Auch dafür ist Dovecot verantwortlich. +
    + Das TLS Zertifikat ist auf 'mx.iamfabulous.de' signiert. +

    +

    Ports:

    +
      +
    • + 110 TLS +
    • +
    • + 995 TLS +
    • +
    +
  • +
+ +
+
+
+
+{{template "footer.html" .Language}} diff --git a/html/tos.html b/html/tos.html new file mode 100644 index 0000000..16ca231 --- /dev/null +++ b/html/tos.html @@ -0,0 +1,40 @@ +{{template "header.html" "Terms of Service | Libremail"}} +{{template "navbar.html"}} +{{template "alert.html" .}} + +
+
+
+

Terms of Service

+
+
+

Conditions to Use

+

+

    +
  • no spam
  • +
  • no content illegal in Germany or France
  • +
  • no getting use abuse complaints
  • +
  • no sending fake abuse complaints.
  • +
+ We will comply all federal laws regarding online content hosting and will report any illegal activity to the relevant authorities. + +

+
+

Delivery Problems

+

+ Mail delivery is difficult and depends on a large amount of circumstances. Sometimes things will go wrong and not everytime we are at fault. +
+ If you have any problems, get in contact. +

+
+

Warranty

+

+ THERE IS ABSOLUT NO WARRANTY IN ANY WAY, BE IT UPTIME, BACKUP OR ABUSE. THE USER IS RESPONSIBLE FOR HIS OWN DOING. +

+
+

Please note we may change the terms of use any moment without prior notice.

+
+
+
+
+{{template "footer.html" .Language}} diff --git a/html/tos_de.html b/html/tos_de.html new file mode 100644 index 0000000..8de8894 --- /dev/null +++ b/html/tos_de.html @@ -0,0 +1,39 @@ +{{template "header.html" "Nutzungsbedingungen | Libremail"}} +{{template "navbar.html"}} +{{template "alert.html" .}} + +
+
+
+

Nutzungsbedingungen

+
+
+

Generelle Nutzungsbedingungen

+

+

    +
  • kein Spam
  • +
  • kein Inhalt der in Deutschland oder Frankreich illegal ist
  • +
  • kein Missbrauch
  • +
  • kein Senden von gefälschten Beschwerdebriefen
  • +
+ Wir befolgen alle Gesetze bezüglich der Veröffentlichung von Inhalten im Internet und werden alle illegalen Aktivitäten an die entsprechenden Behörden melden. +

+
+

Zustellungsprobleme

+

+ E-Mail Zustellung ist kompliziert und hängt von viele verschiedenen Faktoren ab. Manchmal gehen Sachen schief und nicht immer können wir es verhinden. +
+ Wenn Sie ein Problem bemerken treten Sie in Kontakt mit uns über das Kontaktformular. +

+
+

Garantie

+

+ ES WIRD KEINERLEI GARANTIE IN IRGENDEINER ART UND WEISE GEWÄHRLEISTET, SEI ES ERREICHBARKEIT, BACKUPS ODER MISSBRAUCH. JEDER NUTZER IST FÜR SEIN EIGENES VERHALTEN VERANTWORTLICH. +

+
+

Bitte beachten Sie, dass die Nutzungsbedingungen jederzeit ohne vorherige Ankündigung geändert werden können.

+
+
+
+
+{{template "footer.html" .Language}} diff --git a/html/user.html b/html/user.html new file mode 100644 index 0000000..58798ce --- /dev/null +++ b/html/user.html @@ -0,0 +1,46 @@ +{{template "header.html" "User | Libremail"}} +{{template "navbar.html"}} +{{template "alert.html" .}} + +
+
+
+

User

+
+
+

Change Password

+

+ You can change your password here. +
+ Change Password » +

+
+

Create new address

+

+ Looking for a new mail address? Click here. +
+ Create New Account» +

+
+

Login

+

The easiest way is to use our webmail interface. You can find it here . +
+ Log in with your full mail address and your password. +
+ Login with your browser » +
+
+ If you want to use your own client, see here for connection details. +
+ Connection details » +

+ +
+
+
+
+{{template "footer.html" .Language}} diff --git a/html/user_de.html b/html/user_de.html new file mode 100644 index 0000000..a1e67d8 --- /dev/null +++ b/html/user_de.html @@ -0,0 +1,43 @@ +{{template "header.html" "Nutzer Übersicht | Libremail"}} +{{template "navbar_de.html"}} +{{template "alert.html" .}} + +
+
+
+

Nutzer Übersicht

+
+
+

Ändere das Passwort

+

+ Sie können hier Ihr Passwort ändern. +
+ Ändere dein Passwort » +

+
+

Erstelle eine neue Adresse

+

+ + Sie wollen eine neue E-Mail Adresse? Klicken Sie hier. +
+ Neue E-Mail Adresse » +

+
+

Login

+

+ Verwalten Sie Ihre neue E-Mail Adresse einfach über unser intuitives webbasiertes Portal. Sie finden es hier . +
+ Loggen Sie sich mit Ihrer E-Mail Adresse und Ihrem Passwort ein. +
+ Logge dich in dein E-Mail Konto ein » +
+
+ Wenn Sie Ihren eigenen Klienten nutzen wollen, schauen Sie hier für Verbindungsdetails. +
+ Verbindungsdetails » +

+
+
+
+
+{{template "footer.html" .Language}} diff --git a/main.go b/main.go index 208c9bc..7659cd5 100644 --- a/main.go +++ b/main.go @@ -14,8 +14,7 @@ var decoder = schema.NewDecoder() var store = sessions.NewCookieStore([]byte(os.Getenv("FREEMAIL_SECRET"))) -var mainTempl = template.Must(template.New("global").Funcs(template.FuncMap{"add": add}).ParseGlob("./views/*.html")) -var emailTempl = template.Must(template.New("email").Funcs(template.FuncMap{"add": add}).ParseGlob("./views/email/*.html")) +var mainTempl = template.Must(template.New("global").Funcs(template.FuncMap{"add": add}).ParseGlob("./html/*.html")) func add(x, y int) int { return x + y diff --git a/statistics/mailgraph.cgi b/statistics/mailgraph.cgi index f911769..3deb69a 100644 --- a/statistics/mailgraph.cgi +++ b/statistics/mailgraph.cgi @@ -252,9 +252,6 @@ a:hover { text-decoration: underline; }
  • Change Password