Skip to content

Conversation

@slusarz
Copy link
Contributor

@slusarz slusarz commented Aug 15, 2025

Continues the abstraction already done for the events data

@slusarz slusarz force-pushed the abstract_data_parsing branch from 5cde0d8 to d26849e Compare August 15, 2025 18:29
@cmouse cmouse force-pushed the abstract_data_parsing branch from d26849e to 02f9b9e Compare September 14, 2025 11:15
@slusarz slusarz force-pushed the abstract_data_parsing branch from 02f9b9e to 98546f3 Compare October 25, 2025 15:37
cli: 'u',
example: 'username',
type: doveadm_arg_types.STRING,
text: `UID of user to apply operation to.`,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this can also be mask.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

User mask is handled separately, because only certain doveadm commands behave this way. (see lib/constants/doveadm.js and grep for 'doveadm_args_usermask')

'user-file': {
cli: 'F',
type: doveadm_arg_types.STRING,
text: `A filename. If set, fetch usernames from file. One username per line.`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

iirc it's username or mask.

Copy link
Contributor Author

@slusarz slusarz Oct 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At least for doveadm mail commands, it is not a mask. "user-file" iterates through the file and uses each value as-is when executing. (See doveadm_cmdv2_wrapper_parse_common_options() - wildcard_user_r is not set if user-file is used)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants