Help - Search - Members - Calendar
Full Version: Recompile Qmail w/DomainKeys?
The Planet Forums > Control Panels > Plesk
Chuckster
Anyone have the process/a process for recompiling the Qmail package from scratch (on a live plesk box)?

I know I need to include the Plesk qmail patches (got the .tgz file) and the DomainKeys packages (got em), but haven't found any instructions for patching qmail with the Plesk patches, etc.

Lots of files in the archive provided by SWSoft, but absolutely no instructions on what to do with them besides "patch qmail with our patches first, then apply your own".

Clear as mud!

Anyone out there wandered down this path before?
freemind
Do you have any answer on that thread or find any useful informations.

Thx for your help

Math
DW2
I need instructions on same...

Plesk 8 qmail patches
Plesk v7.5.4 qmail patches
qmail 1.03 source

Downloaded all to /usr/src

tar xzf qmail-1.03.tar.gz
tar xzf qmail_patches.tar.gz

As per this article I attempted to add the patches...

cd qmail-1.03
for d in ../qmail-patches/patch*; do patch <"$d"; done

Then compile qmail...

make setup check

I get an error
QUOTE
./chkspawn
Oops. Your system's FD_SET() has a hidden limit of 1024 descriptors.
This means that the qmail daemons could crash if you set the run-time
concurrency higher than 509. So I'm going to insist that the concurrency
limit in conf-spawn be at most 509. Right now it's 1000.
make: *** [spawn.o] Error 1

So I modify conf-spawn to 509 instead of 1000...

make setup check

I get an error
QUOTE
./compile qmail-remote.c
In file included from qmail-remote.c:53:
tls.h:4:25: openssl/ssl.h: No such file or directory
In file included from qmail-remote.c:53:
tls.h:7: error: syntax error before '*' token
tls.h:7: warning: data definition has no type or storage class
tls.h:9: error: syntax error before '*' token
In file included from qmail-remote.c:54:
ssl_timeoutio.h:4:25: openssl/ssl.h: No such file or directory
ssl_timeoutio.h:8:3: #error "Need OpenSSL version at least 0.9.6"

Checked for openssl
QUOTE
rpm -qa | grep openssl
openssl-0.9.7a-35

Of course I have openssl, but apparently need libs from somewhere...

Downloaded openssl source corresponding to my RPM version from here.

Created the apparent folder
mkdir openssl
Copied the 'include' files...

cd openssl
cp -L /usr/src/openssl-0.9.7a/include/openssl/* .

And still the same error about not being able to find include files in the openssl dir... I checked the conf-* files and there are no config options for this dir... also it concerns me that the users in conf-users are not the same plesk uses - won't this break things?

Thanks for any direction.
Victor_n3v
Here is URL for having "normal" qmail + DomainKeys installed:

http://jeremy.kister.net/howto/dk.html

It is working, did it dozen of times. You need to implement PSA patches for qmail (someone already copied the URL) and have luck icon_smile.gif.
xScott
Sorry to kind of Hi-jack this thread, but does anyone have a little more information on doing this? Its exactly what I need to do.

I've done whats mentioned, but I assume i've missed out the DK section, as its throwing errors relating to qmail-DK.

Any help is appreciated. Or if somebody could explain what i need to do, commands etc that has done it before that would be grand! I've been onto SWSOFT and they're outright refusing to help me saying "this isnt covered by your support".

Shocking.

Again, thanks in advance!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.