- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- a consultant firm could not get email from our Uni...
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-02-2005 02:42 PM
05-02-2005 02:42 PM
# cat mailertable
dtsoft.com relay:[mail.dtsoft.com]
# ps -ef | grep sendmail
root 16264 1 0 22:32:47 ? 0:00 sendmail: accepting connections on port 25
root 16549 8825 0 22:35:09 pts/ta 0:00 grep sendmail
root 16434 1 0 22:34:14 ? 0:00 sendmail: WAA16432 mail-v.dtsoft.com.: user open
The above last process looks some trouble somewhere.
also mailq -bp command got some mails queueing
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2005 11:57 PM
05-02-2005 11:57 PM
Re: a consultant firm could not get email from our Unix server
You must configure sendmail before sending anything:
1. Go to /etc/mail
2. Edit sendmail.cf and change the line with DS to DSmail.xxsoft.com
3. If you are using DNS, skip this step - Go to /etc and copy nsswitch.files to nsswitch.conf. Verify that you have a line like this: hosts: files
4. Stop sendmail: /sbin/init.d/sendmail stop
5. Start sendmail: /sbin/init.d/sendmail start
6. Test: sendmail -v xxx@yyy.com < /etc/issue and you will see if it´s working.
Regar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2005 02:19 AM
05-03-2005 02:19 AM
Re: a consultant firm could not get email from our Unix server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2005 02:30 AM
05-03-2005 02:30 AM
Re: a consultant firm could not get email from our Unix server
Setting up 'mailertable'
To set up 'mailertable', you need to edit your sendmail .mc file and add the following line:
FEATURE(`mailertable')
After doing this, you need to using the script supplied with the Sendmail source to rebuild your configuration file. (sh Build)
Now, open your new Sendmail configuration file and look for this (it should be in the first couple hundred lines of the file):
Kmailertable hash /etc/mail/mailertable
This defines where the 'mailertable' file should be, and in this case it is in /etc/mail.
Now let's go back to my previous example of being a secondary MX host for friendsdomain.com. If I wanted to do this with 'mailertable', I could add the following line to my /etc/mail/mailertable:
friendsdomain.com smtp:[mx1.friendsdomain.com]
After editing this file, you must create a database map of this file for Sendmail to read. Do this by running:
/usr/sbin/makemap hash /etc/mail/mailertable.db < /etc/mail/mailertable
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2005 02:52 AM
05-03-2005 02:52 AM
Re: a consultant firm could not get email from our Unix server
sendmail -v -d8.99 -d38.99 someone@some.net
type some text
.
This will provide you onscreen diagnostics that will help you spot the problem.
You can also do a tail -f on the mail.log file in /var/adm/syslog and see whats happening.
The solutions above are likely to help, but prior to implementing, knowing the exact problem might be useful.
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-03-2005 02:58 AM
05-03-2005 02:58 AM
Re: a consultant firm could not get email from our Unix server
Last December, There are some destinated to dtsoft.com mails sent from this Unix server could not received by their inbox. But, we could not find mail queue or trouble symptom in Unix. Then, our Mail server (MS exchange) admin. and dtsoft people agree that we set up a mailertable in Unix, all destinate to dtsoft.com mail will bypass our mail server, directly sent to mail.dtsoft.com.
At that time, I setup and tested, working fine. I read the below forum at the time.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=556610
I will look for the specific note of my setup which is in my home PC, when it was night setup.
Now, I find out the mail.dtsoft.com port 25 is not open by using nmap.
But I checked our sendmail.cf
# grep DS sendmail.cf | grep -v "^#"
DSbogus.zzey.com
The above is our mail server. we use DNS in this Unix.
At this time, I just ask why mail.dtsoft.com does not get port 25 open. If it is always like that. I got to find out why this Unix could not send mail to dtsoft.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2005 03:01 AM
05-03-2005 03:01 AM
Re: a consultant firm could not get email from our Unix server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2005 03:56 AM
05-03-2005 03:56 AM
Re: a consultant firm could not get email from our Unix server
# telnet mail.dtsoft.com 25
Trying...
Interesting thing is, mail.dtsoft.com is not listed in their MX records:
# dig dtsoft.com MX
; <<>> DiG named 9.2.0 <<>> dtsoft.com MX
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 17245
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 4, ADDITIONAL: 6
;; QUESTION SECTION:
;dtsoft.com. IN MX
;; ANSWER SECTION:
dtsoft.com. 1200 IN MX 90 smtp.easydns.com.
dtsoft.com. 1200 IN MX 100 smtp2.easydns.com.
dtsoft.com. 1200 IN MX 10 smtp-a.dtsoft.com.
dtsoft.com. 1200 IN MX 20 smtp-b.dtsoft.com.
;; AUTHORITY SECTION:
dtsoft.com. 1158 IN NS ns1.easydns.com.
dtsoft.com. 1158 IN NS ns2.easydns.com.
dtsoft.com. 1158 IN NS remote1.easydns.com.
dtsoft.com. 1158 IN NS remote2.easydns.com.
;; ADDITIONAL SECTION:
smtp-a.dtsoft.com. 1200 IN A 67.102.179.53
smtp-b.dtsoft.com. 1200 IN A 67.102.179.54
ns1.easydns.com. 151059 IN A 216.220.40.243
ns2.easydns.com. 151059 IN A 205.210.42.20
remote1.easydns.com. 151059 IN A 64.39.29.212
remote2.easydns.com. 151059 IN A 212.100.224.80
;; Query time: 165 msec
;; SERVER: 156.44.162.125#53(156.44.162.125)
;; WHEN: Tue May 3 09:54:37 2005
;; MSG SIZE rcvd: 301
But is an alias:
# dig mail.dtsoft.com
; <<>> DiG named 9.2.0 <<>> mail.dtsoft.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64389
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 4, ADDITIONAL: 4
;; QUESTION SECTION:
;mail.dtsoft.com. IN A
;; ANSWER SECTION:
mail.dtsoft.com. 1133 IN CNAME mail-v.dtsoft.com.
mail-v.dtsoft.com. 1133 IN A 67.102.179.76
;; AUTHORITY SECTION:
dtsoft.com. 1133 IN NS ns1.easydns.com.
dtsoft.com. 1133 IN NS ns2.easydns.com.
dtsoft.com. 1133 IN NS remote1.easydns.com.
dtsoft.com. 1133 IN NS remote2.easydns.com.
;; ADDITIONAL SECTION:
ns1.easydns.com. 151034 IN A 216.220.40.243
ns2.easydns.com. 151034 IN A 205.210.42.20
remote1.easydns.com. 151034 IN A 64.39.29.212
remote2.easydns.com. 151034 IN A 212.100.224.80
;; Query time: 2 msec
;; SERVER: 156.44.162.125#53(156.44.162.125)
;; WHEN: Tue May 3 09:55:02 2005
;; MSG SIZE rcvd: 222
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2005 03:59 AM
05-03-2005 03:59 AM
Re: a consultant firm could not get email from our Unix server
dig mail.dtsoft.com
then
nmap mail.dtsoft.com
I could not find the pointed mail server port 25 open.
By the other method below
#dig dtsoft.com mx
;; ANSWER SECTION:
dtsoft.com. 1200 IN MX 90 smtp.easydns.com.
dtsoft.com. 1200 IN MX 100 smtp2.easydns.com.
dtsoft.com. 1200 IN MX 10 smtp-a.dtsoft.com.
dtsoft.com. 1200 IN MX 20 smtp-b.dtsoft.com.
;; ADDITIONAL SECTION:
smtp.easydns.com. 3599 IN A 205.210.42.52
smtp-a.dtsoft.com. 1199 IN A 67.102.179.53
smtp-b.dtsoft.com. 1199 IN A 67.102.179.54
I got totally different mail server names.
Now, I do not have setup mailertable mapping methed handy. As Geoff mentioned, I will do below.
1.
updated the mailertable to contents below
dtsoft.com relay:[smtp-a.dtsoft.com]
2.
Kmailertable hash /etc/mail/mailertable
3.
then, restart sendmail
Hope I understand you correctly.
Thank you all
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2005 04:17 AM
05-03-2005 04:17 AM
SolutionRgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2005 01:21 AM
05-05-2005 01:21 AM
Re: a consultant firm could not get email from our Unix server
dtsoft.com relay:[smtp-a.dtsoft.com]
but, if I put to two lines in mailertable, it will complain with duplicate dtsoft.com
when I use command
/usr/sbin/makemap hash /etc/mail/mailertable.db < /etc/mail/mailertable
dtsoft.com relay:[smtp-a.dtsoft.com]
dtsoft.com relay:[smtp-b.dtsoft.com]
This is not as good as resolv.conf, in which you could put more entries, in case first is not available, you could use next..
How could I make the second entries useful in mailertable?
And what are the differences of relay:(we use) and smtp: (Geoff previous comment) below
friendsdomain.com smtp:[mx1.friendsdomain.com]