Email Configuration¶
Receiving Emails: IMAP Configuration¶
Due to shutdown of marian, the ProCKSI e-mail account was migrated to Gmail.
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.
User name | procksi.net | |||
Password | see Authentication | |||
IMAP server | imap.gmail.com (SSL) | |||
SMTP server | smtp.gmail.com (STARTTLS 587) | |||
Email address | procksi.net@gmail.com |
Sending Emails: SMPT Configuration¶
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.
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.
Make sure that postfix is the default mailing software (and not sendmail!).
system-switch-mail -activate postfix
Make the following changes to the postfix _configuration file (/etc/postfix/main.cf_):
myhostname = procksi.ncl.ac.uk mydomain = ncl.ac.uk myorigin = $mydomai inet_interfaces = all mydestination = $myhostname, localhost.$mydomain, localhost mynetworks_style = subnet virtual_alias_maps = hash:/etc/postfix/virtual relayhost = smtp.ncl.ac.uk
Create or modify /etc/postfix/virtual:
postmaster postmaster@localhost adm root@localhost root admin@procksi.net procksi admin@procksi.net
Generate the corresponding database file (virtual.db):
postmap /etc/postfix/virtual
Make sure that the postfix daemon is running, and that it will start at boot time:
/sbin/service postfix start /sbin/chkconfig --add postfix /sbin/chkconfig postfix on
Make sure that the firewall is not open for port 25 or port 28!
Check that the STMTP server in /home/procksi/latest/conf/main.ini is set correctly set to master01.procksi.local