Jump to: navigation, search

Difference between revisions of "EMail"

Difference between revisions of "EMail"

(WebMail)
(add sieve info)
Line 20: Line 20:
 
== WebMail ==
 
== WebMail ==
 
If you don't have access at an imap client, you can manage your mails using the web interface. https://mail.tolabaki.gr
 
If you don't have access at an imap client, you can manage your mails using the web interface. https://mail.tolabaki.gr
 +
 +
== Filtering ==
 +
Our email server supports [http://www.ietf.org/rfc/rfc5228.txt sieve] for filtering.
 +
 +
First create your filter file locally (this is just an example file here):
 +
<nowiki>$ cat myfilter.sieve
 +
require ["fileinto"];
 +
 +
if header :contains ["X-List-Administrivia"] ["yes"] {
 +
        fileinto "list-notifications";
 +
        stop;
 +
}
 +
 +
if header :matches "List-Id" "*<saloni.tolabaki.gr>" {
 +
        fileinto "saloni";
 +
}
 +
if header :matches "List-Id" "*<xestra.tolabaki.gr>" {
 +
        fileinto "xestra";
 +
}
 +
if header :matches "List-Id" "*<commonsfest.tolabaki.gr>" {
 +
        fileinto "commonsfest";
 +
}</nowiki>
 +
 +
You can upload a new filter using the command:
 +
$ sieve-connect --nosslverify --noclearauth -s mail.tolabaki.gr -u <your username> --upload --localsieve myfilter.sieve
 +
 +
You can upload a filter as many times as you want, it will always overwrite the previous version. You can also upload multiple filters, but only one of them can be active at a time.
 +
After you are done uploading, you need to activate the desired filter by using the command:
 +
$ sieve-connect --nosslverify --noclearauth -s mail.tolabaki.gr -u <your username> --activate --localsieve myfilter.sieve
 +
 +
In order to list the available filters on the server and verify what you have done, you can run:
 +
$ sieve-connect --nosslverify --noclearauth -s mail.tolabaki.gr -u <your username> --list
 +
 +
If you want to download one of the filters, you can use:
 +
$ sieve-connect --nosslverify --noclearauth -s mail.tolabaki.gr -u <your username> --download --localsieve myfilter.sieve
 +
 +
Our mail server uses dovecot/pigeonhole for the sieve filters. You can find more information and resources about this software [http://wiki2.dovecot.org/Pigeonhole/Sieve here] (including more examples, what are the implemented/supported commands, etc...)
 +
 +
Please note that spam filtering is implemented globally for all users. There is no need to add rules for spam in your filters.

Revision as of 03:11, 21 September 2014

Email hosting is provided for "tolabaki.gr" domain. All registered users own an email of the %u@tolabaki.gr format.

Thunderbird/Other clients

To add tolabaki.gr at your favorite client, create a new mail account and add the following settings.

IMAPS

  • host: imap.tolabaki.gr
  • port: 993
  • encryption: SSL
  • authentication: NORMAL

SMTP

  • host: smtp.tolabaki.gr
  • port: 25 or 587
  • encryption: STARTTLS
  • authentication: NORMAL

WebMail

If you don't have access at an imap client, you can manage your mails using the web interface. https://mail.tolabaki.gr

Filtering

Our email server supports sieve for filtering.

First create your filter file locally (this is just an example file here):

$ cat myfilter.sieve 
require ["fileinto"];

if header :contains ["X-List-Administrivia"] ["yes"] {
        fileinto "list-notifications";
        stop;
}

if header :matches "List-Id" "*<saloni.tolabaki.gr>" {
        fileinto "saloni";
}
if header :matches "List-Id" "*<xestra.tolabaki.gr>" {
        fileinto "xestra";
}
if header :matches "List-Id" "*<commonsfest.tolabaki.gr>" {
        fileinto "commonsfest";
}

You can upload a new filter using the command:

$ sieve-connect --nosslverify --noclearauth -s mail.tolabaki.gr -u <your username> --upload --localsieve myfilter.sieve

You can upload a filter as many times as you want, it will always overwrite the previous version. You can also upload multiple filters, but only one of them can be active at a time. After you are done uploading, you need to activate the desired filter by using the command:

$ sieve-connect --nosslverify --noclearauth -s mail.tolabaki.gr -u <your username> --activate --localsieve myfilter.sieve

In order to list the available filters on the server and verify what you have done, you can run:

$ sieve-connect --nosslverify --noclearauth -s mail.tolabaki.gr -u <your username> --list

If you want to download one of the filters, you can use:

$ sieve-connect --nosslverify --noclearauth -s mail.tolabaki.gr -u <your username> --download --localsieve myfilter.sieve

Our mail server uses dovecot/pigeonhole for the sieve filters. You can find more information and resources about this software here (including more examples, what are the implemented/supported commands, etc...)

Please note that spam filtering is implemented globally for all users. There is no need to add rules for spam in your filters.