Commit 26304ec6 authored by Imran Hussain's avatar Imran Hussain

start the primary email server rile for silver

parent 333477e3
# dpkg-reconfigure exim4-config
#### basic debconf stuff we can preset
- name: configure exim to be a real boy... i mean male... mail server
debconf:
name: exim4-config
question: exim4/dc_eximconfig_configtype
value: internet site; mail is sent and received directly using SMTP
vtype: select
notify: dpkg reconfigure exim
- name: configure exim to mbox or maildir (hint: maildir, fuk mbox)
debconf:
name: exim4-config
question: exim4/dc_localdelivery
value: Maildir format in home directory
vtype: select
notify: dpkg reconfigure exim
- name: configure exim to be a carry... mail for people we like (ourselves)
debconf:
name: exim4-config
question: exim4/dc_relay_nets
value: 137.44.10.0/25; 137.44.6.5; 137.44.19.200; 137.44.19.37; 137.44.19.112
vtype: string
notify: dpkg reconfigure exim
- name: configure exim to have some sort of identity
debconf:
name: exim4-config
question: exim4/mailname
value: sucs.org
vtype: string
notify: dpkg reconfigure exim
- name: configure exim to be schizophrenic
debconf:
name: exim4-config
question: exim4/dc_other_hostnames
value: sucs.org; sucs.swan.ac.uk; silver.sucs.org; silver.sucs.swan.ac.uk; lists.sucs.org; lists.sucs.swan.ac.uk
vtype: string
notify: dpkg reconfigure exim
- name: configure exim to be a good listener
debconf:
name: exim4-config
question: exim4/dc_local_interfaces:
value: ::1;127.0.0.1;137.44.10.1;137.44.10.61
vtype: string
notify: dpkg reconfigure exim
- name: configure exim to do dns up the wahzoo
debconf:
name: exim4-config
question: exim4/dc_minimaldns
value: false
vtype: select
notify: dpkg reconfigure exim
- name: configure exim to send all the shit to admin@
debconf:
name: exim4-config
question: exim4/dc_postmaster
value: admin@sucs.org
vtype: string
notify: dpkg reconfigure exim
- name: configure exim to throw config files all over the place
debconf:
name: exim4-config
question: exim4/use_split_config
value: true
vtype: select
notify: dpkg reconfigure exim
#### install shit
- name: install the latest version of exim and mail stuffs
package:
name: "{{ item }}"
state: latest
with_items:
- exim4-daemon-heavy #main exim
- spf-tools-perl #spf check at smtp runtime
- sasl2-bin #for auth
- spamassassin #nobody likes spam
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment