RBVM Exim
Jump to navigation
Jump to search
Your VM can send mail through mailhost.vmsrv.redbrick.dcu.ie. You can use any MTA to do this, documentation for exim is just provided cause I like exim.
Debian/Ubuntu
The easiest way to configure on this is to use dpkg
# apt-get install exim4-daemon-light # dpkg-reconfigure exim4-config
Set the name to 'whatever you named your vm'.vm.redbrick.dcu.ie
It should only listen on localhost
Mail should not be accepted for any destinations
No need to change the visble domain name
Route all mail to mailhost.vmsrv.redbrick.dcu.ie
DNS queries can be left at the default, and the configuration does not need to be split to small files
Other Systems
- Install Exim from somewhere.
- Go through the config file and fill out primary_hostname as name.vm.redbrick.dcu.ie
- Unless you know what you're doing don't touch the acl section.
- Delete the Routers & Transports section
- Put this in it's place:
###################################################################### # ROUTERS CONFIGURATION # # Specifies how addresses are handled # ###################################################################### begin routers send_to_gateway: driver = manualroute domains = !+local_domains transport = remote_smtp route_list = "* mailhost.vmsrv.redbrick.dcu.ie " # # Just send all mail to a proper mailhost. Don't do any local delivery shite. # ###################################################################### # TRANSPORTS CONFIGURATION # ###################################################################### # ORDER DOES NOT MATTER # # Only one appropriate transport is called for each delivery. # ###################################################################### # A transport is used only when referenced from a router that successfully # handles an address. begin transports # This transport is used for delivering messages over SMTP connections. remote_smtp: driver = smtp