(solved) Editing Postmaster Filter by Shell?

Moderator: crythias

Locked
Flippo
Znuny newbie
Posts: 9
Joined: 29 Mar 2019, 12:33
Znuny Version: 6.0.17
Real Name: Philip G
Company: N&M

(solved) Editing Postmaster Filter by Shell?

Post by Flippo »

Hello,
is there a way to edit postmaster filters by Shell?
The otrs console doesnt seem to know a way and I would love to not write to the Database directly.

The reason we need this is that we often need new queues with attached Mailsorting.I would love to automate this via Shellscript or Ansible. Adding Queues via otrs.console.pl works fine.
Last edited by Flippo on 26 Jul 2019, 13:48, edited 1 time in total.
root
Administrator
Posts: 4251
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Editing Postmaster Filter by Shell?

Post by root »

Hi,

Try https://opar.perl-services.de/dist/Impo ... lter-6.0.1
This add-on has a console command for importing / exporting postmaster filter

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
Flippo
Znuny newbie
Posts: 9
Joined: 29 Mar 2019, 12:33
Znuny Version: 6.0.17
Real Name: Philip G
Company: N&M

Re: Editing Postmaster Filter by Shell?

Post by Flippo »

This will do just fine. Thanks!
Locked