Operating System - HP-UX
1832095 Members
3025 Online
110038 Solutions
New Discussion

error while I'm sending emails

 
Verónica Muñoz Segovia
Frequent Advisor

error while I'm sending emails

I'm doing some test with a new relay smtp server, and when I send a email with mailx I have the follow error messages:


Relaying Denied
User unknown
Unable to relay for user@domain.com

What else am I need to do in order to receive emails?

Veronica

PD. I don't have setup DNS is only by files
Always is important to know the opinion of other people with or without experience
7 REPLIES 7
Craig Rants
Honored Contributor

Re: error while I'm sending emails

What version sendmail are you using? 8.9.3 blocks relays by default when you use the standard sendmail.cf file. The version information would help everyone answer you question much quicker.
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
Christopher Caldwell
Honored Contributor

Re: error while I'm sending emails

Add the IP of the sending server to LocalIP on the SMTP server (relay host). Restart sendmail.

(If you have more questions, please post the version of sendmail you're running on the relay host).
Roger Baptiste
Honored Contributor

Re: error while I'm sending emails

Hi

do a sendmail -vt mailid
and post the results along
with the version of sendmail.

-raj
Take it easy.
Uday_S_Ankolekar
Honored Contributor

Re: error while I'm sending emails

Hi,

check with sendmail -bv and see the result if it resolves.
Check your DNS setup also for the MX
recoreds Also have a look in /etc/resolve.conf, /etc/nsswitch.conf files
for the proper setup

Goodluck,
-USA..
Good Luck..
Verónica Muñoz Segovia
Frequent Advisor

Re: error while I'm sending emails

I'm using sendmail 8.9.3 and I setup manually on the /etc/host the IP Server and server.domain.com of the smtp server relay.

I ran sendmail -bvt userid and the result is:
userid.domain.com... deliverable: mailer relay, host smtp.domain.com, user userid.domain.com

Any idea?
Always is important to know the opinion of other people with or without experience
harry d brown jr
Honored Contributor

Re: error while I'm sending emails

http://www.zmailer.org/reports-en.html

live free or die
harry
Live Free or Die
Joseph Chakkery
Valued Contributor

Re: error while I'm sending emails

Hello,

HAve u put relay host name in sendmail.cf file under /etc/mail directory.

The entry should be like

DSsmtprelayname

Check this is write. The same smtprelayname should be there in /etc/hosts also.

Regards
Joe.
Knowledge is wealth