- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Enable MX in sendmail (V8.7.1 in HPUX10.20)?
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
тАО12-25-2001 08:54 AM
тАО12-25-2001 08:54 AM
Enable MX in sendmail (V8.7.1 in HPUX10.20)?
I only found the following lines in sendmail.cf:
# fallback MX host
#O FallbackMXhost=fall.back.host.net
# if we are the best MX host for a site, try it directly instead of config err
#O TryNullMXList
But it seems they are of no use.
I just want to let this sendmail server relay the non-local-domain mails to other mail servers.
Any ideas?
Thanks & Merry X-mas!
/discoverer
- Tags:
- sendmail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-25-2001 10:26 AM
тАО12-25-2001 10:26 AM
Re: Enable MX in sendmail (V8.7.1 in HPUX10.20)?
MX=mail exchange host is to be specified in the DNS configuration. Check with your DNS administrator.
As per your solution, you need to configure your sendmail.cf with a combination of DS and Dm macros.
Edit your sendmail.cf and search for DS
and add your mailserver there. So all the non-local mail will be forwarded through this server.
And add an entry like Dm yourdomain.com and uncomment the line starting with R$* < @ $* > $* in the ruleset.
Then restart sendmail using /sbin/init.d/sendmail script.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-25-2001 05:02 PM
тАО12-25-2001 05:02 PM
Re: Enable MX in sendmail (V8.7.1 in HPUX10.20)?
"MX" refers to a DNS record, not a specific sendmail configuration. The MX record will be used to tell other mail agents where to deliver email for your domain.
If you want to relay non-local mails to another place, check the DS configuration parameter on your /etc/sendmail.cf.
Regards,
Paga
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-25-2001 09:21 PM
тАО12-25-2001 09:21 PM
Re: Enable MX in sendmail (V8.7.1 in HPUX10.20)?
Thanks for your help!
Yes, I think DS can realize this function, but it ***didn't use the MX record*** of the target mailserver in the DNS server.
Sorry about that I didn't express my situation clearly.
Now Let me clarify it more clear:
* Goal:
let the sendmail server sends the non-local-domain mails to other specific mail servers ***via DNS server's MX record***. (just like the real world: you send a mail to me, through your company's mail server to mime, via the Internet DNS server's MX record)
* situation:
1. mailserver1's full hostname: mail.domain1.mycompany.com.am
2. mailserver2's full hostname: mail.domain2.mycompany.com.am
3. mailserver3 .........
3. DNS SERVER's config: (already have the MX record for both domain1.mycompany.com.am & domain2.mycompany.com.am)
/etc/named.data/db.mycompany :
domain1 IN MX 10 mail.domain1.mycompany.com.am.
domain2 IN MX 10 mail.domain2.mycompany.com.am.
domain3 ...........
* issue:
Now, from mailserver1 I send a mail to user@domain2.mycompany.com.am, but failed to send. Following is the log in mailserver1's /var/adm/syslog/maillog
Dec 26 11:43:05 .... sendmail[1239]: XAA27568: to=
Anything unclear pls tell me.
Thanks for your consideration!
/Discoverer
THINKING makes the life colorful!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-25-2001 09:45 PM
тАО12-25-2001 09:45 PM
Re: Enable MX in sendmail (V8.7.1 in HPUX10.20)?
Verify the MX records in your DNS server:
# nslookup
> set type=mx
> domain2.xyz.com.am
domain2.xyz.com.am mail exchanger = 10 mail.domain2.xyz.com.am
Check also the name resolution configuration ie. /etc/resolv.conf, /etc/nsswitch.conf and /etc/hosts if any of them are used.
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-25-2001 11:59 PM
тАО12-25-2001 11:59 PM
Re: Enable MX in sendmail (V8.7.1 in HPUX10.20)?
MX record was verified OK in all the mailservers & DNS server.
To be clearly,
Mailserver1 uses qmail(smtp+pop3) system, and mailserver2 uses sendmail+qpopper, they all have the correct MX record in a same DNS server.
I can send a mail to: user@domain2.mycompany.com.am via mailserver1's qmail-SMTP,but fail in reverse .
So, I think something of sendmail must be configed to use the MX record.
Any idea?
/discoverer
THINKING makes the life colorful!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-26-2001 04:57 PM
тАО12-26-2001 04:57 PM
Re: Enable MX in sendmail (V8.7.1 in HPUX10.20)?
'fail in reverse' means:
sent a mail to user@domain1.mycompany.com.am via mailserver2's sendmail, but failed
/discoverer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-26-2001 07:34 PM
тАО12-26-2001 07:34 PM
Re: Enable MX in sendmail (V8.7.1 in HPUX10.20)?
Finally I FOUND THE REASON!! :
After create/remove the /etc/resolv.conf in the sendmail server, the sendmail daemon must restart to use or not to use DNS.
Just don't like others command which can notice the change immediately, e.g. nslookup/telnet/...
So, now it's the author, my respected Eric Allman's turn ...
:-)
Thanks for everybody's help!!!
/Stupid Discoverer