On Jan 26, 2000 at 13:06, Philip S Tellis wrote:

> I've been having this same problem at the office.  I use a proxy machine
> to get to the net.  No machine on my network has a resolvable domain name,
> so everything has to be ip addresses only.
> 
> My smarthost has to be the proxy machine and not bom2 or anything else.  I
> had a lot of trouble sending mail to vsnl as they do not accept mail from
> domains that do not exist.  (My smtp server is not vsnl).

That is precisely the problem. One wonders what is the Right Way to do
this.

> couldn't send mail correctly.  It would go from
> <localuser>@<localhost>.<localdomain>  which wasn't resolvable.

Exactly. Peer at the headers on this email, which uses satyap.myip.org (I
think I want another domain... http'ing to myip...)

> I finally wrote a script (yes in perl) that sits in place of sendmail.  It
> calls sendmail, but first rewrites all from lines to reflect the correct
> email addresses of the users.  I use a file called outgoing.aliases that I

That doesn't help the unresolvable thing. I put up a script segment here
a couple of days ago, which does:
        print(MAIL "From:<satyap\@bom2.vsnl.net.in>\n");
        print(MAIL "To:<$address>\n");
but that generates the "sender domain must be resolved", too. What do you
do?

> beware that this would probably cause weird problems with anything using
> sendmail for smtp (rather than writing to sendmail -t directly).

One might move sendmail elsewhere, and do `ln -s yourscript sendmail`

> A better idea would be to set this program as sendmail-path in pine.

An even better idea is to turn on sendmail's masquerading rules or set
pine's userdomain, if it's only pine you're dealing with. My problem is
the various scripts lurking on my system, and mailto:'s in lynx.

> If anybody's interested, it will come up tomorrow.

I'm definitely interested! Please post!

-- 
Satya. http://satyaonline.cjb.net/
Mumbai bus guide at http://satyaonline.cjb.net/ !
FREE! Email reminder service at http://satyaonline.cjb.net/rem.html
<<<       Hi! I'm a tagline virus! Steal me & join in the fun!       >>>


To subscribe / unsubscribe goto the site www.ilug-bom.org ., click on the mailing list 
button and fill the appropriate information 
and submit. For any other queries contact the ML maintener

Reply via email to