- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sendmail configuration
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
12-08-2004 03:18 PM
12-08-2004 03:18 PM
My server is runnign sendmail daemon.
I want to know wheather my server is configured for sending mail,receiving mail or both.
Where can i get this information ?
sunil
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2004 03:42 PM
12-08-2004 03:42 PM
Re: sendmail configuration
Mail can be sent with the sendmail binary whether or not the daemon is running.
Its possible to manipulate your machine to send mail via port 25 even if the sendmail daemon is not running.
But take it from someone who learned sendmail the hard way, it handles inbound mail. The binaries and configuration handle outbound mail without any help from the daemon.
Configuration information:
http://www.sendmail.org
/etc/mail
/etc/mail/sendmail.cf
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2004 04:01 PM
12-08-2004 04:01 PM
SolutionThe sendmail daemon doesn't need to be running to send mail.
To check where mail is sent look at DS parameter in /etc/mail/sendmail.cf. This sets your mail relay ie where non local mail will be forwarded.
If DS is not set then sendmail utilises DNS and looks up the MX record for a domain. If an MX record doesn't exist for that domain then mail won't be sent.
You can check DNS MX records as follows:
# nslookup -type=MX "domain.com"
Also send a test mail and look in your mail log - normally /var/adm/syslog/mail.log (unless configured differently in /etc/syslog.conf).
This will show you any problems with mail.
Cheers
Con
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2004 04:42 PM
12-08-2004 04:42 PM
Re: sendmail configuration
Con: you explained nicely about sending mail from my HP box.
What change i have to do in configuration so that my server will receive mails from other servers ?
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2004 05:21 PM
12-08-2004 05:21 PM
Re: sendmail configuration
Find attached doc on sendmail configuration. Frankly i haven't worked on sendmail :)
Hope that helps.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2004 12:49 AM
12-09-2004 12:49 AM
Re: sendmail configuration
mailx -s "test" yourid@yourserver.yourdomain.com
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2004 12:56 AM
12-09-2004 12:56 AM
Re: sendmail configuration
vi /etc/rc.config.d/mailservs
SENDMAIL_SERVER=1
You may need to give a name to
SENDMAIL_SERVER_NAME=
/sbin/init.d/sendmail start
Now you have a daemon running to receive mail.
To actually get any mail, your network needs to be aware of this server. It needs to be in a DNS database or in the hosts file on all machines if the network.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2004 02:18 AM
12-09-2004 02:18 AM
Re: sendmail configuration
If you have sendmail daemon running, your server can receive emails. To send mails, you don't need to have the sendmail daemon running.
Try the sendmail faq at http://www.sendmail.org/faq/
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2004 05:50 PM
12-13-2004 05:50 PM
Re: sendmail configuration
Sunil