You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2024-08-19 13:46:57

muszleit
Member
Registered: 2024-08-19
Posts: 1

Mailcollector fails with Error "input is no valid emailaddress"

Hello everyone,

Just a quick note upfront, I initially tried to find a solution to the problem through a search, but the results either didn't match or their solutions didn't work for us.

We are having an issue with the Mail Collector and a specific email, whose import fails with the following error.

I have a suspicion, but I would like to hear your unbiased opinion first.

Could I ask you to take a look at this email here to see if, in your opinion, there is an error in it?




Return-Path: <mailsender@mail.com>
Received: from groupware.fqdn ([::ffff:127.0.0.1]:55142)
by groupware.fqdn (kopano-dagent) with LMTP;
Fri, 16 Aug 2024 14:55:55 +0200 (CEST)
Received: from mailrelay.fqdn (mailrelay.fqdn [10.xx.xx.xx])
by groupware.fqdn (Postfix) with ESMTP id 0CF81415CA;
Fri, 16 Aug 2024 14:55:55 +0200 (CEST)
Received: from Hostsystem (Hostsystem.fqdn[10.xx.xx.xx])
by mailrelay (Postfix) with ESMTP id AE43DA2023
for <mailsender@mail.com>; Fri, 16 Aug 2024 14:55:43 +0200 (CEST)
From: "mailsender@mail.com" <mailsender@mail.com>
Subject: Error 
To: mailsender@mail.com
Sender: Hostname
Date: Fri, 16 Aug 2024 14:55:43 +0000
X-MailScanner-Information: Please contact the ISP for more information
X-MailScanner-ID: AE43DA2023.A8435
X-MailScanner: Found to be clean
X-MailScanner-From: mailsender@mail.com
X-MailScanner-To: archive@mail.com,
mailsender@mail.com
 
Mailbody 

This would be the error in question:

glpiphplog.CRITICAL:   *** Uncaught Exception Laminas\Mail\Exception\InvalidArgumentException: The input is not a valid email address. Use the basic format local-part@hostname in /var/www/glpi/vendor/laminas/laminas-mail/src/Address.php at line 79
  Backtrace :
  .../laminas/laminas-mail/src/Header/Sender.php:126 Laminas\Mail\Address->__construct()
  ...r/laminas/laminas-mail/src/Header/Sender.php:61 Laminas\Mail\Header\Sender->setAddress()
  vendor/laminas/laminas-mail/src/Headers.php:556    Laminas\Mail\Header\Sender::fromString()
  vendor/laminas/laminas-mail/src/Headers.php:282    Laminas\Mail\Headers->loadHeader()
  vendor/laminas/laminas-mail/src/Headers.php:102    Laminas\Mail\Headers->addHeaderLine()
  ...r/laminas/laminas-mail/src/Storage/Part.php:108 Laminas\Mail\Headers::fromString()
  ...laminas/laminas-mail/src/Storage/Message.php:47 Laminas\Mail\Storage\Part->__construct()
  ...or/laminas/laminas-mail/src/Storage/Pop3.php:61 Laminas\Mail\Storage\Message->__construct()
  ...aminas-mail/src/Storage/AbstractStorage.php:270 Laminas\Mail\Storage\Pop3->getMessage()
  src/MailCollector.php:773                          Laminas\Mail\Storage\AbstractStorage->current()
  src/MailCollector.php:1913                         MailCollector->collect()
  src/CronTask.php:1018                              MailCollector::cronMailgate()
  front/cron.php:84                                  CronTask::launch()
 

Thank you in advance,

Best regards,

Michael

Offline

Board footer

Powered by FluxBB