Visit Jeremy's Blog.
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 09-22-2004, 07:59 AM   #1
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 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

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

Can anyone help me Please
Old 09-22-2004, 08:49 AM   #2
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,882

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

Rep: Reputation: 31
"Domain ofe sender address 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/ and look for the section regarding...
dnl # The following example makes mail from this host and any additional
dnl # specified domains appear to be sent from 
dnl # 
dnl MASQUERADE_AS(`')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 file and change to meet the requirements of your ISP's MTA.
Old 09-22-2004, 09:41 AM   #4
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 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


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

All times are GMT -5. The time now is 02:58 AM.

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