- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Mailx setup
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
08-04-2002 11:39 PM
08-04-2002 11:39 PM
Mailx setup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2002 11:44 PM
08-04-2002 11:44 PM
Re: Mailx setup
Try starting with mailq command in order to see the messages queue.
Regards,
Justo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2002 11:46 PM
08-04-2002 11:46 PM
Re: Mailx setup
To get any mail working you will need sendmail running. Can you see its process running ?
If not you can start by doing; /sbin/init.d/sendmail start
Once its running tail -f /var/adm/syslog/mail.log when you do your mailx so you can see in the log where your mail is going or what the error is.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2002 09:59 PM
08-05-2002 09:59 PM
Re: Mailx setup
Sendmail is running.
In /var/adm/syslog/mail.log I get messages "Unable to qualify my own domain name" and "be sure to set domain name in Dj macro in sendmail.cf". There are messages pending in the mail-queue resulting in occasional dead.letter's. There needs to be a lot configured still, but I cannot find the neccesary documentation...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2002 10:38 PM
08-05-2002 10:38 PM
Re: Mailx setup
file
Make sure that you have these entries.
1.
DS
DSpsldns
(psldns is my smtp server name)
2.add the domain name to Dj$w
Dj$w.hp.com
Make sure that you could do a nslookup of your smtp server
#nslookup
If this is not working check whether the smtp server name is there on the DNS server for to resolve.
or check whether it is there in your hosts file.
Restart sendmail.
/sbin/init.d/sendmail stop & start.
Post your results
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2002 11:28 PM
08-05-2002 11:28 PM
Re: Mailx setup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2002 11:38 PM
08-05-2002 11:38 PM
Re: Mailx setup
or the local host file.
For example if you are using hosts file
Just do a entry like
eg.
Mine is
172.16.1.83 psldns.polaris.co.in psldns
If you are using a DNs server for resolving hostnames.
Make sure that the smtp server is getting resolved using that DNS server.
how does your /etc/nsswitch.conf file look like.
what is the output of
#nslookup
Post the output
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2002 11:45 PM
08-05-2002 11:45 PM
Re: Mailx setup
I user files (hosts) and have defined my smtp-server (NTServer01.vir) just as you described!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2002 12:10 AM
08-06-2002 12:10 AM
Re: Mailx setup
it is that the system is unable to find the mailbox of the user you are sending messages.
Is the smtp server a windows machine?
what is the domain name of your smtp machine?
What is the mailbox name to which you are sending messages?
Because windows uses netbios to resolve hostname.
Post your answers
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2002 12:25 AM
08-06-2002 12:25 AM
Re: Mailx setup
The domain-name we are using is .VIR.NL.
And the name I am trying to send a mail to is j.karremans@vir.nl (known on this machine).
There could be some problem with domain-names. It could vary between .VIR and .VIR.NL.
We are running Post.Office from Software.com on the NT-machine and on a Unix 10.20 machine.
I thought e-mail was purely TCP/IP. Where does netbios come in?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2002 01:27 AM
08-06-2002 01:27 AM
Re: Mailx setup
Do you have the file with the contenents:
HP2 #> vi sendmail.mc
"sendmail.mc" 9 lines, 183 characters
LOCAL_CONFIG
define(`SMART_HOST', `correo')dnl
FEATURE(accept_unresolvable_domains)
FEATURE(redirect)dnl
FEATURE(use_cw_file)dnl
FEATURE(nodns)dnl
MAILER_DEFINITIONS
MAILER(smtp)dnl
You must define it and stop and start the sendmail daemon.
Regards,
Justo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2002 01:29 AM
08-06-2002 01:29 AM
Re: Mailx setup
1.In your /etc/mail/sendmail.cf file
DS(smart-relayhost)
DSNTserver01.VIR.NL
for the domain name
Dj$w.VIR.NL
2.In your /etc/hosts file
xx.xx.xx.xx NTServer01.VIR.NL NTserver01
3.check your /etc/nsswitch.conf file
so that the lookup is like this
hosts : files
NOw try sending mail as
cat /etc/hosts|mailx -s "test"
Post your results
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2002 01:32 AM
08-06-2002 01:32 AM
Re: Mailx setup
In this line:
define(`SMART_HOST', `correo')dnl
you must put:
define(`SMART_HOST', `yourNTservername')dnl
Regards,
Justo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2002 01:40 AM
08-06-2002 01:40 AM
Re: Mailx setup
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2002 01:48 AM
08-06-2002 01:48 AM
Re: Mailx setup
According to my limited mail-configuration knowledge, I have entered everything everywhere correctly...
.........
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2002 02:24 AM
08-06-2002 02:24 AM
Re: Mailx setup
/var/adm/syslog/mail.log file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2002 02:31 AM
08-06-2002 02:31 AM
Re: Mailx setup
ir_hp5) -- using short name --> I don't understand?
Aug 6 11:55:07 vir_hp5 sendmail[11887]: be sure to set domain name in Dj macro
in sendmail.cf --> Has happened. There is just one line with Dj.. in the entrire file and is completed as suggested!
Aug 6 11:55:07 vir_hp5 sendmail[11887]: LAA11887: to=start, delay=00:00:00, mai
ler=local, stat=User unknown --> User = root??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2002 03:03 AM
08-06-2002 03:03 AM
Re: Mailx setup
Please configure this unix machine to your windows dns server as
#set_parms addl_netwrk
it will ask for the domainname and the ip-address of the dns server.
configure it.
modify your /etc/nsswitch.conf file as
hosts: dns files
Now do a nslookup for the smtp server whether it is getting resolved.
nslookup
should give as
lookup on dns server..something like that
Now try sending mail
Please your results
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2002 03:24 AM
08-06-2002 03:24 AM
Re: Mailx setup
I got also some help from HP and am currently on the phone! Will keep you informed...
The startup problem was a matter of starting the right sendmail executable (the one in sbin/init.d)...
Thanx again so far!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2002 03:30 AM
08-06-2002 03:30 AM
Re: Mailx setup
/etc/mail/sendmail.cw which needs a list of all the names by which this host will be known.
YOu can make entry in the file like
Then re-start sendmail to check those messages dont appear again.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2002 09:01 AM
08-06-2002 09:01 AM
Re: Mailx setup
123.123.123.02 pete.yourdomain.com pete
as the first line after the comments if you have them. Stop and start sendmail:
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
Then refer to all errors or transactions in
/var/adm/syslog/mail.log
for the real story on what is going on with sendmail.
Good luck