- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to send a mail with local domain?
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
Forums
Discussions
Discussions
Discussions
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
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
06-01-2003 09:12 PM
06-01-2003 09:12 PM
how to send a mail with local domain?
but It's always show "user@host".
It rejected by remote mail server.
how to send a mail with local domain?
Thanks!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2003 09:19 PM
06-01-2003 09:19 PM
Re: how to send a mail with local domain?
append the domain name after Dj$w
like
Dj$w.hp.com
Restart sendmail
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
Revert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2003 10:37 PM
06-01-2003 10:37 PM
Re: how to send a mail with local domain?
Please check weather the entry of your Domain is there in
/etc/mail/sendmail.cf
Regards,
Rajesh G.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2003 05:04 AM
06-02-2003 05:04 AM
Re: how to send a mail with local domain?
domain yourdomain.com
in your /etc/resolv.conf?
Also, if you have an internal mail server - set the DS macro in /etc/mail/sendmail.cf
# "Smart" relay host (may be null)
DSyourmailserver
If you have seperate internal/external domain names (like internal.net and external.com), then also set the DM macro in /etc/mail/sendmail.cf:
# who I masquerade as (null for no masquerading) (see also $=M)
DMexternal.com
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2003 05:37 AM
06-02-2003 05:37 AM
Re: how to send a mail with local domain?
If you are using sendmail.cf DS directive that server must be set up in its aliases file to explicitly relay your mail.
Same basic issue if its an exchange server.
You can actually change your system hostname from hostname to hostname.local.net and the sendmail daemon will pick it up on outbound mail.
If your External public DNS record has a record for hostname.local.net then you can get mail from cron mailx or any script anywhere in the world.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com