Package: email-reminder
Version: 1.2.1-1
Severity: normal

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 ***


-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 7.1.6+deb14-amd64 (SMP w/20 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages email-reminder depends on:
ii  debconf [debconf-2.0]      1.5.92
ii  libc6                      2.42-17
ii  python3                    3.14.6-1
ii  python3-defusedxml         0.7.1-3
ii  python3-pyside6.qtcore     6.10.3-3
ii  python3-pyside6.qtgui      6.10.3-3
ii  python3-pyside6.qtwidgets  6.10.3-3
ii  systemd                    261.2-1

Versions of packages email-reminder recommends:
ii  exim4-daemon-light [mail-transport-agent]  4.99.4-2+b1

email-reminder suggests no packages.

-- debconf information:
* email-reminder/smtp_username: [email protected]
* email-reminder/smtp_ssl: false
* email-reminder/smtp_server: smtp.free.fr
* email-reminder/send_reminders: true
* email-reminder/mail_from: [email protected]


My mom was turning 90 today and I have a reminder 1 day before and on the day.
Yesterday I got the email saying that she will turn 89, which should have been 
90.
At 00:02, I got
I just want to remind you that Andrée is turning 89 tomorrow (Thu Aug 13).


I make some test with following settings added to my usual configuration:

        <event type="birthday">
            <name>Andrée</name>
            <reminders>
                <reminder type="same day" />
                <reminder type="days before">1</reminder>
            </reminders>
            <day>13</day>
            <month>08</month>
            <year>1936</year>
            <email>[email protected]</email>
        </event>
        <event type="weekly">
            <name>Jeudi</name>
            <reminders>
                <reminder type="same day" />
            </reminders>
            <day>4</day>
        </event>
        <event type="birthday">
            <name>Test 1 year</name>
            <reminders>
                <reminder type="same day" />
                <reminder type="days before">1</reminder>
            </reminders>
            <month>8</month>
            <day>13</day>
            <year>2025</year>
        </event>
        <event type="birthday">
            <name>Test 10 year</name>
            <reminders>
                <reminder type="same day" />
                <reminder type="days before">1</reminder>
            </reminders>
            <month>8</month>
            <day>13</day>
            <year>2016</year>
        </event>
        <event type="birthday">
            <name>Test 1 year today</name>
            <reminders>
                <reminder type="same day" />
                <reminder type="days before">1</reminder>
            </reminders>
            <month>8</month>
            <day>12</day>
            <year>2025</year>
        </event>
        <event type="anniversary">
            <name>John</name>
            <reminders>
                <reminder type="same day" />
                <reminder type="days before">1</reminder>
            </reminders>
            <month>8</month>
            <day>13</day>
            <partner_name>Marie</partner_name>
            <year>2000</year>
        </event>

and run as root systemctl start email-reminder.service.
Yesterday, when testing at 07:22, I got:
I just want to remind you that Test 1 year is turning 0 tomorrow (Thu Aug 13). 
<-- wrong, should be turning 1 tomorrow
I just want to remind you that Test 10 year is turning 9 tomorrow (Thu Aug 13). 
<-- wrong, should be turning 10 tomorrow
I just want to remind you that Test 1 year today is turning 1 today. <-- good

Today, by the "cron" task, at 00:09, I got:
I just want to remind you that the 25th anniversary (Silver) of John and Marie 
is today. <-- wrong, should be 26th anniversary
I just want to remind you that Test 1 year is turning 0 today. <-- wrong, 
should be turning 1 today

Today, at 07:46, by running as root systemctl email-reminder-collect service 
(to get above catched settings) and the systemctl start email-reminder.service, 
I got:
I just want to remind you that Test 10 year is turning 10 today. <-- good
I just want to remind you that Andrée JAFFRE ([email protected]) is turning 90 
today. <-- good

Today, at 08:13, by running as root systemctl email-reminder-collect service 
(to get above catched settings) and the systemctl start email-reminder.service, 
I got:
I just want to remind you that Test 10 year is turning 10 today. <-- good
I just want to remind you that Test 1 year is turning 1 today. <-- good
I got "Email-reminder ERROR" on Jeudi and John with the same details:
WARNING: Due to an error, the email reminder for the event "Jeudi" could not be 
processed and all I could do was to let you know that there was a problem.

Since this event is OCCURRING TODAY, you should really check your reminders 
manually.

Please forward this email to the email-reminder author so that this problem can 
be fixed in future versions:

  Francois Marier <[email protected]>

Thanks!

--------------------------------------------------------------
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 '[email protected]': 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

Reply via email to