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


  Search this Thread
Old 02-10-2006, 12:20 PM   #1
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 -----
(reason: 553 5.1.8 <>... Domain of sender address does
not exist)

..because 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 "" 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=<>, size=1339, class=0, nrcpts=1, msgid=< TheSystem@my_ip_address>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain []
Feb 8 00:59:03 uranium sendmail[31497]: k188x2Aq031497:, ctladdr=apache (48/48), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=30372, relay=[] [], dsn=2.0.0, stat=Sent (k188x3BQ031499 Message accepted for delivery)
Feb 8 00:59:03 uranium sendmail[31501]: k188x3BQ031499: to=<>, ctladdr=<> (48/48), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=30485, [], 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 ( 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 "" as a FQDN - my machine and are not related in any way.
Old 02-10-2006, 01:32 PM   #2
Registered: Jul 2002
Location: Florida
Distribution: Centos, Slackware
Posts: 260

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

Original Poster
Rep: Reputation: 51
Originally Posted by bbeers
do you have in your /etc/hosts?
Code:        uranium
Old 02-10-2006, 09:02 PM   #4
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.



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 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

All times are GMT -5. The time now is 02:56 PM.

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