-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsettings.yaml
58 lines (50 loc) · 1.42 KB
/
settings.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
- check:
from: &check_from uwyMerger@aurora.aad.gov.au
subject_regex:
- ^Data Extract:\sv\d_(?P<season>\d{6})
#- ^Data Extract:\sv\d_20(?P<year_2d>\d{2})
#- (?P<next_year_2d>\d{2})
- (?P<voyage_code>\d{3})
- (?P<year_2d>\d{2})
- (?P<month>\d{2})
- (?P<day>\d{2})
- (?P<hour>\d{2})
- (?P<minute>\d{2})
- \.csv
#- \s\[sec=unclassified\]$
move_message_to: &move_message_to >
INBOX/processed/{season}/{season}{voyage_code}
save_file_format: &save_file_format >
20{year_2d}/{month}/{day}/{hour}{minute}_AAD_{voyage_code}.csv
- check:
from: *check_from
subject_regex:
- ^Data Extract:\sv\d_(?P<season>\d{6})
- (?P<voyage_code>\d{3})
- _20
- (?P<year_2d>\d{2})
- (?P<month>\d{2})
- (?P<day>\d{2})
- (?P<hour>\d{2})
- (?P<minute>\d{2})
- \.csv
#- \s\[sec=unclassified\]$
move_message_to: *move_message_to
save_file_format: *save_file_format
- check:
from: marine@localhost.localdomain
subject_regex:
- ^Data Extract - aadc_aa20
- (?P<year_2d>\d{2})
- (?P<next_year_2d>\d{2})
- (?P<voyage_code>\d{3})
- \d{4}
- (?P<month>\d{2})
- (?P<day>\d{2})
- (?P<hour>\d{2})
- (?P<minute>\d{2})
- (?P<second>\d{2})
- \.csv
#- \s\[Sec=Unclassified\]$
move_message_to: *move_message_to
save_file_format: *save_file_format