From 0006ca391f4495e6c51d31e198729ca637bd94ac Mon Sep 17 00:00:00 2001 From: Mic92 Date: Wed, 17 Feb 2016 15:46:07 +0000 Subject: [PATCH] Updated EMail (markdown) --- howto/EMail.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/howto/EMail.md b/howto/EMail.md index 9c8aeee..60474d6 100644 --- a/howto/EMail.md +++ b/howto/EMail.md @@ -8,6 +8,21 @@ Running email in dn42 is not very complicated. Your SMTP daemon probably alread There are forwarding rules for _PERSON_ @ dn42.org to the mail addresses which hav been given in the registry. Please note that the trailing `-DN42` is stripped from the local part. +## Test email + +Send an email to `test@evenet.dn42` to check if your mail setup is correct. This host will reply using the following +sieve filter: + +``` +require ["regex", "variables", "vacation-seconds"]; +if header :contains "To" ["test@evenet.dn42"] { + if header :matches "Subject" "*" { + set "subject_was" ": ${1}"; + } + vacation :addresses ["test@evenet.dn42"] :seconds 60 :subject "Re: ${subject_was}" "Your dn42 email setup works!"; +} +``` + ####Example#### | Handle | Alias | Redirection |