Thread View: news.software.nntp
2 messages
2 total messages
Started by Michael Vogel
Thu, 15 Oct 2009 11:21
INN2: news2mail should send a sender header - how?
Author: Michael Vogel
Date: Thu, 15 Oct 2009 11:21
Date: Thu, 15 Oct 2009 11:21
8 lines
1274 bytes
1274 bytes
Hi! I want to sync several mailing lists. For this I want the script news2mail (included in INN2) to add a sender header. How can this be done? Michael
Re: news2mail should send a sender header - how?
Author: D. Stussy
Date: Fri, 16 Oct 2009 06:20
Date: Fri, 16 Oct 2009 06:20
26 lines
1727 bytes
1727 bytes
"Michael Vogel" <ike@spamfence.net> wrote in message
news:4ad705c5$0$6552$9b4e6d93@newsspool4.arcor-online.net...
> I want to sync several mailing lists. For this I want the script
> news2mail (included in INN2) to add a sender header.
>
> How can this be done?
Easily. In subroutine mailto(), the second parameter is the envelope
sender identity, which is the third field from the configuration file (or
the news user if not specified or multiple list senders are specified).
Before the line that indicates:
print SM "To: @a\n\n";
try adding:
print SM "Sender: $s\n";
By function: sub mailto($sm_token, $envelope_from, @envelope_to)
In the script: ($t, $s, @a)
Does that help?
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads