Email » History » Version 7

Paweł Widera, 06/15/2012 03:36 PM
E-mail migrated to Gmail.

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