* SUMMARY: Mail delivery
@ 1998-12-24 7:26 maurerf
0 siblings, 0 replies; only message in thread
From: maurerf @ 1998-12-24 7:26 UTC (permalink / raw)
To: tru64-unix-managers
My Thanks goes to:
Mike D Cross
Bevan Broun
for their quick replies
Bevan point me to a tool called uudeview, which can decode some differents
kind of encoding methods. This tool was better than munpack, but was still
having troubles when subject fields were empty.
On the other side Mike was suggesting using procmail or even perl modules to
manipulate the mails.
I finaly fixed the real problem in zfilter rule, I was moving incoming mails
to a container file an then processing the content with a perl script:
# store messages and forward to UNISYS
if(always)
save in_msg
pipe /bin/mv_to_inqueue.pl
stop
This way doesn't ensure that only one mail is processed by the perl script.
So I decided to do everything in the perl script:
# store messages and forward to UNISYS
if(always)
pipe /usr/users/izv-db/bin/mv_to_inqueue.pl
delete
stop
and the perl script contains a very simple statment to save the mail:
while (<>) {
print INMSG $_;
}
close INMSG;
The original posting was:
I'm using a filter (zfilter) to route mails to an application, and munpack
to decode mime attachements. When mails are delivered at the same time to
the mailbox, they are appended together in the same output file. In this
case munpack is only able to extract the attachment of the first mail.
Is there a way to extract the other attachments (on unix)? Or eventually to
split the mails with a mail utility from shell?
__________________________________________________
Felix Maurer
Die Schweizerische Post Tel: +41-31-338 98 49
Informatik POST Fax: +41-31-338 98 80
Messaging Management
Webergutstrasse 12 Mailto:maurerf@post.ch
CH-3030 Bern http://www.post.ch
__________________________________________________
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1998-12-24 7:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-12-24 7:26 SUMMARY: Mail delivery maurerf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox