[horde] Rfc822.php - Where to specify default domain.

Jan Schneider jan at horde.org
Fri Jan 31 10:47:28 UTC 2014


Zitat von Patrick Boutilier <boutilpj at ednet.ns.ca>:

> On 01/30/2014 02:51 PM, Mauricio Jose T. Tecles wrote:
>> Citando Michael M Slusarz <slusarz at horde.org>:
>>
>>> Quoting Oscar del Rio <delrio at mie.utoronto.ca>:
>>>
>>>> On 01/30/14 12:59 PM, Patrick Boutilier wrote:
>>>>> In pear/Horde/Mail/Rfc822.php you can specify the default domain in
>>>>> the following function:
>>>>>
>>>>>
>>>>> Is there a better place to define default_domain though as any
>>>>> update to pear/Horde/Mail/Rfc822.php will overwrite the change.
>>>>>
>>>>>
>>>>
>>>> I believe they are:
>>>> "mail_domain" preference (see imp/config/prefs.php)
>>>> "maildomain" in the backend definition (see imp/config/backends.php)
>>>
>>> 'maildomain' is better.  'mail_domain' pref has been removed in IMP 6.2.
>>>
>>> michael
>>
>> Don't forget to use it in imp/config/backends.local.php as
>> imp/config/backends.php will be overwritten on upgrade.
>
>
>
>
> maildomain already defined but not being used. Where I have run into  
> the problem is with the horde-alarms script .

IMP is not Horde.

> If somebody creates an e-mail reminder in Kronolith 4.1.4 and  
> specifies the e-mail address for the reminder as user instead of  
> user at domain you get this error when horde-alarms runs:
>
>
>
>
>
>
>
>
> Fatal Error:
> Address is missing domain.
> In /usr/share/pear/Horde/Mail/Rfc822.php on line 413
>
>  1. Horde_Alarm->notify() /usr/bin/horde-alarms:25
>  2. Horde_Alarm_Handler_Mail->notify() /usr/share/pear/Horde/Alarm.php:421
>  3. Horde_Alarm->notify() /usr/bin/horde-alarms:25
>  4. Horde_Alarm_Handler_Mail->notify() /usr/share/pear/Horde/Alarm.php:421
>  5. Horde_Mime_Mail->send() /usr/share/pear/Horde/Alarm/Handler/Mail.php:101
>  6. Horde_Mime_Part->send() /usr/share/pear/Horde/Mime/Mail.php:459
>  7. Horde_Alarm->notify() /usr/bin/horde-alarms:25
>  8. Horde_Alarm_Handler_Mail->notify() /usr/share/pear/Horde/Alarm.php:421
>  9. Horde_Mime_Mail->send() /usr/share/pear/Horde/Alarm/Handler/Mail.php:101
> 10. Horde_Mime_Part->send() /usr/share/pear/Horde/Mime/Mail.php:459
> 11. Horde_Mail_Transport_Smtphorde->send()  
> /usr/share/pear/Horde/Mime/Part.php:1753
> 12. Horde_Mail_Transport->prepareHeaders()  
> /usr/share/pear/Horde/Mail/Transport/Smtphorde.php:122
> 13. Horde_Mail_Rfc822->parseAddressList()  
> /usr/share/pear/Horde/Mail/Transport.php:125
> 14. Horde_Mail_Rfc822->_parseAddressList()  
> /usr/share/pear/Horde/Mail/Rfc822.php:179
> 15. Horde_Mail_Rfc822->_parseAddress()  
> /usr/share/pear/Horde/Mail/Rfc822.php:251
> 16. Horde_Mail_Rfc822->_parseMailbox()  
> /usr/share/pear/Horde/Mail/Rfc822.php:286
> 17. Horde_Mail_Rfc822->_parseAddrSpec()  
> /usr/share/pear/Horde/Mail/Rfc822.php:356

This shouldn't be a fatal error, please create a ticket.
-- 
Jan Schneider
The Horde Project
http://www.horde.org/
https://www.facebook.com/hordeproject



More information about the horde mailing list