?
Solved

qmail install problems ucspi-tcp patching for rh9

Posted on 2003-11-26
3
Medium Priority
?
255 Views
Last Modified: 2010-03-18
Hello all I have been trying to create a mail server with qmail. I am running rh9 and I know it needs some patching. I have downloaded:

daemontools-0.70-3.src.rpm,
supervise-scripts-3.5-1.src.rpm,
ucspi-tcp-0.88-1.src.rpm,
djbdns-1.05-1.src.rpm,
djbdns-run-1.05-6.src.rpm and
ucspi-rss.diff.

I ran the rpm (rpm -ivh ucspi-tcp-0.88-1.src.rpm) for ucspi but when I try to patch the
/usr/src/redhat/SPECS/ucspi-tcp.spec
I keep getting errors. I have tried moving the patch to several dirctories around the file. The documentation I am looking at is at
http://docs.ag-it.com/AGITS-Secure-SMTP-Installation-Guide.pdf

According to this I should have the patch in /usr/src/redhat/SOURCES and running
patch < ucspi-tcp.spec.diff from the /usr/src/redhat/SPECS dir. I keep getting an error that this is not a file or directory. I have attempted this as a bianary install previously with just as much success. My frustration is mounting. I keep finding other ways of duing this but none of them have been successful. Am I missing something. I have tried building the ucspi-tcp.spec.rh9.diff file from the info listed and using the command but I keep getting an error;

[root@edblnxsrv SPECS]# patch < ucspi-tcp.spec.rh9.diff
patching file ucspi-tcp.spec
patch: **** malformed patch at line 4: Source: /usr/local/ucspi-tcp-0.88.tar.gz

I have tried to comment them out and to change them as you can see. The original line was;
Source: /usr/local/ucspi-tcp-%{version}.tar.gz

I get the same error. If I remove them I get an error on line 6;

patching file ucspi-tcp.spec
patch: **** malformed patch at line 6: BuildRoot: /tmp/ucspi-tcp

I am about to try just adding the new info to ucspi-tcp.spec but I really dont think that is what I am suppose to do. Does any one know what could be causing this.


Has any one run across this problem. Please help
0
Comment
Question by:ewchartech
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 160 total points
ID: 9831598
Without attempting a build matching what you are doing I can't say why it failing. But I will say that what you are attempting looks to me like that hard way to go about the task of setting up a mail server with anti-spam/anti-virus protection. I'd take RH 9, bring it up to date with the RedHat errata (for security & bug fixes), and install MailScanner (http://www.sng.ecs.soton.ac.uk/mailscanner/index.html). The only change to the default RedHat mail system is to remove the localhost restriction in Sendmail (see the comments in /etc/mail/sendmail.mc).
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question