malc@tahoe.unr.edu (Malcolm L. Carlock) (08/14/89)
I sent this out once before, but our newsfeed was down, so here goes... One of our machines here (running 4.3 BSD and vanilla 5.61 sendmail) is configured as a UUCP<->SMTP mail gateway. The sendmail.cf file being used is based on the 'cad' configuration provided with the 5.61 distribution, and is generated with m4. Everything works ok, except: The From and From: lines in mail sent from UUCP hosts to SMTP hosts via the gateway machine look like "user@host.uucp" rather than "host!user@gateway.dom". The tcp and tcpld Sender address rewriting rules that are built in to the 'cad'-type configuration are written such that "host!user" and "user@host.uucp" Sender addresses supposedly get converted to "host!user<@gateway.dom>", which is what we want. However, in practice this rewriting does not seem to occur, although these rulesets work correctly when tested using sendmail -bt. I've brute-force added some of my own Sender address rewriting rules for the tcp and tcpld mailers to try to fix this, but to no avail (although again, the rulesets I built to to this job work correctly when tested using sendmail -bt). Anyone know what's preventing the rewriting of host!user UUCP Sender addresses into host!user<@gateway.dom> format? Thanks in advance, Malcolm L. Carlock malc@unrvax.unr.edu uunet!unrvax!malc