LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-08-2004, 01:01 PM   #1
pyu7
LQ Newbie
 
Registered: Sep 2004
Posts: 6

Rep: Reputation: 0
sending email to an ip


Is it possible to send an email address to an ip address? The reason i want to do this is because I want to test out the postfix server before actually getting our domain name to point to it.
 
Old 10-08-2004, 01:05 PM   #2
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
edit /etc/hosts to point to the new IP
 
Old 10-08-2004, 01:32 PM   #3
pyu7
LQ Newbie
 
Registered: Sep 2004
Posts: 6

Original Poster
Rep: Reputation: 0
doesn't work

I have access to 2 postfix servers, lets call them postfix1 and postfix2. postfix1 is live and has a domain pointing to the external ip of that server. I'm setting up postfix2 and as far as I can tell its working but I want to be sure of it by trying to send an email from a different smtp server to it. Yun.com is, I believe, not a valid domain name. So in the /etc/hosts files of postfix1 I set yun.com to an ip. And when i use postfix1 to send an email to yun.com it tries to send it to jay.yun.co.jp for some unknown reason. I guess it doesn't even read the hosts file.
 
Old 10-08-2004, 02:30 PM   #4
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
Quote:
Originally posted by pyu7
doesn't work

Yun.com is, I believe, not a valid domain name. when i use postfix1 to send an email to yun.com it tries to send it to jay.yun.co.jp for some unknown reason.

Registrant:
Yun Factory domain-admin@yun.co.jp +81.353683790
Yun Factory
3-1-24-5F Shinjuku
Shinjuku-ku,Tokyo,JP 160-0022


Domain Name:yun.com
Record last updated at 2004-06-09 06:38:25
Record created on 1996/4/10
Record expired on 2007/4/10



Last edited by foo_bar_foo; 10-08-2004 at 02:32 PM.
 
Old 10-08-2004, 02:46 PM   #5
pyu7
LQ Newbie
 
Registered: Sep 2004
Posts: 6

Original Poster
Rep: Reputation: 0
ok, good point I just tried with pauldaewonyun.com with the /etc/hosts file modified accordingly and still no luck. I get a response back from postfix1 saying

<paulyun@pauldaewonyun.com>: Host or domain name not found. Name service error
for name=pauldaewonyun.com type=A: Host not found

it looks like postfix never looks at the hosts file to resolve a name
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sending email cambie Linux - Software 1 11-20-2004 06:02 PM
Sending email with PHP jacksmash Programming 7 03-10-2004 05:10 PM
sending email GraemeK Linux - Networking 1 08-24-2003 05:14 PM
sending email csDraco_ Slackware 5 08-22-2003 05:50 PM
sending an email to a email address after a perl operation meluser Programming 9 04-07-2003 01:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration