- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sends local mail but not internet mail
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
тАО09-27-2002 03:45 PM
тАО09-27-2002 03:45 PM
sends local mail but not internet mail
What do I need to configure in my sendmail.cf to make this work?
Thanks in advance,
mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2002 04:17 PM
тАО09-27-2002 04:17 PM
Re: sends local mail but not internet mail
Look at the masquarade parm in sendmail.cf
Note below which was set to our internal mail server.
After the change stop/start sendmail. i.e.
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
# masquarade as, aka site hiding(null for no masquerading)
DM gottschalks.com
Best of luck,
dl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2002 06:16 AM
тАО09-28-2002 06:16 AM
Re: sends local mail but not internet mail
I think you should try and setup a relay if you have a relay within your company. You server will submit all emails to this relay server which in turn would send it to the company mail servers.
Try this link below on how to setup the server to relay mails to a relay server,
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000063236232
Use the DS Macro.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2002 06:57 AM
тАО09-28-2002 06:57 AM
Re: sends local mail but not internet mail
Put an entry like this
DS name_of_your_relay_host.company.com .
The restatrt your sendmail daemon .
THen you should be able to send mails out side.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2002 02:25 PM
тАО09-28-2002 02:25 PM
Re: sends local mail but not internet mail
Add this line, you will have an example anyway, so look for 'DS'
e.g.
DS mydomain.com (put your domain here)
Save the file
Stop and restart sendmail
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2002 09:31 PM
тАО09-28-2002 09:31 PM
Re: sends local mail but not internet mail
Try this solution:
Here is what I did to configure sendmail in Unix to send mail to an exchange server.
1) In the /etc/mail/sendmail.cf file: I added in the Dj macro our doman name
2) Also in the same file, I added in the DS macro the IP address of the relay server (since we are not using DNS on Unix)
3) In the /etc/hosts I added
IP_address host_name
4) Restarted sendmail:
/sbin/rc1.d/K460sendmail stop
/sbin/rc1.d/S540sendmail start
BUT THAT DID NOT WORK YET!
Next, I did what Keith Johnson mentioned in this thread. To create a file "/etc/nsswitch.conf" with the line:
hosts: files [NOTFOUND=continue]
and sendmail surprisingly worked. !!
I didn't understand this yet. But that's the end of story.
Thanks to all again........
You can find more at:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x1706237a4bc6d611abdb0090277a778c,00.html
and
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xc4c96af52b04d5118fef0090279cd0f9,00.html
Regards,,,,,,