[news.software.b] Bnews recnews munching on some return addresses

scotts@qsp.COM (Scott Simpers) (05/18/91)

We just set up local pseudo-newsgroup which gets the responses from a mailing
list.  It works fine usually, but with certain lines the From: line was
being mangled.  
Sample correct line:       From: scotts@qsp.com   (Scott Simpers)
Sample incorrect line:     From: uunet!osf.org!daniel@qsp.com
Corrected incorrect line:  From: uunet!osf.org!daniel

I finally discovered the problem: recmail uses the -f flag of inews to give it
the From: line.  Inews treats this as a 'forged name', with the real name
being the daemon running the process.  Well, there is a place in inews code
that says "if the forged name doesn't have a space, (, @, or < in it, add the
local domain to it."  My first question to the world is What is the reason
for this?  I was able to get around it by adding ! to the list of characters
it looks for (note that all the bad addresses are uucp).  Is this OK, or am I
going to foul something else up?

All comments and suggestions will be appreciated.

Scott Simpers
Quality Software Products                    voice: (213)410-0303
5711 W Slauson Avenue  Suite 240             fax: (213)410-0124
Culver City, CA  90230                       ...uunet!qsp!scotts