[horde] exception in horde-alarm

ANANT S ATHAVALE asa at ursc.gov.in
Fri Feb 24 06:22:19 UTC 2023


----- Message from Patrick Boutilier <boutilpj at ednet.ns.ca> ---------
    Date: Thu, 23 Feb 2023 09:44:55 -0400
    From: Patrick Boutilier <boutilpj at ednet.ns.ca>
Subject: Re: [horde] exception in horde-alarm
      To: horde at lists.horde.org


> On 2023-02-23 00:29, ANANT S ATHAVALE wrote:
>> Dear List,
>>
>> Getting the following exception for horde-alarm cron.
>>
>> [ ERROR! ] Error with alarm
>>            "20230221151941.fOLxk-GQZzObGzcT5IbokvV at urscmail.ursc.dos.gov.in"
>> [ ERROR! ] exception 'Horde_Mail_Exception' with message 'Address is missing
>>            domain.' in /usr/share/pear/Horde/Mail/Rfc822.php:423
>>            Stack trace:
>>            #0 /usr/share/pear/Horde/Mail/Rfc822.php(366):
>>            Horde_Mail_Rfc822->_parseAddrSpec()
>>            #1 /usr/share/pear/Horde/Mail/Rfc822.php(296):
>>            Horde_Mail_Rfc822->_parseMailbox()
>>            #2 /usr/share/pear/Horde/Mail/Rfc822.php(262):
>>            Horde_Mail_Rfc822->_parseAddress()
>>            #3 /usr/share/pear/Horde/Mail/Rfc822.php(182):
>>            Horde_Mail_Rfc822->_parseAddressList()
>>            #4 /usr/share/pear/Horde/Mail/Transport.php(194):
>>            Horde_Mail_Rfc822->parseAddressList('kirankk', Array)
>>            #5 /usr/share/pear/Horde/Mail/Transport/Sendmail.php(91):
>>            Horde_Mail_Transport->parseRecipients('kirankk')
>>            #6 /usr/share/pear/Horde/Mime/Part.php(1627):
>>            Horde_Mail_Transport_Sendmail->send('kirankk', Array, Resource id
>>            #7668)
>>            #7 /usr/share/pear/Horde/Mime/Mail.php(479):
>>            Horde_Mime_Part->send('kirankk', Object(Horde_Mime_Headers),
>>            Object(Horde_Mail_Transport_Sendmail))
>>            #8 /usr/share/pear/Horde/Alarm/Handler/Mail.php(107):
>>            Horde_Mime_Mail->send(Object(Horde_Mail_Transport_Sendmail))
>>            #9 /usr/share/pear/Horde/Alarm.php(449):
>>            Horde_Alarm_Handler_Mail->notify(Array)
>>            #10 /usr/bin/horde-alarms(26): Horde_Alarm->notify(NULL, true,
>>            false, Array)
>>            #11 {main}
>>
>>            Next exception 'Horde_Mime_Exception' with message 'Address is
>>            missing domain.' in /usr/share/pear/Horde/Mime/Part.php:1642
>>            Stack trace:
>>            #0 /usr/share/pear/Horde/Mime/Mail.php(479):
>>            Horde_Mime_Part->send('kirankk', Object(Horde_Mime_Headers),
>>            Object(Horde_Mail_Transport_Sendmail))
>>            #1 /usr/share/pear/Horde/Alarm/Handler/Mail.php(107):
>>            Horde_Mime_Mail->send(Object(Horde_Mail_Transport_Sendmail))
>>            #2 /usr/share/pear/Horde/Alarm.php(449):
>>            Horde_Alarm_Handler_Mail->notify(Array)
>>            #3 /usr/bin/horde-alarms(26): Horde_Alarm->notify(NULL,  
>> true, false,
>>            Array)
>>            #4 {main}
>>
>>            Next exception 'Horde_Alarm_Exception' with message 'Address is
>>            missing domain.' in  
>> /usr/share/pear/Horde/Alarm/Handler/Mail.php:109
>>            Stack trace:
>>            #0 /usr/share/pear/Horde/Alarm.php(449):
>>            Horde_Alarm_Handler_Mail->notify(Array)
>>            #1 /usr/bin/horde-alarms(26): Horde_Alarm->notify(NULL,  
>> true, false,
>>            Array)
>>            #2 {main}
>>
>>
>> The user has added an event and put an email id without domain for  
>> notification.  To show those exceptions, I have here changed that  
>> email id to xxxx.  I felt, while adding the event, it should not  
>> have allowed to enter email address without domain. Or added the  
>> default domain while inserting into database.
>>
>> Using HGWE 5.2.22.
>>
>>
>>
>>
>
> This is what we did years ago. Patched  
> /usr/share/pear/Horde/Mail/Rfc822.php near line 157:
>
>             'default_domain' => 'ednet.ns.ca',
> //            'default_domain' => null,


----- End message from Patrick Boutilier <boutilpj at ednet.ns.ca> -----

Thank you.

Patched.





-- 
      सादर धन्यवाद/ Thanks & Regards
           अनंत / Anant
------------------------------------------------------------------------------
Confidentiality Notice: This e-mail message, including any attachments, is for
the sole use of the intended recipient(s) and may contain confidential and
privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.
------------------------------------------------------------------------------



More information about the horde mailing list