FWIW, one of the items on the 'future enhancements' list for qtp-newmodel is
to allow (easy) tailoring of chkuser. Thanks for the tip, Quinn, I think
that'll come in handy!

Quinn Comendant wrote:
> Ok, that was easy enough. Actually instead of modifying the sleep length, I 
> found it more convenient to just stop the rpmbuild job (control z) and edit 
> chkuser_settings.h, the restart the rpmbuild job (fg return).
> 
> Regarding disabling CHKUSER_RCPT_MX. And regrets to doing so? Works great for 
> me, but I'm not completely aware if this opens any security exploits.
> 
> Quinn
> 
> 
> On Wed, 8 Nov 2006 14:56:26 +0800, Bill Kwok wrote:
>> You have to rebuild qmail.  See the procedure provided by Nick Hemmesch:
>>  
>> Nick Hemmesch wrote: 
>>> The easy way: 
>>>
>>>   rpm -Uvh qmail-toaster*.src.rpm 
>>>
>>>   cd /usr/src/redhat/SPECS (assuming you are using CentOS 4) 
>>>
>>>   edit qmail-toaster.spec 
>>>
>>>   find 'sleep 5'  (should be line 606) 
>>>
>>>   change  5 to 300 (5 seconds to 300 seconds) 
>>>
>>>   rpmbuild -bb --with cnt40 qmail-toaster.spec 
>>>
>>>   When the build process pauses, make your changes. You have 5 minutes. 
>>>
>>>   edit /usr/src/redhat/BUILD/qmail- 1.03/chkuser_settings.h as you wish 
>>>
>>>   Save your changes and wait for the 300 seconds to expire and 
>>>   watch it build. 
>>>
>>>   cd ../RPMS/i386/ 
>>>
>>>   qmailctl stop 
>>>
>>>   rpm -Uvh --replacefiles --replacepkgs qmail-*.rpm 
>>>
>>>   qmailctl start 
>>>
>>>
>> On 11/8/06, Lucian Cristian <[EMAIL PROTECTED]> wrote:
>>> Quinn Comendant wrote:
>>>> Is there an easy way to disable CHKUSER_RCPT_MX or do I need to 
>>> recompile chkuser? 
>>>> It seems this one should be disabled by default. It is pretty 
>>> annoying to be sending an email to a couple dozen people and not be 
>>> able to send because one domain is wrong -- then having to go over 
>>> the list manually with your human eye-balls. That's the job of the 
>>> computer tell me which domain is missing MX records (even if via a 
>>> bounce message). 
>>>> Quinn
>>>>
>>>> ---------------------------------------------------------------------
>>>>      QmailToaster hosted by: VR Hosted <http://www.vr.org>
>>>> --------------------------------------------------------------------- 
>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>
>>>>
>>> I couldn't disable it even if I  disabled  the lines in
>>> chkuser_settings.h  and recompiled it.
>>>
>>> --------------------------------------------------------------------- 
>>>     QmailToaster hosted by: VR Hosted <http://www.vr.org>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>
>>
>> -- 
>> Best regards,
>> Bill
> 
> ---------------------------------------------------------------------
>      QmailToaster hosted by: VR Hosted <http://www.vr.org>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
-Eric 'shubes'

---------------------------------------------------------------------
     QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to