[GH-ISSUE #873] CRON Error message (every minute) #769

Closed
opened 2026-02-27 11:13:27 +03:00 by kerem · 1 comment
Owner

Originally created by @spinza on GitHub (May 9, 2016).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/873

Getting this email every minute (due to cron job every minute) (after upgrading to latest)

System check identified some issues:

WARNINGS:
modoboa_amavis.Msgrcpt.mail: (fields.W342) Setting unique=True on a ForeignKey has the same effect as using a OneToOneField.
        HINT: ForeignKey(unique=True) is usually better served by a OneToOneField.
modoboa_amavis.Quarantine.mail: (fields.W342) Setting unique=True on a ForeignKey has the same effect as using a OneToOneField.
        HINT: ForeignKey(unique=True) is usually better served by a OneToOneField.
Originally created by @spinza on GitHub (May 9, 2016). Original GitHub issue: https://github.com/modoboa/modoboa/issues/873 Getting this email every minute (due to cron job every minute) (after upgrading to latest) ``` System check identified some issues: WARNINGS: modoboa_amavis.Msgrcpt.mail: (fields.W342) Setting unique=True on a ForeignKey has the same effect as using a OneToOneField. HINT: ForeignKey(unique=True) is usually better served by a OneToOneField. modoboa_amavis.Quarantine.mail: (fields.W342) Setting unique=True on a ForeignKey has the same effect as using a OneToOneField. HINT: ForeignKey(unique=True) is usually better served by a OneToOneField. ```
kerem closed this issue 2026-02-27 11:13:27 +03:00
Author
Owner

@spinza commented on GitHub (May 9, 2016):

Sorry wrong place.
Posted this here: https://github.com/modoboa/modoboa-amavis/issues/30

<!-- gh-comment-id:218017785 --> @spinza commented on GitHub (May 9, 2016): Sorry wrong place. Posted this here: https://github.com/modoboa/modoboa-amavis/issues/30
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#769
No description provided.