Outbound email not sending! Help!

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

bproven
Posts: 69
Joined: Thu Nov 17, 2005 10:40 am

Outbound email not sending! Help!

Postby bproven » Fri Apr 20, 2007 12:37 pm

For some reason starting early this morning all of our outbound email has stopped sending and instead is queueing up in the "Internet Mail Gateway". Inbound email is working fine and local email within the domain is working fine. No changes have been made to the server in many months. I cannot figure out what is going on here! We are running Scalix 11

EDIT: We are running Scalix 11.0.0 on Red Hat Linux Enterprise 4 - been running fine since Scalix 11 release a few months ago.

Sendmail logs show this error: (/var/log/maillog):

Apr 20 10:08:33 mail sendmail[24553]: rejecting connections on daemon MTA: load average: 14

"omstat -a" shows this:

PC Monitor Started NON-STOP 0
Directory Relay Server Started 09:57:22
Notification Server Started 09:57:22 0
Shared memory daemon Started NON-STOP
Notification Monitor Started NON-STOP
Session Monitor Started NON-STOP
Indexer Started NON-STOP
Stats Daemon Started NON-STOP
Container Access Monitor Started NON-STOP
Item Structure Server Stopped 01.17.07
Database Monitor Started 09:57:22
Licence Monitor Daemon Started NON-STOP
LDAP Daemon Started 09:57:24
Queue Manager Started NON-STOP
Item Delete Daemon Started NON-STOP
IMAP Server Daemon Started 09:57:24
SMTP Relay Started 09:57:24
Mime Browser Controller Started 09:57:24
Event Server Started 09:57:24

"omshowrt -q all":

UNIX internet MIME
UNIX internet,tnef TNEF
LOCAL mail,mcs

"mailq" shows 1 message (I changed the email addresses in the output below for security):

/var/spool/mqueue (1 request)
-----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient-----------
l3KEiQum022020X 3571834 Fri Apr 20 08:44 <paul@mydomain.com>
<Cindy.Belcher@otherdomain.US>
Total requests: 1

I ran "sendmail -q" and the queue is not emptying (not sure if that is the problem).
Last edited by bproven on Fri Apr 20, 2007 3:03 pm, edited 1 time in total.

bproven
Posts: 69
Joined: Thu Nov 17, 2005 10:40 am

Postby bproven » Fri Apr 20, 2007 12:38 pm

Forgot to mention what I have tried:

-tried restarting sendmail
-tried restarting scalix via the init.d script and omshut/omrc

[/list]

Shredder

Postby Shredder » Fri Apr 20, 2007 12:40 pm

Can you post the output of:

Code: Select all

omstat -s


Thanks,
Shredder

bproven
Posts: 69
Joined: Thu Nov 17, 2005 10:40 am

output

Postby bproven » Fri Apr 20, 2007 1:13 pm

"omstat -s" output:

Service Router Started 09:57:30 0
Local Delivery Started 09:57:30 0
Internet Mail Gateway Started 09:57:30 34
Local Client Interface Enabled 09:57:30 0
Remote Client Interface Enabled 09:57:30 10
Test Server Started 09:57:30 0
Request Server Started 09:57:33 0
Print Server Started 09:57:33 0
Bulletin Board Server Started 09:57:33 0
Background Search Service Started 09:57:33 0
CDA Server Started 09:57:33 0
POP3 interface Started 09:57:33 0
Omscan Server Started 09:57:35 0
Archiver Started 09:57:35 0





I also looked at the logs for the Internet Mail gateway (I should have checked there first I guess) - this is what I see:

REPORT Internet Mail (Outgoing ) 04.20.07 09:57:31
[OM.UX 1101] Outbound Internet Mail Gateway Started Up


WARNING Internet Mail (Incoming ) 04.20.07 10:05:40
[OM.UX 1401] Cannot read message data.
<- tf_AppendRecord
<- mp_PutObjectFile
<- ux_InParseMimeFile
<- ux_InParseMimeContent
-> im_UnlinkItem
-> im_ItemRef2FName
<- im_ItemRef2FName
<- im_UnlinkItem
-> im_GetNewItemNum
<- im_GetNewItemNum
-> ux_InParseContentHeader
-> GetMailText
<- /build/scalix-MAIN/src/bin/ux/ux_mimein.c:283[102,1401]
<- /build/scalix-MAIN/src/bin/ux/ux_mimein.c:5363[102,1401]
<- /build/scalix-MAIN/src/bin/ux/ux_in.c:4608[102,1401]
<- /build/scalix-MAIN/src/bin/ux/ux_in.c:2009[102,1401]


WARNING Internet Mail (Incoming ) 04.20.07 10:23:55
[OM.UX 1401] Cannot read message data.
<- tf_AppendRecord
<- mp_PutObjectFile
<- ux_InParseMimeFile
<- ux_InParseMimeContent
-> im_UnlinkItem
-> im_ItemRef2FName
<- im_ItemRef2FName
<- im_UnlinkItem
-> im_GetNewItemNum
<- im_GetNewItemNum
-> ux_InParseContentHeader
-> GetMailText
<- /build/scalix-MAIN/src/bin/ux/ux_mimein.c:283[102,1401]
<- /build/scalix-MAIN/src/bin/ux/ux_mimein.c:5363[102,1401]
<- /build/scalix-MAIN/src/bin/ux/ux_in.c:4608[102,1401]
<- /build/scalix-MAIN/src/bin/ux/ux_in.c:2009[102,1401]


Thanks for your help! Brian

bproven
Posts: 69
Joined: Thu Nov 17, 2005 10:40 am

Postby bproven » Fri Apr 20, 2007 1:16 pm

I wonder if that error message for the Gateway has anything to do with the message in the sendmail queue? Could it be a malformed message? Can I delete that message from the sendmail queue (the one that shows when I run 'mailq')? If so, how (forgive me - not a sendmail guru).

BTWThanks for taking the time to help me out.

bproven
Posts: 69
Joined: Thu Nov 17, 2005 10:40 am

Postby bproven » Fri Apr 20, 2007 1:26 pm

Full dump of the Internet Gateway log - the restarts are me restarting Scalix:

WARNING Internet Mail (Incoming ) 04.20.07 01:01:46
[OM.UX 1401] Cannot read message data.
<- tf_AppendRecord
<- mp_PutObjectFile
<- ux_InParseMimeFile
<- ux_InParseMimeContent
-> im_UnlinkItem
-> im_ItemRef2FName
<- im_ItemRef2FName
<- im_UnlinkItem
-> im_GetNewItemNum
<- im_GetNewItemNum
-> ux_InParseContentHeader
-> GetMailText
<- /build/scalix-MAIN/src/bin/ux/ux_mimein.c:283[102,1401]
<- /build/scalix-MAIN/src/bin/ux/ux_mimein.c:5363[102,1401]
<- /build/scalix-MAIN/src/bin/ux/ux_in.c:4608[102,1401]
<- /build/scalix-MAIN/src/bin/ux/ux_in.c:2009[102,1401]


REPORT Internet Mail (Outgoing ) 04.20.07 01:02:52
[OM.UX 1102] Outbound Internet Mail Gateway Shut Down


REPORT Internet Mail (Outgoing ) 04.20.07 01:05:08
[OM.UX 1101] Outbound Internet Mail Gateway Started Up


WARNING Internet Mail (Incoming ) 04.20.07 01:06:42
[OM.UX 1401] Cannot read message data.
<- tf_AppendRecord
<- mp_PutObjectFile
<- ux_InParseMimeFile
<- ux_InParseMimeContent
-> im_UnlinkItem
-> im_ItemRef2FName
<- im_ItemRef2FName
<- im_UnlinkItem
-> im_GetNewItemNum
<- im_GetNewItemNum
-> ux_InParseContentHeader
-> GetMailText
<- /build/scalix-MAIN/src/bin/ux/ux_mimein.c:283[102,1401]
<- /build/scalix-MAIN/src/bin/ux/ux_mimein.c:5363[102,1401]
<- /build/scalix-MAIN/src/bin/ux/ux_in.c:4608[102,1401]
<- /build/scalix-MAIN/src/bin/ux/ux_in.c:2009[102,1401]


WARNING Internet Mail (Incoming ) 04.20.07 04:59:00
[OM.UX 1401] Cannot read message data.
<- tf_AppendRecord
<- mp_PutObjectFile
<- ux_InParseMimeFile
<- ux_InParseMimeContent
-> im_UnlinkItem
-> im_ItemRef2FName
<- im_ItemRef2FName
<- im_UnlinkItem
-> im_GetNewItemNum
<- im_GetNewItemNum
-> ux_InParseContentHeader
-> GetMailText
<- /build/scalix-MAIN/src/bin/ux/ux_mimein.c:283[102,1401]
<- /build/scalix-MAIN/src/bin/ux/ux_mimein.c:5363[102,1401]
<- /build/scalix-MAIN/src/bin/ux/ux_in.c:4608[102,1401]
<- /build/scalix-MAIN/src/bin/ux/ux_in.c:2009[102,1401]


WARNING Internet Mail (Incoming ) 04.20.07 05:05:54
[OM.UX 1401] Cannot read message data.
<- tf_AppendRecord
<- mp_PutObjectFile
<- ux_InParseMimeFile
<- ux_InParseMimeContent
-> im_UnlinkItem
-> im_ItemRef2FName
<- im_ItemRef2FName
<- im_UnlinkItem
-> im_GetNewItemNum
<- im_GetNewItemNum
-> ux_InParseContentHeader
-> GetMailText
<- /build/scalix-MAIN/src/bin/ux/ux_mimein.c:283[102,1401]
<- /build/scalix-MAIN/src/bin/ux/ux_mimein.c:5363[102,1401]
<- /build/scalix-MAIN/src/bin/ux/ux_in.c:4608[102,1401]
<- /build/scalix-MAIN/src/bin/ux/ux_in.c:2009[102,1401]


WARNING Internet Mail (Incoming ) 04.20.07 07:23:08
[OM.UX 1401] Cannot read message data.
<- tf_AppendRecord
<- mp_PutObjectFile
<- ux_InParseMimeFile
<- ux_InParseMimeContent
-> im_UnlinkItem
-> im_ItemRef2FName
<- im_ItemRef2FName
<- im_UnlinkItem
-> im_GetNewItemNum
<- im_GetNewItemNum
-> ux_InParseContentHeader
-> GetMailText
<- /build/scalix-MAIN/src/bin/ux/ux_mimein.c:283[102,1401]
<- /build/scalix-MAIN/src/bin/ux/ux_mimein.c:5363[102,1401]
<- /build/scalix-MAIN/src/bin/ux/ux_in.c:4608[102,1401]
<- /build/scalix-MAIN/src/bin/ux/ux_in.c:2009[102,1401]


WARNING Internet Mail (Incoming ) 04.20.07 07:49:56
[OM.UX 1401] Cannot read message data.
<- tf_AppendRecord
<- mp_PutObjectFile
<- ux_InParseMimeFile
<- ux_InParseMimeContent
-> im_UnlinkItem
-> im_ItemRef2FName
<- im_ItemRef2FName
<- im_UnlinkItem
-> im_GetNewItemNum
<- im_GetNewItemNum
-> ux_InParseContentHeader
-> GetMailText
<- /build/scalix-MAIN/src/bin/ux/ux_mimein.c:283[102,1401]
<- /build/scalix-MAIN/src/bin/ux/ux_mimein.c:5363[102,1401]
<- /build/scalix-MAIN/src/bin/ux/ux_in.c:4608[102,1401]
<- /build/scalix-MAIN/src/bin/ux/ux_in.c:2009[102,1401]


WARNING Internet Mail (Incoming ) 04.20.07 08:28:50
[OM.UX 1401] Cannot read message data.
<- tf_AppendRecord
<- mp_PutObjectFile
<- ux_InParseMimeFile
<- ux_InParseMimeContent
-> im_UnlinkItem
-> im_ItemRef2FName
<- im_ItemRef2FName
<- im_UnlinkItem
-> im_GetNewItemNum
<- im_GetNewItemNum
-> ux_InParseContentHeader
-> GetMailText
<- /build/scalix-MAIN/src/bin/ux/ux_mimein.c:283[102,1401]
<- /build/scalix-MAIN/src/bin/ux/ux_mimein.c:5363[102,1401]
<- /build/scalix-MAIN/src/bin/ux/ux_in.c:4608[102,1401]
<- /build/scalix-MAIN/src/bin/ux/ux_in.c:2009[102,1401]


WARNING Internet Mail (Incoming ) 04.20.07 08:43:18
[OM.UX 1401] Cannot read message data.
<- tf_AppendRecord
<- mp_PutObjectFile
<- ux_InParseMimeFile
<- ux_InParseMimeContent
-> im_UnlinkItem
-> im_ItemRef2FName
<- im_ItemRef2FName
<- im_UnlinkItem
-> im_GetNewItemNum
<- im_GetNewItemNum
-> ux_InParseContentHeader
-> GetMailText
<- /build/scalix-MAIN/src/bin/ux/ux_mimein.c:283[102,1401]
<- /build/scalix-MAIN/src/bin/ux/ux_mimein.c:5363[102,1401]
<- /build/scalix-MAIN/src/bin/ux/ux_in.c:4608[102,1401]
<- /build/scalix-MAIN/src/bin/ux/ux_in.c:2009[102,1401]


REPORT Internet Mail (Outgoing ) 04.20.07 09:38:55
[OM.UX 1101] Outbound Internet Mail Gateway Started Up


REPORT Internet Mail (Outgoing ) 04.20.07 09:57:31
[OM.UX 1101] Outbound Internet Mail Gateway Started Up


WARNING Internet Mail (Incoming ) 04.20.07 10:05:40
[OM.UX 1401] Cannot read message data.
<- tf_AppendRecord
<- mp_PutObjectFile
<- ux_InParseMimeFile
<- ux_InParseMimeContent
-> im_UnlinkItem
-> im_ItemRef2FName
<- im_ItemRef2FName
<- im_UnlinkItem
-> im_GetNewItemNum
<- im_GetNewItemNum
-> ux_InParseContentHeader
-> GetMailText
<- /build/scalix-MAIN/src/bin/ux/ux_mimein.c:283[102,1401]
<- /build/scalix-MAIN/src/bin/ux/ux_mimein.c:5363[102,1401]
<- /build/scalix-MAIN/src/bin/ux/ux_in.c:4608[102,1401]
<- /build/scalix-MAIN/src/bin/ux/ux_in.c:2009[102,1401]


WARNING Internet Mail (Incoming ) 04.20.07 10:23:55
[OM.UX 1401] Cannot read message data.
<- tf_AppendRecord
<- mp_PutObjectFile
<- ux_InParseMimeFile
<- ux_InParseMimeContent
-> im_UnlinkItem
-> im_ItemRef2FName
<- im_ItemRef2FName
<- im_UnlinkItem
-> im_GetNewItemNum
<- im_GetNewItemNum
-> ux_InParseContentHeader
-> GetMailText
<- /build/scalix-MAIN/src/bin/ux/ux_mimein.c:283[102,1401]
<- /build/scalix-MAIN/src/bin/ux/ux_mimein.c:5363[102,1401]
<- /build/scalix-MAIN/src/bin/ux/ux_in.c:4608[102,1401]
<- /build/scalix-MAIN/src/bin/ux/ux_in.c:2009[102,1401]

Shredder

Postby Shredder » Fri Apr 20, 2007 1:32 pm

You can log into SAC and then select Server Info from the top row of icons.

Then under Queues on the left hand side, select the Internet Mail Gateway.

On the right, it will show the messages currently in there. You should be able to see who sent it. Then you can make the decision if you should delete it or not.

Hope that helps,
Shredder

bproven
Posts: 69
Joined: Thu Nov 17, 2005 10:40 am

Postby bproven » Fri Apr 20, 2007 1:34 pm

From searching I see a thread that seems to be a similar issue:

viewtopic.php?t=6899&highlight=cannot+read+message+data

Funny thing is that it states its b/c sendmail and Scalix are "out of step" (incompatible) - BUT I havent touched either in months. Strange. Still thinking its a bad message -if so how do I clear it out?

bproven
Posts: 69
Joined: Thu Nov 17, 2005 10:40 am

Postby bproven » Fri Apr 20, 2007 1:40 pm

I guess there is no way to identify which message is the bad message is there? At least I can't figure it out from the error message in the log. I'd hate to blow all email messages away...

Shredder

Postby Shredder » Fri Apr 20, 2007 1:52 pm

Please read the last message I posted. It tells how to find the message in the Internet Mail Gateway and delete it.

Thanks,
Shredder

Shredder

Postby Shredder » Fri Apr 20, 2007 1:53 pm

Sorry. Didn't notice there was 34 messages in there.

I would delete the oldest one first and work your way down.

Shredder

bproven
Posts: 69
Joined: Thu Nov 17, 2005 10:40 am

Postby bproven » Fri Apr 20, 2007 2:09 pm

OK - thanks, trying that. So far no dice. I'm restarting Scalix again and sendmail to see if that forces a resend of the queue

bproven
Posts: 69
Joined: Thu Nov 17, 2005 10:40 am

Postby bproven » Fri Apr 20, 2007 2:27 pm

This doesnt seem to be working I've deleted a bunch of messages using SAC in Internet Gateway and still getting the sendmail error:

rejecting connections on daemon MTA: load average: 14

I'm at a loss here - will try purging the queued messages in sendmail queue (what 'mailq' lists next)?

Can't believe that Scalix would lock the queue on a bad email message.... :(

bproven
Posts: 69
Joined: Thu Nov 17, 2005 10:40 am

Server load is VERY HIGH now!

Postby bproven » Fri Apr 20, 2007 2:40 pm

Seems that the server load is extremely high and Scalix is the culprit. There are a bunch of "unix.in" processes that are eating up massive amounts of CPU. What the heck are these?

bproven
Posts: 69
Joined: Thu Nov 17, 2005 10:40 am

Postby bproven » Fri Apr 20, 2007 2:48 pm

unix.in is the Internet Mail Gateway - no surprise I guess. I issued a direct stop on this service and it seems to be hanging in the "stopping" state. Loads are 20+ right now - really banging the hell out of this server.


From reading a few posts on google regarding the sendmail error - seems this could be due to the high load on the server and sendmail recognizes this and pauses for a break.

This sucks...

FYI We are running Scalix 11.0.0 on Red Hat Linux Enterprise 4 - been running fine since Scalix 11 release a few months ago.

EDIT: Did an omshut and all the unix.in processes would not die - had to do a "killall unix.in" to kill the rogue processes. Starting Scalix - hopefully nothing is corrupted :(


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 4 guests

cron