- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to configure email
Operating System - HP-UX
1752806
Members
5616
Online
108789
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
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
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
тАО07-21-2009 08:01 PM
тАО07-21-2009 08:01 PM
How to configure email
hi,
We are planning to configure Oracle Alert by email. The Oracle consultant told me that first things to do is to ensure that we are able to send email from Unix server.
I have try below but the status in maillog is
mail myname@company.com.my
test mail
test mail testmail
ctrl-d
but I got stat=queue in mail.log.
I have add the relay server (DSrelayserver.company.com.my) to
/etc/mail/sendmail.cf
and I have also add relayserver and the ip into my hosts file
but I still could't sent email from my unix server.
I am able to telnet to my relayserver with port 25,
I got the below result for the below command
nslookup -type=MX relayserver
looking up FILES
Name: relay server
Address:
please help. thank you.
We are planning to configure Oracle Alert by email. The Oracle consultant told me that first things to do is to ensure that we are able to send email from Unix server.
I have try below but the status in maillog is
mail myname@company.com.my
test mail
test mail testmail
ctrl-d
but I got stat=queue in mail.log.
I have add the relay server (DSrelayserver.company.com.my) to
/etc/mail/sendmail.cf
and I have also add relayserver and the ip into my hosts file
but I still could't sent email from my unix server.
I am able to telnet to my relayserver with port 25,
I got the below result for the below command
nslookup -type=MX relayserver
looking up FILES
Name: relay server
Address:
please help. thank you.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2009 08:11 PM
тАО07-21-2009 08:11 PM
Re: How to configure email
Hi,
You need to configure sendmail see the below links how to configure sendmail, It has got everything
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=999029&admit=109447626+1248235807888+28353475
Suraj
You need to configure sendmail see the below links how to configure sendmail, It has got everything
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=999029&admit=109447626+1248235807888+28353475
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2009 08:31 AM
тАО07-22-2009 08:31 AM
Re: How to configure email
Hi,
In the most environments a smtp relay server is provided for send a email.
You take the IP address or host name of the server for accept mail from your server then.
Edit /etc/mail/sendmail.cf
Change DS to:
DSname_of_smtp_relay_server
or
DSIP address of smtp relay server
ex
DS telcon.co.in
/sbin/init.d/sendmail stop
/sbin/init.d.sendmail start
Then check few thing for sending the mail sucessfully.
Check the permission of the files related sendmail /var/spool/mqueue or check the
/etc/resolv.conf & Please check the sendmail services running.
root # ps -ef | grep -i sendmail
root 1700 1 0 Jul 11 ? 0:04 sendmail: accepting connections
root 29011 23487 0 16:13:46 pts/tb 0:00 grep -i sendmail
root # ls -ld /var/spool/mqueue
drwxr-xr-x 2 root bin 1024 Jul 13 16:13 /var/spool/mqueue
root # ls -ld resolv.conf
-rw-r--r-- 1 root sys 110 Jun 16 2007 resolv.conf
Try with Permission send mail & check the log /var/adm/syslog/mail.log
Thanks
Vinod Kumar Yadav
In the most environments a smtp relay server is provided for send a email.
You take the IP address or host name of the server for accept mail from your server then.
Edit /etc/mail/sendmail.cf
Change DS to:
DSname_of_smtp_relay_server
or
DSIP address of smtp relay server
ex
DS telcon.co.in
/sbin/init.d/sendmail stop
/sbin/init.d.sendmail start
Then check few thing for sending the mail sucessfully.
Check the permission of the files related sendmail /var/spool/mqueue or check the
/etc/resolv.conf & Please check the sendmail services running.
root # ps -ef | grep -i sendmail
root 1700 1 0 Jul 11 ? 0:04 sendmail: accepting connections
root 29011 23487 0 16:13:46 pts/tb 0:00 grep -i sendmail
root # ls -ld /var/spool/mqueue
drwxr-xr-x 2 root bin 1024 Jul 13 16:13 /var/spool/mqueue
root # ls -ld resolv.conf
-rw-r--r-- 1 root sys 110 Jun 16 2007 resolv.conf
Try with Permission send mail & check the log /var/adm/syslog/mail.log
Thanks
Vinod Kumar Yadav
Jai Shiv Shankar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2009 11:02 AM
тАО07-22-2009 11:02 AM
Re: How to configure email
Shalom,
http://docs.hp.com/en/B2355-90685/ch04.html
One of the things you need to handle for DS to work is to configure the smtp relay you are sending to to actually accept the email.
This is generally done by IP address. Don't do that and your relay mail will never get through.
SEP
http://docs.hp.com/en/B2355-90685/ch04.html
One of the things you need to handle for DS to work is to configure the smtp relay you are sending to to actually accept the email.
This is generally done by IP address. Don't do that and your relay mail will never get through.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP