This shows you the differences between two versions of the page.
— |
emanuele_goldoni:notes:exim-satellite [2014/08/16 14:32] (current) lele created |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | sudo vim /etc/exim4/update-exim4.conf.conf | ||
+ | dc_eximconfig_configtype='satellite' | ||
+ | dc_other_hostnames='[mailname]' | ||
+ | #dc_local_interfaces='127.0.0.1 ; ::1' | ||
+ | dc_local_interfaces='' | ||
+ | dc_readhost='' | ||
+ | dc_relay_domains='*' | ||
+ | dc_minimaldns='false' | ||
+ | dc_relay_nets='' | ||
+ | dc_smarthost='[your SMTP server]' | ||
+ | CFILEMODE='644' | ||
+ | dc_use_split_config='false' | ||
+ | dc_hide_mailname='false' | ||
+ | dc_mailname_in_oh='true' | ||
+ | dc_localdelivery='mail_spool' | ||
+ | |||
+ | vim /etc/mailname | ||
+ | | ||
+ | [mailname] | ||
+ | |||
+ | [mailname] is the same in both locations, and is simply the FQDN (world wide, not just local, such as bla.net) which should appear after the @-sign. | ||
+ | |||
+ | sudo update-exim4.conf | ||
+ | sudo service exim4 reload | ||
+ | mail -s "My first test" emanuele.goldoni@gmail.com < /var/log/dmesg | ||
+ | |||
+ | Also don’t forget to include an alias for root in /etc/aliases. | ||
+ | |||
+ | [1] http://blog.bigsmoke.us/2008/08/03/configuring-a-debian-satellite-exim-server |