====== Mail system ====== Modeemi membership includes an e-mail address in format //username@modeemi.fi//, and 1GB space for your messages (hopefully soon we increase that limit). //Name.Surname@modeemi.fi// alias is available upon request, and it is possible to use it as well during email submission. You can receive and send email with mail client of your choice - //Thunderbird//, or simply //Gmail app for android//. ===== Mail client parameters ===== === Incoming mail === ^ parameter ^ value ^ | Type | imap | | Server address | mail.modeemi.fi | | Port | 993 | | Security | SSL | | Authentication | password-cleartext | | Username | //your modeemi username// | === Outgoing mail === ^ parameter ^ value ^ | Type | smtps | | Server address | mail.modeemi.fi | | Port | 465 | | Security | SSL | | Authentication | password-cleartext | | Username | //your modeemi username// | === Outgoing mail (alternative) === ^ parameter ^ value ^ | Type | submission(s) | | Server address | mail.modeemi.fi | | Port | 587 | | Security | STARTTLS | | Authentication | password-cleartext | | Username | //your modeemi username// | ===== Mail system block diagram ===== | {{:modeemi:pub:mail_system_new.svg?650&units:%|}} | | A block diagram presenting our mail system | ===== Sieve config ===== If You are member of many aliases, You may like to send them to different folders in your mailbox, depending which alias mail was sent to. Sieve allow You to set up that kind of organizing mailbox - it catches the incoming messages, and depending on Your settings can put them in specific folder, or even do something else! To configure sieve for your account, create file //.dovecot.sieve// in Your home directory (///home/username//), and create config which looks like that (but adjust it so that it matches your needs). If You define that some mails are redirected to specific folder - first create it (You can do so in your mail client) - they are not automatically created by Sieve. # My Sieve Filter # List the extensions used by this script require ["fileinto", "reject"]; # Messages bigger than 2MB will be rejected with an error message if size :over 40000K { reject "I am unable to accept email larger than 40MB."; } elsif anyof ( address :matches "from" "*report*@*", header :contains "subject" "Report", address :matches "from" "*dmarc*@*", header :contains "subject" "*dmarc*" ) { fileinto "dmarc"; } elsif address :is ["To"] "doors@modeemi.fi" { fileinto "doors"; } elsif address :matches "To" "hallitus@*" { fileinto "Board"; } elsif address :matches "To" "board@*" { fileinto "Board"; } elsif address :matches "To" "*@tuni.fi" { fileinto "tuni"; } elsif address :matches "To" "*@trey.fi" { fileinto "trey"; } elsif not anyof( address :is "To" "username@modeemi.fi", address :is "To" "username@modeemi.cs.tut.fi" ) { fileinto "Others"; }