Thread View: news.software.nntp
1 messages
1 total messages
Started by Rob Funk
Wed, 03 Jul 1996 00:00
inews + userdb (INN meets Sendmail)
Author: Rob Funk
Date: Wed, 03 Jul 1996 00:00
Date: Wed, 03 Jul 1996 00:00
33 lines
2243 bytes
2243 bytes
Since my home machine has only a part-time internet connection
(via SLIP, although the issues are the same for PPP), I've had to do
some hacks to make my mail and news come out with my correct return
address. (I don't like the REPLYTO solution.)
For mail, I was able to use sendmail's USERDB feature, which allows a
"mailname" to be specified for each user. That way my mail goes out
appearing to be from my real address rather than my current address,
and other users on my system can have their mail appear to come from
someplace totally different. (A closer look at the headers will of
course reveal what's really happening.)
I wanted to do the same for news, so I decided to use the same file
and part of the same function yanked out of sendmail (enormously
simplified for my purposes). I modified inews to check for a
"mailname" entry in the userdb file and modify the From line if
appropriate. I add a "userdb:" line to inn.conf to specify exactly
what file to use for the userdb database.
I have a patch for INN 1.4's inews.c to add this functionality. I
don't know if it would be generally useful, but it might be worth
adding to a future version of INN. Mail me if you are interested.
(It's a 134-line unified diff.)
BTW, I'm using my modified inews (through Pnews) to post this.
--
------------- R o b F u n k -------------|---------> funk+@osu.edu <---------
"A microscope locked in on one point |rfunk@magnus.acs.ohio-state.edu
Never sees what kind of room that it's in"|rfunk@freenet.columbus.oh.us
-- Chris Mars, "Stuck in Rewind" |http://er4www.eng.ohio-state.edu/~funkr
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