Introduction

"MailListener" is a listener based on mail event that triggers the beginning of a process or scenario.

2022-03-01_11h26_36.png

Configuration

The configuration of a mail listener is divided into 2 parts :

configuration COM :

2022-03-01_11h58_40.png

 this is the first one to set, it consists of putting the e-mail address and password.

2022-03-01_11h58_04.png

Then, we can set multiple listeners linked to that email, and start using them in "mailListener" Connector.

2022-03-01_12h01_13.png  2022-03-01_12h02_50.png

The parameters mentioned for a listener are : 

  • ConfigName: the name of the listener's configuration.
  • From:  the regex pattern referring to address mail sender.
  • Object: the regex pattern referring to the mail subject.
  • Actif / Enabled: chose whether we want to use the configuration or just keep and not use it (without any delete). 

NB: the emails configured are unique by the environment, and cannot be reused in another environment.                                                                                                         

Config MailListener Connector

   After finishing the mail configuration, let's make a scenario containing a MailListener connector :

 

2022-03-01_14h11_52.png 

 

 

 The parameters mentioned in the connector are : 

  • Listened emails: a list of all emails configured previously.
  • config: a list of listeners corresponding to email.
  • mask:  a regex pattern for the input file name. it is set by default to '.*', meaning all files. 

NB: if an email configuration is set without deploying any scenario, you may expect to receive some warning session on the exploitation page, that indicates the reception of an input file by mail without processing any scenario.

2022-03-01_14h34_30.png

 

Tags:
    
This wiki is hosted and managed by iXPath
Powered by XWiki 13.3 debian