default_limit = 10
default_totals_yaml_file = Path('get-from-addr-totals.yaml')
- default_stats_per_address_csv_file = Path('get-from-addr-per-address-{loghost}.csv')
- default_stats_per_domain_csv_file = Path('get-from-addr-per-domain-{loghost}.csv')
+ default_stats_per_address_csv_file = Path('get-from-addr-per-address.csv')
+ default_stats_per_domain_csv_file = Path('get-from-addr-per-domain.csv')
re_mail_domain = re.compile(r'.*@')
action=OutputFileOptionAction,
help=_(
'The output CSV file about found FROM addresses for importing in a spread sheet '
- 'or into a database. The file name may have the tag {{loghost}}, which will be '
- 'substituted with the hostname of the mailserver. Default: {!r}').format(
+ 'or into a database. Default: {!r}').format(
str(self.stats_per_address_csv_file))
)
action=OutputFileOptionAction,
help=_(
'The output CSV file about the domains of found FROM addresses for importing '
- 'in a spread sheet or into a database. The file name may have the tag '
- '{{loghost}}, which will be substituted with the hostname of the mailserver. '
- 'Default: {!r}').format(str(self.stats_per_domain_csv_file))
+ 'in a spread sheet or into a database. Default: {!r}').format(
+ str(self.stats_per_domain_csv_file))
)
logfiles_default = str(self.logdir / self.logfile_pattern)