ubuntu exim installation local exim with remote smarthost + auth

  • sudo aptitude install exim4
  • sudo dpkg-reconfigure exim4-config
    • smarthost - no local delivery
    • E-Mail-Name: name of the local machine e.g. 'myLaptop.example.com'
    • incoming connections: 127.0.0.1
    • local domains: empty
    • visible domain name:  'example.com'
    • smarthost: mySmarthost.example.com
    • limit dns: no
    • small config files: yes
  • vi /etc/exim4/passwd.client
    • sudo mySmarthost.example:login:password
  • sudo /etc/init.d/exim4 restart

 

check /etc/exim4/update-exim4.conf.conf

  • dc_readhost should be the local machine name