PMG - Fetchmail interval cannot be reduced below 5 minutes

LSX3

New Member
May 5, 2025
16
2
3
Bayern - Germany
Hello everyone,

I'm using Proxmox Mail Gateway version 8.2.0 and would like to use the integrated Fetchmail service to retrieve external mailboxes as quickly as possible.
However, I’ve encountered a problem that I haven’t been able to solve:

Situation:​

I have configured a Fetchmail account via the web interface (IMAP over SSL).
Fetching works in principle, but only every 5 minutes.
The configuration shows interval = 1, which according to the documentation refers to a default poll cycle of 5 minutes.

Goal:​

I would like to reduce the interval to 1 minute or less, e.g. 30 seconds.

What I’ve tried:​

  • I created the file /etc/pmg/templates/fetchmailrc.tt (copied from /var/lib/pmg/templates/fetchmailrc.tt) and changed the line
    set daemon 300
    to
    set daemon 30.
  • Then I restarted PMG.
  • However, the file /var/lib/pmg/fetchmailrc remains unchanged and still contains set daemon 300.
  • Even manually editing that file did not have any effect.
  • Fetchmail still retrieves emails only every 5 minutes, despite the modified template.
Question:
  • Is the Fetchmail interval in PMG 8.2.0 still controlled by templates?
  • Is there any way to reduce the poll interval below 5 minutes while still using the integrated Fetchmail service?
  • Or is the 5-minute cycle now hardcoded in the binary or elsewhere?
Thank you for any feedback or suggestions!

Best regards