|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: Problems with cyrus deliver and message format
From: James F. Hranicky (jfh
cise.ufl.edu)Date: Thu Nov 02 2000 - 15:33:42 CST
- Next message: James F. Hranicky: "Re: Problems with cyrus deliver and message format"
- Previous message: jcarminati
pluspetrol.com.ar: "Re: getting postfix msgs off the console"
- Next in thread: James F. Hranicky: "Re: Problems with cyrus deliver and message format"
- Reply: Ajay Tallam: "Re: Problems with cyrus deliver and message format"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[ I've also sent this to cyrus-bugs+
andrew.cmu.edu ]
Cyrus imapd version : 2.0.7
Cyrus sasl version : 1.5.24
OS version : FreeBSD 4.1.1-STABLE
I'm trying to get postfix (both snapshot-20001005 and snapshot-20001030)
to work with cyrus, however, everytime delivery is attempted, I get a
data format error:
Nov 2 14:38:57 palm.cise.ufl.edu postfix/pipe[45574]:
043DF20F04: to=<jfh
cise.ufl.edu>, relay=cyrus, delay=5,
status=bounced (data format error)
So, in an attempt to get delivery working at all, I ran the deliver program
by hand on another already delivered piece of mail:
% cat ~jfh/Mail/inbox/2 | deliver jfh ; echo $?
65
The contents of ~jfh/Mail/inbox/2 :
% cat ~jfh/Mail/inbox/2
From jfh
cise.ufl.edu Wed Nov 1 11:17:40 2000
Return-Path: <jfh
cise.ufl.edu>
Delivered-To: jfh
cise.ufl.edu
Received: from cise.ufl.edu (palm.cise.ufl.edu [128.227.205.231])
by testpc.cise.ufl.edu (Postfix) with SMTP id A24FD20F02
for <jfh>; Wed, 1 Nov 2000 11:17:35 -0500 (EST)
Message-Id: <20001101161735.A24FD20F02
testpc.cise.ufl.edu>
Date: Wed, 1 Nov 2000 11:17:35 -0500 (EST)
From: jfh
cise.ufl.edu
To: undisclosed-recipients:;
icky
Using ktrace to see what's going on:
% cat ~jfh/Mail/inbox/2 | ktrace -id deliver jfh ; echo $?
65
% kdump
[ ... ]
46420 deliver CALL socket(0x1,0x1,0)
46420 deliver RET socket 3
46420 deliver CALL connect(0x3,0xbfbfd128,0x17)
46420 deliver NAMI "/var/imap/socket/lmtp"
46420 deliver RET connect 0
46420 deliver CALL break(0x8063000)
46420 deliver RET break 0
46420 deliver CALL read(0x3,0x805d000,0x1000)
46420 deliver GIO fd 3 read 47 bytes
"220 palm.cise.ufl.edu LMTP Cyrus v2.0.7 ready\r
[ ... ]
46420 deliver CALL write(0x3,0x8061000,0x1d2)
46420 deliver GIO fd 3 wrote 466 bytes
"From jfh
cise.ufl.edu Wed Nov 1 11:17:40 2000\r
Return-Path: <jfh
cise.ufl.edu>\r
Delivered-To: jfh
cise.ufl.edu\r
Received: from cise.ufl.edu (palm.cise.ufl.edu [128.227.205.231])\r
by testpc.cise.ufl.edu (Postfix) with SMTP id A24FD20F02\r
for <jfh>; Wed, 1 Nov 2000 11:17:35 -0500 (EST)\r
Message-Id: <20001101161735.A24FD20F02
testpc.cise.ufl.edu>\r
Date: Wed, 1 Nov 2000 11:17:35 -0500 (EST)\r
From: jfh
cise.ufl.edu\r
To: undisclosed-recipients:;\r
\r
icky\r
\r
\r
.\r
"
46420 deliver RET write 466/0x1d2
46420 deliver CALL read(0x3,0x805d000,0x1000)
46420 deliver GIO fd 3 read 43 bytes
"554 5.6.0 Message contains invalid header\r
"
I see that lmtpd is apparently complaining about an invalid header. Picking the
first header and removing it (the "From jfh" line) :
% cat ~jfh/Mail/inbox/2
Return-Path: <jfh
cise.ufl.edu>
Delivered-To: jfh
cise.ufl.edu
Received: from cise.ufl.edu (palm.cise.ufl.edu [128.227.205.231])
by testpc.cise.ufl.edu (Postfix) with SMTP id A24FD20F02
for <jfh>; Wed, 1 Nov 2000 11:17:35 -0500 (EST)
Message-Id: <20001101161735.A24FD20F02
testpc.cise.ufl.edu>
Date: Wed, 1 Nov 2000 11:17:35 -0500 (EST)
From: jfh
cise.ufl.edu
To: undisclosed-recipients:;
icky
I get:
% cat ~jfh/Mail/inbox/2 | deliver jfh ; echo $?
0
A successful delivery. Checking my mail with netscape's imap client shows
that I now have mail.
As far as I know, all MDAs put the "From user..." line at the beginning of
each message for message separation. Am I supposed to configure postfix
(or anything else) to prevent this line from showing up in users' mail
messages?
Any help is greatly appreciated.
- ----------------------------------------------------------------------
| Jim Hranicky, Senior SysAdmin UF/CISE Department |
| E314D CSE Building Phone (352) 392-1499 |
| jfh
cise.ufl.edu http://www.cise.ufl.edu/~jfh |
- ----------------------------------------------------------------------
- Encryption: its use by criminals is far less -
- frightening than its banishment by governments -
- Vote for Privacy -
- Next message: James F. Hranicky: "Re: Problems with cyrus deliver and message format"
- Previous message: jcarminati
pluspetrol.com.ar: "Re: getting postfix msgs off the console"
- Next in thread: James F. Hranicky: "Re: Problems with cyrus deliver and message format"
- Reply: Ajay Tallam: "Re: Problems with cyrus deliver and message format"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]