Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have qmail 1.03 runing under centos with 3 IP's but qmail use the primary IP (eth0) ,I found in other forum that i must patch qmail with outgoingips.patch , and recompile qmail source ,but i'am afraid to lose controle of the server ,i'm not pro in LINUX , I need your help to show me how do it
First of all you should know how qmail was installed in your system. There are various ways to install qmail, like Qmailtoaster, QmailRocks etc, that are already heavily patched and maybe the outgoingips patch is already applied, or it cannot be applied. Better check the documentation about your qmail installation for details.
Anyway, to test if your qmail can be patched, copy the sources directory somewhere else (like /tmp) and apply the patch:
Code:
cp -rp qmail-1.03 /tmp
cd /tmp
patch -p0 < /path/to/qmail-1.03_outgoingips.patch
that's what I did:
-I have downloaded the source of qmail-1.03
-I 've downloaded the patch qmail-1.03_outgoingips.patch
-I 've run the command you told me
and here is the result:
I tried to compile the source qmail-1.03 but I could not:
Quote:
# Make
->>>>
. / Load auto-str substdio.a error.a str.a
/ Usr / bin / ld: errno: TLS definition in / lib64/libc.so.6 section. Tbss mismatches non-TLS reference in substdio.a (substdo.o)
/ Lib64/libc.so.6: could not read symbols: Bad value
collect2: ld returned 1 exit status running
make: *** [auto-str] Error 1
You didn't pay attention to what I said. I told you to find out how qmail was installed in a first place, because it could be already patched against lots of things. Note that qmail-1.03 came out in 1998 and since then there are only patches that are used to keep it sort of "up-to-date".
I told you to copy the sources of the current running qmail (as a backup) and apply the patch to them. What you've done is that you patched a vanilla qmail source and of course patching was successful. If you install this patched qmail you may lose any other modifications done to the current running qmail
If you're absolutely sure that you're running a vanilla qmail (which I doubt) you can go ahead and install it, running
sorry if I have not paid attention to what you've already said I'm newbie, but I work on a dedicated server pre-installed, and I can not find the source of qmail installed on the server, if you can tell me where I can find this source?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.