Linux - Server This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
01-31-2011, 09:56 AM
|
#1
|
LQ Newbie
Registered: Jan 2011
Posts: 4
Rep:
|
outgoingips for qmail
hello everybody,
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
thanks
|
|
|
02-01-2011, 04:52 AM
|
#2
|
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,217
|
Hi and welcome to LQ,
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
and see if it fails
|
|
1 members found this post helpful.
|
02-01-2011, 05:10 AM
|
#3
|
LQ Newbie
Registered: Jan 2011
Posts: 4
Original Poster
Rep:
|
outgoingips qmail
First thank you for your response to my request
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:
Code:
patch-p0 <qmail-1.03_outgoingips.patch
patching file qmail-1.03/qmail-control.9
patching file qmail-1.03/qmail-remote.8
patching file qmail-1.03/qmail-remote.c
patching file qmail-1.03/qmail-showctl.c
patching file qmail-1.03/remoteinfo.c
patching file qmail-1.03/timeoutconn.c
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
|
and now what do I do?
thank you in advance
|
|
|
02-01-2011, 05:59 AM
|
#4
|
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,217
|
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
|
|
1 members found this post helpful.
|
02-01-2011, 06:12 AM
|
#5
|
LQ Newbie
Registered: Jan 2011
Posts: 4
Original Poster
Rep:
|
outgoingips for qmail
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?
thank you in advance
|
|
|
02-01-2011, 06:47 AM
|
#6
|
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,217
|
How should I know?
You must contact tech support, tell them what you want to do and they will help you on this
Regards
|
|
|
02-01-2011, 06:50 AM
|
#7
|
LQ Newbie
Registered: Jan 2011
Posts: 4
Original Poster
Rep:
|
outgoingips for qmail
thank you so much for your help
|
|
|
All times are GMT -5. The time now is 12:57 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|