- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: sendmail is not working
Operating System - Linux
1753946
Members
7306
Online
108811
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
- 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
- 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
- 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
- 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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP