LinuxQuestions.org
Register a domain and help support LQ
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 09-22-2004, 06:59 AM   #1
adafos
LQ Newbie
 
Registered: Sep 2004
Location: Athens Hellas
Distribution: SuSe 8.2 Pro
Posts: 3

Rep: Reputation: 0
Angry sendmail and isp smart host


I am trying to setup my sendmail for sending emails throught my linux box

I can send and recieve email for all local acounts BUT when i am sending email to the internet to other user i keep taking the error message




"Domain ofe sender address root@linux.mydomain.com does not exit or resolve"

I am taking this message from my ISP mail server

As far as i am consern this is right because the ISP does not know my domain at linux box
What to do

My user name is root
my host is linux
and my domain is mydomain.com

I have try a lot of stuff but still is not working

Can anyone help me Please
 
Old 09-22-2004, 07:49 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,894

Rep: Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322
If you don't have a real domain-name it is normal behavior for ISPs to prevent spam. Take a look at /etc/mail/sendmail.cf and see if setting the Dj$w in:
Quote:
# define this only if sendmail cannot automatically determine your domain
#Dj$w.Foo.COM
to your ISP domain, solves your problem.
Another solution is to get a no-ip.com (or similar) domain if you're on a dynamic IP.
 
Old 09-22-2004, 08:08 AM   #3
scowles
Member
 
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
"Domain ofe sender address root@linux.mydomain.com does not exit or resolve"

You are correct, your ISP's MTA (smart host) is testing the sender address sent by your MTA (probably the envelope sender) and it cannot resolve this to a name or IP.

The way I see it, you have a couple of choices:

1) Configure your MUA to set the proper sender address address. Possibly by setting the reply-to
2) Configure sendmail to masquerade as a valid domain name that can be looked up by your ISP's MTA.

If your using Redhat, see /etc/mail/sendmail.mc and look for the section regarding...
Code:
dnl # The following example makes mail from this host and any additional
dnl # specified domains appear to be sent from mydomain.com 
dnl # 
dnl MASQUERADE_AS(`mydomain.com')dnl
dnl # 
dnl # masquerade not just the headers, but the envelope as well
dnl #
dnl FEATURE(masquerade_envelope)dnl
If you're not using Redhat, then you can add the MASQUERADE_AS and FEATURE statments above to your sendmail.mc file and change to meet the requirements of your ISP's MTA.
 
Old 09-22-2004, 08:41 AM   #4
adafos
LQ Newbie
 
Registered: Sep 2004
Location: Athens Hellas
Distribution: SuSe 8.2 Pro
Posts: 3

Original Poster
Rep: Reputation: 0
i already have masquarade the domain and also the From address but still not working

in the mail log i take root@mydomain.com when i sent an external email and interna also but

because the internal emai to another user i can rea it the masquarade and the From is working fine

but for external email i dont know what is going on
 
  


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
Sendmail Smart Host / Mail Hub niranjan_mr Linux - Software 1 11-01-2005 07:07 PM
getting smptauth to work with a smart host xscousr Linux - Software 5 08-06-2005 04:25 PM
configuring sendmail with smart host zapperabhi Linux - Software 2 01-07-2004 03:24 AM
make a windows host dial-up isp from a linux shell command? Phantomas Linux - Networking 3 08-23-2003 07:09 PM
SMTP access via Smart host saravanan1979 Linux - Networking 17 05-30-2002 03:19 AM


All times are GMT -5. The time now is 01:19 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration