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
Is there any way to see ICONS in Open and Close Dialog boxes, instead of just lists of items names? I know you can preview one at a time, but I'd love to see all my artwork as picture icons, just as you can in a finder window. Windows does this, but [More]
I made a photo book in iPhoto and would like to transfer the book to my iPhoto on other macs and iPad.   How is this done and can it be synced between devices like photo stream?You can create a Quicktime movie slideshow of the book's pages and share [More]
My photostream on iphoto will not cooperate with my iPhone. iPhoto import pictures that I've taken with the camera and load it into photostream instead of my mobile pictures. How can I stop it?try asking with more details - I am not clear on your que [More]
When I enable DHCP in rc.conf, my little Netgear router gives an IP address to my Arch Linux machine - and also supplies the DNS value.  When I try to manually set things, it seems my DNS values are not working.  My AL box can ping itself, at both 12 [More]
Apple TV and Hulu plus: I don't see a Hulu plus app on my apple tvPlease Make sure your Apple TV is uptodate and that the Apple TV is a 2nd or 3rd Gen. Apple TV.Read other 4 answers [More]
lets try this again. I guess I made the mistake to try and ask too much in my last post. so I will start off with something easier. (well, at least to you all who understand it) first one. how would I make an object stay along one path? like say, I h [More]
i need info on a version of iTunes that lets u download artwork without account?There is no "version" of iTunes that let's you download artwork without an account. However, it's simple to search online for the artwork by using the album name. Am [More]
I wish to transfer to a PC running windows XP a whole photo album, or rather a folder containing subfolders of photos. They are in various formats (PICT, jpeg, png). I put them in a CD and tried to view them on the PC, but most of the pics could not [More]
Hi, Everybody got any idea to do using mouse listener to click and moving the image or graphic and then to put the object at any coordinate on the JPanel??? Thank to reply..You don't You cannot use other countries itunes stores. SorryRead other 2 ans [More]
Hello, Is it possible to set a pdf file so that when opened it appears at 75% its full size (or so it opens to the size of the screen)? ThanksYes. In Acrobat, go to File > Document Properties.Read other 2 answers [More]