Browse Source

config Ok, reste a identifier pourquoi mes mails n'identifient pas de transport dispo

pull/1/head
theonlydoo 9 years ago
parent
commit
e029f02a82
2 changed files with 10 additions and 1 deletions
  1. +7
    -0
      roles/mail/tasks/main.yml
  2. +3
    -1
      roles/mail/templates/master.cf

+ 7
- 0
roles/mail/tasks/main.yml View File

@ -102,6 +102,12 @@
- name: Config amavis
copy: src=etc-amavis-conf.d-50-user dest=/etc/amavis/conf.d/50-user
- name: adding amavis to clamav group
shell: usermod amavis -a -G clamav
- name: setting right perms to amavis homedir
shell: chmod g+rx /var/lib/amavis
- name: Virus repository
file: path=/var/spool/virusmails state=directory owner=amavis group=amavis
@ -134,6 +140,7 @@
- name: Copy postfixadmin config files
template: src=config.inc.php dest=/etc/postfixadmin/ owner=root mode=655
- name: TODO
debug: msg="Now go to http://{{ domain }}/postfixadmin and follow the instructions documentation is here http://sourceforge.net/p/postfixadmin/wiki/Home/"
# vim: set textwidth=0 ft=yaml ts=2 sw=2 expandtab:

+ 3
- 1
roles/mail/templates/master.cf View File

@ -110,4 +110,6 @@ scalemail-backend unix - n n - 2 pipe
mailman unix - n n - - pipe
flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
${nexthop} ${user}
amavis unix - - - - 2 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes

Loading…
Cancel
Save