> Eric "Shubes" wrote:
>> Eric "Shubes" wrote:
>>> I'm getting the subject message in my smtp logs.
>>>
>>> While looking at qmailtoaster-1.3.1.patch, I noticed that
>>> CHKUSER_SENDER_FORMAT is still undefined (the default, according to
>>> the docs). However, I see that the "if defined CHKUSER_SENDER_FORMAT"
>>> is commented out. Egads! I checked the source from interazioni.it, and
>>> it's commented out there too. As a result, these checks are being done
>>> regardless of CHKUSER_SENDER_FORMAT. Is this a bug, or am I missing
>>> something?
>>>
>>> What do you suggest I do to correct the problem? Modify the
>>> qmailtoaster-1.3.1.patch to my liking and rebuild?
>>>
>> Ok, so I'm an idiot. These statements aren't commented out (C, duh).
>>
>> I'm still wondering why I'm getting these errors in the log when the
>> check is supposedly off by default.
>>
>> Anyone have an idea? In the meantime, I'll continue to look through
>> code.
>
> Now I see it. In the qmailtoaster-1.3.1.patch file, the #define
> CHKUSER_SENDER_FORMAT is indeed not commented out, so it is active. I
> also noticed the /var/qmail/doc/chkuser_settings.h file, which indicates
> that the setting is active, even though this is not the default setting
> for this (2.0.8b) version of chkuser, as indicated in CHKUSER.changelog.
>
> What do I need to do to change this setting? I tried modifying
> qmailtoaster-1.3.1.patch.bz2 file, then rpmbuild -ba qmailtoaster.spec,
> then rpm -Fvhf qmail-toaster-1.03-1.3.2.i386.rpm, but the change didn't
> apparently take (qmail-smtpd still shows the old date). Anyone want to
> slap some sense into this idiot (me)?
>
> --
> -Eric 'shubes'
Hi Erik,
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
Hope this helps . . .
Regards,
Nick
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]