Email » History » Version 8
Paweł Widera, 12/18/2013 02:00 PM
Table formatting corrected. SMTP server and domain updated.
1 | 1 | Anonymous | |
---|---|---|---|
2 | 7 | Paweł Widera | h1. Email Configuration |
3 | 1 | Anonymous | |
4 | 7 | Paweł Widera | h2. Receiving Emails: IMAP Configuration |
5 | 7 | Paweł Widera | |
6 | 7 | Paweł Widera | Due to shutdown of marian, the [[ProCKSI]] e-mail account was migrated to Gmail. |
7 | 7 | Paweł Widera | |
8 | 1 | Anonymous | *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. |
9 | 1 | Anonymous | |
10 | 8 | Paweł Widera | || User name || procksi.net || |
11 | 8 | Paweł Widera | || Password || see [[secretAuthentication|Authentication]] || |
12 | 8 | Paweł Widera | || IMAP server || imap.gmail.com (SSL) || |
13 | 8 | Paweł Widera | || SMTP server || smtp.gmail.com (STARTTLS 587) || |
14 | 8 | Paweł Widera | || Email address || procksi.net@gmail.com || |
15 | 1 | Anonymous | |
16 | 7 | Paweł Widera | h2. Sending Emails: SMPT Configuration |
17 | 7 | Paweł Widera | |
18 | 7 | Paweł Widera | 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. |
19 | 7 | Paweł Widera | |
20 | 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. |
21 | 1 | Anonymous | |
22 | 1 | Anonymous | |
23 | 1 | Anonymous | Make sure that _postfix_ is the default mailing software (and not _sendmail_!). |
24 | 1 | Anonymous | <pre> |
25 | 1 | Anonymous | system-switch-mail -activate postfix |
26 | 1 | Anonymous | </pre> |
27 | 7 | Paweł Widera | |
28 | 1 | Anonymous | Make the following changes to the _postfix _configuration file (_/etc/postfix/main.cf_): |
29 | 7 | Paweł Widera | <pre> |
30 | 8 | Paweł Widera | myhostname = procksi.ncl.ac.uk |
31 | 8 | Paweł Widera | mydomain = ncl.ac.uk |
32 | 1 | Anonymous | myorigin = $mydomai |
33 | 1 | Anonymous | inet_interfaces = all |
34 | 1 | Anonymous | mydestination = $myhostname, localhost.$mydomain, localhost |
35 | 1 | Anonymous | mynetworks_style = subnet |
36 | 1 | Anonymous | virtual_alias_maps = hash:/etc/postfix/virtual |
37 | 8 | Paweł Widera | relayhost = smtp.ncl.ac.uk |
38 | 7 | Paweł Widera | </pre> |
39 | 1 | Anonymous | |
40 | 7 | Paweł Widera | Create or modify _/etc/postfix/virtual_: |
41 | 7 | Paweł Widera | <pre> |
42 | 5 | Paweł Widera | postmaster postmaster@localhost |
43 | 1 | Anonymous | adm root@localhost |
44 | 1 | Anonymous | root admin@procksi.net |
45 | 1 | Anonymous | procksi admin@procksi.net |
46 | 7 | Paweł Widera | </pre> |
47 | 1 | Anonymous | |
48 | 7 | Paweł Widera | Generate the corresponding database file (_virtual.db_): |
49 | 7 | Paweł Widera | <pre> |
50 | 1 | Anonymous | postmap /etc/postfix/virtual |
51 | 7 | Paweł Widera | </pre> |
52 | 1 | Anonymous | |
53 | 1 | Anonymous | Make sure that the postfix daemon is running, and that it will start at boot time: |
54 | 7 | Paweł Widera | <pre> |
55 | 1 | Anonymous | /sbin/service postfix start |
56 | 1 | Anonymous | /sbin/chkconfig --add postfix |
57 | 1 | Anonymous | /sbin/chkconfig postfix on |
58 | 7 | Paweł Widera | </pre> |
59 | 1 | Anonymous | |
60 | 1 | Anonymous | Make sure that the firewall is not open for port 25 or port 28! |
61 | 1 | Anonymous | |
62 | 7 | Paweł Widera | Check that the STMTP server in _/home/procksi/latest/conf/main.ini_ is set correctly set to _master01.procksi.local_ |