What's my email address on a PPP connection?

Suppose I have a PPP connection to a host, and I am assigned an IP address dynamically.  Can someone send me mail to my PC via that temporary address while I am logged in?  Right now, for instance, I have been assigned the IP address 152.3.249.80.  From some other system, can someone send me mail as harlow@152.3.249.80, assuming harlow is a valid userid on my PC?

I don't have an officially assigned domain name for my machine, so that isn't an option.  I have the machine set up with the name jeh.linux.org and IP address 192.168.0.1, which (according to NET-2/3 HOWTO), is available for internal use only.

I normally receive mail at my system at work, but when I am home and using Linux, I would like to be able to forward incoming mail directly to the PC.  Any suggestions?

Justin Harlow
harlow@src.org


harlowAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

q721kjhCommented:
Some SMTP servers will try to resolve the hostname (the portion you have replaced with the IP address) and will not be able to because it is an IP address, and the mail will bounce.

Besides, your temporary address can change "unexpected;y" when your lease on the IP address expires, even if you are still connected.  (When this happens, DHCP (I presume you are using this protocol to get your temporary address from your service provider) negotiates a new address.)

If you are using an ISP, you should have a POP3 account with them.  If you are dialing into your corporate network, you should be able to get a POP3 account from an admin.

Once you have your POP3 account information, forward all your mail to that account.  Then use a POP3 client to get the mail into your system.  This way, you don't need to worry about addresses, and anyone can send mail to that address any time.

I presume you know all this already.  Another approach is this:  Some ISPs have hostnames assigned to their temporary addresses.  To find out if yours does, type:

% host 152.3.249.80

or whatever your address is.  If you get a hostname, you're good to go; make sure sendmail is running on your linux box, and send the mail to your username@hostname.isp.com.  You could even write a simple script to get this hostname whenever you log in, then build an HTML page around it and ftp it to an account on a web server you have access to.  (Of course, if you have a personal web account, then you probably have a POP3 account too...)

The best solution is to use the POP3 account provided by your ISP, though.  It just gets too problematic trying to keep up with temporary IP addresses.

good luck
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
harlowAuthor Commented:
Thanks!  I was able to get the temporary hostname, and found that I can indeed send to my Linux box while connected.  

The reason all this is even a problem is that my employer refuses to run a POP3 server for various security and theological reasons.  They also have a firewall that only allows dumb-terminal connections from a remote location.  As a result, I use my account at a local university as my ISP when I am working at home.  I want to get the temporary hostname from the university connection, and then forward my company mail to my remote when I am working at home.  Happily, your input helped me do it!

Thanks

JEH

0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.