[PVE-User] Where is Install Email Notification Config

Stefan Radman stefan.radman at me.com
Wed Apr 16 11:53:19 CEST 2025


Hi JR

>> It's not in /etc/aliases or any /etc/postfix/* files


proxmox-mail-forward uses the .forward  mechanism to “catch” emails sent to root (or any other user) - see aliases(5).

root at pve:~# cat ~/.forward
|/usr/bin/proxmox-mail-forward
root at pve:~# grep ^user:root /etc/pve/user.cfg 
user:root at pam:1:0:::admin at example.com:::

The user:root at pam entry in user.cfg is where the email address went that you entered during installation.

Lukas Wagner briefly described the mechanism in this <https://forum.proxmox.com/threads/is-the-use-of-proxmox-mail-forward-to-handle-mail-on-pve.133850/post-590618> forum post.
https://forum.proxmox.com/threads/is-the-use-of-proxmox-mail-forward-to-handle-mail-on-pve.133850/post-590618

What he described is the legacy mode <https://pve.proxmox.com/pve-docs/chapter-notifications.html#:~:text=legacy%20mode> for sending notification emails.
https://pve.proxmox.com/pve-docs/chapter-notifications.html#:~:text=legacy%20mode

Regards

Stefan


> On Apr 16, 2025, at 10:18, Christoph Heiss <c.heiss at proxmox.com> wrote:
> 
> On Tue Apr 15, 2025 at 11:01 PM CEST, JR Richardson wrote:
>> Hey Folks,
>> 
>> Using PVE 8.3.x. I cannot find where the initial install email
>> notification target address is configured, It's not in /etc/aliases or
>> any /etc/postfix/* files that I can tell and I don't see it in the web
>> GUI anywhere.
> 
> It is the mail address of the root user, aka `root at pam`.
> There are two places you can configure things, depending on the
> notification mode.
> 
> For one, under Datacenter > Permissions > Users, you can configure the
> actual mail address of `root at pam`, which was set during the
> installation.
> 
> Secondly, for the new notification system under Datacenter >
> Notifications, where you can configure the `mail-to-root` target. This
> defaults to sending to the mail address of the `root at pam` user as
> configured above, so - depending on what you want to achieve - the above
> might suffice.
> 
> Hope this helps!
> 
> 
> 
> _______________________________________________
> pve-user mailing list
> pve-user at lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user
> 



More information about the pve-user mailing list