LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-31-2011, 08:56 AM   #1
binis
LQ Newbie
 
Registered: Jan 2011
Posts: 4

Rep: Reputation: 0
Unhappy 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
 
Old 02-01-2011, 03:52 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
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.
Old 02-01-2011, 04:10 AM   #3
binis
LQ Newbie
 
Registered: Jan 2011
Posts: 4

Original Poster
Rep: Reputation: 0
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
 
Old 02-01-2011, 04:59 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
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
Code:
make setup check
 
1 members found this post helpful.
Old 02-01-2011, 05:12 AM   #5
binis
LQ Newbie
 
Registered: Jan 2011
Posts: 4

Original Poster
Rep: Reputation: 0
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
 
Old 02-01-2011, 05:47 AM   #6
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
How should I know?
You must contact tech support, tell them what you want to do and they will help you on this

Regards
 
Old 02-01-2011, 05:50 AM   #7
binis
LQ Newbie
 
Registered: Jan 2011
Posts: 4

Original Poster
Rep: Reputation: 0
Smile outgoingips for qmail

thank you so much for your help
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
qmail /service/qmail-send: unable to open supervise mangueJOE Linux - Networking 20 04-19-2016 11:27 PM
Need help with /var/qmail/supervise/qmail-smtpd/run coolamit78 Linux - Networking 4 02-02-2012 10:50 AM
Open Webmail / Mailfront / smtpfront-qmail / qmail-smtpd Apollo77 Linux - Software 2 01-20-2009 03:33 AM
applying c.k. davis qmail buffer patch to live qmail server baronsam Linux - Server 4 04-22-2007 02:02 PM
qmail +qmail-qfilter + qmail-scanner-queue+qmail-user-masq.pl problem countcobolt Linux - Networking 0 07-08-2004 11:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration