
On Fri, Mar 21, 2003 at 06:25:10PM -0800, T S wrote:
I receive this error when piping a mailbox to PostMaster.pl
cat /opt/otrs/doc/test-email-1.box |/opt/otrs/bin/PostMaster.pl Bad RFC822 field name 'R0c0-Path' at /opt/otrs/Kernel/cpan-lib/Mail/Internet.pm line 118
So it causes the process of picking up /opt/otrs/var/spool/* to fail.
Yet, when I use procmail, the messages DO WORK...or if I do in /etc/aliases, this also works:
support: "|/opt/otrs/bin/PostMaster.pl"
I can't figure out why this happens, though it is something to do with the top headers:
From darthvader@otrs.org Fri Dec 21 23:55:24 2001 Return-Path:
Received: (from darthvader@localhost) by avro.de (8.11.3/8.11.3/SuSE Linux 8.11.1-0.5) id f3MMSE303694 for martin@localhost; Fri, 21 Dec 2001 23:55:24 +0200 If I remove these, it works fine (i.e. just the rest of the headers and message piped doesn't cause this error. I am using Redhat 8, with the RPM installation. Everything else is working fine.
That's strange! Because it dosn't matter if you use cat/pipe, procmail or /etc/aliases. This is always the same way (email -=> PostMaster.pl via STDIN). Is /opt/otrs/doc/test-email-1.box the original file of the OTRS package?
Tara
Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- Noch 175 Tage bis zum Gäubodenvolksfest! ;-)