- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: weird problem with sendmail
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
тАО03-25-2002 04:28 AM
тАО03-25-2002 04:28 AM
weird problem with sendmail
How to configure sendmail to send emails without configuring DNS ?
we have a few HP and we need only to send occasionally emails as backup and cron notifications to exchange server and SMS-gate.
I configured /etc/nsswitch.conf using only files services. /etc/resolvf.conf doesn't exists at all. Also I put name of host with dot trailing to /etc/hosts and /etc/mail/sendmail.cw but anyway I could send email only locally.
Remote server says : "sender domain must exist,data format error"
Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2002 09:03 AM
тАО03-25-2002 09:03 AM
Re: weird problem with sendmail
lets call
hosta server you are sending from
and
hostb server you are sending to.
In /etc/hosts on hosta you should have:
this.is.the.ip hostb
on hostb /etc/hosts you should have the ip and name for hosta.
this.is.the.ip hosta
try that and then from hosta do:
echo test | sendmail -v user@hosta
echo test | sendmail -v other_user@hostb
and from hostb
echo test | sendmail -v user@hostb
echo test | sendmail -v other_user@hosta
if it fails .. post the results from the last tests.
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2002 10:04 AM
тАО03-25-2002 10:04 AM
Re: weird problem with sendmail
Try this link,
http://us-support3.external.hp.com/cki/bin/doc.pl/sid=343d67e60ea8fe5966/screen=ckiDisplayDocument?docId=200000049436473
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2002 10:49 PM
тАО03-25-2002 10:49 PM
Re: weird problem with sendmail
I got next messages:
user@hosta> echo test | sendmail -v other_user@hostb
501
another_user@hostb... Data formar error
Sanjay,
everything was DONE exactly as in this paper.in fact I read it before posting. it doesnt't work for 11.11.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2002 07:17 AM
тАО03-26-2002 07:17 AM
Re: weird problem with sendmail
I have been playing with my test server. And 2 things so far I found will cause your error. First I have to ask you to double check your /etc/hosts file on the server you are sending from and the server you are sending to. If the /etc/hosts entry for the server you are sending from is not in the server you are sending to your email will fail. Remember the hostname has to have your domain at the end.
without entry lupus (lupus from server)entry on the server I am sending to.
501
Data format error
root... Connecting to local
When I added lupus entry on the server I was sending to.
>>> MAIL From:
250
Ok
thats #1 ..
2nd in /etc/mail
vi sendmail.cf
go to the Dj section:
# my official domain name
# ... define this only if sendmail cannot automatically determine your domain
#Dj$w.Foo.COM
uncomment
#Dj$w.Foo.COM
and please it with
Dj$w.yourdomain.com
yourdomain.com being the same domain that is on the server you are trying to send to.
save the changed and restart sendmail
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
Test it again and let us know what happends.
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2002 10:25 PM
тАО03-27-2002 10:25 PM
Re: weird problem with sendmail
I put entry Dm. in /etc/sendmai.cf and it works!
Meaning of this macro - all hosts with trailing dot as local domain and therefore i'm able to send messages to all hosts in /etc/hosts file.