Mail Setup

Postfix setup

Install postfix. Often this is done as part of running the bootstrap script.

          sudo apt-get install postfix

Choose these options:

Test by sending a message (mutt acorn@cheerful.com) to yourself.

Postmaster aliases

Tell postfix to deliver "postmaster" and "root" mail to you (acorn or apooley). Edit /etc/aliases and add these lines:

postmaster:    acorn
root:          acorn
then to make this take effect use the command:
        sudo newaliases

username mapping

For sending mail from the local machine set up a mapping from local "from" addresses to real "from" addresses. Create (or edit if it exists) the file /etc/postfix/generic with the contents:

acorn@localhost             acorn@rawbw.com
acorn@localhost.domain      acorn@rawbw.com
acorn@localhost.rawbw       acorn@rawbw.com
acorn@localhost.rawbw.com   acorn@rawbw.com
acorn@fatdragon             acorn@rawbw.com
acorn@fatdragon.domain      acorn@rawbw.com
acorn@fatdragon.rawbw       acorn@rawbw.com
acorn@fatdragon.rawbw.com   acorn@rawbw.com
then edit /etc/postfix/main.cf and add the line
smtp_generic_maps = hash:/etc/postfix/generic

Fetchmail setup

Create a file named $HOME/.fetchmailrc containing a single line.

At NVIDIA it looks like this:

poll owa.nvidia.com with proto IMAP
        user 'apooley' there with password "PASSWORD" is 'apooley' here options ssl keep

For rawbw it looks like this:

set postmaster "acorn"
set bouncemail
set no spambounce
set properties ""
poll imap.rawbw.com with proto IMAP
       user 'acorn' there with password 'PASSWORD' is 'acorn' here options ssl

In all cases replace PASSWORD with your password.



OLD STUFF FOLLOWS - IGNORE THE REST OF THE FILE

Exim setup

Ignore this if you use postfix (see above) or sendmail. See postfix section above for names of mail server etc.

Contents of old /etc/exim4/update-exim4.conf.conf file:

dc_eximconfig_configtype='smarthost'
dc_other_hostnames='apooley-5;apooley-5.nvidia.com'
dc_local_interfaces='127.0.0.1'
dc_readhost='nvidia.com'
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='owa.nvidia.com'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='true'
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'

Contents of old /etc/mailname file:

nvidia.com