Skip to content

ansible-imapfilter-gmail_clean is an Ansible role to install and configure imapfilter on a debian based OS to clean gmail trash and spam folders.

License

Notifications You must be signed in to change notification settings

lgaggini/ansible-imapfilter-gmail_clean

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-imapfilter-gmail_clean

ansible-imapfilter-gmail_clean is an Ansible role to install and configure imapfilter on a debian based OS to clean gmail trash and spam folders.

It performs:

  • installation of imapfilter package
  • creation of dedicated user and group for imapfilter runs
  • creation of dedicated folder for imapfilter configurations and logs
  • configuration of gmail account to be cleaned
  • installation, start and enable of a dedicated systemd unit

Install

Clone

git clone https://github.com/lgaggini/ansible-imapfilter-gmail_clean.git

Configuration

The configuration is done by vars listed and explained in defaults/main.yml file.

Usage

- name: bootstrap an ubuntu cloud image for imapfilter
  hosts: imapfiltterserver
  vars_files:
    - group_vars/imapfilter.yml

  roles:
    - { role: imapfilter, tags: ['imapfilter'] }

Credits

Automatic Gmail’s Trash & Spam folders cleanup

About

ansible-imapfilter-gmail_clean is an Ansible role to install and configure imapfilter on a debian based OS to clean gmail trash and spam folders.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published