[Mimedefang] RE: MIMEDefang 2.6 build problem
Systems Administrator
sysadmin at aims.gov.au
Wed Mar 6 00:57:38 EST 2002
An update to this problem:
I found that the socket.h on my Solaris 2.6 system lacked the definition for
socklen_t. I copied the socket.h from a 2.7 system and compiled fine but now
I get the following when MD encounters an attachment for removal:
Mar 6 15:36:28 purple.aims.gov.au sm-mta[29591]: g265aRxf029591:
from=<sysadmin at aims.gov.au>, size=2319, class=0, nrcpts=1,
msgid=<007f01c1c4d1$adae8830$1b20078a at aims.gov.au>, proto=SMTP, daemon=MTA,
relay=[138.7.32.27]
Mar 6 15:36:30 purple.aims.gov.au in.ftpd[29594]: connect from 138.7.32.4
Mar 6 15:36:31 purple.aims.gov.au sendmail[29596]: PAA29596:
from=sysadmin at aims.gov.au, size=1399, class=0, pri=31399, nrcpts=1,
msgid=<200203060536.PAA29596 at aims.gov.au>, relay=root at localhost
Mar 6 15:36:34 purple.aims.gov.au sendmail[29596]: PAA29596:
to=sysadmin at aims.gov.au, ctladdr=sysadmin at aims.gov.au (0/1), delay=00:00:03,
xdelay=00:00:03, mailer=smtp, relay=int-mail.aims.gov.au. [138.7.32.14],
stat=Sent (PAA05433 Message accepted for delivery)
Mar 6 15:36:35 purple.aims.gov.au mimedefang[29585]: Perl stderr: Use of
uninitialized value at /usr/local/lib/perl5/5.00503/sun4-solaris/Socket.pm
line 298.
Mar 6 15:36:35 purple.aims.gov.au last message repeated 1 time
Mar 6 15:36:35 purple.aims.gov.au mimedefang[29585]: Perl stderr: connect:
Cannot assign requested address at /usr/local/bin/mimedefang.pl line 907
Mar 6 15:36:35 purple.aims.gov.au mimedefang[29585]: Filter did not remove
UNFINISHED file -- returning tempfail code to sendmail
Mar 6 15:36:35 purple.aims.gov.au sm-mta[29591]: g265aRxf029591: Milter
message: body replaced
Mar 6 15:36:35 purple.aims.gov.au sm-mta[29591]: g265aRxf029591: Milter
change: header Content-Type: from
multipart/mixed;\n\tboundary="----=_NextPart_000_007C_01C1C525.7B146300" to
multipart/mixed; boundary="----=_NextPart_000_007C_01C1C525.7B146300"
Mar 6 15:36:35 purple.aims.gov.au sm-mta[29591]: g265aRxf029591: Milter:
data, reject=451 4.7.1 Please try again later
Mar 6 15:36:35 purple.aims.gov.au sm-mta[29591]: g265aRxf029591:
to=<sysadmin at aims.gov.au>, delay=00:00:07, pri=30516, stat=Please try again
later
I'm a little out of my depth with this, any assistance would be most
appreciated.
Regards
James
--
Systems Administrator Ph: +61 7 4753 4400
Australian Institute of Marine Science Fax: +61 7 4772 5852
Townsville, FNQ, Australia, 4810 Email: sysadmin at aims.gov.au
Web: http://www.aims.gov.au
-----Original Message-----
From: Systems Administrator [mailto:sysadmin at aims.gov.au]
Sent: Tuesday, 5 March 2002 11:55 AM
To: MIMEDefang at lists.roaringpenguin.com
Subject: MIMEDefang 2.6 build problem
Hi,
I am trying to build MIMEDefang 2.6 on a SPARC Solaris 2.6 system, running
Sendmail 8.12.2. Goes through the configure stage without any problems but
get the following error when I do a make:
gcc -g -O2 -DPERL_PATH=\"/bin/perl\" -DMIMEDEFANG_PL=\"/usr/local/bin/mime
defang.pl\" -DRM=\"/bin/rm\" -DVERSION=\"2.6\" -DSPOOLDIR=\"/var/spool/MI
MEDefang\" -I/usr/local/include/sendmail -c -o mimedefang.o mimedefang.c
gcc -g -O2 -o mimedefang mimedefang.o /usr/local/lib/libmilter.a
/usr/local/lib/libsmutil.a -lpthread -lnsl -lsocket -lresolv -lsm
strip mimedefang
gcc -g -O2 -DPERL_PATH=\"/bin/perl\" -DMIMEDEFANG_PL=\"/usr/local/bin/mimed
efang.pl\" -DRM=\"/bin/rm\" -DVERSION=\"2.6\" -DSPOOLDIR=\"/var/spool/MIM
EDefang\" -I/usr/local/include/sendmail -c -o mimedefang-multiplexor.o
mimedefang-multiplexor.c
In file included from mimedefang-multiplexor.c:19:
event_tcp.h:69: parse error before `socklen_t'
*** Error code 1
make: Fatal error: Command failed for target `mimedefang-multiplexor.o'
Any ideas?
Regards
James
--
Systems Administrator Ph: +61 7 4753 4400
Australian Institute of Marine Science Fax: +61 7 4772 5852
Townsville, FNQ, Australia, 4810 Email: sysadmin at aims.gov.au
Web: http://www.aims.gov.au
More information about the MIMEDefang
mailing list