0006ca391f4495e6c51d31e198729ca637bd94ac
howto/EMail.md
... | ... | @@ -8,6 +8,21 @@ Running email in dn42 is not very complicated. Your SMTP daemon probably alread |
8 | 8 | |
9 | 9 | 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. |
10 | 10 | |
11 | +## Test email |
|
12 | + |
|
13 | +Send an email to `test@evenet.dn42` to check if your mail setup is correct. This host will reply using the following |
|
14 | +sieve filter: |
|
15 | + |
|
16 | +``` |
|
17 | +require ["regex", "variables", "vacation-seconds"]; |
|
18 | +if header :contains "To" ["test@evenet.dn42"] { |
|
19 | + if header :matches "Subject" "*" { |
|
20 | + set "subject_was" ": ${1}"; |
|
21 | + } |
|
22 | + vacation :addresses ["test@evenet.dn42"] :seconds 60 :subject "Re: ${subject_was}" "Your dn42 email setup works!"; |
|
23 | +} |
|
24 | +``` |
|
25 | + |
|
11 | 26 | ####Example#### |
12 | 27 | |
13 | 28 | | Handle | Alias | Redirection | |