- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Sendmail service 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
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
тАО03-30-2006 12:43 AM
тАО03-30-2006 12:43 AM
I have a problem in starting the sendmail, with which Iam unable to send the mail
1.when I stopped the sendmail
/sbin/init.d/sendmail stop
Sendmail pid is 13459
Killing sendmail...
Sendmail killed.
2.when I start
/sbin/init.d/sendmail start
WARNING: World writable directory /var/spool/mqueue
/etc/mail/aliases: 7 aliases, longest 9 bytes, 88 bytes total
sendmail
3.ps -ef | grep sendmail
root 13384 1 0 13:40:22 ? 0:00 /usr/sbin/sendmail -q30m
root 13448 1 0 13:41:33 ? 0:00 /usr/sbin/sendmail -q30m
root 12978 1 0 13:25:43 ? 0:00 /usr/sbin/sendmail -q30m
root 15877 1 0 14:22:52 ? 0:00 /usr/sbin/sendmail -q30m
here after starting the sendmail , I cannot see the sendmail process accepting connections
4.Then I use the
sendmail -bd -q30m
and when I the check the sendmail process it shows
root 13384 1 0 13:40:22 ? 0:00 /usr/sbin/sendmail -q30m
root 15893 1 0 14:24:01 ? 0:00 sendmail: accepting connections on port 25
root 13448 1 0 13:41:33 ? 0:00 /usr/sbin/sendmail -q30m
root 12978 1 0 13:25:43 ? 0:00 /usr/sbin/sendmail -q30m
root 15877 1 0 14:22:52 ? 0:00 /usr/sbin/sendmail -q30m
This looks fine as for the sendmail process but Iam still not able to send the mail and the log says
5.the logs shows
Mar 30 13:43:53 unol01 sendmail[13496]: NAA13496: to=dsupp@ttslc.com, ctladdr=root (0/3), delay=00:00:03, xdelay=00:00:00, mailer=relay, relay=x-relay.ttslc.com [60.230.115.70], stat=Service unavailable
I can establish connection by telnet to port 25 of the relay server, I confirm that sendmail.cf,/etc/hosts,nsswitch.conf and remaing settings are perfect and this problem started since few days and was working well before.
Could anyone help me out the reason for failure of sendmail in sending the mail?
is it any problem with the sendmail service in my server??
Rgds,
Ricky
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2006 01:02 AM
тАО03-30-2006 01:02 AM
Re: Sendmail service problem
export SENDMAIL_SERVER=1
export SENDMAIL_RECVONLY=0
export SENDMAIL_SENDONLY=0
Run:
sendmail -v -d8 -d38 dsupp@ttslc.com
And post the results.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2006 01:04 AM
тАО03-30-2006 01:04 AM
Re: Sendmail service problem
sendmail -v dsupp@ttslc.com
Type the message
.
(Finish with a dot and enter)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2006 01:12 AM
тАО03-30-2006 01:12 AM
Re: Sendmail service problem
The /etc/rc.config.d/mailservs shows
export SENDMAIL_SERVER=1
export SENDMAIL_SERVER_NAME=
Do I need to change this settings as u described?but this was the same config even earlier when this used to work.
sendmail -v dsupp@ttslc.com
WARNING: World writable directory /var/spool/mqueue
.
dsupp@ttslc.com... Connecting to x-relay.ttslc.com via relay...
220 cpi-cxc-01.ppi.ttslc.com Microsoft ESMTP MAIL Service, Version: 6.0.3790.1830 ready at Thu, 30 Mar 2006 15:05:44 +0100
>>> EHLO ual01.
501 5.5.4 Invalid Address
>>> HELO ual01.
501 5.5.4 Invalid Address
>>> QUIT
221 2.0.0 cpi-cxc-01.ppi.ttslc.com Service closing transmission channel
Service unavailable
/dead.letter... Saved message in /dead.letter
Closing connection to x-relay.ttslc.com
Thanks in advance for ur support,
Ricky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2006 01:25 AM
тАО03-30-2006 01:25 AM
Re: Sendmail service problem
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2006 01:29 AM
тАО03-30-2006 01:29 AM
Re: Sendmail service problem
You also need to change the perms on the /var/spool/mqueue directory.
Should be no looser than 755 & be owned by bin:bin
Sendmail will refuse to move mail if it perceives security problems.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2006 01:40 AM
тАО03-30-2006 01:40 AM
Solution10.10.10.10 hpux.domain.com hpux
Ensure that the hostname+domain is listed first.
What is the output of:
# sendmail -bt
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter
> $j
hpux.domain.com
You could try configuring /etc/mail/sendmail.cf:
#Dj$w.Foo.COM
Dj$w.domain.com
Where domain.com is your domain.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2006 02:05 AM
тАО03-30-2006 02:05 AM
Re: Sendmail service problem
I have changed the sendmail.cf with Dj entry and restarted the service and looks bit better now.
sendmail -v dsupp@ttslc.com
dsupp@ttslc.com... Connecting to x-relay.ttslc.com via relay...
220 cpi-cxc-01.ppi.ttslc.com Microsoft ESMTP MAIL Service, Version: 6.0.3790.1830 ready at Thu, 30 Mar 2006 15:48:59 +0100
>>> EHLO ual01.ttslc.com
250-cpi-cxc-01.ppi.ttslc.com Hello [xx.xx.xx.xxx]
250-TURN
250-SIZE
250-ETRN
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-8bitmime
250-BINARYMIME
250-CHUNKING
250-VRFY
250-X-EXPS GSSAPI NTLM LOGIN
250-X-EXPS=LOGIN
250-AUTH GSSAPI NTLM LOGIN
250-AUTH=LOGIN
250-X-LINK2STATE
250-XEXCH50
250 OK
>>> MAIL From:
250 2.1.0 root@ual01.ttslc.com....Sender OK
>>> RCPT To:
250 2.1.5 dsupp@ttslc.com
>>> DATA
354 Start mail input; end with
>>> .
250 2.6.0 <200603301447.PAA19495@ual01.ttslc.com> Queued mail for delivery
dsupp@ttslc.com... Sent (2.6.0 <200603301447.PAA19495@ual01.ttslc.com> Queued ma il for delivery)
Closing connection to x-relay.ttslc.com
>>> QUIT
but still the mail has not yet delievered
Mar 30 15:47:34 ual01 sendmail[19495]: PAA19495: from=root, size=0, class=0, pri=30000, nrcpts=1, msgid=<200603301447.PAA19495@ual01.ttslc.com>, relay=root@localhost
Mar 30 15:47:35 ual01 sendmail[19495]: PAA19495: to=dsupp@ttslc.com, ctladdr=root (0/3), delay=00:00:04, xdelay=00:00:01, mailer=relay, relay=x-relay.ttslc.com [xx.xx.xxx.xx], stat=Sent (2.6.0 <200603301447.PAA19495@ual01.ttslc.com> Queued mail for delivery)
The log says it is ququed but in /var/spool/mqueue there is no mail
Thanks,
Ricky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2006 02:33 AM
тАО03-30-2006 02:33 AM
Re: Sendmail service problem
that is ok - the mail was sent to the relay => removed from local mail queue.
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2006 02:58 AM
тАО03-30-2006 02:58 AM