Solved

What's my email address on a PPP connection?

Posted on 1997-08-21
2
175 Views
Last Modified: 2010-03-17
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


0
Comment
Question by:harlow
2 Comments
 
LVL 1

Accepted Solution

by:
q721kjh earned 50 total points
ID: 1586233
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
 

Author Comment

by:harlow
ID: 1586234
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

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
This video discusses moving either the default database or any database to a new volume.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now