- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Sendmail works great except for internet (outs...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2002 12:11 PM
тАО02-06-2002 12:11 PM
From our HP-UX 11.0 we can email to our mail
server (Outlook). We have the DSN defined on our system.
Here are the error message from
/var/adm/syslog/mail.log:
Feb 6 13:41:20 godzilla sendmail[22913]: NAA22910: to=laurieyoga@yahoo.com, ctl
addr=lauriek (468/120), delay=00:00:02, xdelay=00:00:02, mailer=esmtp, relay=mx2
.mail.yahoo.com. [64.157.4.82], stat=Data format error
Feb 6 13:41:20 godzilla sendmail[22913]: NAA22910: NAA22913: DSN: Data format e
rror
Yet I can do nslookup on stuff no problem:
nslookup yahoo.com
Using /etc/hosts on: godzilla
looking up FILES
Trying DNS
Non-authoritative answer:
Name: yahoo.com
Addresses: 216.115.108.245, 216.115.108.243
How come I can email to our mail server
and not to the outside world? We even tried
doing this with our fire wall down (now don't
be getting any idea's here). It's not the
firewall.
I have /etc/hosts and /etc/resolv.conf set up
correctly. Do you take my word here?
HEre is another version of the error:
>>> MAIL From:
<<< 501 Syntax error in parameters or arguments
501 laurieyoga@yahoo.com... Data format error
OK this is straight ascii text data, so it
should not be a data format error.
I have our /usr/share/lib/mailx.rc set up :
set append
set asksub
set askcc
set dot
set crt=21
set PAGER=more
set save
set hold
set keep
set encoding=8bit
set metoo
set charset=us-ascii <--- is this OK?
Thanks (my 4th day on the job so I want to fix
this and make a good impression :) )
Laurie
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2002 12:15 PM
тАО02-06-2002 12:15 PM
Re: Sendmail works great except for internet (outside) emails
You need to modify your sendmail.cf file in /etc/mail
In sendmail file look for DS entry by (/^DS )
then put the mailserver name infront of this
DSyourmailservername.
Restart sendmail by
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
And Wish you goodluck in your new job:)
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2002 12:23 PM
тАО02-06-2002 12:23 PM
SolutionUse a smart relay host. using the DS option in /etc/mail/sendmail.cf file. If you modify this file, restart sendmail,
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
http://us-support3.external.hp.com/cki/bin/doc.pl/sid=806da5d0003bf43507/screen=ckiDisplayDocument?docId=200000045145919
Also add the ip address and the host name for your server in the relay host /etc/hosts file.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2002 01:25 PM
тАО02-06-2002 01:25 PM
Re: Sendmail works great except for internet (outside) emails
with the external world.
However, after I did what you suggest I do
not get any errors messages. Is now the
problem the mail server I'm using as an relay?
We are using MS Exchange server for our mail
server.
I sent an email from unix to yahoo account and
here is what syslog/mail.log says:
Feb 6 14:49:48 godzilla sendmail[956]: OAA00954: to=laurieyoga@yahoo.com, ctlad
dr=lauriek (468/120), delay=00:00:00, xdelay=00:00:00, mailer=relay, relay=mail.
park.edu. [204.185.202.251], stat=Sent (OK)
I got no email error messages back either, so
that is a good sign. I quess the problem is
with the Exchange server...Any thoughts...
Laurie Krumrey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2002 01:43 PM
тАО02-06-2002 01:43 PM
Re: Sendmail works great except for internet (outside) emails
There should be a mail server which does SMTP connection to external world to receive/send outside mails.
If your mail server is mail.park.edu then it has reached up to that point.
Did you get e-mail on your yahoo account??
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2002 01:45 PM
тАО02-06-2002 01:45 PM
Re: Sendmail works great except for internet (outside) emails
user@host.domain.com will not get accepted from MOST receiving mailservers unless host.domain.com is a publicly known hostname..probably not. so set your DM macro to DMdomain.com in sendmail.cf, then set CE to CEroot, then login as a user, and send an email, it will come from user@domain.com, and you will be able to send mail out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2002 01:51 PM
тАО02-06-2002 01:51 PM
Re: Sendmail works great except for internet (outside) emails
Also have this entry in your /etc/mail/sendmail.cf file,
Dj$w.yourdomain.com
Also here is a thread that might help you with the exchange mail server if you still have some problem,
http://us-support3.external.hp.com/cki/bin/doc.pl/sid=9602e1b4190da32177/screen=ckiDisplayDocument?docId=200000056245768
Hope this helps.
Regds