LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-10-2006, 12:20 PM   #1
BrianK
Senior Member
 
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Rep: Reputation: 51
Can't send email from my machine to internet


I'm trying to send e-mail from my machine to my internet mail address (using a php script or just in pine). I was getting this error message:

----- The following addresses had permanent fatal errors -----
<my_real_address@hero.com>
(reason: 553 5.1.8 <apache@uranium.hero.com>... Domain of sender address apache@uranium.hero.com does
not exist)


..because uranium.hero.com is not a real name in anyone's DNS - it's just what I call my computer.

So I tried setting up a masquerade through webmin to "hero.com" which is an actual machine name (and also where my internet mail account resides), but now I'm not getting any sort of bounce back and no mail in my internet account, however, my mail log now shows this:

Feb 8 00:59:03 uranium sendmail[31497]: k188x2Aq031497: from=apache, size=1226, class=0, nrcpts=1, msgid=< TheSystem@my_ip_address>, relay=apache@localhost
Feb 8 00:59:03 uranium sendmail[31499]: k188x3BQ031499: from=<apache@uranium.hero.com>, size=1339, class=0, nrcpts=1, msgid=< TheSystem@my_ip_address>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Feb 8 00:59:03 uranium sendmail[31497]: k188x2Aq031497: to=my_real_address@hero.com, ctladdr=apache (48/48), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=30372, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (k188x3BQ031499 Message accepted for delivery)
Feb 8 00:59:03 uranium sendmail[31501]: k188x3BQ031499: to=<my_real_address@hero.com>, ctladdr=<apache@uranium.hero.com> (48/48), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=30485, relay=hero.com. [207.151.19.45], dsn=5.6.0, stat=Data format error
Feb 8 00:59:03 uranium sendmail[31501]: k188x3BQ031499: k188x3BQ031501: DSN: Data format error
Feb 8 00:59:03 uranium sendmail[31501]: k188x3BQ031501: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=32363, dsn=2.0.0, stat=Sent


My host (hero.com) does not allow other people to use its SMTP server, so I can't relay through it. Is there a moderately easy solution for an e-mail neophyte like myself?

FYI: I just chose "uranium.hero.com" as a FQDN - my machine and hero.com are not related in any way.
 
Old 02-10-2006, 01:32 PM   #2
bbeers
Member
 
Registered: Jul 2002
Location: Florida
Distribution: Centos, Slackware
Posts: 260

Rep: Reputation: 30
do you have uranium.hero.com in your /etc/hosts?
 
Old 02-10-2006, 06:35 PM   #3
BrianK
Senior Member
 
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Original Poster
Rep: Reputation: 51
Quote:
Originally Posted by bbeers
do you have uranium.hero.com in your /etc/hosts?
yes
Code:
192.168.0.50    uranium.hero.com        uranium
 
Old 02-10-2006, 09:02 PM   #4
shaunw
Member
 
Registered: Dec 2005
Posts: 77

Rep: Reputation: 15
relaying email

If you have an external email address then you can set this
up as a relay address. Also masquerade all external email
as coming from this address. Disable DNS lookup since many
email servers don't reply to this request.

 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
email 'send' NO - email 'receive' YES..? captain skywave Linux - Wireless Networking 4 04-23-2005 03:35 AM
trying to send internet email from a command line...is it possible rutman Linux - Newbie 8 06-26-2004 02:19 AM
SENDMAIL as an SMTP RELAY SERVER that can send email to internet. how? kublador Linux - Software 7 10-25-2003 08:43 AM
is it possible to setup and emailserver that can send email to internet? kublador Linux - Networking 2 10-18-2003 07:34 AM
Allowing an IP to send email using my email server... culprit Linux - Networking 7 09-09-2003 12:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:34 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