Thanks Jesse,
I grabbed the latest CVS code, however it fails make when it cannot find
dbmail-message.h:
make[2]: Entering directory `/opt/build/dbmail-cvs/10062004/dbmail'
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fomit-frame-pointer
-g -O2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -W -Wall
-Wpointer-arith -Wstrict-prototypes -c header.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -fomit-frame-pointer -g -O2
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -W -Wall
-Wpointer-arith -Wstrict-prototypes -Wp,-MD,.deps/header.pp -c header.c
-fPIC -DPIC -o .libs/header.o
header.c:32:28: dbmail-message.h: No such file or directory
header.c: In function `split_message':
header.c:55: warning: implicit declaration of function `dbmail_message_new'
header.c:55: warning: initialization makes pointer from integer without
a cast
header.c:56: warning: implicit declaration of function `dbmail_message_init'
header.c:56: warning: assignment makes pointer from integer without a cast
header.c:58: warning: implicit declaration of function
`dbmail_message_get_headers_as_string'
header.c:58: warning: assignment makes pointer from integer without a cast
header.c:59: warning: implicit declaration of function
`dbmail_message_get_body_as_string'
header.c:59: warning: assignment makes pointer from integer without a cast
header.c:60: warning: implicit declaration of function
`dbmail_message_get_rfcsize'
header.c:69: warning: implicit declaration of function
`dbmail_message_destroy'
header.c:49: warning: unused parameter `whole_message_size'
Jesse Norell wrote:
Hello,
So that's something messed up with folding whitespace (ie. a header
line that wraps to the next line). I didn't follow the original
message trace you posted, but at this point can you try the new code
Paul Stevens just put in (ie. latest cvs)? I suppose it's possible
also that procmail itsself would be causing a problem there, but
I'd doubt it offhand - try that first.
---- Original Message ----
From: Dan Stilts <[email protected]>
To: DBMAIL Developers Mailinglist <[email protected]>
Subject: Re: [Dbmail-dev] Re: [Dbmail] Malformed headers in Outlook Express
Sent: Tue, 05 Oct 2004 13:22:46 -0700
Ah, thanks Jesse...
However, when I do that, the problem still exists for me. In Outlook
express, looking at the properties on the email I see
Headers:
Received: from DSTILTS (unknown [63.80.58.206])
And that's it...but the body of the email contains everything else:
by <smtp.server>.com (Postfix) with SMTP id B36E6289986
for <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>; Tue, 5 Oct
2004 13:17:54 -0700 (PDT)
Message-ID: <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>>
From: "Dan Stilts" <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
To: "Dan Stilts" <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
Subject: test with | not !
Date: Tue, 5 Oct 2004 13:18:59 -0700
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on <server.com></server>
X-Spam-Level:
X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no
version=2.63
Jesse Norell wrote:
Hello Dan,
Aaron Stone wrote:
From the file dbmail/EXTRAS:
Dbmail can forward to external programs.
Create an alias. Set the deliver_to for that alias to:
"|/usr/bin/procmail" will pipe the message for the alias to procmail
"!/usr/bin/procmail" will do the same but add a mbox style header
The "mbox style header" Aaron was pointing out is the very "From " line
you mention below that is causing you problems. Ie. change "!" to "|" in
your deliver_to.
Dan Stilts <[EMAIL PROTECTED]> said:
one other bit of info i just noticed
When comparing the headers from the two emails (one sent to alias with
deliver_to set to procmail, which is then inserted again using
dbmail-smtp -m "INBOX" -u <user>, and one sent to deliver_to of the uid
of the account), I notice an extra line being added to the end:
From [EMAIL PROTECTED] Tue Oct 5 10: 26:00 2004
--
Jesse Norell
[EMAIL PROTECTED] is not my email address;
change "administrator" to my first name.
--
_______________________________________________
Dbmail-dev mailing list
[email protected]
http://twister.fastxs.net/mailman/listinfo/dbmail-dev
_______________________________________________
Dbmail-dev mailing list
[email protected]
http://twister.fastxs.net/mailman/listinfo/dbmail-dev
-- End Original Message --
--
Jesse Norell
[EMAIL PROTECTED] is not my email address;
change "administrator" to my first name.
--
_______________________________________________
Dbmail-dev mailing list
[email protected]
http://twister.fastxs.net/mailman/listinfo/dbmail-dev