Message: Re: user unable to post through email Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: user unable to post through email 

Forum: Hypernews Feedback/Problems
Date: 25 Sep, 2007
From: Devin Bougie <Devin Bougie>

Hi Terry,

On Sep 17, 2007, at 2:59 PM, Terry Hung wrote:
>   Basically the mail server received the request, tried to post the
> request to the HTTP server and failed.
>    Looks like the data sent to the HTTP sever might be the problem at
> [http-26]. Could you compare it to the log of which an operation is
> successful (when you post successfully through e-mail)?
>    Since the log is relatively short, I would compare them line by  
> line to
> see where the deviation is. We don't run SSL here at SLAC, so I  
> don't have
> the log to compare with.

Many thanks for the suggestion.  Unfortunately I haven't yet been  
able to pinpoint where the problem lies.  Here is the diff between a  
successful log (a test message sent from that user's local account)  
and a failed log (sent from that user's remote CERN account):
------
[root@lnx122 25]# diff 10:09:02__061352__mail-incoming.pl  
11:05:03__059231__mail-incoming.pl
1c1
< HN____________________________________________Tue Sep 25 10:09:02 2007
---
 > HN____________________________________________Tue Sep 25 11:05:03  
2007
25c25
< [http-26] (SSLpost) content = 'msg=From 
+fblekman@mail.lns.cornell.edu+Tue+Sep+25+10:09:02+2007%0aReceived: 
+from+lnscu5.lns.cornell.edu+(lnscu5.lns.cornell.edu+[128.84.44.111])% 
0a+by+lnx122.lns.cornell.edu+(8.12.11.20060308/8.12.11)+with+ESMTP+id 
+l8PE92FS022280%0a+for+%3cHNTest-lepp@lnx122.lns.cornell.edu%3e;+Tue, 
+25+Sep+2007+10:09:02+-0400%0aReceived:+from+lnx227.lns.cornell.edu+ 
(lnx227.lns.cornell.edu+[128.84.45.227])%0a+by+lnscu5.lns.cornell.edu+ 
(8.13.6/8.13.6)+with+ESMTP+id+l8PE8xEK006495%0a+for+%3cHNTest- 
lepp@lnx122.lns.cornell.edu%3e;+Tue,+25+Sep+2007+10:08:59+-0400+(EDT)% 
0aReceived:+from+lnx227.lns.cornell.edu+(localhost.localdomain 
+[127.0.0.1])%0a+by+lnx227.lns.cornell.edu+(8.13.8/8.12.10)+with+ESMTP 
+id+l8PE8xB1010839%0a+for+%3cHNTest-lepp@lnx122.lns.cornell.edu%3e; 
+Tue,+25+Sep+2007+10:08:59+-0400%0aReceived:+(from+fblekman@localhost) 
%0a+by+lnx227.lns.cornell.edu+(8.13.8/8.13.8/Submit)+id 
+l8PE8xUE010838%0a+for+HNTest-lepp@hypernews.lepp.cornell.edu;+Tue,+25 
+Sep+2007+10:08:59+-0400%0aDate:+Tue,+25+Sep+2007+10:08:59+-0400% 
0aFrom:+Freya+Blekman+%3cfblekman@mail.lns.cornell.edu%3e%0aMessage- 
Id:+%3c200709251408.l8PE8xUE010838@lnx227.lns.cornell.edu%3e%0aTo: 
+HNTest-lepp@hypernews.lepp.cornell.edu%0aSubject:+test%0a%0atest 
+message+generated+by+dab66+on+lnx227%0a&nofilter=&forum=/HNTest'<BR>
---
 > [http-26] (SSLpost) content = 'msg=From+Freya.Blekman@cern.ch+Tue 
+Sep+25+11:05:02+2007%0aReceived:+from+lnscu5.lns.cornell.edu+ 
(lnscu5.lns.cornell.edu+[128.84.44.111])%0a+by+lnx122.lns.cornell.edu+ 
(8.12.11.20060308/8.12.11)+with+ESMTP+id+l8PF5285023040%0a+for+% 
3cHNTest-lepp@lnx122.lns.cornell.edu%3e;+Tue,+25+Sep+2007+11:05:02 
+-0400%0aReceived:+from+cernmxlb.cern.ch+(cernmx05.cern.ch 
+[137.138.166.161])%0a+by+lnscu5.lns.cornell.edu+(8.13.6/8.13.6)+with 
+ESMTP+id+l8PF4u6X019555%0a+for+%3cHNTest- 
lepp@hypernews.lepp.cornell.edu%3e;+Tue,+25+Sep+2007+11:05:02+-0400+ 
(EDT)%0aDomainKey-Signature:+a=rsa-sha1;+c=nofws;+s=beta;+d=cern.ch; 
+q=dns;+%0a+h=received:message-id:date:from:to:subject:mime- 
version:content-type:content-transfer-encoding;%0a+b=PgpCPK%2bQZG// 
JlDzzI%2bTaaJe30txHlw%2bri6qzKy0SA05s/Jc/ 
JNtUzDEkXExQ0auBdvYW0HEZUbrHCvkWseOGq/0KA%2bqz9Wwk0Z/BbZMXi% 
2b3pQn4uwpktp/8/7R/fQ3B;%0aKeywords:+CERN+SpamKiller+Note:+-52 
+Charset:+west-latin%0aKeywords:+CERN+SpamKiller+Note:+-52+Charset: 
+west-latin%0aX-Filter:+CERNMX05+CERN+MX+v2.0+060921.0942+Release% 
0aReceived:+from+cernfe03.cern.ch+([137.138.28.244])+by 
+cernmxlb.cern.ch+with+Microsoft+SMTPSVC(6.0.3790.1830);%0a++Tue,+25 
+Sep+2007+17:04:34+%2b0200%0aReceived:+from+[128.141.52.88]+ 
([128.141.52.88])+by+cernfe03.cern.ch+over+TLS+secured+channel+with 
+Microsoft+SMTPSVC(6.0.3790.1830);%0a++Tue,+25+Sep+2007+17:04:33+% 
2b0200%0aIn-Reply-To:+%3cD3E0F7D4-3B19-4F17-8A9B- 
C8634645CE23@mail.lepp.cornell.edu%3e%0aReferences:+% 
3c200709251408.l8PE8xUE010838@lnx227.lns.cornell.edu%3e+% 
3cA368ACFA-12AA-43E2-BFA9-87D371FD7336@cern.ch%3e+% 
3cD3E0F7D4-3B19-4F17-8A9B-C8634645CE23@mail.lepp.cornell.edu%3e% 
0aMime-Version:+1.0+(Apple+Message+framework+v752.3)%0aContent-Type: 
+text/plain;+charset=US-ASCII;+delsp=yes;+format=flowed%0aMessage-Id:+ 
%3c2A6C274B-59D0-484D-9660-F63B6D1B6160@cern.ch%3e%0aCc:+Devin+Bougie+ 
%3cdab66@mail.lepp.cornell.edu%3e%0aContent-Transfer-Encoding:+7bit% 
0aFrom:+Freya+Blekman+%3cfreya.blekman@cern.ch%3e%0aSubject:+Re:+test% 
0aDate:+Tue,+25+Sep+2007+17:04:26+%2b0200%0aTo:+HNTest- 
lepp@hypernews.lepp.cornell.edu%0aX-Mailer:+Apple+Mail+(2.752.3)%0aX- 
OriginalArrivalTime:+25+Sep+2007+15:04:33.0523+(UTC)+FILETIME= 
[6185A430:01C7FF85]%0aX-DCC-CULNS-Metrics:+lnscu5.lns.cornell.edu 
+9999;+Body=2+Fuz1=2+Fuz2=2%0a%0ayet+another+test+message.+Thanks+a 
+lot+for+helping+me+by+debugging++%0athis,+Devin+:)%0a%0a%2b-%2b-%2b-% 
0aFreya+Blekman%0aCornell+University+-+CMS+experiment%0aAt+CERN:++ 
+Office:+Bat+32-3-B16%0a+++Phone:+%2b41(0)+22+76+78914%0a++ 
+freya.blekman@cern.ch%0a+++http://www.cern.ch/Freya.Blekman%0a--+Elk 
+nadeel+hep+z'n+voordeel+--+J.+Cruijff%0a%0a%0a%0a% 
0a&nofilter=&forum=/HNTest'<BR>
29,30c29,30
< HTTP/1.1 200 OK
< Date: Tue, 25 Sep 2007 14:09:02 GMT
---
 > HTTP/1.1 500 Internal Server Error
 > Date: Tue, 25 Sep 2007 15:05:03 GMT
31a32
 > Content-Length: 642
33c34
< Content-Type: text/html; charset=UTF-8
---
 > Content-Type: text/html; charset=iso-8859-1
36,37c37,38
< http reply: HTTP/1.1 200 OK<BR>
< [http-28] (SSLpost) first line: HTTP/1.1 200 OK<BR>
---
 > http reply: HTTP/1.1 500 Internal Server Error<BR>
 > [http-28] (SSLpost) first line: HTTP/1.1 500 Internal Server  
Error<BR>
------

The only interesting thing I see in the web server's ssl error log  
whenever a message fails to post is "Premature end of script headers:  
relay-email.pl."  For example:
[Tue Sep 25 11:05:03 2007] [error] [client 128.84.44.208] Premature  
end of script headers: relay-email.pl

Here is the relay-email.pl log from that failed message:
------
[root@lnx122 25]# cat 11:05:03__267741__HNMail__relay-email.pl
HN____________________________________________Tue Sep 25 11:05:03 2007
[hnlib-5] (OpenDebug) @debug =  0 1 1 0 0 0 0 0 0 0 0 0 0 0 0  relay- 
email.pl
[hnlib-5.1] (OpenDebug) HTTP_COOKIE='' remoteUser='' userID=''  
uid='__HNMail'
[hnlib-5.2] (OpenDebug) ENV=:
'CONTENT_LENGTH' = '2620'
'CONTENT_TYPE' = 'application/x-www-form-urlencoded'
'DOCUMENT_ROOT' = '/var/www/html'
'GATEWAY_INTERFACE' = 'CGI/1.1'
'HTTPS' = 'on'
'HTTP_FROM' = 'HNMail'
'HTTP_HOST' = 'hypernews.lepp.cornell.edu'
'HTTP_USER_AGENT' = 'HyperNews 1.11-slac-78 http.pl'
'ORACLE_HOME' = ''
'ORACLE_SID' = ''
'PATH' = '/bin:/usr/bin'
'QUERY_STRING' = ''
'REMOTE_ADDR' = '128.84.44.208'
'REMOTE_HOST' = 'lnx122.lns.cornell.edu'
'REMOTE_PORT' = '49037'
'REQUEST_METHOD' = 'POST'
'REQUEST_URI' = '/lepp/SECURED/relay-email.pl'
'SCRIPT_FILENAME' = '/mnt/hypernews/lepp/SECURED/relay-email.pl'
'SCRIPT_NAME' = '/lepp/SECURED/relay-email.pl'
'SERVER_ADDR' = '128.84.44.208'
'SERVER_ADMIN' = 'dab66@cornell.edu'
'SERVER_NAME' = 'hypernews.lepp.cornell.edu'
'SERVER_PORT' = '443'
'SERVER_PROTOCOL' = 'HTTP/1.0'
'SERVER_SIGNATURE' = '<address>Apache/2.0.46 (Scientific Linux)  
Server at hypernews.lepp.cornell.edu Port 443</address>
'
'SERVER_SOFTWARE' = 'Apache/2.0.46 (Scientific Linux)'
'UNIQUE_ID' = 'D8rdPYBULNAAABbPl8EAAAAG'
[relmail-3] (RelayEmailPL)  start relay-email debugging
[form-2] (GetPostArgs)
[form-3] (GetPostArgs) Read content (2620): parse str='msg=From 
+Freya.Blekman@cern.ch+Tue+Sep+25+11:05:02+2007%0aReceived:+from 
+lnscu5.lns.cornell.edu+(lnscu5.lns.cornell.edu+[128.84.44.111])%0a+by 
+lnx122.lns.cornell.edu+(8.12.11.20060308/8.12.11)+with+ESMTP+id 
+l8PF5285023040%0a+for+%3cHNTest-lepp@lnx122.lns.cornell.edu%3e;+Tue, 
+25+Sep+2007+11:05:02+-0400%0aReceived:+from+cernmxlb.cern.ch+ 
(cernmx05.cern.ch+[137.138.166.161])%0a+by+lnscu5.lns.cornell.edu 
+(8.13.6/8.13.6)+with+ESMTP+id+l8PF4u6X019555%0a+for+%3cHNTest- 
lepp@hypernews.lepp.cornell.edu%3e;+Tue,+25+Sep+2007+11:05:02+-0400+ 
(EDT)%0aDomainKey-Signature:+a=rsa-sha1;+c=nofws;+s=beta;+d=cern.ch; 
+q=dns;+%0a+h=received:message-id:date:from:to:subject:mime- 
version:content-type:content-transfer-encoding;%0a+b=PgpCPK%2bQZG// 
JlDzzI%2bTaaJe30txHlw%2bri6qzKy0SA05s/Jc/ 
JNtUzDEkXExQ0auBdvYW0HEZUbrHCvkWseOGq/0KA%2bqz9Wwk0Z/BbZMXi% 
2b3pQn4uwpktp/8/7R/fQ3B;%0aKeywords:+CERN+SpamKiller+Note:+-52 
+Charset:+west-latin%0aKeywords:+CERN+SpamKiller+Note:+-52+Charset: 
+west-latin%0aX-Filter:+CERNMX05+CERN+MX+v2.0+060921.0942+Release% 
0aReceived:+from+cernfe03.cern.ch+([137.138.28.244])+by 
+cernmxlb.cern.ch+with+Microsoft+SMTPSVC(6.0.3790.1830);%0a++Tue,+25 
+Sep+2007+17:04:34+%2b0200%0aReceived:+from+[128.141.52.88]+ 
([128.141.52.88])+by+cernfe03.cern.ch+over+TLS+secured+channel+with 
+Microsoft+SMTPSVC(6.0.3790.1830);%0a++Tue,+25+Sep+2007+17:04:33+% 
2b0200%0aIn-Reply-To:+%3cD3E0F7D4-3B19-4F17-8A9B- 
C8634645CE23@mail.lepp.cornell.edu%3e%0aReferences:+% 
3c200709251408.l8PE8xUE010838@lnx227.lns.cornell.edu%3e+% 
3cA368ACFA-12AA-43E2-BFA9-87D371FD7336@cern.ch%3e+% 
3cD3E0F7D4-3B19-4F17-8A9B-C8634645CE23@mail.lepp.cornell.edu%3e% 
0aMime-Version:+1.0+(Apple+Message+framework+v752.3)%0aContent-Type: 
+text/plain;+charset=US-ASCII;+delsp=yes;+format=flowed%0aMessage-Id:+ 
%3c2A6C274B-59D0-484D-9660-F63B6D1B6160@cern.ch%3e%0aCc:+Devin+Bougie+ 
%3cdab66@mail.lepp.cornell.edu%3e%0aContent-Transfer-Encoding:+7bit% 
0aFrom:+Freya+Blekman+%3cfreya.blekman@cern.ch%3e%0aSubject:+Re:+test% 
0aDate:+Tue,+25+Sep+2007+17:04:26+%2b0200%0aTo:+HNTest- 
lepp@hypernews.lepp.cornell.edu%0aX-Mailer:+Apple+Mail+(2.752.3)%0aX- 
OriginalArrivalTime:+25+Sep+2007+15:04:33.0523+(UTC)+FILETIME= 
[6185A430:01C7FF85]%0aX-DCC-CULNS-Metrics:+lnscu5.lns.cornell.edu 
+9999;+Body=2+Fuz1=2+Fuz2=2%0a%0ayet+another+test+message.+Thanks+a 
+lot+for+helping+me+by+debugging++%0athis,+Devin+:)%0a%0a%2b-%2b-%2b-% 
0aFreya+Blekman%0aCornell+University+-+CMS+experiment%0aAt+CERN:++ 
+Office:+Bat+32-3-B16%0a+++Phone:+%2b41(0)+22+76+78914%0a++ 
+freya.blekman@cern.ch%0a+++http://www.cern.ch/Freya.Blekman%0a--+Elk 
+nadeel+hep+z'n+voordeel+--+J.+Cruijff%0a%0a%0a%0a% 
0a&nofilter=&forum=/HNTest'
[form-4] (parse) set in{msg} = 'From Freya.Blekman@cern.ch Tue Sep 25  
11:05:02 2007
Received: from lnscu5.lns.cornell.edu (lnscu5.lns.cornell.edu  
[128.84.44.111])
by lnx122.lns.cornell.edu (8.12.11.20060308/8.12.11) with ESMTP id  
l8PF5285023040
for ; Tue, 25 Sep 2007 11:05:02 -0400
Received: from cernmxlb.cern.ch (cernmx05.cern.ch [137.138.166.161])
by lnscu5.lns.cornell.edu (8.13.6/8.13.6) with ESMTP id l8PF4u6X019555
for ; Tue, 25 Sep 2007 11:05:02 -0400 (EDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; s=beta; d=cern.ch; q=dns;
h=received:message-id:date:from:to:subject:mime-version:content- 
type:content-transfer-encoding;
b=PgpCPK+QZG//JlDzzI+TaaJe30txHlw+ri6qzKy0SA05s/Jc/ 
JNtUzDEkXExQ0auBdvYW0HEZUbrHCvkWseOGq/0KA+qz9Wwk0Z/BbZMXi+3pQn4uwpktp/ 
8/7R/fQ3B;
Keywords: CERN SpamKiller Note: -52 Charset: west-latin
Keywords: CERN SpamKiller Note: -52 Charset: west-latin
X-Filter: CERNMX05 CERN MX v2.0 060921.0942 Release
Received: from cernfe03.cern.ch ([137.138.28.244]) by  
cernmxlb.cern.ch with Microsoft SMTPSVC(6.0.3790.1830);
   Tue, 25 Sep 2007 17:04:34 +0200
Received: from [128.141.52.88] ([128.141.52.88]) by cernfe03.cern.ch  
over TLS secured channel with Microsoft SMTPSVC(6.0.3790.1830);
   Tue, 25 Sep 2007 17:04:33 +0200
In-Reply-To:
References:
Mime-Version: 1.0 (Apple Message framework v752.3)
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Message-Id:
Cc: Devin Bougie
Content-Transfer-Encoding: 7bit
From: Freya Blekman
Subject: Re: test
Date: Tue, 25 Sep 2007 17:04:26 +0200
To: HNTest-lepp@hypernews.lepp.cornell.edu
X-Mailer: Apple Mail (2.752.3)
X-OriginalArrivalTime: 25 Sep 2007 15:04:33.0523 (UTC) FILETIME= 
[6185A430:01C7FF85]
X-DCC-CULNS-Metrics: lnscu5.lns.cornell.edu 9999; Body=2 Fuz1=2 Fuz2=2

yet another test message. Thanks a lot for helping me by debugging
this, Devin :)

+-+-+-
Freya Blekman
Cornell University - CMS experiment
At CERN:   Office: Bat 32-3-B16
    Phone: +41(0) 22 76 78914
    freya.blekman@cern.ch
    http://www.cern.ch/Freya.Blekman
-- Elk nadeel hep z'n voordeel -- J. Cruijff




'
[form-4] (parse) set in{nofilter} = ''
[form-4] (parse) set in{forum} = '/HNTest'
[relmail-4] (RelayEmailPL)  Forum: /HNTest  nofilter=''
[relmail-5] (RelayEmailPL)  MIME::Parser found
[relmail-7] (RelayEmailPL)  allowMIMEmail=1 AllowMIME=1
[relmail-35] (MAILread_file_header)  header='From  
Freya.Blekman@cern.ch Tue Sep 25 11:05:02 2007
'
[relmail-36] (MAILread_file_header)  found From: 'From  
Freya.Blekman@cern.ch Tue Sep 25 11:05:02 2007
'
[relmail-8] (RelayEmailPL)  header=From Freya.Blekman@cern.ch Tue Sep  
25 11:05:02 2007
Received: from lnscu5.lns.cornell.edu (lnscu5.lns.cornell.edu  
[128.84.44.111])
by lnx122.lns.cornell.edu (8.12.11.20060308/8.12.11) with ESMTP id  
l8PF5285023040
for ; Tue, 25 Sep 2007 11:05:02 -0400
Received: from cernmxlb.cern.ch (cernmx05.cern.ch [137.138.166.161])
by lnscu5.lns.cornell.edu (8.13.6/8.13.6) with ESMTP id l8PF4u6X019555
for ; Tue, 25 Sep 2007 11:05:02 -0400 (EDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; s=beta; d=cern.ch; q=dns;
h=received:message-id:date:from:to:subject:mime-version:content- 
type:content-transfer-encoding;
b=PgpCPK+QZG//JlDzzI+TaaJe30txHlw+ri6qzKy0SA05s/Jc/ 
JNtUzDEkXExQ0auBdvYW0HEZUbrHCvkWseOGq/0KA+qz9Wwk0Z/BbZMXi+3pQn4uwpktp/ 
8/7R/fQ3B;
Keywords: CERN SpamKiller Note: -52 Charset: west-latin
Keywords: CERN SpamKiller Note: -52 Charset: west-latin
X-Filter: CERNMX05 CERN MX v2.0 060921.0942 Release
Received: from cernfe03.cern.ch ([137.138.28.244]) by  
cernmxlb.cern.ch with Microsoft SMTPSVC(6.0.3790.1830);
   Tue, 25 Sep 2007 17:04:34 +0200
Received: from [128.141.52.88] ([128.141.52.88]) by cernfe03.cern.ch  
over TLS secured channel with Microsoft SMTPSVC(6.0.3790.1830);
   Tue, 25 Sep 2007 17:04:33 +0200
In-Reply-To:
References:
Mime-Version: 1.0 (Apple Message framework v752.3)
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Message-Id:
Cc: Devin Bougie
Content-Transfer-Encoding: 7bit
From: Freya Blekman
Subject: Re: test
Date: Tue, 25 Sep 2007 17:04:26 +0200
To: HNTest-lepp@hypernews.lepp.cornell.edu
X-Mailer: Apple Mail (2.752.3)
X-OriginalArrivalTime: 25 Sep 2007 15:04:33.0523 (UTC) FILETIME= 
[6185A430:01C7FF85]
X-DCC-CULNS-Metrics: lnscu5.lns.cornell.edu 9999; Body=2 Fuz1=2 Fuz2=2

[relmail-9] (RelayEmailPL)  spam_keyword1='Keywords:'  
spam_keyword2='CERN SpamKiller Note:' threshold=0
[relmail-79] (spamFilter)  forum=HNTest spam_forums=
[relmail-82] (spamFilter)  turn on spam filter for HNTest
[relmail-83] (spamFilter)  spam_rating=-52 threshold=0 compare=0
[relmail-85] (spamFilter)  spam_rating: reject spam mail and save it  
to hndocs/SPAM
[relmail-33] (MailExtractBody)
[relmail-39] (ParseAddressName)  from=Freya Blekman
[relmail-40] (ParseAddressName)  address=freya.blekman@cern.ch  
from=Freya Blekman
------

Does this look like it could be something with our SPAM settings in  
hnrc (which I don't believe we've touched)?  Any clues or suggestions  
would be greatly appreciated!

Thanks again,
Devin

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: user unable to post through email   (Terry Y Hung - 01 Oct, 2007)
(_ None: Re: user unable to post through email   (Devin Bougie - 02 Oct, 2007)
(_ None: Re: user unable to post through email   (Terry Y Hung - 02 Oct, 2007)
 Add Message Add Message
to: "Re: user unable to post through email"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ SLAC HyperNews Home | Search | Feedback ]