- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- sendmail problem
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
01-15-2006 06:40 PM
01-15-2006 06:40 PM
sendmail problem
1. I tried to use sendmail daemon ( eg. $sendmail mymail_address ) to send mail to my internal mail box , it is very slow ,
2. it is very slow to startup the sendmail daemon ,
3. my /etc/resolv.conf setting is "nameserver 127.0.0.1"
4. the first line of /etc/hosts is "127.0.0.1 localhost.localdomain localhost"
I have tried to config the /etc/nsswitch.conf , /etc/resolv.conf , but it seems not work , is it the problem of sendmail setting ? instead of change the DNS , can I fix the problem by config the sendmail eg. sendmail.cf , sendmail.mc ? thx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2006 06:47 PM
01-15-2006 06:47 PM
Re: sendmail problem
You need to set the /etc/resolv.conf to an external ip address. 127.0.0.1 is your loopback and you can't get the information you need from that.
Find out from your networking department or ISP what the IP addresses of your DNS name servers are and replace the /etc/resolv.conf setting.
Then the mail will flow, assuming port 25 isn't blocked.
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
01-15-2006 06:50 PM
01-15-2006 06:50 PM
Re: sendmail problem
See:
define(`confSERVICE_SWITCH_FILE', `/etc/mail/service.switch')dnl
Place this in '/etc/mail/sendmail.mc', and re-make the config (if it's a modern RH box, use 'make').
Create that file with contents similar to:
hosts files
And it should be a bit quicker..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2006 10:46 PM
01-15-2006 10:46 PM
Re: sendmail problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2006 04:10 AM
01-16-2006 04:10 AM
Re: sendmail problem
sendmail -v -d8 -d38 someone@some.net
Type some text
.
mailq
mailq -Ac
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
01-17-2006 11:50 AM
01-17-2006 11:50 AM
Re: sendmail problem
u should have proper entry in /etc/resolv.conf , /etc/nsswitch.conf and /etc/hosts file..
vi /etc/resolv.conf
search abc.mydomain.com
domain abc.mydomain.com
nameserver
save and come out
vi /etc/nsswitch.conf
host file dns
save and come out..
vi /etc/hosts
hostname ipaddress
save and come out
u should properly configured ur /etc/mail/semdmail.mc (m4 /etc/mail/sendmail.cf > /etc/mail/sendmail.mc)
#telnet hostname_mailserver 25
it should work fine
#cat /etc/mail/sendmail.mc -s "Hi"
Hope it will help u to resolve ur issue..
cheers
indrajit