Email » History » Version 6
Paweł Widera, 06/15/2012 03:36 PM
E-mail migrated to Gmail.
1 | 1 | Anonymous | = Email Configuration = |
---|---|---|---|
2 | 3 | Anonymous | |
3 | 3 | Anonymous | == Receiving Emails: IMAP Configuration == |
4 | 6 | Paweł Widera | Due to shutdown of marian, the ProCKSI e-mail account was migrated to Gmail. |
5 | 3 | Anonymous | |
6 | 6 | Paweł Widera | '''NOTE''': Having a separate account for ''procksi'' was necessary before having a dedicated ProCKSI cluster. The IMAM/POP functionality should be entirely transferred to the ProCKSI master node at some point. |
7 | 3 | Anonymous | |
8 | 6 | Paweł Widera | ||User name || procksi.net |
9 | 3 | Anonymous | ||Password || see [wiki:secretAuthentication Authentication] |
10 | 6 | Paweł Widera | ||IMAP server || imap.gmail.com (SSL) |
11 | 6 | Paweł Widera | ||SMTP server || smtp.gmail.com (STARTTLS 587) |
12 | 6 | Paweł Widera | ||Email address || procksi.net@gmail.com |
13 | 3 | Anonymous | |
14 | 3 | Anonymous | |
15 | 3 | Anonymous | == Sending Emails: SMPT Configuration == |
16 | 3 | Anonymous | The ProCKSI server component send emails to the user for several occasions. In order to make sure that they are delivered correctly even when the internet is temporarily not available, a local SMTP server (''postfix'') is set up. This will accept emails from the private network only, store them temporarily (if necessary), and forward them to an email relay server. |
17 | 1 | Anonymous | |
18 | 2 | Anonymous | Additionally, all system mails sent by the master and slave nodes shall be forwared to the procksi email account in order to make all available at one point. |
19 | 1 | Anonymous | |
20 | 2 | Anonymous | |
21 | 1 | Anonymous | Make sure that ''postfix'' is the default mailing software (and not ''sendmail''!). |
22 | 1 | Anonymous | {{{ |
23 | 1 | Anonymous | system-switch-mail -activate postfix |
24 | 1 | Anonymous | }}} |
25 | 1 | Anonymous | |
26 | 1 | Anonymous | Make the following changes to the ''postfix ''configuration file (''/etc/postfix/main.cf''): |
27 | 1 | Anonymous | {{{ |
28 | 1 | Anonymous | myhostname = procksi.cs.nott.ac.uk |
29 | 1 | Anonymous | mydomain = cs.nott.ac.uk |
30 | 1 | Anonymous | myorigin = $mydomai |
31 | 1 | Anonymous | inet_interfaces = all |
32 | 1 | Anonymous | mydestination = $myhostname, localhost.$mydomain, localhost |
33 | 1 | Anonymous | mynetworks_style = subnet |
34 | 1 | Anonymous | virtual_alias_maps = hash:/etc/postfix/virtual |
35 | 4 | Paweł Widera | relayhost = mail.cs.nott.ac.uk |
36 | 1 | Anonymous | }}} |
37 | 1 | Anonymous | |
38 | 1 | Anonymous | Create or modify ''/etc/postfix/virtual'': |
39 | 1 | Anonymous | {{{ |
40 | 1 | Anonymous | postmaster postmaster@localhost |
41 | 1 | Anonymous | adm root@localhost |
42 | 5 | Paweł Widera | root admin@procksi.net |
43 | 5 | Paweł Widera | procksi admin@procksi.net |
44 | 1 | Anonymous | }}} |
45 | 1 | Anonymous | |
46 | 1 | Anonymous | Generate the corresponding database file (''virtual.db''): |
47 | 1 | Anonymous | {{{ |
48 | 1 | Anonymous | postmap /etc/postfix/virtual |
49 | 1 | Anonymous | }}} |
50 | 1 | Anonymous | |
51 | 1 | Anonymous | Make sure that the postfix daemon is running, and that it will start at boot time: |
52 | 1 | Anonymous | {{{ |
53 | 1 | Anonymous | /sbin/service postfix start |
54 | 1 | Anonymous | /sbin/chkconfig --add postfix |
55 | 1 | Anonymous | /sbin/chkconfig postfix on |
56 | 1 | Anonymous | }}} |
57 | 1 | Anonymous | |
58 | 1 | Anonymous | Make sure that the firewall is not open for port 25 or port 28! |
59 | 1 | Anonymous | |
60 | 1 | Anonymous | Check that the STMTP server in ''/home/procksi/latest/conf/main.ini'' is set correctly set to ''master01.procksi.local'' |