- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Send mail from UNIX to E-mail box (WINDOWS)
Operating System - HP-UX
1820553
Members
3769
Online
109626
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО03-04-2003 01:46 AM
тАО03-04-2003 01:46 AM
Hi to all,
I'm looking for a easy way to send mail from unix box "could be from root prompt" to e-mail address which is on box running windows. Example:
#mail "popopooooo" to myaddress@here.com
Your help will be appreciated.
Augusto
I'm looking for a easy way to send mail from unix box "could be from root prompt" to e-mail address which is on box running windows. Example:
#mail "popopooooo" to myaddress@here.com
Your help will be appreciated.
Augusto
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2003 02:14 AM
тАО03-04-2003 02:14 AM
Re: Send mail from UNIX to E-mail box (WINDOWS)
hi,
your question is not very clear. are u having a mail server runnig on a windows box and you want this to be used to send a mail to the user.
if that is the case, just set the DS macro (smart host) to the hostname of the windows server and restart sendmail for changes to take effect. if you are using the ip address instead and your server doesnt have a DNS server, dont forget to enclose the IP in square braces ([xxx.xxx.xxx.xxx])
if that is not the case, get a pop server, install it on the unix box and point the email client on windows to fetch mail from this server.
http://hpux.connect.org.uk/hppd/hpux/Networking/Mail/qpopper-4.0.4/
hth
-balaji
your question is not very clear. are u having a mail server runnig on a windows box and you want this to be used to send a mail to the user.
if that is the case, just set the DS macro (smart host) to the hostname of the windows server and restart sendmail for changes to take effect. if you are using the ip address instead and your server doesnt have a DNS server, dont forget to enclose the IP in square braces ([xxx.xxx.xxx.xxx])
if that is not the case, get a pop server, install it on the unix box and point the email client on windows to fetch mail from this server.
http://hpux.connect.org.uk/hppd/hpux/Networking/Mail/qpopper-4.0.4/
hth
-balaji
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2003 03:24 AM
тАО03-04-2003 03:24 AM
Re: Send mail from UNIX to E-mail box (WINDOWS)
First of all do you have sendmail installed .... If not install it Relaqy it to the Email box running on ur windows box & use sendmail / mail command to send emails...
echo Hello |mail kaps@kaps.com
kaps
echo Hello |mail kaps@kaps.com
kaps
Nothing is impossible
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2003 05:12 AM
тАО03-04-2003 05:12 AM
Solution
There are many... many topics covering this in the forum...
but ....
1st you need to make sure your Unix box is set up to send mail to your SMTP server. To do this edit /etc/mail/sendmail.cf and uncomment the line that starts with:
DF
and also add your mail server to this line:
DF mailserver.mydomain.com
then type:
mailx -s "subject" -r return_address address_to_send_to < textfile
or
command | mailx -s "subject" -r return_address address_to_send_to
or
cat file | mailx -s "subject" -r return_address address_to_send_to
or to send an attachment:
uuencode filename | mailx -s "subject" -r return_address address_to_send_to
Hope this helps
but ....
1st you need to make sure your Unix box is set up to send mail to your SMTP server. To do this edit /etc/mail/sendmail.cf and uncomment the line that starts with:
DF
and also add your mail server to this line:
DF mailserver.mydomain.com
then type:
mailx -s "subject" -r return_address address_to_send_to < textfile
or
command | mailx -s "subject" -r return_address address_to_send_to
or
cat file | mailx -s "subject" -r return_address address_to_send_to
or to send an attachment:
uuencode filename | mailx -s "subject" -r return_address address_to_send_to
Hope this helps
All paths lead to destiny
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP