1846564 Members
2274 Online
110256 Solutions
New Discussion

Sendmail

 
Christina Martin
Frequent Advisor

Sendmail

We do not use DNS.

I can send a message to @L2000 however, if I try to send a message to a user on our mail server I get the following error message:

Apr 5 13:17:58 l2000 sendmail[24244]: j34Gv7F22427: to=lisa.taylor1@us.army.mil
, ctladdr=taylorl (1030/1000), delay=1+00:20:51, xdelay=00:00:00, mailer=esmtp,
pri=4530335, relay=us.army.mil., dsn=4.0.0, stat=Deferred: Connection timed out
with us.army.mil.

Any idea why this is happening? Our command is undergoing migration to Active Directory...and we ARE required to use SSL for mail...can I configure sendmail so that emails from our L2000 servers can be sent to our mail servers?

thank you,
Lisa Taylor
4 REPLIES 4
Jim Butler
Valued Contributor

Re: Sendmail

Check your /etc/resolv.conf file to verify that you have DNS set up

The contents should be something like

domain us.army.mil
nameserver xxxxx


Where xxxxx is your nameserver for us.army.mil

Also, In your sendmail config file, specify that you want to recieve mail for that domain on L2000.

Good Luck.

Man The Bilge Pumps!
Uday_S_Ankolekar
Honored Contributor

Re: Sendmail

IS DNS configured? If yes configure nsswitch.conf file for host entry on your server

hosts: files [NOTFOUND=continue UNAVAIL=continue] dns

Also check for DS entry in sendmail file
Edit sendmail.cf file located in /etc/mail directory

put your mailserver name infront of DS entry
DSyourmailservername
Stop and restart sendmail by /sbin/init.d/sendmail [stop] [start]

-USA..
Good Luck..
Steven E. Protter
Exalted Contributor

Re: Sendmail

It woudl appear you have the DS directive in your sendmail.cf file.

It would appear you are trying to relay mail to a server that does not let you do so in the /etc/mail/access database.

Or if its a microsoft mail relay server its doesn't allow relay.

Check and see if you have connectivity to us.army.mil

If it shows up in DNS lookups with dig or nslookup then pursue the ideas above in my post.

Now its possible that DS is not set up in your sendmail.cf, here is what it looks like:


DS
us.army.mil


That pretty much tells the sendmail daemon what to do with the mail.

So:

You need connectivty to the server.
You need it to allow you to relay mail.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Jim Butler
Valued Contributor

Re: Sendmail

I see your first line "We don't use DNS" - so sorry about that.

You need to set your sendmail server up to recieve mail for that domain.

If you are using a recent version of sendmail, simply edit your config file, and remake your config files.

Try this link for instructions.

http://www.geekcomix.com/cgi-bin/classnotes/wiki.pl?UNIX02/Sendmail_Configuration
Man The Bilge Pumps!