SMTP connectivity issue in Zenoss (âConnection unexpectedly closedâ)
Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
I am using Zenoss for monitoring purpose. I have been using its mail service for a long time. Suddenly my mail service in zenoss stopped and started showing <class 'smtplib.SMTPServerDisconnected'> - Connection unexpectedly closed
and no mails are outgoing. When I ran the mail command via CLI, the mail goes to the email address. While executing the zenoss script for mailer won't work and throws out the error as shown above.
My server is RHEL 5.3 x86_64, with Zenoss 4.2 & sendmail email server.
Sendmail logs & Zenoss email conf
Apr 11 07:14:30 XXXhostnameXX sendmail[13582]: r3BBDgia013582: lost input channel from localhost.localdomain [127.0.0.1] to MTA after mail
Apr 11 07:14:30 XXXhostnameXX sendmail[13582]: r3BBDgia013582: from=<fromaddress@emaildomain.com>, size=146972, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Zenoss is following basic smtp connection as emailing is done by local sendmail server (localhost) in port 25. No specific configuration is used.
linux monitoring sendmail smtp
add a comment |Â
up vote
2
down vote
favorite
I am using Zenoss for monitoring purpose. I have been using its mail service for a long time. Suddenly my mail service in zenoss stopped and started showing <class 'smtplib.SMTPServerDisconnected'> - Connection unexpectedly closed
and no mails are outgoing. When I ran the mail command via CLI, the mail goes to the email address. While executing the zenoss script for mailer won't work and throws out the error as shown above.
My server is RHEL 5.3 x86_64, with Zenoss 4.2 & sendmail email server.
Sendmail logs & Zenoss email conf
Apr 11 07:14:30 XXXhostnameXX sendmail[13582]: r3BBDgia013582: lost input channel from localhost.localdomain [127.0.0.1] to MTA after mail
Apr 11 07:14:30 XXXhostnameXX sendmail[13582]: r3BBDgia013582: from=<fromaddress@emaildomain.com>, size=146972, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Zenoss is following basic smtp connection as emailing is done by local sendmail server (localhost) in port 25. No specific configuration is used.
linux monitoring sendmail smtp
1) Could you post the relevant sendmail log entries? 2) Could you post details of your Zenoss email configuration? [It may help "non Zenoss" experts]
â AnFi
Apr 11 '13 at 11:16
@Andrzej A. Filip :Updated with logs.
â Kratos
Apr 11 '13 at 11:28
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I am using Zenoss for monitoring purpose. I have been using its mail service for a long time. Suddenly my mail service in zenoss stopped and started showing <class 'smtplib.SMTPServerDisconnected'> - Connection unexpectedly closed
and no mails are outgoing. When I ran the mail command via CLI, the mail goes to the email address. While executing the zenoss script for mailer won't work and throws out the error as shown above.
My server is RHEL 5.3 x86_64, with Zenoss 4.2 & sendmail email server.
Sendmail logs & Zenoss email conf
Apr 11 07:14:30 XXXhostnameXX sendmail[13582]: r3BBDgia013582: lost input channel from localhost.localdomain [127.0.0.1] to MTA after mail
Apr 11 07:14:30 XXXhostnameXX sendmail[13582]: r3BBDgia013582: from=<fromaddress@emaildomain.com>, size=146972, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Zenoss is following basic smtp connection as emailing is done by local sendmail server (localhost) in port 25. No specific configuration is used.
linux monitoring sendmail smtp
I am using Zenoss for monitoring purpose. I have been using its mail service for a long time. Suddenly my mail service in zenoss stopped and started showing <class 'smtplib.SMTPServerDisconnected'> - Connection unexpectedly closed
and no mails are outgoing. When I ran the mail command via CLI, the mail goes to the email address. While executing the zenoss script for mailer won't work and throws out the error as shown above.
My server is RHEL 5.3 x86_64, with Zenoss 4.2 & sendmail email server.
Sendmail logs & Zenoss email conf
Apr 11 07:14:30 XXXhostnameXX sendmail[13582]: r3BBDgia013582: lost input channel from localhost.localdomain [127.0.0.1] to MTA after mail
Apr 11 07:14:30 XXXhostnameXX sendmail[13582]: r3BBDgia013582: from=<fromaddress@emaildomain.com>, size=146972, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Zenoss is following basic smtp connection as emailing is done by local sendmail server (localhost) in port 25. No specific configuration is used.
linux monitoring sendmail smtp
linux monitoring sendmail smtp
edited Jan 17 '14 at 8:13
Risto Salminen
1,64711021
1,64711021
asked Apr 11 '13 at 10:55
Kratos
1561211
1561211
1) Could you post the relevant sendmail log entries? 2) Could you post details of your Zenoss email configuration? [It may help "non Zenoss" experts]
â AnFi
Apr 11 '13 at 11:16
@Andrzej A. Filip :Updated with logs.
â Kratos
Apr 11 '13 at 11:28
add a comment |Â
1) Could you post the relevant sendmail log entries? 2) Could you post details of your Zenoss email configuration? [It may help "non Zenoss" experts]
â AnFi
Apr 11 '13 at 11:16
@Andrzej A. Filip :Updated with logs.
â Kratos
Apr 11 '13 at 11:28
1) Could you post the relevant sendmail log entries? 2) Could you post details of your Zenoss email configuration? [It may help "non Zenoss" experts]
â AnFi
Apr 11 '13 at 11:16
1) Could you post the relevant sendmail log entries? 2) Could you post details of your Zenoss email configuration? [It may help "non Zenoss" experts]
â AnFi
Apr 11 '13 at 11:16
@Andrzej A. Filip :Updated with logs.
â Kratos
Apr 11 '13 at 11:28
@Andrzej A. Filip :Updated with logs.
â Kratos
Apr 11 '13 at 11:28
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
It may be is a client side timeout after issuing "MAIL FROM:".
Knowing exact value of reply delay should provide a valuable hint.
Could you send a test message in verbose mode?
[It should provide SMTP session transcript]
#!/bin/sh
# -v - be verbose (provide SMTP transcript)
# -i - 'single dot' line is NOT end of email
# -t - get recipients list from email headers
# -f - set envelope sender email address (for "MAIL FROM:" in SMTP session)
/usr/sbin/sendmail -v -i -t -ffromaddress@emaildomain.com <<END
Subject: test
From: fromaddress@emaildomain.com
to: xxx@example.net
test
END
Thank you .This script was really helpful in testing my sendmail .In its output , otherfewaddress unresolvable for @emaildomain.com
, test email successfully reached xxx@example.net.Do you know a way to extend the time out in email Server side ?
â Kratos
Apr 12 '13 at 6:21
1
1) Add -8.20 sendmail command line option to trace DNS lookups. Fixing DNS entries or used email addresses may fix your problem. 2) I know sendmail, I do not know Zenoss.
â AnFi
Apr 12 '13 at 17:22
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
It may be is a client side timeout after issuing "MAIL FROM:".
Knowing exact value of reply delay should provide a valuable hint.
Could you send a test message in verbose mode?
[It should provide SMTP session transcript]
#!/bin/sh
# -v - be verbose (provide SMTP transcript)
# -i - 'single dot' line is NOT end of email
# -t - get recipients list from email headers
# -f - set envelope sender email address (for "MAIL FROM:" in SMTP session)
/usr/sbin/sendmail -v -i -t -ffromaddress@emaildomain.com <<END
Subject: test
From: fromaddress@emaildomain.com
to: xxx@example.net
test
END
Thank you .This script was really helpful in testing my sendmail .In its output , otherfewaddress unresolvable for @emaildomain.com
, test email successfully reached xxx@example.net.Do you know a way to extend the time out in email Server side ?
â Kratos
Apr 12 '13 at 6:21
1
1) Add -8.20 sendmail command line option to trace DNS lookups. Fixing DNS entries or used email addresses may fix your problem. 2) I know sendmail, I do not know Zenoss.
â AnFi
Apr 12 '13 at 17:22
add a comment |Â
up vote
0
down vote
It may be is a client side timeout after issuing "MAIL FROM:".
Knowing exact value of reply delay should provide a valuable hint.
Could you send a test message in verbose mode?
[It should provide SMTP session transcript]
#!/bin/sh
# -v - be verbose (provide SMTP transcript)
# -i - 'single dot' line is NOT end of email
# -t - get recipients list from email headers
# -f - set envelope sender email address (for "MAIL FROM:" in SMTP session)
/usr/sbin/sendmail -v -i -t -ffromaddress@emaildomain.com <<END
Subject: test
From: fromaddress@emaildomain.com
to: xxx@example.net
test
END
Thank you .This script was really helpful in testing my sendmail .In its output , otherfewaddress unresolvable for @emaildomain.com
, test email successfully reached xxx@example.net.Do you know a way to extend the time out in email Server side ?
â Kratos
Apr 12 '13 at 6:21
1
1) Add -8.20 sendmail command line option to trace DNS lookups. Fixing DNS entries or used email addresses may fix your problem. 2) I know sendmail, I do not know Zenoss.
â AnFi
Apr 12 '13 at 17:22
add a comment |Â
up vote
0
down vote
up vote
0
down vote
It may be is a client side timeout after issuing "MAIL FROM:".
Knowing exact value of reply delay should provide a valuable hint.
Could you send a test message in verbose mode?
[It should provide SMTP session transcript]
#!/bin/sh
# -v - be verbose (provide SMTP transcript)
# -i - 'single dot' line is NOT end of email
# -t - get recipients list from email headers
# -f - set envelope sender email address (for "MAIL FROM:" in SMTP session)
/usr/sbin/sendmail -v -i -t -ffromaddress@emaildomain.com <<END
Subject: test
From: fromaddress@emaildomain.com
to: xxx@example.net
test
END
It may be is a client side timeout after issuing "MAIL FROM:".
Knowing exact value of reply delay should provide a valuable hint.
Could you send a test message in verbose mode?
[It should provide SMTP session transcript]
#!/bin/sh
# -v - be verbose (provide SMTP transcript)
# -i - 'single dot' line is NOT end of email
# -t - get recipients list from email headers
# -f - set envelope sender email address (for "MAIL FROM:" in SMTP session)
/usr/sbin/sendmail -v -i -t -ffromaddress@emaildomain.com <<END
Subject: test
From: fromaddress@emaildomain.com
to: xxx@example.net
test
END
edited Apr 12 '13 at 17:18
answered Apr 11 '13 at 12:19
AnFi
1,04559
1,04559
Thank you .This script was really helpful in testing my sendmail .In its output , otherfewaddress unresolvable for @emaildomain.com
, test email successfully reached xxx@example.net.Do you know a way to extend the time out in email Server side ?
â Kratos
Apr 12 '13 at 6:21
1
1) Add -8.20 sendmail command line option to trace DNS lookups. Fixing DNS entries or used email addresses may fix your problem. 2) I know sendmail, I do not know Zenoss.
â AnFi
Apr 12 '13 at 17:22
add a comment |Â
Thank you .This script was really helpful in testing my sendmail .In its output , otherfewaddress unresolvable for @emaildomain.com
, test email successfully reached xxx@example.net.Do you know a way to extend the time out in email Server side ?
â Kratos
Apr 12 '13 at 6:21
1
1) Add -8.20 sendmail command line option to trace DNS lookups. Fixing DNS entries or used email addresses may fix your problem. 2) I know sendmail, I do not know Zenoss.
â AnFi
Apr 12 '13 at 17:22
Thank you .This script was really helpful in testing my sendmail .In its output , otherfew
address unresolvable for @emaildomain.com
, test email successfully reached xxx@example.net.Do you know a way to extend the time out in email Server side ?â Kratos
Apr 12 '13 at 6:21
Thank you .This script was really helpful in testing my sendmail .In its output , otherfew
address unresolvable for @emaildomain.com
, test email successfully reached xxx@example.net.Do you know a way to extend the time out in email Server side ?â Kratos
Apr 12 '13 at 6:21
1
1
1) Add -8.20 sendmail command line option to trace DNS lookups. Fixing DNS entries or used email addresses may fix your problem. 2) I know sendmail, I do not know Zenoss.
â AnFi
Apr 12 '13 at 17:22
1) Add -8.20 sendmail command line option to trace DNS lookups. Fixing DNS entries or used email addresses may fix your problem. 2) I know sendmail, I do not know Zenoss.
â AnFi
Apr 12 '13 at 17:22
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f72068%2fsmtp-connectivity-issue-in-zenoss-connection-unexpectedly-closed%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1) Could you post the relevant sendmail log entries? 2) Could you post details of your Zenoss email configuration? [It may help "non Zenoss" experts]
â AnFi
Apr 11 '13 at 11:16
@Andrzej A. Filip :Updated with logs.
â Kratos
Apr 11 '13 at 11:28