- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- mailx/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
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
тАО04-24-2003 07:51 PM
тАО04-24-2003 07:51 PM
My smtp server is on another computer.
My problem is that i do not know
how to configure mailx ? sendmail ?.
I wish send message via my smtp server (is on a linuxbox) that is on internet.
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2003 07:57 PM
тАО04-24-2003 07:57 PM
Re: mailx/sendmail
this is very simple.
go to /etc/mail/ edit sendmail.cf
add the hostname of linux smtp server in sendmail.cf .
thereis entry called DS which is known as smart relay host.
so the mails from the workstation will be forwarded to linux.
but make sure linux will accept the mails from this workstation,
incase u configured access file linux sendmail go to /etc/mail/access add the ipaddress of the workstation.
/etc/mail/access
ipaddress RELAY
then use mailx to check it.
u can even use sendmail to check whether it is working.
sendmail -v user@domain < /dev/null
it gives full detailed output of the connection.
radhakrishnan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2003 08:44 PM
тАО04-24-2003 08:44 PM
Solutionfile
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
тАО04-27-2003 05:21 PM
тАО04-27-2003 05:21 PM
Re: mailx/sendmail
My linux smtp server has Qmail ans I am sure accept relay from any computers 172.16.
I changed DS entry (DSlinux)
but when i try to send a message
via mailx the messages goes in queue
Here the resoult of maiq and some logs
DAA01382 972 Sat Apr 26 03:21 root
(host map: lookup (hp.com): deferred)
aaaa@hp.com
Apr 26 03:21:36 cad100 sendmail[1386]: DAA01386: from=root, size=1097, class=0, pri=31097, nrcpts=1, msgid=<200304260121.DAA01386@studio.mio.>, relay=root@localhost
Apr 26 03:21:36 cad100 sendmail[1386]: DAA01386: to=aaaa@hp.com, delay=00:00:00, mailer=relay, stat=queued
Thanks ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2003 08:15 PM
тАО04-27-2003 08:15 PM
Re: mailx/sendmail
What entries you have in your /etc/nsswitch.conf?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2003 02:36 PM
тАО04-28-2003 02:36 PM
Re: mailx/sendmail
Hi
My /etc/nsswitch.conf
hosts: files[NOTFOUND=continue UNAVAIL=continue] dns [NOTFOUND=continue UNAVAIL=continue TRYAGAIN=continue] files
with my DNS server i resolv only
local address as (linux) my smtp
"external" server.
If a send an e-mail via Netscape-Mail configured with outgoing SMTP server (linux) it all OK ;-)
Thanks ;-)