Email » History » Version 2

« Previous - Version 2/8 (diff) - Next » - Current version
Anonymous, 11/08/2007 10:45 AM


= Email 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 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
}}}

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''