i add to pipe.c in f store_message_temp follow code:

FILE *fp = fopen("/tmp/msg","w+"); fwrite(header,headersize,1,fp);
       fwrite(body,bodysize,1,fp);
       fclose(fp);

and run:

cat test.eml3 | ./dbmail-smtp -f /usr/local/dbmail.new/bin/dbmail.conf -d [EMAIL PROTECTED]

cat test.eml3:
From: =?koi8-r?Q?=E1=CE=D4=CF=CE=20=EE=C5=C8=CF=D2=CF=DB=C9=C8=20?=<[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: test
Content-Type: text/plain

test mail

cat  /tmp/msg:
From:
=?koi8-r?Q?=E1=CE=D4=CF=CE=20=EE=C5=C8=CF=D2=CF=DB=C9=C8=20?=<[EMAIL PROTECTED]
       l.ru>
To: [EMAIL PROTECTED]
Subject: test
MIME-Version: 1.0
Content-Type: text/plain

test mail

----------------------------------

why differed messages?

Reply via email to