[imp] maximum number of recipients setting is not working.

Jan Schneider jan at horde.org
Thu Aug 12 12:53:03 UTC 2010


Zitat von ANANT S ATHAVALE <asa at isac.gov.in>:

> ----- Message from jan at horde.org ---------
>     Date: Thu, 12 Aug 2010 14:45:36 +0200
>     From: Jan Schneider <jan at horde.org>
>  Subject: Re: [imp] maximum number of recipients setting is not working.
>       To: imp at lists.horde.org
>
>
>> Is it 1 or true? If it's really 1, you shouldn't be able to send to  
>> more than one recpient. If it's true, there is no limit.
>
> The lines which I have added for debugging always print 1.  I don't  
> know, whether it is internally interpreted as 1 or TRUE.

Use var_export($variable, true) instead of plain $variable.

> BTW, I am using eAccelerator, would it cause any problem?

Not necessarily eAccelerator, but it could be a stale cache. Try with  
caching disabled.

>> Setting the limit works fine here by the way.
>>
>> Zitat von ANANT S ATHAVALE <asa at isac.gov.in>:
>>
>>> Dear List,
>>>
>>> It does not seem to be anything to do with Draft/not draft.  I  
>>> tried to debug, added few lines in imp/lib/Compose.php.
>>>
>>> -------------------------
>>>
>>> 1275d1274
>>> <             Horde::logMessage('exceed=' . $exceed, __FILE__,  
>>> __LINE__, PEAR_LOG_NOTICE);
>>> 1277d1275
>>> <             Horde::logMessage('max_recipients=' .  
>>> $max_recipients, __FILE__, __LINE__, PEAR_LOG_NOTICE);
>>>
>>> ---------------------------
>>>
>>> But, I find that, max_recipients is always '1' and not the value  
>>> which I have set.
>>>
>>> Please guide me to further debug.
>>>
>>> -ANANT.
>>>
>>> ----- Message from asa at isac.gov.in ---------
>>>   Date: Wed, 11 Aug 2010 11:50:20 +0530
>>>   From: ANANT S ATHAVALE <asa at isac.gov.in>
>>> Subject: Re: [imp] maximum number of recipients setting is not working.
>>>     To: imp at lists.horde.org
>>>
>>>
>>>> Dear List,
>>>>
>>>> All my settings are correct.  I have set 'Show,Read,Edit,Delete'  
>>>> permissions enabled for IMP (now).  I am trying to block  
>>>> recipients more than 30.   I am using the old sent-mail (mark it  
>>>> as draft) and send it again (which has more than 30 recipients)   
>>>> and this is not getting blocked. When I open the sent-mail  
>>>> folder, the mail which I am opening as draft has "Undisclosed  
>>>> recipients" under "To" column (does this mean anything?)..
>>>>
>>>> But, when I open it for sending it again, all addresses show up  
>>>> (35) and when I send mail, it is sent.
>>>>
>>>> Could this be a bug?
>>>>
>>>> Regards,
>>>> ANANT.
>>>>
>>>>
>>>>
>>>> ----- Message from lst_hoe02 at kwsoft.de ---------
>>>>  Date: Tue, 10 Aug 2010 10:02:46 +0200
>>>>  From: lst_hoe02 at kwsoft.de
>>>> Subject: Re: [imp] maximum number of recipients setting is not working.
>>>>    To: imp at lists.horde.org
>>>>
>>>>
>>>>> Zitat von ANANT S ATHAVALE <asa at isac.gov.in>:
>>>>>
>>>>>> Dear List,
>>>>>>
>>>>>> Based on one of the queries over this list, I have tried to set  
>>>>>> this limit.
>>>>>>
>>>>>> 1. /imp/conf.php
>>>>>>
>>>>>> $conf['sentmail']['params']['threshold'] = 60;
>>>>>> $conf['sentmail']['params']['limit_period'] = 24;
>>>>>> $conf['sentmail']['params']['table'] = 'imp_sentmail';
>>>>>> $conf['sentmail']['params']['driverconfig'] = 'horde';
>>>>>> $conf['sentmail']['driver'] = 'sql';
>>>>>
>>>>> The values set in conf.php or other files in the config/ dir are  
>>>>> only used as default if no other value is present. If you want  
>>>>> to alter existing values you have to use the admin interface in  
>>>>> horde and set the values for the desired user(s).
>>>>>
>>>>> Regards
>>>>>
>>>>> Andreas
>>>>>
>>>>>
>>>>> -- 
>>>>> IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
>>>>> Frequently Asked Questions: http://horde.org/faq/
>>>>> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>>>>>
>>>>
>>>>
>>>> ----- End message from lst_hoe02 at kwsoft.de -----
>>>>
>>>>
>>>>
>>>> Regards,
>>>>
>>>> Anant Athavale.
>>>>
>>>> ------------------------------------------------------------------------------
>>>> 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.
>>>> ------------------------------------------------------------------------------
>>>>
>>>> -- 
>>>> IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
>>>> Frequently Asked Questions: http://horde.org/faq/
>>>> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>>>>
>>>
>>>
>>> ----- End message from asa at isac.gov.in -----
>>>
>>>
>>>
>>> Regards,
>>>
>>> Anant Athavale.
>>>
>>> ------------------------------------------------------------------------------
>>> 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.
>>> ------------------------------------------------------------------------------
>>>
>>> -- 
>>> IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
>>> Frequently Asked Questions: http://horde.org/faq/
>>> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>>>
>>
>>
>>
>> Jan.
>>
>> -- 
>> Do you need professional PHP or Horde consulting?
>> http://horde.org/consulting/
>>
>> -- 
>> IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>>
>
>
> ----- End message from jan at horde.org -----
>
>
>
> Regards,
>
> Anant Athavale.
>
> ------------------------------------------------------------------------------
> 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.
> ------------------------------------------------------------------------------
>
> -- 
> IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>



Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the imp mailing list