Bertrand Cachet
f43c57e132
fix(apticron): apticron emails are sent to root
Instead of sending email to {{ admin_email }} we send them to root user.
These emails will be redirected to the appropriate user via
mail_virtual_aliases variables
11 years ago
Bertrand Cachet
373cb4584b
add(apticron): configure email
Apticron is configured to send email to {{ admin_email }}
11 years ago
Bertrand Cachet
df802919f7
add(fail2ban): Add server IP address to ignore IP
ignoreip field inside /etc/fail2ban/jail.local is populated with
server_ip_address variable
11 years ago
Bertrand Cachet
6bfa2c991f
add(tarsnap): Script to rotate backups
Add tasks to install script/tarsnap configuration file and a cronjob to run
the backup job
Number of hourly/daily/weekly/monthly backups kept can be configure from the
tarsnap.sh script
Thanks to this script, we don't use all the backups which save space on
tarsnap server and thus reduce the price to pay
11 years ago
Alex Payne
a9cabad947
Update etc_ferm_ferm.conf
11 years ago
Allen Riddell
580e3ef5c1
Don't open unused ports
Sovereign does not currently use jabber/xmpp or insecure smtp.
11 years ago
Benny
c63c48d159
Skip a2enmod and a2ensite tasks if not required
11 years ago
Luke Cyca
ba304cb10b
Cron job to make sure our server isn't on any RBLs
11 years ago
Greg Karékinian
1e9a560ff6
Comment defaults
That way the default values will not be applied by mistake. The user
needs to uncomment the lines from `vars/users.yml` and set them.
Also renamed openvpn variables.
Refs #39
11 years ago
Greg Karékinian
58dddc55d1
Remove variables from roles
Refs #39
11 years ago
Luke Cyca
c697e135e9
Move NameVirtualHost directives to ports.conf
11 years ago
Luke Cyca
2ccb180e3d
Use relative paths for tarsnap archives
11 years ago
Greg Karékinian
894808b50c
Fix trailing whitespace
11 years ago
Alex Payne
26233ecb6c
provide absolute path to tarsnap binary in cron job
11 years ago
Alex Payne
f27442b678
move tarsnap to its own role
11 years ago
Luke Cyca
5497f31fb9
Set postfix origin to correctly deliver mail for local users
(such as root's cron errors)
11 years ago
Luke Cyca
5beacea2d2
Absolute path for tarsnap
11 years ago
Alex Payne
450ce6676e
substitute my domain for TODOs. Fixes #37
11 years ago
Luke Cyca
ca8a371320
Use combined cert for postfix, dovecot, and znc
Fix CAcert usage in postfix and dovecot
11 years ago
Bruno Dupuis
c1ceae3e2a
added rouncube webmail
11 years ago
Bertrand Cachet
fbd5deb4ea
Fix Postfix TLS configuration
Fix Postfix configuration file to link to correct SSL certificate locations
11 years ago
Alex Payne
65103923ec
Fix typo in firm task name
11 years ago
Luke Cyca
7e2ce80a25
Update apt repo and upgrade safe packages
11 years ago
Luke Cyca
cf9d8350dd
Fix ssh handler typo
11 years ago
Luke Cyca
09c8fcb295
Named all tasks and made them idempotent where possible
11 years ago
Luke Cyca
ed6245a2f2
smtpd should provide full cert chain, and smtp should verify certs against known CAs
11 years ago
Luke Cyca
6168cd68d0
Automate encfs setup and name mount point more appropriately
11 years ago
Luke Cyca
12d42ad38a
Configure sshd_config to disable PermitRootLogin and PasswordAuthentication
11 years ago
Luke Cyca
d5b2d7ade0
Improved apache SSL config, and disabled directory index
11 years ago
Luke Cyca
921cebb41d
Fix invalid service state
11 years ago
Luke Cyca
5920b17609
Remove usergroup because debian adds it by default as the primary group
11 years ago
sjahl
a4bcb48199
Adding bits for configuring mail aliases, and a postmaster@ address as an example
11 years ago
Luke Cyca
dfe8bd1cca
TODO for fail2ban ignoreip
Removed your hardcoded server IP
11 years ago
sjahl
9eecdf5c72
fixing some small dspam oddities
11 years ago
Alex Payne
05059ac1fc
Correct UID for Tomcat/Solr Monit config. Fixes #19 .
11 years ago
Henrik Hodne
a844401d7c
tarsnap: Only run cron job once per day.
The old action would generate a crontab job for `* 3 * * *`, which means every minute at 3am, so 60 times per day.
11 years ago
Alex Payne
55a22bcdef
Add example lines to OpenDKIM TrustedHosts file. Fixes #16 .
11 years ago
Alex Payne
3ccefb5f03
use shell for znc compile. Fixes #12
11 years ago
Alex Payne
82f1132694
Get MySQL email database name from var, not hardcoded
Thanks @pjan
11 years ago
Tejinder Jheeta
b411e696d3
Fix for mysql import for virtualdomains
11 years ago
Alex Payne
080d38986c
first commit
11 years ago