incoming messages stuck in queue due to tnef bug

Greg Matthews gmatt at nerc.ac.uk
Wed Sep 13 13:56:42 IST 2006


If anyone is interested, the following .spec file will build the tnef 
rpm for RHEL (CentOS) v4.4. The one that comes with the tarball is 
slightly off...

GREG
-- 
Greg Matthews           01491 692445
Head of UNIX/Linux, iTSS Wallingford

-- 
This message (and any attachments) is for the recipient only. NERC
is subject to the Freedom of Information Act 2000 and the contents
of this email and any reply you make may be disclosed by NERC unless
it is exempt from release under the Act. Any material supplied to
NERC may be stored in an electronic records management system.

-------------- next part --------------
# rpm spec file for tnef 1.4.3
Summary: Decodes MS-TNEF attachments.
Name: tnef
Version: 1.4.3
Release: 1
Group: Mail/Encoders
Copyright: GPL
Source: http://world.std.com/~damned/tnef-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Prefix: /usr
Vendor: Angst Programming I.G.
URL: http://tnef.sourceforge.net
Packager: Mark Simpson <verdammelt at users.sourceforge.net>

%description
TNEF is a program for unpacking MIME attachments of type
"application/ms-tnef". This is a Microsoft only attachment.

Due to the proliferation of Microsoft Outlook and Exchange mail servers,
more and more mail is encapsulated into this format.

The TNEF program allows one to unpack the attachments which were
encapsulated into the TNEF attachment.  Thus alleviating the need to use
Microsoft Outlook to view the attachment.


%prep
%setup

%build
CFLAGS=${RPM_OPT_FLAGS} ./configure --prefix=%{prefix} --datarootdir=%{prefix}/share
make all

%install
make "DESTDIR=${RPM_BUILD_ROOT}" install

%clean
rm -rf ${RPM_BUILD_ROOT}

%files
%defattr(-,root,root)
%doc README COPYING ChangeLog AUTHORS NEWS TODO BUGS
%{prefix}/bin/tnef
%{prefix}/share/man/man1/tnef.1
-------------- next part --------------
# rpm spec file for tnef 1.4.3
Summary: Decodes MS-TNEF attachments.
Name: @PACKAGE_NAME@
Version: @PACKAGE_VERSION@
Release: 1
Group: Mail/Encoders
Copyright: GPL
Source: http://world.std.com/~damned/tnef-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Prefix: @prefix@
Vendor: Angst Programming I.G.
URL: http://tnef.sourceforge.net
Packager: Mark Simpson <@PACKAGE_BUGREPORT@>

%description
TNEF is a program for unpacking MIME attachments of type
"application/ms-tnef". This is a Microsoft only attachment.

Due to the proliferation of Microsoft Outlook and Exchange mail servers,
more and more mail is encapsulated into this format.

The TNEF program allows one to unpack the attachments which were
encapsulated into the TNEF attachment.  Thus alleviating the need to use
Microsoft Outlook to view the attachment.


%prep
%setup

%build
CFLAGS=${RPM_OPT_FLAGS} ./configure --prefix=%{prefix} --datarootdir=%{prefix}/share
make all

%install
make "DESTDIR=${RPM_BUILD_ROOT}" install

%clean
rm -rf ${RPM_BUILD_ROOT}

%files
%defattr(-,root,root)
%doc README COPYING ChangeLog AUTHORS NEWS TODO BUGS
%{prefix}/bin/tnef
%{prefix}/share/man/man1/tnef.1


More information about the MailScanner mailing list