#1078774 roundcube-core: Contacts import: Contacts with "invalid" e-mail address silently dropped

Package:
roundcube
Source:
roundcube
Submitter:
Einhard Leichtfuß
Date:
2024-08-17 05:27:02 UTC
Severity:
normal
Tags:
#1078774#5
Date:
2024-08-15 22:03:36 UTC
From:
To:
Dear Maintainer,

when importing contacts from a vCard file, any vcard object that
contains an e-mail address whose domain part is a nonexisting domain
(presumably identified by an NXDOMAIN reply from DNS), the vcard object
is silently ignored.

Example (note that vCard mandates CRLF as newline sequence):
---
BEGIN:VCARD
VERSION:3.0
N:Doe;Jane;;;
FN:Jane Doe
EMAIL:jane.doe@example.invalid
END:VCARD
---

I would expect that the vcard object is successfully imported as a
contact.  Alternatively, I would expect an error or warning message
indicating that some contacts failed to import and why.

Note: Creating or modifying a contact via the Roundcube web UI to have
an e-mail address with a nonexisting domain fails with the error message
"Invalid email address: [...]".


- Einhard Leichtfuß

#1078774#10
Date:
2024-08-15 22:52:22 UTC
From:
To:
Hi,

Looks like this issue and the others 3 you just reported are upstream
issues, please report them at the upstream bug tracker
https://github.com/roundcube/roundcubemail/issues

#1078774#17
Date:
2024-08-17 00:43:42 UTC
From:
To:
Hi,

I have now reported the issues upstream:

#1078774: https://github.com/roundcube/roundcubemail/issues/9591
#1078775: https://github.com/roundcube/roundcubemail/issues/9593
#1078776: https://github.com/roundcube/roundcubemail/issues/9592
#1078777: https://github.com/roundcube/roundcubemail/issues/9590

- Einhard Leichtfuß