Upon selection of "Mail delivery settings" from the menu on the left, following changes can be made in the "Redirection" tab:
If you don't want to activate the email forwarding, choose "Do not redirect".
If you pick this option, emails will be forwarded only to the address specified in the field below without sending a copy to your in.tum/ma.tum account.
If you want your emails to be sent both to your in.tum/ma.tum address and the one you've entered, this option should be selected.
If the out-of-office notification is activated, an automatic reply will be sent to everyone, who's sent an email to this in.tum/ma.tum address.
In order to set this function up, check the Send automatic vacation replies box. You should then define the beginning and the end of your leave and enter your vacation message. Finally, click on OK so that the changes are taken into effect.If the "Use custom spam filter settings" box is activated, all in.tum/ma.tum spam e-mails will be filtered. Here the "Spam probability level" is especially significant.
If you receive too many spam e-mails, you can shift the spam probability level value to the left (reduce it). Only those emails will then be filtered, which are classified as spam with a certain limited probability. The lower its value is, the bigger the amount of filtered mails will be.
If a lot of emails are marked as spam and land in the Spam/Junk Mail folder, you can shift the spam probability level value to the right (increase it). Only those emails will then be filtered, which are classified as spam with a high probability. This way the amount of detected and filtered spam mails is reduced: the bigger the value is, the lower the quantity of filtered mails will be.
The recommended spam probability level value is 7.
For these settings Sieve commands are used.
The first line of a Sieve script contains require ["Modulname1", "Modulname2"], so that the respective extensions can be employed.
require ["fileinto", "mailbox", "copy", "envelope", "imap4flags"];If the keyword TODO is included in the subject of the incoming e-mail, then it gets forwarded to max.mustermann@tum.de without a local copy.
if header :contains "subject" "TODO"{ redirect "max.mustermann@tum.de"; stop; }If the keyword TODO is included in the subject of the incoming e-mail, then it gets forwarded to max.mustermann@tum.de while also keeping a local copy.
if header :contains "subject" "TODO"{ redirect :copy "max.mustermann@tum.de"; stop; }If the e-mail is sent by muster@in.tum.de, then it gets forwarded to reisebuero@in.tum.de
if address :contains "From" "muster@in.tum.de"{ redirect "reisebuero@in.tum.de"; stop; }If the e-mail is sent by muster@in.tum.de, then it gets moved to the Inbox folder of the in.tum/ma.tum account and then forwarded to reisebuero@in.tum.de.
if address :contains "From" "muster@in.tum.de" { redirect "reisebuero@in.tum.de"; fileinto "INBOX" stop; }If the e-mail is sent by muster@in.tum.de, then it gets moved to the reisebuero folder of the in.tum/ma.tum account, which is created in the process in case it doesn't exist yet, and then forwarded to reisebuero@in.tum.de.
if address :contains "From" "muster@in.tum.de"{ redirect "reisebuero@in.tum.de"; fileinto :create "INBOX.reisebuero"; stop; }
require ["fileinto", "mailbox", "copy", "envelope", "imap4flags"];If the keyword TODO is included in the subject of the incoming e-mail, then it gets moved to the test folder, which is created in the process in case it doesn't exist yet.
if header :contains "subject" "TODO"{ fileinto :create "INBOX.test"; stop; }If the keyword TODO is included in the subject of the incoming e-mail, then it gets marked as read and then moved to the test folder, which is created in the process in case it doesn't exist yet.
if header :contains "subject" "TODO"{ fileinto :create "INBOX.test"; setflag "\\Seen"; stop; }If the e-mail is sent by muster@in.tum.de, then it gets moved to the test folder, which is created in the process in case it doesn't exist yet.
if address :contains "From" "muster@in.tum.de"{ fileinto "INBOX.test"; stop; }If the e-mail is sent by muster@in.tum.de, then it gets marked as read and then moved to the test folder, which is created in the process in case it doesn't exist yet.
if address :contains "From" "muster@in.tum.de"{ fileinto :create "INBOX.test"; setflag "\\Seen"; stop; }If the e-mail is sent by muster@in.tum.de, then it gets moved to the reisebuero folder of the in.tum/ma.tum account, which is created in the process in case it doesn't exist yet, and then forwarded to reisebuero@in.tum.de.
if address :contains "From" "muster@in.tum.de"{ redirect "reisebuero@in.tum.de"; fileinto :create "INBOX.reisebuero"; stop; }
If an e-mail in the mail server has a spam level value of 7, then it gets moved to spam folder in case it exists. Otherwise it gets created first.
if header :contains "X-Spam-Level" "*******" { fileinto :create "INBOX.Spam"; stop; }
If an e-mail in the mail server is marked as spam, then it gets moved to the spam folder in case it exists. Otherwise it gets created first.
if header :contains "X-Spam-Flag" "YES" { fileinto :create "INBOX.Spam"; stop; }If the e-mail isn't marked as spam, then it gets forwarded to lr89rbg@mytum.de. Otherwise it gets moved to the spam folder, which is first created in case it doesn't exist yet.
if not header :contains "X-Spam-Flag" "YES" { redirect "lr89rbg@mytum.de"; } else { fileinto :create "Inbox.Spam"; }
If any of the keywords is contained in the e-mail, then it gets moved to the spam folder.
if header :contains "XXX" "Erpressung" "Warning" "Warnung" "Strafe"{ fielinto "INBOX.Spam"; stop; }
If the e-mail is sent by one of the e-mail addresses, then it gets moved to the spam folder, which is first created in case it doesn't exist yet.
if header :contains "From" ["emailadresse1","emailadresse2"] { fielinto "INBOX.Spam"; stop; }
require ["fileinto", "mailbox", "copy", "envelope", "imap4flags"];
If the subject of the incoming e-mail includes the keyword "facebook", then the e-mail gets discarded.
if header :contains "subject" "facebook"{ discard; stop; }If the e-mail is sent by werbung@ebay.de, then it gets discarded.
if address :contains "From" "werbung@ebay.de"{ discard; stop; }
If the e-mail is sent by one of the specified e-mail addresses, it gets discarded immediately.
if header :contains "From" ["emailadresse1","emailadresse2"] { discard; stop; }
If someone keeps sending e-mails under fake names, such as tom-xxx, replacing the x characters with random numbers in the process, then the e-mails can be discarded with the Sieve command below.
require ["mailbox"]; if envelope :matches "from" "*tom-???@*" { discard; stop; }
require ["mailbox"];
If someone owns the e-mail address musterma@in.tum.de and an e-mail gets sent to e.g. musterma+studium@in.tum.de, then this email lands in the Inbox folder of the musterma@in.tum.de e-mail account. The Sieve command creates the studium folder in case it doesn't exist yet and relocates the e-mail with original recipient musterma+studium@in.tum.de to it.if envolope :matches "to" "*+studium@*" { fileinto :create "INBOX.studium"; stop; }
So, if you want to test this function, you must use another address (@mytum.de, @tum.de, @gmail, etc.)