- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Mail Notification
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
09-19-2006 10:21 PM
09-19-2006 10:21 PM
Mail Notification
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2006 11:04 PM
09-19-2006 11:04 PM
Re: Mail Notification
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2006 11:07 PM
09-19-2006 11:07 PM
Re: Mail Notification
First identify the fully qualified name of your mail server.
Edit /etc/mail/sendmail.cf
look for a line that starts with DS change it to DSmailservername.full.qaul.com . Please note that there is no space between DS and the name of the server. If you do not know the fully qualified name of the server, use IP address, but name is prefered.
Restart sendmail /sbin/init.d/sendmail stop
Wait for one minutes before starting it
/sbin/init.d/sendmail start
After this you should be able to send mail using mailx or any other utlitiy. You may want to modify the /etc/mail/aliases file and redirect all the mails to root (assuming that you are the sys admin)
For eg: If you add the following lines in /etc/mail/aliases file
root : you@yourcompany.com
all mails send to root will be redirected to your inbox. So your scripts which monitors the backup can send emails to root rather than individuals. Please execute the command 'newaliases' after modifying the aliases file.
-PB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2006 12:09 AM
09-20-2006 12:09 AM
Re: Mail Notification
As you guide I have configured but i am getting this error while starting the services.
I have tried with IP and Emailserver name also.
# /sbin/init.d/sendmail start
WARNING: local host name (tjcsrv) is not qualified; fix $j in config file
/etc/mail/aliases: 8 aliases, longest 26 bytes, 118 bytes total
sendmail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2006 12:25 AM
09-20-2006 12:25 AM
Re: Mail Notification
KJ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2006 06:27 PM
09-20-2006 06:27 PM
Re: Mail Notification
Thanks for your support.
I have chaged as per your guidenace Dj and IP address of mail server. After that I restarted the mail services. It started successfully. I am trying to send a test mail with this command.
#bdf | mailx -s "Diskspace" vanita.tharanath@tjc.co.in
I have changed aliases file
root :vanita.tharanath@tjc.co.in
I have tried with following command also
#bdf | mailx -s "Diskspace" root
Still we have not received mail in my inbox. What could be the problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2006 11:00 PM
09-20-2006 11:00 PM
Re: Mail Notification
Check /var/adm/syslog/mail.log to see the error message.
Also, try the following
telnet [your mail server name] 25
The command above should connect you to sendmail. If you are connected you can press control-C to exit. If you are unable to connect,the name of the mail server is incorrect. Please note that the name that you need to configure in sendmail.cf is the name of your lotus notes server, not tjc.co.in which is your domain name.
-PB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2006 05:09 PM
09-21-2006 05:09 PM
Re: Mail Notification
I am able to telnet my mail server with port no 25. Still i am not able to receive mail.
Please fine mail.log file as an attachment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2006 07:02 PM
09-21-2006 07:02 PM
Re: Mail Notification
Going thorugh your mail.log file, it looks like you have configured tjc.co.in.s8b2.psmtp.com as your mail relay. And it seems that the host name above is not resolveable.
try the command below
nslookup tjc.co.in.s8b2.psmtp.com
If you can't resolve the above, you will need to look at your DNS settings. You can test it by adding tjc.co.in.s8b2.psmtp.com and corresponding IP to /etc/hosts. But the recommedation is to fix the DNS resolution.
-PB