Pushing queued emails

While configuring (and perhaps later in the "real life") every now and then I see messages stuck in a working or held queue (as seen with imsimta qm dir; imsimta qm held).
Quite often this is for a reason, i.e. the relay-out daemon was down (restarting) at the moment a message was trying to relay. The problem is, I can't always easily push the mails to go on after the cause is fixed. It can sit in the queue for hours, sometimes even after a full restart of the messaging services.
While "imsimta run tcp_local" sometimes helps, it takes surprisingly long to run (i.e. 2-3 minutes for a queue with a single stuck message).
What I would like to achieve is something like sendmail's "-qI" flag (perhaps coupled with a fake hoststatus directory path) which tries to immediately send all messages from the queue and ignores previous failures and SMTP retry timeouts which they may have caused.
I did not yet find a correct non-disruptive procedure in the docs/blogs/forums/wikis, perhaps I need some pointing help from the gurus? ;)
Another inconvenience concerns the HELD messages. After I fixed the reason that got several dozen messages into the HELD status, I had to "release" them one-by-one from the interactive mode. In fact, then I hacked up a small script to release a hardcoded amount of messages at once, but there certainly must be a more correct and elegant method:
( echo "dir"; A=1; while [ $A -le 35 ]; do echo release $A; `echo "$A+1" | bc`; done ) | imsimta qm

JimKlimov wrote:
Quite often this is for a reason, i.e. the relay-out daemon was down (restarting) at the moment a message was trying to relay. The problem is, I can't always easily push the mails to go on after the cause is fixed. It can sit in the queue for hours, sometimes even after a full restart of the messaging services.You can use the ETRN command to push emails destined for a specific host in this situation e.g.
bash-2.05$ telnet mta.aus.sun.com 25
Trying 1.2.3.4...
Connected to mta.aus.sun.com.
Escape character is '^]'.
220 mta.aus.sun.com -- Server ESMTP (Sun Java(tm) System Messaging Server 6.3-7.01 (built May 14 2008; 32bit))
etrn relay.aus.sun.com
250 2.0.0 Delivery started on channel.
quit
221 2.3.0 Bye received. Goodbye.This will only re-try those emails which are destined for the specified host rather then re-attempting delivery for all emails in the channel.
While "imsimta run tcp_local" sometimes helps, it takes surprisingly long to run (i.e. 2-3 minutes for a queue with a single stuck message).This does indeed sound like a long time. How many emails are in the tcp_local queue when you ran the command?
Another inconvenience concerns the HELD messages. After I fixed the reason that got several dozen messages into the HELD status, I had to "release" them one-by-one from the interactive mode. You shouldn't need to do this. Try the following steps to select/process multiple held messages in a channel:
./imsimta qm
dir -held <channel name e.g. tcp_local>
release 1-<last message number>So if you had 10 held messages in tcp_local it would look like this:
./imsimta qm
dir -held tcp_local
release 1-10Regards,
Shane.

Similar Messages

  • Fixing and pushing bad emails

    If an email sent out using the apex_mail.send API has a error like a malformed email address, it stays in the apex_mail_queue table/view, the period push_queue job keeps rejecting it.
    Is there a way to "fix" the email address and push the email out?
    [The email content was carefully formulated based on a data-state that is no longer available anywhere else except for that failed email!]
    Any ideas?

    SQL>  exec htmldb_mail.push_queue('smtp.foo.com','25')
    Pushing email 16651929720249275
    ORA-29277: invalid SMTP operation
    ORA-06512: at "FLOWS_020000.WWV_FLOW_MAIL",
    line 330
    ORA-29279: SMTP permanent error: 501 5.5.4 Invalid Address
    Pushing email 16651504258249274
    ORA-29277: invalid SMTP operation
    ORA-06512: at "FLOWS_020000.WWV_FLOW_MAIL",
    line 330
    ORA-29279: SMTP permanent error: 501 5.5.4 Invalid Address
    Pushing email 16140711280786801
    ORA-29277: invalid SMTP operation
    ORA-06512: at "FLOWS_020000.WWV_FLOW_MAIL",
    line 330
    ORA-29279: SMTP permanent error: 501 5.5.4 Invalid Address29279, 00000, "SMTP permanent error: %s"
    // *Cause:  A SMTP permanent error occurred.
    // *Action: Correct the error and retry the SMTP operation.
    Is there a way to "correct" the malformed email address in the Apex mail queue and re-send the mail?
    Thanks

  • How can I make my iPhone 4S auto-push my email?

    As a student in college, I constantly email my professors back and forth but waiting 15 minute intervals until my mail refreshes is ridiculous.  I can't seem to find a way around this... I have just switch to the iphone from a blackberry which automatically pushed my email on its arrive to the server, so this is extremely annoying that I have to wait or manually push my mail. I mainly use my college email account which is not associated with g-mail, hotmail, yahoo etc. incase that might be an issue. 

    http://manuals.info.apple.com/en_US/iphone_user_guide.pdf

  • How do I stop Exchange pushing my email to me?

    How do I stop Exchange pushing my email to me?
    I have set up Palm Pre to access my Exchange account.  I set the sync option to Manual but am still having email pushed  out to me.  I'd prefer to be able to check email when I want not least for battery issues.
    Post relates to: Pre p100ueu (O2)
    This question was solved.
    View Solution.

    Resolved there was a setting in Exchange that needed to be changed.  ie disable "Up-to-Date notifications" under mobile services.

  • Delete Service Manager queued emails

    I was attempting to create a subscription to notify assigned to users that their incident has gone stale, and apparently botched my criteria. SM started sending out notifications on all Incidents older than 7 days regardless of their current status. I've
    disabled the SMTP notification channel, but how do I go about clearing the queued emails so I can turn it back on? 
    Also, what did i do wrong with my subscription criteria? 
    Incident- lastmodified is greater than [now-7d] AND Incident - Status 'does not equal' closed OR Incident - Status 'does not equal' resolved. 

    Not sure why it would send out on incidents modified before 7 days ago, but you botched your status criteria. Let's say that status is closed. You do not want to send on that BUT the criteria
    Incident status does not equal resolved evaluates to true, because, well, it is NOT resolved. The other criteria is false, but false OR true = true.
    Cheers,
    Anders Spælling
    Senior Consultant
    Blog:  
    Twitter:   LinkedIn:
    Please remember to 'Propose as answer' if you find a reply helpful

  • Iphone 5 not pushing exchange emails - IOS 7

    Right before IOS 7 was released my phone quit pushing exchange emails.  All push settings were correct but emails would not come to my phone until I opened the mail program.  Then, they would all flood in at once. 
    The forums had a few temporary fixes (none worked) but the consensus was to wait until IOS 7 came out and hope it fixed it.  I updated to IOS 7 and still have the same problem.  I'm set to push, but I'm not getting messages until I open the mail program and it pulls in my emails.

    OK, after hours of troubleshooting I post this, and within seconds I discover the answer on my own.  Gotta be one of Murphy's laws! 
    I discovered that in Settings, Notification Center, Phone, the Alert Style setting was Alerts, and the Alert sound was set to my ringtone.  I believe this was the way the phone was originally set up (the default) but I'm not sure.  Anyway just for grins (read: thoroughness in troubleshooting) I changed the Alert Style to None, saved it and tested by attempting to call the phone.  VOILA!!!!!!!  I received the call, loud and clear, no issues at all.  This must be a bug in the new version of the iOS.  Anyway, problem resolved and thanks to anyone who had already seen this and was trying to figure it out!  MRADTEX

  • When i push verify email i continue to get "not verified"

    when i push verify email i continue to get "not verified"

    Doug,
    According to Apple, Mac OS X: Disk Utility's Repair Disk Permissions messages that you can safely ignore.

  • Push Settings - Email Messages

    Hi,
    I am running Groupwise Mobile Server 3 in a Suse Linux 11sp1 virtual environment. Everything works perfectly except that the "filter setting" in Push Setting-Email Messages seems to have no effect.....
    Any ideas would be great.
    Regards
    John

    Kool, thanks
    >>> Martin Ehlers<[email protected]> 01/09/2010 08:38 >>>
    No, i will be open an SR.
    Regards
    Martin
    >>>
    Von: John Gill<[email protected]>
    An:novell.support.groupwise.mobile-solutions
    Datum: 08:06 01.09.2010
    Betreff: Re: Antw: Push Settings - Email Messages
    mmmh, not much support here ;) Anyway, I open up port 3102 on the firewall but the "filter" still does not work. Any new developments on your side?
    Regards
    John
    >>> Martin Ehlers<[email protected]> 30/08/2010 15:34 >>>
    Hi,
    the same question I just wanted to ask also. I tried new profile, user settings etc. - emails always pushed to device?!
    Sorry, i have no idea and hope to get an answer here.
    Regards
    Martin
    >>>
    Von: John Gill<[email protected]>
    An:novell.support.groupwise.mobile-solutions
    Datum: 14:51 27.08.2010
    Betreff: Push Settings - Email Messages
    Hi,
    I am running Groupwise Mobile Server 3 in a Suse Linux 11sp1 virtual environment. Everything works perfectly except that the "filter setting" in Push Setting-Email Messages seems to have no effect.....
    Any ideas would be great.
    Regards
    John

  • HT3228 Can't get email accounts to push new emails through

    I Have iPhone 5 and I'm having trouble receiving emails. It won't allow me to select push I need to select fetch which means I'm only receiving emails if I open up my mail application.
    i Have a hotmail account which can be selected to push and I receive them straight away.
    Anyone else having the same problem?
    cheers, crookie

    What kind of account? IMAP and POP accounts do not support Push. Gmail does not support push (unless set up as an Exchange account).

  • Deleting queued email notifications in SCSM 2012

    Hi,
    We have disabled the email notification channel in SCSM 2012 and the workflows which are used to trigger the email notification were running.
    Now, we need to enable the notification channel. But, we suspect that all the old emails which are queued in workflow will trigger once we enable the notification and will spam the customers mailbox.
    If this is the case, how can we find and kill the pending email notifications in SCSM 2012.
    Please suggest how to proceed with this.
    Thanks
    Kumaresan Lakshmanan

    Hi,
    Take a look at the end of this post, right Before the appendix:
    http://blogs.technet.com/b/servicemanager/archive/2013/01/14/troubleshooting-workflow-performance-and-delays.aspx
    You will need to increase your watermark if you want to make sure that old notifications won't trigger.
    Regards
    //Anders
    Anders Asp | Lumagate | www.lumagate.com | Sweden | My blog: www.scsm.se

  • HTMLDB_Mail, Push Queue

    When does the WWV_FLOW_MAIL_LOG and WWV_FLOW_MAIL_QUEUE get updated. I have some mails going through without any issues and they are in the mail_log, and I have some which are just in the mail_queue and do not get sent though the email addresses are valid.
    I check the wwv_flow_mail_queue and can see a few mails unsent. The mail_to, mail_from and mail_cc columns all have valid email address (these are set from the application), but when i say push_queue, then the mail does not get sent and are still in the queue. I then sent another mail from sqlplus, then this is in the queue, the only difference being the security_group_id is 0 for this and for all the others it has a big number. When I say push_queue from sqlplus, then only the new mail is sent, all the other mails are still in the queue.

    Hi Jes,
    Thanks. Was just calling my eMail guys, because I realised that the mails within our domain were being sent without any issues, however, if it is to our other group companies mail, or to internet email ids, they were not being sent. So, think it looks more like the lotus notes server settings.
    Another thing I noticed is that if either of the TO or the CC has an invalid address, then the mail is not being sent to both of them. I was expecting the mail to be sent to the valid adddress. For example, if the TO email ID is correct, and the CC email ID is incorrect, then the mail should be sent to email in the TO.

  • Is there throttling going on here? Constantly queued emails on Hybrid Exch 2013 server with error RecipientThreadLimitExceeded in message tracking logs...

    Please let me know if anyone knows an answer to this one... We're in a Hybrid Exchange environment, with 2 x Exchange 2007 servers,  and 1 x Exchange 2013 Hybrid server which is pointing to Office 365 for the purposes of relaying mail to O365 while we
    migrate our users out there.
    We have just finished migrating, but just a couple of days ago we started experiencing delays in email delivery to O365... Not all mail, but some!  Incoming email or locally generated email gets relayed out through the Hybrid server and out to O365, but
    not all email is delayed... only some, but it's constant.  During the busiest part of the day, about 200 messages are sitting in the Queue in Exch2013... but they all eventually resolve between 5 and 45minutes.  The users are not happy.
    The last error in the queue viewer for each hung email reads:  451 4.4.0 Temporary server error.  Please try again later.
    If I look at the message tracking logs, I find an interesting item -- "RecipientThreadLimitExceeded":
    2014-05-15T14:15:51.608Z,192.168.3.11,hydra,207.46.163.215,company-mail-onmicrosoft-com.mail.protection.outlook.com,RecipientThreadLimitExceeded,Outbound
    to Office 365,SMTP,DEFER,10307921510617,<[email protected]>,885ea3ce-a020-41b1-8950-08d13e58d6d3,[email protected],451
    4.4.0 Temporary server error. Please try again later,10117,1,,,Read: This is your generic subject line,[email protected],[email protected],2014-05-15T14:16:51.608Z,Undefined,,,,S:Microsoft.Exchange.Transport.MailRecipient.RequiredTlsAuthLevel=Opportunistic;S:Microsoft.Exchange.Transport.MailRecipient.EffectiveTlsAuthLevel=EncryptionOnly;S:DeliveryPriority=Normal
    I have tried to find some documentation on resolution for this RecipientThreadLimitExceeded error, but I can only come up with some Exchange 2011 documentation which recommends adding some entries to the EdgeTransport.exe.config file to bump up the RecipientThreadLimit
    value... I have not found anything pertaining to 2013.  I cannot even find any powershell commands to see what the current RecipientThreadLimit is on 2013!  Aghg!
    Has anyone seen this before, or have any recommendations?
    Thank you,
    Mike

    After many days of frustration, Microsoft Support finally resolved this issue.  Believe it or not, but the issue was actually on the Office365 side.  Here's the fix:
    Exchange Admin Center -> Mail Flow -> Connectors -> Inbound Connectors
    Open your "Inbound from <guid>" with the "On-premises" connector type
    Click on Scope -> scroll down to "Associated accepted domains"
    We had an entry in there "<organization>.mail.onmicrosoft.com"... Microsoft support had us remove this entry so that the box was completely empty.
    That RESOLVED it... amazing what what little entry could do.  We've had this entry in there for about 2 months, and it had been working fine.  Support acknowledged that several customers have had this issue, that they are working on getting it fixed
    on the back-end.
    Hope this helps somebody... 
    -Mike

  • Mobile Manager - Error Queue Email Notification

    I have a quick question regarding Mobile Manager and the Error Queue. Is it possible to setup an email notification when transactions hit the error queue? I know you can setup triggers on the CEQ$ tables but this wont be an efficient notification mechanism as certain transactions will affect multiple tables. I was hoping the Mobile Manager would have some sort of mechanism to handle this as our current method involves a user manually checking the Mobile Manager home page.
    Any help will be greatly appreciated and thanks in advance.

    There are three 'header' tables in the mobileadmin schema. C$IN_MESSAGES is the header for the in queue and is the same as C$EQ (except for the message text). C$INQ is the header for queue based publication items, and is different in that it has one record per uploaded publication item (ie: table), rather then one for each data record.
    Be aware that if you override any of the mobile repository stuff, a future upgrade or patch may revert things, should not be an issue in this case, but worth adding to the checks.
    We have some additional code in the logging triggers created on the underlying schema tables do be more specific about logging of changes in some generic tables, and these need to be re-applied after a re-publish

  • Enterprise push on email very delayed and interrupted

    I have owned the I phone 3G for 5 days. On about 10 occasions I press email and it says server not available. I am using Enterprise (I am a former blackberry user). This never happened (as far as I know with Blackberry enterprise..
    Also, the enterprise push soluiton that works so well with Blackberry seems like a massive battery killer with I phone 3 G - is that the price one has to pay for this device? I mean like if I spend half an hour on email on the Iphone3g, the battery is pretty much shot....

    I have had zero problems since day one with Exchange and no battery drain like you said. It sounds like either a server problem, or possibly you set it up incorrectly- it may be that they have different server settings for your iphone than for other portable devices- they did with my exchange server. The other choice is to do a hard reset and see if that fixes it. Hold down the home key and the top on-off button until it restarts and you see the Apple symbol.

  • Iphone 3GS with upgraded IOS 4 does not push new email (yahoo)

    Hi was wondering if anyone else was experiencing the same problem. I downloaded IOS 4 and have noticed in the past few days that my email (I have yahoo) does not push automatically. It receives it when I manually go into my email but I get no notifications/ sounds on the home screen. Help!

    I am not sure if this is the same probem ...
    I have a 3GS and down loaded OS4 a couple weeks ago ...
    This problem started this afternoon ....
    Once I access any of my 3 e-mail accounts ... no matter what I do it says "checking for mail" never finds any unless I turn the phone off and on ... but then it doesnt stop checking and just eats up the battery. I have done nothing different and loaded nothing to the phone in the past week ...
    It did this once before a few months ago in previous OS but turning the phone all the way off and back on fixed it ... now ... this is not fixing it.
    Is there another fix?

Maybe you are looking for

  • Apple says dvi ro adc adapters are the problem

    I posted with the correct title, exucse me missing our thr "to adc adaptor " part. anycase They sent this person with there mac mini, 22" plastic cinema display and DVI to ADC adapter to be looked at by 4 different centers in europe, no on-sight or p

  • Erattic connection using Graphite Airport Base station

    I have the Apple TV (new) and am connecting to it from a Graphite Airport base station (fairly old model). I'm streaming music to the stereo speakers (from another computer with iTunes in another room) and it works but seems slow to change tracks or

  • New Release - 15 July 2008

    Hello from the Buzzword Team - There is a new version of Buzzword as of 15 July 2008, with some exciting new features. Please see the Acrobat.com Blog for more details and discussion. The highlights of the new release: Spell Check in a number of non-

  • Chart not appearing in Interactive report

    Hi, I have a nice interactive report. When I try to display a chart using the tools of the report, nothing appears. There is only a message, a kind of progression message saying "loading xml..... 100%", and then nothing appears. I am using Applicatio

  • How to remove rumble in Audition CS5.5?

    I have demuxed a DVD and have converted the AC3 to WAV. At the moment I can't find any rumble in silence. Instead I have to try and carefully select rumble during a wrestling match by selecting it on the bottom of the spectral view. Then I do a noise