sendmail configuration for ubuuntu

I am trying to setup sendmail to relay e-mail to a third party. Is there a basic setup for this. I have setup what I think is correct but get a message:
Relaying denied. IP name lookup failed <>
What does this mean ???

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

The ip lookup shows its internal ip address so to relay to third party you need external address and also check for the ports its going through in iptables
ian37aAuthor Commented:
Where do I set the external ipaddress..and would this be the ipaddress of the third party ??
thts true
Please select is this what you were lookin for yes and accept solution
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

ian37aAuthor Commented:
I have very limted knowledge of sendmail and would like to know where to set this external address using ubuntu sendmail...
here you go look at this info which is for debian and sendmail :

All i would suggest is to use exim instead of sendmail as its easy to configure
to install exim4 type  this command  apt-get install exim4
for more reaserch into it ::

Please select yes on right hand side "is this what you were lookin for yes and accept solution|"
ian37aAuthor Commented:
Hi sorry for the delay,
I have tried to install exim on my ubnutu server and the below was the response:-

maint@vibeserver:~$ sudo apt-get install exim
[sudo] password for maint:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package exim is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
E: Package exim has no installation candidate
maint@vibeserver:~$ sudo apt-get install exim4-base
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  exim4-config libdb4.3
Suggested packages:
  eximon4 exim4-doc-html exim4-doc-info libmail-spf-query-perl
The following packages will be REMOVED
  mailx postfix
The following NEW packages will be installed
  exim4-base exim4-config libdb4.3
0 upgraded, 3 newly installed, 2 to remove and 0 not upgraded.
Need to get 1644kB of archives.
After unpacking 627kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get: 1 gutsy/main libdb4.3 4.3.29-8ubuntu2 [429kB]
Get: 2 gutsy/main exim4-config 4.67-5build1 [258kB]
Get: 3 gutsy/main exim4-base 4.67-5build1 [957kB]
Fetched 1644kB in 0s (9581kB/s)
Preconfiguring packages ...
(Reading database ... 107564 files and directories currently installed.)
Removing mailx ...
Removing postfix ...
 * Stopping Postfix Mail Transport Agent postfix                         [ OK ]
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Selecting previously deselected package libdb4.3.
(Reading database ... 107410 files and directories currently installed.)
Unpacking libdb4.3 (from .../libdb4.3_4.3.29-8ubuntu2_i386.deb) ...
Selecting previously deselected package exim4-config.
Unpacking exim4-config (from .../exim4-config_4.67-5build1_all.deb) ...
Selecting previously deselected package exim4-base.
Unpacking exim4-base (from .../exim4-base_4.67-5build1_i386.deb) ...
Setting up libdb4.3 (4.3.29-8ubuntu2) ...
Setting up exim4-config (4.67-5build1) ...
Adding system-user for exim (v4)

Setting up exim4-base (4.67-5build1) ...

maint@vibeserver:~$ eximconfig
-bash: eximconfig: command not found

Is this supported on unbuntu ???


yes it is supported in ubuntu
check this out to vanish the clouds of doubt :


NOW can you please accept this solution at this stage so other user can see this solution please and then after accepting the solution rely bk if u have any further issue
thnx appreciate

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
much appreciate pleasure working on issue let me know if you need any further help
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Email Servers

From novice to tech pro — start learning today.