[pmg-devel] superseded: [PATCH pmg-api master v1] config: silence ENOENT when comparing SMTP filter config

Max R. Carrara m.carrara at proxmox.com
Tue Sep 23 13:12:56 CEST 2025


v2: https://lore.proxmox.com/pmg-devel/20250923111000.96989-1-m.carrara@proxmox.com/

On Mon Sep 22, 2025 at 5:24 PM CEST, Max R. Carrara wrote:
> If `/run/pmg-smtp-filter.cfg` doesn't yet exist when `pmgsync.service`
> runs, a "No such file or directory" warning is logged. While this has
> been around since a while [0], the warning might look suspicious to
> some (as it did to me during testing).
>
> Therefore, handle ENOENT separately without emitting any warnings.
>
> [0]: https://git.proxmox.com/?p=pmg-api.git;a=commitdiff;h=e5b31a6178118981e784b225941f1502ba644ee5
>
> Signed-off-by: Max R. Carrara <m.carrara at proxmox.com>




More information about the pmg-devel mailing list