user.conf - Proxmox Mail Gateway User Configuration




The file /etc/pmg/user.conf contains the user configuration.

File Format

The file has the following format for each user:

# comment


comment: <string>


crypt_pass: \$\d\$[a-zA-Z0-9\.\/]+\$[a-zA-Z0-9\.\/]+

Encrypted password (see man crypt)

email: <string>

Users E-Mail address.

enable: <boolean> (default = 0)

Flag to enable or disable the account.

expire: <integer> (0 - N) (default = 0)

Account expiration date (seconds since epoch). 0 means no expiration date.

firstname: <string>

First name.

keys: <string>

Keys for two factor auth (yubico).

lastname: <string>

Last name.

password: <string>


role: <admin | audit | helpdesk | qmanager | root>

User role. Role root is reserved for the Unix Superuser.

userid: <string>

User ID

Copyright © 2007-2024 Proxmox Server Solutions GmbH

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see