Sitemap

Amicuk Programming Answers

Recovering messages stuck in a dead channel queue

2015-10-11   Views:0

Advertisement

I, I have a bunch a msg (ca. 30) that are stuck in a non working channel queue. I do not want to loose them but rather have them delivered normally using the other working channels. How can I do that ? I have found out how to remove message in a queu

I,
I have a bunch a msg (ca. 30) that are stuck in a non working channel queue. I do not want to loose them but rather have them delivered normally using the other working channels.
How can I do that ?
I have found out how to remove message in a queue, but not how to extract them and redirect them so they are delivered. I hope they will not disappear as they are tried out every so often.
The channel (tcp_scan) was set up to analyze messages for spam/virus on another host according to the CONVERSION setup. Then this mailfilter host died. I stopped the redirection at the MTA, but some messages were already stucked in the channel queue.
SETUP DESCRIPTION
Before:
The CONVERSION setup redirected mail to the tcp_scan channel.
The tcp_scan channel redirected the messages to the mailfilter host where spamassassin and clamav would run.
The mailfilter host would send back the result on the MTA on a special port setup in dispatcher.cnf
The message is delivered locally on the MTA.
Now, the CONVERSION channer has been removed and the messages arrive without screening.
CONFIGURATION FILES
VERSION
imsimta version
Sun Java(tm) System Messaging Server 6.2-7.05 (built Sep 5 2006)
libimta.so 6.2-7.05 (built 12:18:44, Sep 5 2006)
SunOS igloo 5.10 Generic_118822-30 sun4u sparc SUNW,Sun-Fire-280R
FILE: mappgins
CONVERSIONS
in-chan=tcp_scan;out-chan=*;CONVERT No
in-chan=tcp_submit;out-chan=*;CONVERT Yes,Channel=tcp_scan
in-chan=tcp_auth;out-chan=*;CONVERT Yes,Channel=tcp_scan
in-chan=tcp_local;out-chan=*;CONVERT Yes,Channel=tcp_scan
FILE:ima.cnf
! tcp_scan
tcp_scan smtp mx daemon 192.33.219.42 \
port 2525 subdirs 20 noreverse dequeue_removeroute maxjobs 7 \
pool SMTP_POOL maytlsserver allowswitchchannel \
saslswitchchannel tcp_auth
tcp_scan-daemon
FILE:dispatcher.cnf
[SERVICE=SMTP_ROUTER]
PORT=3525
IMAGE=/opt/SUNWmsgsr/lib/tcp_smtp_server
LOGFILE=IMTA_LOG:tcp_smtp_server.log
STACKSIZE=2048000
PARAMETER=CHANNEL=tcp_scan
Thanks
Fran�ois

The replay answer
Advertisement
fafouli wrote:
I have found out how to remove message in a queue, but not how to extract them and redirect them so they are delivered. I hope they will not disappear as they are tried out every so often.How you get the messages to be 'redelivered is very-much a case-by-case basis. Once an email enters a queue it can be difficult to get the email redelivered in an automated fashion as there may be insufficient data to work out where the email needs to go.
For example if you have emails stuck in the ims-ms channel the envelope address is <uid>@ims-ms-daemon, getting this to be redelivered to say another store or another non-messaging server (the 'original' address the email come in as) may not be possible.
The channel (tcp_scan) was set up to analyze messages for spam/virus on another host according to the CONVERSION setup. Then this mailfilter host died. I stopped the redirection at the MTA, but some messages were already stucked in the channel queue.
CONVERSIONS
in-chan=tcp_scan;out-chan=*;CONVERT No
in-chan=tcp_submit;out-chan=*;CONVERT Yes,Channel=tcp_scan
in-chan=tcp_auth;out-chan=*;CONVERT Yes,Channel=tcp_scan
in-chan=tcp_local;out-chan=*;CONVERT Yes,Channel=tcp_scanI assume this is the before configuration otherwise the conversion hop is still in place as Jay mentioned.
FILE:ima.cnf
! tcp_scan
tcp_scan smtp mx daemon 192.33.219.42 \
port 2525 subdirs 20 noreverse dequeue_removeroute maxjobs 7 \
pool SMTP_POOL maytlsserver allowswitchchannel \
saslswitchchannel tcp_auth
tcp_scan-daemonAn alternative approach to what Jay suggested. If the conversion hop is indeed no-longer in place, you could try changing "mx daemon 192.33.219.42" to "nomx daemon 127.0.0.1" and uncomment the tcp_scan channel. This should then cause any emails in tcp_scan channel to be delivered back into messaging server (rather then the anti-virus/spam system) and then get delivered as-per-normal.
Regards,
Shane.

Go to See the other 7 answers

Recovering messages stuck in a dead channel queue

Category:DefaultRelease time:2015-10-11Views:130

I, I have a bunch a msg (ca. 30) that are stuck in a non working channel queue. I do not want to loose them but rather have them delivered normally using the other working channels. How can I do that ? I have found out how to remove message in a queu[More]

Messages stuck in "Retry" in Submission Queue - Exchange 2013

Category:DefaultRelease time:2015-10-11Views:130

Hello, We have 2013 Exchange consisting of 2 CASs and 2 MBX servers spanning two locations via VPN, 1 of each server in each location. We are hosting exchange for an outside domain, and have just transferred them into our organization within the last[More]

DB API for automatically recovering message stuck in undelivered state

Category:DefaultRelease time:-0001-11-30Views:130

Hi, Can someone point me to any DB APIs that can be used to automatically recover messages in undelivered state (orabpel.invoke_message, state=0) We have implemented a DB query to alarm if there are undelivered messages, want to take it to next level[More]

Messages got stuck in inbound adapter engine queue

Category:DefaultRelease time:2015-10-11Views:130

Hi Experts, My senario is File - XI -SAOP reciever and we have 8 usecases of same type. For 7 usecase, we dont have any problem. But for only one use case we have having heavy delay in processing messages. All  my messages got stuck in inbound queue[More]

Messages stuck in queue AFWRecv of Adapter Framework

Category:DefaultRelease time:2015-10-11Views:130

Hello, Messages stuck in queue AFWRecv of Adapter Framework in our production system(trace in  RWB: "to be delivered") in URL http://xxxxxxx:50000/MessagingSystem/monitor/systemStatus.jsp we can see: Queue Info  Queue Name isStarted QueueSize Th[More]

Mails/Alerts-triggered for messages stuck in queues and failed in moni

Category:DefaultRelease time:2015-10-11Views:130

Hi, I have two doubts. 1) Messages are getting stuck in smq2 of my ECC and PI system. I have to manually push them. Is there any mechanism in which we can get alerts/mails when messages get stuck in queues. I have already gone through the blog /peopl[More]

TNEF Issue - Winmail.dat or messages stuck in submission queue

Category:DefaultRelease time:2015-10-11Views:130

Hi guys,  I've looked around the forums and have found people that have had submission queue issues when they set TNEF to $null or $false, and have found that the unified answer is to set TNEF to $true. I also see folks having issues with recipients[More]

Exchange 2013 Messages Stuck in Queue

Category:DefaultRelease time:2015-10-11Views:130

Hello, I have an Exchange 2013 on-prem serer.  I'm noticing that certain messages get stuck in the queue.  They report back errors of "451 4.4.0 SMTPSEND.SuspiciousRemoteServerError; remote server disconnected abruptly; retry will be delayed". I[More]

JMS messages stuck in queue in weblogic v923 cluster

Category:DefaultRelease time:2015-10-11Views:130

Hi all, Enviornment details: In our pre-production weblogic v923 cluster enviornment with Oracle 10g database, there are 10 server boxes with 2 managed nodes running on each server box in linux enviornment. There are 3 JMS queues and 1 error queue pe[More]

Messages stucked in moni with queue status as "RUNNING"

Category:DefaultRelease time:2015-10-11Views:130

Hi All,   Few of messages stucked in moni with queue status as "RUNNING" from the past 6 to 7 hours. all the stucked messages running on same dialog instance app server 03 (ucobpi03_PIP_03). i checked PIP appserver its working fine. Can any one[More]

Messages Stuck in Queue in PI

Category:DefaultRelease time:2015-10-11Views:130

Hi, For a few inbound interfaces for which PI is the middleware, we have found that the messages are stuck in queue in PI. We have also found that the messages are stuck in the queue in PI because one message which has an RFC error (It does a RFC loo[More]

Hot
I have encountered an odd problem when connecting Crystal to a Universe.  There is a pre-defined Date condition built into the Universe that is defined as follows: @Select(Date\Week End Date)  >  @Select(Conditions\User Response Select Date week -28) [More]
How do I set up my Airport Extreme to best use multiplayer games with my family. Everyone is located in the same house and uses the same router. I have tried a few games but have not  successfully connected  2 playersThat is a weird question, as your [More]
Hello everyone. I am a Computing Coordinator in a primary school which has just purchased a number of iPads to be used by class teachers and children. In order to mirror the iPads onto the whiteboard I am looking into getting either a set of Apple TV [More]
Hi All I am not able to execute a simple select query, I traced my session and here is TKPROF of that Trace. Solaris 8 , Oracle 10.2.0.4.0 TKPROF: Release 10.2.0.4.0 - Copyright (c) 1982, 2007, Oracle.  All rights reserved. Trace file: 502_ora_28260. [More]
Dear PP Guys I am facing a problem while taking Print out of PI sheet in PDF format... The Contents of the PI sheet are getting out of the std A4 size paper. How can we fit the PI sheet content to a A4 size paper while taking print We are using EHP 4 [More]
Hi Forum, I had little problem with XL Reporter. XL Reporter starts but when i am going to run reports, it gives me error ..... " Securiety Settings in Microsoft Excel Prohibit XL Reporter from Running ". I have done below given things in Micros [More]
Hi, I recently updated the CC desktop app, it would seem yesterday, according to the desktop app itself. Unbeknownst to me, this update reverted the location of my Creative Cloud Files folder, from where I'd set it on my 6TB RAID5 Data HD array, back [More]
hi, we have the table dep. SQL> select * from dep; DEPTNO DNAME LOC 10 ACCOUNTING NEW YORK 20 RESEARCH DALLAS 30 SALES CHICAGO 40 OPERATIONS BOSTON create sequence se_dep start with 1 increment by 1; I would like to insert the data into that table th [More]
ckick on video,like youtube or any video clip ,will get 2 screen in monitor,1 in top, 1 in bottomThe DPS team is aware of the inline video issue you mentioned. There should be a fix in v25 (tentatively scheduled for early February). There is a page t [More]
Hi Folks, I have been adding new albums to one of my web pages and had chosen the Black ringbinder Index style for the albums. After a recent publishing upgrade and visiting my site I noticed that all the albums had framework boxes with ? marks all a [More]