nntp fiddling
Nils Vogels
nivo at yuckfou.org
Fri Jan 16 18:40:35 EST 2004
Ken Murchison wrote:
> +archive.info-cyrus at utdallas.edu wrote:
>
>> On Sun, 4 Jan 2004, Ken Murchison wrote:
>>
>>> Until I add POST support, you could set a news2mail annotation on the
>>
>>
>> Hmm... grepping the source this would just be an email address, no?
>
>
> Yes, and email address (or alias which the MTA can expand to multiple
> addresses). Is this missing from install-netnews.html?
>
Current behaviour from Cyrus seems to be to leave the Return-Path header
empty, and as such, lmtp2nntp does not quite choke the messages:
(note, amavis is in between virusscanning the message. Please don't pay
attention to it ;) )
Jan 17 00:24:51 imhotep postfix/pickup[3116]: CA868245: uid=60 from=<>
^^^^^^^^^^
Jan 17 00:24:51 imhotep postfix/cleanup[3658]: CA868245:
message-id=<400871DA.1040809 at yuckfou.org>
Jan 17 00:24:51 imhotep postfix/qmgr[90885]: CA868245: from=<>,
size=959, nrcpt=1 (queue active)
Jan 17 00:24:52 imhotep postfix/smtpd[3663]: connect from
localhost[127.0.0.1]
Jan 17 00:24:52 imhotep postfix/smtpd[3663]: 0BBA0249:
client=localhost[127.0.0.1]
Jan 17 00:24:52 imhotep postfix/cleanup[3658]: 0BBA0249:
message-id=<400871DA.1040809 at yuckfou.org>
Jan 17 00:24:52 imhotep postfix/qmgr[90885]: 0BBA0249: from=<>,
size=1419, nrcpt=1 (queue active)
Jan 17 00:24:52 imhotep postfix/smtpd[3663]: disconnect from
localhost[127.0.0.1]
Jan 17 00:24:52 imhotep amavis[3617]: (03617-03) Passed, <> ->
<nl.test at lmtp2nntp-out.invalid>, Message-ID: <400871DA
.1040809 at yuckfou.org>, Hits: -
Jan 17 00:24:52 imhotep postfix/smtp[3661]: CA868245:
to=<nl.test at lmtp2nntp-out.invalid>, relay=127.0.0.1[127.0.0.1],
delay=1, status=sent (250 2.6.0 Ok, id=03617-03, from MTA: 250 Ok:
queued as 0BBA0249)
Jan 17 00:24:53 imhotep postfix/lmtp[3676]: 0BBA0249:
to=<nl.test at lmtp2nntp-out.invalid>, relay=public/lmtp2nntp-out[
public/lmtp2nntp-out], delay=1, status=bounced (host
public/lmtp2nntp-out[public/lmtp2nntp-out] said: 553 5.1.7 Domai
n name required for sender address. (in reply to MAIL FROM command))
When I try to set the news2mail annotation to my normal email address, I
can verify the Return-Path header is indeed empty (Return-Path: <>)
AFAIK, the use of <> is reserved for the popular Mailer-Daemon ;)
Would it be an idea for Cyrus to use either the 'From' header of the
post, or maybe even the imapd.conf postmaster variable ?
Gr,
Nils.
--
Simple guidelines to happiness:
Work like you don't need the money,
love like your heart has never been broken and
dance like no one can see you.
More information about the Info-cyrus
mailing list