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
Hello All,   After installing 10.6.8 last night on my 4.1 MacBook Pro, it won't POST.  The sleep indicator light comes on briefly and I can hear the optical drive spin a bit, and then it just shuts down.  No display, nothing.   Any troubleshooting ti [More]
I have been using CS6 on both my desktop MacPro and my laptop Macbbok Pro. In the last few days, whenever I open photoshop on my desktop, it is the EXTENDED version and indicates that I am in a trial period for the next 30 days. I never purchased or [More]
Am looking at a problem with servers in the same vlan across multiple switches that are unable to communicate using multicast. I have found that in the systen I'm to set up I need to apply the ip igmp snooping querier command, in the vlan, but it nee [More]
Updated iTunes on Win7, 64-bit laptop and it now won't open ... posts an error message of "can't open library file created with older version". I performed the upgrade on my XP-Pro 32-bit laptop with no issues, and a clean upgrade/update of my i [More]
I have iTunes 10.01.22. I have a folder on my computer, the folder contains some MP3's of an album. Now normally I can drag and drop the album folder into iTunes and whatever amount of songs are in that folder are then added and shown in iTunes libra [More]
I entered my new iTunes gift card into the iTunes store and once i go to use it, it asks for my credit card billing information. Do i need to fill that out to be able to use the card?Gift cards are country-specific, so US gift cards can only be used [More]
Dear all I'd like to find and compile all invalid objects in an instance. This should be done every day as a scheduled job with the use of DBMS_SCHEDULER. For this, I set up the following sql-script: ---------start script-------------- set heading of [More]
I have a -50 error message when I am trying to syncing with iTunes and there is no option above that shows -50From the support document that you linked to the forum with Error 13, 14, 35 and 50 (or -50) These errors are typically resolved by performi [More]
Hello, Refering to this thread: Pie chart using Class cl_igs_chart ?? How can we use cl_gui_html_viewer     in a background process. I want to execute a html code in bakground process in abap program. but using cl_gui_html_viewer   I have an error wi [More]
I wonder if anybody has some wisdom on the below 3 questions thanks I wanted to open a eshop could anybody recommend one ? I also wanted to give each item a weight and the e shop would work out the postage, i.e if you bought 4 items and one weighed 1 [More]