Re: [Mimedefang] Installing on FreeBSD

2005-05-03 Thread Lisa Casey
Hi,
Ok but this basically sucks. I'm sure I should be installing from ports. But 
I don't seem to be able to do that, and I do know how to install source 
files.

When I try  to do a pkg_add to install the mimedefang  port that I've 
downloaded from freebsd.org, I get this:

radius# pkg_add -r mimedefang.tar.gz
Error: FTP Unable to get 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4
-stable/Latest/mimedefang.tar.gz.tgz: File unavailable (e.g., file not 
found, no
access)
pkg_add: unable to fetch 
`ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-
4-stable/Latest/mimedefang.tar.gz.tgz' by URL

So I moved the tarball over to /usr/ports/distfiles, extracted it and ran 
make. That resulted in:

radius# more distinfo
MD5 (mimedefang-2.51.tar.gz) = 9c4df4ec349e414f893c940ff563bea5
SIZE (mimedefang-2.51.tar.gz) = 302006
radius# make
Makefile, line 53: Malformed conditional (${PERL_LEVEL}  500601)
Makefile, line 53: Need an operator
Makefile, line 55: if-less endif
Makefile, line 55: Need an operator
make: fatal errors encountered -- cannot continue
At this rate it'll be forever before I get mimedefang installed and in the 
meantime I have customers upset because they are receiving unacceptable 
levels of spam. Surely someone can help me out with installing mimedefang 
from source and getting this sendmail stuff I have questions about working.

Of course, if someone  wants to tell me what I'm doing wrong in trying to 
install this as a package and howe to do it right, that would be OK too :-)

I'm going to CC  this to the FreeBSD list in case someone on that list might 
be able to help.

Thanks,
Lisa Casey

- Original Message - 
From: ADNET Ghislain [EMAIL PROTECTED]
To: mimedefang@lists.roaringpenguin.com
Sent: Monday, May 02, 2005 6:28 PM
Subject: Re: [Mimedefang] Installing on FreeBSD


Lisa Casey wrote:
 Hi,

 I need to install Mimedefang on a FreeBSD 4.6 system as the Redhat
 system I was running my mail server on crashed. I've  upgraded perl to
 5.8.6 (it was 5.001 or something like that) and installed the
 necessary perl modules for mimedefang. I have a couple of questions
 though about installing on FreeBSD (this is different from the way my
 Red Hat system was).

 I have Sendmail 8.13 on here. According to the Mimedefang instructions
 I need to make sure I have a queue runner. Does anyone know if
 Sendmail 8.13 will do this automatically? In the mimedefang
 instructions I was reading it said to do this by adding sendmail -Ac
 -qp5m to the init script for Sendmail. On my Red Hat system this was
 in /etc/init.d. I can't find where I should specify this on FreeBSD.

 When I installed my radius server on this FreeBSD system, I put the
 init script for it in /usr/local/etc/rc.d (there's  no sendmail script
 therre). Is this where I should put my mimedefang init script? How
 will I know if this stops  starts mimedefang at the right times? I
 believe mimedefang should start up after Sendmail does and should be
 stopped before Sendmail is.

 Thanks,

 Lisa Casey




Hi lisa,
  You should use the port system to install it on freeBSD, think of it
like the rpm for redhat... :)
regards,
Ghislain.
--
AQUEOS - Service Informatique
1, Rue Albert Einstein
77420 Champs sur marne
Service technique :  [EMAIL PROTECTED]
Service commercial :  [EMAIL PROTECTED]
Tel : 06.63.79.27.38 /  01.64.02.99.37
___
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
MIMEDefang@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.0 - Release Date: 4/29/2005

--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.2 - Release Date: 5/2/2005


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.2 - Release Date: 5/2/2005
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [Mimedefang] Installing on FreeBSD

2005-05-03 Thread Toomas Aas
Lisa Casey wrote:
Ok but this basically sucks. I'm sure I should be installing from ports. 
Me too.
But I don't seem to be able to do that, and I do know how to install 
source files.

When I try  to do a pkg_add to install the mimedefang  port that I've 
downloaded from freebsd.org, I get this:
pkg_add installs package (a pre-compiled binary), not port.
radius# pkg_add -r mimedefang.tar.gz
Error: FTP Unable to get 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4
-stable/Latest/mimedefang.tar.gz.tgz: File unavailable (e.g., file not 
found, no
access)
pkg_add: unable to fetch 
`ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-
4-stable/Latest/mimedefang.tar.gz.tgz' by URL
I have rarely, if ever at all, used pkg_add (I prefer ports), but I 
don't think that using argument 'mimedefang.tar.gz' is correct.

So I moved the tarball over to /usr/ports/distfiles, extracted it and 
ran make. 
If you have decided to install from source tarball, you should perform 
the installation outside the ports tree.

That resulted in:
radius# more distinfo
MD5 (mimedefang-2.51.tar.gz) = 9c4df4ec349e414f893c940ff563bea5
SIZE (mimedefang-2.51.tar.gz) = 302006
radius# make
Makefile, line 53: Malformed conditional (${PERL_LEVEL}  500601)
Makefile, line 53: Need an operator
Makefile, line 55: if-less endif
Makefile, line 55: Need an operator
make: fatal errors encountered -- cannot continue
You are probably trying to run BSD make against a GNU makefile. If you 
really want to install from source tarball, use gmake.

At this rate it'll be forever before I get mimedefang installed and in 
the meantime I have customers upset because they are receiving 
unacceptable levels of spam. Surely someone can help me out with 
installing mimedefang from source 
At this stage I'd still recommend using ports. Just read 'man ports', as 
well as Section 4.5 of the Handbook, to get your confusion cleared up :-)

--
Toomas Aas 
|arvutivõrgu peaspetsialist | head specialist on computer networks|
|Tartu Linnakantselei   | Tartu City Office   |
- +372 736 1274
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]