- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SMTP Server .... Urgent!!!
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
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
тАО12-16-2004 07:19 PM
тАО12-16-2004 07:19 PM
I have to configure one of my HPUX server as SMTP server. HPUX server is running with 11.23v2 and H/w is rx2600.
Please let me the procedure of doing the same. Like which daemons i need to start and what all configuration files comes in to picture?
What are the parameters i should look into.
THanks for your valuable suggestions.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2004 07:51 PM
тАО12-16-2004 07:51 PM
Re: SMTP Server .... Urgent!!!
sendmail should already be installed on your server (it is part of basic HP-UX installation).
First edit config file (/etc/mail/sendmail.cf) and fix this points :
. Find line begining by DS and add your outgoing SMTP server; with no space between DS and servername. Like this : DSservername.
. Idem for line begining with DM and domain name. Domain name will be the right part of the @ in outgoing mails (for example bob@mycompany.com).
. Line begining with Dj may help if sendmail cannot resolve server's domain (localdomain in localhost.localdomain)
Once this is done, restart sendmail :
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
Configure your clients to use this server as mail server. Go mail :)
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2004 09:24 PM
тАО12-16-2004 09:24 PM
Re: SMTP Server .... Urgent!!!
Then it's important that you chose an MTA that you are comfortable with and that fits in your "deployment policy".
In the end you don't want to run an open relay.
Because sendmail (which is one of the oldest and quite common on Unices) in the past has been a bit susceptible to exploits (most of which have been fixed meanwhile), and because it has been notorious for its unruly configuration, there have appeared quite a few alternatives.
Also have a look at these:
http://www.exim.org/
(I think it's default MTA on Debian and FreeBSD; ideal if you're into Perl for its utility scriptability)
http://www.postfix.org/
(offspring of an IBM project, but under GPL, which was developed with all the sendmail exploits at the time in mind;
quite popular, also for its ease of configuration compared to sendmail, amongst Linux admins)
http://www.qmail.org/
(I think not under GPL, but also free for use; strong ramification of spool directories)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2004 09:40 PM
тАО12-16-2004 09:40 PM
Re: SMTP Server .... Urgent!!!
I had changed sendmail.cf as
DSservername
DMdomainname
This is the domain in which server is residing. Actually we have existing domain server but i don't want to disturb it but i am using the same domain name what that DNS server is for. Should that matter.
NOw i refer to the SMTP server as servername.domainname.com
Is that OK?
After doing this changes i am able to send messages to SMTP server. PLease let me know where i have gone wrong.
Thanks a lot.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2004 09:43 PM
тАО12-16-2004 09:43 PM
Re: SMTP Server .... Urgent!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2004 09:49 PM
тАО12-16-2004 09:49 PM
Re: SMTP Server .... Urgent!!!
tail -20 /var/adm/syslog/mail.log
What you put in front of DS is not your servername. It is SMTP servername of your ISP.
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2004 10:21 PM
тАО12-16-2004 10:21 PM
Re: SMTP Server .... Urgent!!!
Thanks again.
I have to make my Server as a SMTP server and not any other external server, This will be used internally for testing only. ALso i would like to put the verfiy option (VRFY) off.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2004 10:34 PM
тАО12-16-2004 10:34 PM
Re: SMTP Server .... Urgent!!!
. Your server sends only mail to local accounts (users defined on the server itself) and then it should be OK without any particular config.
. Your server has to send mail to the server where your users get mail from (maybe POP3 or IMAP server)
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2004 01:06 AM
тАО12-17-2004 01:06 AM
Solution/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
There should be no errors starting sendmail. Try sending a message to root with mailx:
mailx -sTesting root < /e/tc/issue
Then check the mail queues with:
mailq
If you see stuck mesages, you need to look at the mail log in /var/adm/syslog/mail.log and post the error messages.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2004 01:53 AM
тАО12-17-2004 01:53 AM
Re: SMTP Server .... Urgent!!!
Usefull and exact suggestions. Simply Great!!!
Regards,
Girish