Skip to ContentSkip to Footer
Start of content
- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - Linux
- >
- General
- >
- sendmail is not working
General
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
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
- Email to a Friend
- Report Inappropriate Content
06-01-2004 04:06 AM
06-01-2004 04:06 AM
sendmail is not working
hi i am novice with sendmail, even though i have configured sendmail.mc yet i cant send mails through outlook/sendmail command. i am using linux redhat 9.0
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-01-2004 04:09 AM
06-01-2004 04:09 AM
Re: sendmail is not working
Welcome to HP-UX
I do this on Linux and am attaching my file to take your sendmail.mc files and build a sendmail.cf
See attachment.
diagnostic for Linux.
sendmail -v -d8 -d38 someone@some.net
type some text
.
This will let you know what the trouble is.
mailq
shows mail build up in the output queue
sendmail -v -q
will try and process the output queue in verbose mode.
SEP
I do this on Linux and am attaching my file to take your sendmail.mc files and build a sendmail.cf
See attachment.
diagnostic for Linux.
sendmail -v -d8 -d38 someone@some.net
type some text
.
This will let you know what the trouble is.
mailq
shows mail build up in the output queue
sendmail -v -q
will try and process the output queue in verbose mode.
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-01-2004 02:29 PM
06-01-2004 02:29 PM
Re: sendmail is not working
Steve, that script needs to be ammended for RH9.
RH9 stores all of the sendmail stuff (except for aliases) in the '/etc/mail/' structure, including the CF files.
Also, if the configuration files have changed, a 'service sendmail restart' will remake any of the DB's or CF's as required (go 'make' :).
I guess a forced-make would be the follownig:
cd /etc/mail
newaliases
touch virtusertable access domaintable mailertable *.mc
make
Anyway.
Things to check:
netstat -ntlp | grep sendmail
What does the output of this command list? If you've correctly configured the 'mc' file, it should have a line similar to:
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 770/sendmail
(the 770 will change depending on the PID of yoru sendmail instance).
If you've gotten this far, then you should be getting error messages, more importantly bounce messages. The details of these messages are important, please paste the contents of one here.
The most common one will probably be "Cannot relay". You will need to add your subnet's IP range to '/etc/mail/access', in the form of:
192.168.1 RELAY
Then re-make the database files (either using SEP's script, or by doing the following commands:
cd /etc/mail
make
Unless you changed the 'mc' files, a sendmail restart is not necessary.)
If not, hopefully this is enough information to help you forward a bit further.
RH9 stores all of the sendmail stuff (except for aliases) in the '/etc/mail/' structure, including the CF files.
Also, if the configuration files have changed, a 'service sendmail restart' will remake any of the DB's or CF's as required (go 'make' :).
I guess a forced-make would be the follownig:
cd /etc/mail
newaliases
touch virtusertable access domaintable mailertable *.mc
make
Anyway.
Things to check:
netstat -ntlp | grep sendmail
What does the output of this command list? If you've correctly configured the 'mc' file, it should have a line similar to:
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 770/sendmail
(the 770 will change depending on the PID of yoru sendmail instance).
If you've gotten this far, then you should be getting error messages, more importantly bounce messages. The details of these messages are important, please paste the contents of one here.
The most common one will probably be "Cannot relay". You will need to add your subnet's IP range to '/etc/mail/access', in the form of:
192.168.1 RELAY
Then re-make the database files (either using SEP's script, or by doing the following commands:
cd /etc/mail
make
Unless you changed the 'mc' files, a sendmail restart is not necessary.)
If not, hopefully this is enough information to help you forward a bit further.
One long-haired git at your service...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-04-2004 03:29 AM
06-04-2004 03:29 AM
Re: sendmail is not working
Actually i am working on dial up line, how do i configure it so that my smart host(ISP) can send our message. at present my isp refuses to send any message. may be my config is incorrect?
after testing at my home I have to implement the same at a computer with fixed IP address. how will be that different?
after testing at my home I have to implement the same at a computer with fixed IP address. how will be that different?
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.
End of content
United States
Hewlett Packard Enterprise International
Communities
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP