#1144254 email-reminder: Birthdays computation is wrong in term of elapse years

Package:
email-reminder
Source:
email-reminder
Description:
Send event reminders by email
Submitter:
Jack.R
Date:
2026-08-13 06:43:02 UTC
Severity:
normal
#1144254#5
Date:
2026-08-13 06:40:34 UTC
From:
To:
Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***
--------------------------------------------------------------
Email-reminder: 1.2.1
Go: go1.26.5 (linux/amd64)
Hostname: 'nomade'
PATH: '"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"'
HOME: '"/var/spool/email-reminder"'
OS: Debian GNU/Linux forky/sid
Kernel: Linux nomade 7.1.6+deb14-amd64 #1 SMP PREEMPT_DYNAMIC Debian 7.1.6-1 (2026-08-03) x86_64 GNU/Linux
Time: 2026-08-13T08:13:14+02:00
Error(s):
- could not send 'Jeudi' email to 'jack.r@free.fr': failed to create SMTP client: 421 "4.7.0 smtp5-g21.free.fr Error: too many connections from 2a01:e0a:9de:ebc0:xxx:xxxx:xxxx:xxxx"
Event:
{
  "XMLName": {
    "Space": "",
    "Local": "event"
  },
  "Type": "weekly",
  "Name": "Jeudi",
  "Email": "",
  "PartnerName": "",
  "PartnerEmail": "",
  "Reminders": [
    {
      "XMLName": {
        "Space": "",
        "Local": "reminder"
      },
      "Type": "same day",
      "Days": 0
    }
  ],
  "Recipients": null,
  "Day": 4,
  "Month": 0,
  "Year": 0
}


It looks like the elapse duration computation is wrong for "Days in advance" reminders.
It seems it is wrong on "Same day" reminder if collected early (did computation take into account timezone setting on the computer or use UTC ?)
It seems I did not get all email I should get on each run. With current settings, I should get 5 different email:
- Andrée
- jeudi
- Test 1 year
- Test 10 year
- John and Marie
It seems, as all emails are sent to the same recipient, that distant smtp refuse too many connections (too short delay between to connection ?)

Do not hesitate if you need more information or test.

Salutations