Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


What's my email address on a PPP connection?

Posted on 1997-08-21
Medium Priority
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  From some other system, can someone send me mail as harlow@, 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, 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

Question by:harlow
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Accepted Solution

q721kjh earned 200 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

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

Author Comment

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!




Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

636 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