Email » History » Version 3
Version 2 (Anonymous, 11/08/2007 10:45 AM) → Version 3/8 (Anonymous, 08/07/2008 09:57 AM)
= Email Configuration =
== Receiving Emails: IMAP Configuration ==
In addition to the user account for ''procksi'' on the ProCKSI cluster, there is another ''procksi'' account at the School of Computer Science, which is mainly used for receiving emails.
'''NOTE''': Having a separate School of Computer Science 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.
||Home server || marian.cs.nott.ac.uk
||User name || procksi
||Password || see [wiki:secretAuthentication Authentication]
||IMAP server || marian.cs.nott.ac.uk
||Email address || procksi@cs.nott.ac.uk
== 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 accect 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.cs.nott.ac.uk
mydomain = cs.nott.ac.uk
myorigin = $mydomai
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost
mynetworks_style = subnet
virtual_alias_maps = hash:/etc/postfix/virtual
relayhost = marian.cs.nott.ac.uk
}}}
Create or modify ''/etc/postfix/virtual'':
{{{
postmaster postmaster@localhost
adm root@localhost
root procksi@cs.nott.ac.uk
procksi procksi@cs.nott.ac.uk
}}}
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''
== Receiving Emails: IMAP Configuration ==
In addition to the user account for ''procksi'' on the ProCKSI cluster, there is another ''procksi'' account at the School of Computer Science, which is mainly used for receiving emails.
'''NOTE''': Having a separate School of Computer Science 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.
||Home server || marian.cs.nott.ac.uk
||User name || procksi
||Password || see [wiki:secretAuthentication Authentication]
||IMAP server || marian.cs.nott.ac.uk
||Email address || procksi@cs.nott.ac.uk
== 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 accect 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.cs.nott.ac.uk
mydomain = cs.nott.ac.uk
myorigin = $mydomai
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost
mynetworks_style = subnet
virtual_alias_maps = hash:/etc/postfix/virtual
relayhost = marian.cs.nott.ac.uk
}}}
Create or modify ''/etc/postfix/virtual'':
{{{
postmaster postmaster@localhost
adm root@localhost
root procksi@cs.nott.ac.uk
procksi procksi@cs.nott.ac.uk
}}}
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''