- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 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
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
05-28-2003 09:43 AM
05-28-2003 09:43 AM
sendmail
I've configured the resolv.conf and nsswitch file, if i discover my dns server, it is up, but when i send an e-mail i've the following message:
To: root@hostname.mydomainname.it
Subject: Returned mail: Host unknown (Name server: mydomainname.it.: no data known)
Auto-Submitted: auto-generated (failure)
How can i masquerade root and my hostname when i send the mail? In what thing do i make mistake? Is sendmail configured right?
regards
Maurizio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2003 10:12 AM
05-28-2003 10:12 AM
Re: sendmail
The Dj opttion.
In sendmail
# Dj$foo.com
DJyourdomain.it
You can also change the hostname in /etc/rc.config.d/netconf to host.yourdomain.it
Thats a radical step.
Diagnostic:
sendmail -v -d8.99 -d38.99 target@yourdomain.it
Type a message
.
thats type a period(dot) and hit enter.
You'll get specific diagnostics that you can act on.
You indicate that nslookup works for the target domain, thats important, your system needs to get the mx record.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2003 11:25 AM
05-28-2003 11:25 AM
Re: sendmail
HTH
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2003 11:30 AM
05-28-2003 11:30 AM
Re: sendmail
Attached is a rough script for hp-ux
Same basic directives, but all the prior recommendations, including my own will have to be hand edited every time you rebuild the hash databases.
See attachement.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2003 01:07 PM
05-28-2003 01:07 PM
Re: sendmail
OSTYPE(`solaris8')
DOMAIN(generic)dnl
FEATURE(smrsh)dnl
FEATURE(use_ct_file)dnl
FEATURE(use_cw_file)
FEATURE(`relay_entire_domain')
MASQUERADE_AS(domain.net)
FEATURE(allmasquerade)
FEATURE(masquerade_envelope)
FEATURE(`relay_entire_domain')
define(`SMART_HOST', `relayserver')
define(`confTO_CONNECT', `1m')dnl
define(`confTO_IDENT', `0s')dnl
define(`confDONT_EXPAND_CNAMES', `True')dnl
define(`confMAX_MESSAGE_SIZE', `1000000')
EXPOSED_USER(`root')
MAILER(smtp)
MAILER(local)
(`confDEF_USER_ID',``smmsp:smmsp'')
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2003 08:12 AM
05-29-2003 08:12 AM
Re: sendmail
Dj$w.mydomain.it
but when i run this command sendmail -v -d8.99 -d38.99 usermail@domain.it
i sent the mail as root@mydomain.it, i can't masquerade root, if i change the DM variables i sent the mail as root@$DM....?
How can i do?
Please help me
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2003 08:18 AM
05-29-2003 08:18 AM
Re: sendmail
Change
Dj$w.mydomain.it
to
Djmydomain.it
save the file
/sbin/inti.d/sendmail stop
/sbin/inti.d/sendmail start
Re-run the mail diagnostic and post the out put if you get bad results.
Please consider assigning points if we have been helpful.
thanks.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2003 08:18 AM
05-29-2003 08:18 AM
Re: sendmail
what is the mx record?
This record need only if i want to send and receive mail?
If i want only send mail?
If its needed, where do i ask for it?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2003 08:30 AM
05-29-2003 08:30 AM