Greetings, Dan.

On 19 декабря 2006 г., 19:16:02 you wrote:

> I've never used a .patch file before. Can you give me some info on the best
> way to use the patch file?

Well, it's not very easy but we can give it a try.
First of all, I attach two files to this message. One is the patch for
qmail-smtpd to allow verbose logging, second it a separate build tree
for new qmail-dk. Before we begin I need to know, what OS do you have
on your server? Most interest for me is the location of your RPMBUILD
folder. In RedHat derivates it is generally located in
/usr/src/redhat/. Easiest vay to find it out is to use:

# locate /SPECS
/home2/allukjanov/RPMBUILD/SPECS
/usr/src/redhat/SPECS

That is output for my system, I've got my personal separate build tree
for RPMS is my homedir, as well as system-wide default CentOS4
RPMBUILD tree.

Now, back to file attaches. Let us speak about smtpd patch after you
would answer to my question above. As for new qmail-dk, you will have
to build and install it as follows:
1.Store qmail-dk-0.6.beta.1.tar.gz somewhere on the system and chdir to
that directory, then do:
# mv qmail-dk-0.6.beta.1.tar.gz /the/place/you/plan/to/store/build/tree
# cd /the/place/you/plan/to/store/build/tree
# tar -zxvf qmail-dk-0.6.beta.1.tar.gz
# cd qmail-dk
# make

2. Now you will either have a successfully compiled new qmail-dk, or
ended up with error messages - in that case mail them to me, I'll try
to help you fix them.

3. Do the following:
# cp qmail-dk qmail-dk-new
# chmod 4711 qmail-dk-new
# chown qmailq.qmail qmail-dk-new
# mv qmail-dk-new /var/qmail/bin/
# cd /var/qmail/bin
# rm -f ./qmail-queue; ln -s /var/qmail/bin/qmail-dk-new qmail-queue

You're done, there's no need in restarting qmail. For qmail-dk-new to
work you will have to put aprop. environment variables back to
tcp.smtp file.

PS. I CC this message to mailing list as this instructions might be useful for 
other
users.

-- 
Best regards,
 Alexey Loukianov                          mailto:[EMAIL PROTECTED]
 System Engineer,
 IT Department,
 Lavtech Corp

Attachment: qmail-dk-0.6.beta.1.tar.gz
Description: GNU Zip compressed data

Attachment: qmail-smtpd-spf-qq-reject-logging.patch.gz
Description: GNU Zip compressed data

---------------------------------------------------------------------
     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