vitalk / ansible-mail-stack

Ansible recipe to create and configure mail server
https://galaxy.ansible.com/vitalk/mail-stack
0 stars 0 forks source link

Example and description #1

Open hhirsch opened 9 years ago

hhirsch commented 9 years ago

Hello,

can you provide an example on how to set it up? Can you also provide an example on how to add a user?

Will this enable a server to send and receive mails? Does it provide imap?

vitalk commented 9 years ago

Hi @hhirsch!

As you can see that role doesn't do so much and only configure host to send mails via postfix MTA. Receiving mail should work as well, but not tested.

In the near feature I plan to:

At that moment I use it as one-click installation mail server for some of my applications:

- name: Mail stack
  hosts: example.com
  sudo: yes
  vars:
    # Forward root mails into alice's mail.
    postfix_notify_email: alice@gmail.com
    postfix_hostname: example.com

  roles:
    - vitalk.mail-stack