SSMTP send to dead.letter

Hi,
I use ssmtp and cron for send scheduled email to my email address
seem that only sometimes the email is actually sent, the other times it goes to dead.letter
checking in /var/log/mail.log
Sep 12 00:36:55 localhost sSMTP[2306]: Creating SSL connection to host
Sep 12 00:36:55 localhost sSMTP[2306]: SSL connection using ECDHE-RSA-RC4-SHA
Sep 12 00:36:59 localhost sSMTP[2306]: Sent mail for [email protected] (221 2.0.0 closing connection cu1sm4772851wib.6) uid=0 username=root outbytes=3540
Sep 12 02:00:26 localhost sSMTP[2843]: Creating SSL connection to host
Sep 12 02:00:27 localhost sSMTP[2843]: SSL connection using ECDHE-RSA-RC4-SHA
Sep 12 02:05:39 localhost sSMTP[2843]: killed: timeout on stdin while reading body -- message saved to dead.letter.
Sep 12 02:05:39 localhost sSMTP[2843]: Timeout on stdin while reading body
Sep 12 04:02:18 localhost sSMTP[3535]: Creating SSL connection to host
Sep 12 04:02:19 localhost sSMTP[3535]: SSL connection using ECDHE-RSA-RC4-SHA
Sep 12 04:07:21 localhost sSMTP[3535]: killed: timeout on stdin while reading body -- message saved to dead.letter.
Sep 12 04:07:21 localhost sSMTP[3535]: Timeout on stdin while reading body
Sep 12 14:32:27 localhost sSMTP[6982]: Creating SSL connection to host
Sep 12 14:32:27 localhost sSMTP[6982]: SSL connection using ECDHE-RSA-RC4-SHA
Sep 12 14:37:29 localhost sSMTP[6982]: killed: timeout on stdin while reading body -- message saved to dead.letter.
Sep 12 14:37:29 localhost sSMTP[6982]: Timeout on stdin while reading body
Sep 13 00:02:33 localhost sSMTP[10116]: Creating SSL connection to host
Sep 13 00:02:33 localhost sSMTP[10116]: SSL connection using ECDHE-RSA-RC4-SHA
Sep 13 00:02:38 localhost sSMTP[10116]: Sent mail for [email protected] (221 2.0.0 closing connection fb20sm15256872wid.1) uid=0 username=root outbytes$
why is it going to time out? is there a way for set a longer timeout?

Hello Serdar
This error is probably due to a bug on the MQ side. There is a MQ fix, 6.0.2.0.9, which has resolved this error. I recommend you contact MQ support for further details on this (or try applying the above MQ fix).
Regards
Mark

Similar Messages

  • Dead letter queue - QRFC.

    Hi All,
    Do you know if we can configure Dead Letter queue for qRFC ?
    As you know, In XI if one message fails in queue, XI will block all subsequent messages for the same queue. Is there any option that we can move that failed message to some Dead Letter Queue as well as trigger some alert so that other message from the same source system can continue processing.
    Thanks & Regards,
    Dijesh Tanna.

    Hi,
    I think in XI we already have the ALERT Framework to trigger various alert notifications based on failures.
    You can use this Alert Notification.
    About Dead letter queue, this can be applicable in other applications as those messages are interdependent on next messages.
    But in XI, subsequent messages are  independent, so rather than to allow it to fail, catch the error and send the message to a ‘dead letter’ queue. Its preferable to use the ALERT Framework.
    Thanks
    Swarup

  • Sending an urging letter.

    Hi,
    what is the trx for sending an urging letter?
    In ME91F I don't see nothing for doing this
    Best regards

    To send the urging letter you have to maintain the mateiral master for either purchase value key where the reminder is set on Purchasing screen or maintian in the inforecord
    If you have specified reminder levels under the item details of a purchasing document, the system is able to generate reminders and urging letters (expediters) automatically.
    You can enter up to three reminder levels. For example, the reminder levels 10-20-30 mean that urging letters are issued 10, 20, and 30 days after the due date for submission of a quotation or for the delivery of ordered goods. (Note: in the SAP System the term "reminders" is often used to denote such messages issued before the due date, whereas the term "urging letter" or "expediter" commonly stands for a perhaps more strongly worded admonitory message issued after the due date. However, this distinction is not consistent, and may not apply outside the SAP environment. The corresponding term for "urging letter" in the FI component is "dunning letter", and relates to overdue payments.)
    A negative number means that a reminder is to be issued prior to the deadline for submission of quotations or the delivery date for ordered goods. For example, if you enter 5- as the reminder level, a reminder will be sent 5 days prior to the quotation submission date.
    Prerequisites
    The message determination facility has been set up in Customizing for Purchasing.
    You can also work with the standard settings. For further information, see Tips for Fast Message Determination Set-Up in the Implementation Guide (IMG).
    Message records must have been created through master data maintenance (Purchasing menu).
    The purchasing document involved must have previously been transmitted to the vendor.

  • Configure backout queue and Dead letter queue in weblogic JMS provider

    Hi,
    How to configure the JMS backout queue and dead letter queue in weblogic JMS provider in weblogic application server console?
    Any links or documents are highly appreciated.
    Thanks.

    Thanks anon. When i say backout message the poisonous message , A poison message is one which cannot be processed by a receiving MDB application. If a poison message is encountered, the JMS MessageConsumer and ConnectionConsumer objects can requeue it according to two queue properties, BOQUEUE, and BOTHRESH.
    Normally this happens in the websphere MQ . Where we will configure the backout queue and dead letter queue.
    The dead letter queue was always used in MQSeries (the last time I used MQ) to store messages that arrived at the queue manager but the queue didn't exist. For eample, if the message was address to queue manager X and queue Y, it would arrive via a channel at manager X. If the receiver channel discovered there was no queue Y, it would be placed in the dead letter queue.
    The backout queue, on the other hand, is more of an application-level thing (at least in terms of MQ). When an MQ client cannot process the message for some reason, it can back it out for later processing (back to it's original queue).If it's backed out too many times (the threshold can be configured), it gets moved to the backout queue.
    The Dead Letter Queue behaves the same as a Backout. I treat the Dead Letter Queue as the Crematorium for messages that cannot be recovered in the Error or Backout queues and have some last, non-business specific data that need be collected. Once the info is captured, the message is put down for good. Backout is good for analyzing messages for data that may need to be recovered to completely reprocess or be sent back to an application area for them to decision on.
    How we configure these in weblogic server both Backout and Deadletter queue , whether this is a simple queue in which we will set the error destination in case of any poisonous message so that it will logged in those queue?
    Thanks.

  • Backout queue or dead letter Queue in MQ

    We need to monitor the backout queue in a J2EE environment. Can we treat the queue as a regular queue and have a consumer "listen" to the queue?
    Can we do the same way on the "dead letter Queue "?
    If yes, how we set up the JNDI?
    Your advice is greatly appreciated.
    Bsun.

    Thanks anon. When i say backout message the poisonous message , A poison message is one which cannot be processed by a receiving MDB application. If a poison message is encountered, the JMS MessageConsumer and ConnectionConsumer objects can requeue it according to two queue properties, BOQUEUE, and BOTHRESH.
    Normally this happens in the websphere MQ . Where we will configure the backout queue and dead letter queue.
    The dead letter queue was always used in MQSeries (the last time I used MQ) to store messages that arrived at the queue manager but the queue didn't exist. For eample, if the message was address to queue manager X and queue Y, it would arrive via a channel at manager X. If the receiver channel discovered there was no queue Y, it would be placed in the dead letter queue.
    The backout queue, on the other hand, is more of an application-level thing (at least in terms of MQ). When an MQ client cannot process the message for some reason, it can back it out for later processing (back to it's original queue).If it's backed out too many times (the threshold can be configured), it gets moved to the backout queue.
    The Dead Letter Queue behaves the same as a Backout. I treat the Dead Letter Queue as the Crematorium for messages that cannot be recovered in the Error or Backout queues and have some last, non-business specific data that need be collected. Once the info is captured, the message is put down for good. Backout is good for analyzing messages for data that may need to be recovered to completely reprocess or be sent back to an application area for them to decision on.
    How we configure these in weblogic server both Backout and Deadletter queue , whether this is a simple queue in which we will set the error destination in case of any poisonous message so that it will logged in those queue?
    Thanks.

  • If I send my Dead 30gb iPod in for repair can I upgrade to a 80gb one

    I was just wondering if there was an upgrade option If you have to send in a dead iPod.
      Windows XP  
      Windows XP  

    Yes, but the question still stands as to why they would want to do this when they can get you for the full price over again. It makes no marketing sense to give you a discount on something they know you will pay full price for. I'm not sure Apple is really looking to create a market in used or refurbished iPods. Their revenue is likely to be higher to charge you within an inch of your life for everything you buy and is what they seem to be doing. I agree that it would be a great boost to customer goodwill if they did something along the lines as suggested.
    Regards,
    Frodis

  • Sending Body of letter Through mail along with PDF file.

    Dear friends,
          I want to write some text in the mail(Body) while sending the PDF file.
              Now I am sending PDF file , besides PDF file I have to write some text in the mail.
                     Please help me .
                                                                            Thanks ,
                                                                              Praveen.

    here is sample code.... Check the perform set_up_email_body.....
    FORM send_mail .
    Set up the header,body ,file attachment of the message.
      PERFORM set_up_email_hdr.
      PERFORM set_up_email_body.
      PERFORM set_up_att_file.
      CLEAR: wa_objtxt.
      SORT t_fieldcat BY no_out col_pos.
    Set up patcking list for attachment
      wa_objpack-body_start = w_tabln + 1.
    Loop at report and separate by semi-colons
      CLEAR: w_tabln.
      SORT t_fieldcat BY no_out col_pos.
    Loop at report and append header values
      LOOP AT t_fieldcat INTO fs_fieldcat WHERE no_out = space.
        IF wa_objtxt IS INITIAL.
          wa_objtxt = fs_fieldcat-seltext_l.
        ELSE.
          CONCATENATE wa_objtxt
                      fs_fieldcat-seltext_l
                 INTO wa_objtxt
         SEPARATED BY c_comma.
        ENDIF.                             " IF WA_OBJTXT ...
        CONDENSE wa_objtxt NO-GAPS.
      ENDLOOP.                             " LOOP AT T_FIELDCAT ...
      IF sy-subrc EQ 0.
        APPEND wa_objtxt TO t_objtxt.
      ENDIF.                               " IF SY-SUBRC ...
    Fill Email attachment
      PERFORM fill_email_report.
      DESCRIBE TABLE t_objtxt LINES w_tabln.
      CLEAR W_LINE.
      READ TABLE t_objtxt INTO w_line INDEX w_tabln.
      IF SY-SUBRC EQ 0.
        fs_docda-doc_size = ( w_tabln - c_1 ) * 255 + STRLEN( w_line ).
        wa_objpack-body_num = w_tabln.
        wa_objpack-doc_size = w_tabln * 255.
        APPEND wa_objpack TO t_objpack.
    Add receipients to the mail.
        PERFORM add_recipients.
    send the mail
        PERFORM call_send.
      ENDIF.                               " IF SY-SUBRC EQ 0.
    ENDFORM.                               " SEND_MAIL
    *&      Form  add_recipients
          This subroutine is used to add receipients to send mail.
          There are no parameters passed to this subroutine.
    FORM add_recipients .
      IF p_user IS NOT INITIAL.
        wa_receiver-receiver = p_user.
        wa_receiver-rec_type = c_u.
        APPEND wa_receiver TO t_receiver.
      ELSE.
        wa_receiver-receiver = p_dlist.
        wa_receiver-rec_type = c_c.
        APPEND wa_receiver TO t_receiver.
      ENDIF.                               " IF P_USER ...
    ENDFORM.                               " ADD_RECIPIENTS
    *&      Form  call_send
          This subroutine is used to send the mail.
          There are no parameters passed to this subroutine.
    FORM call_send .
      IF t_objtxt[] IS NOT INITIAL.
    Send the mail.
        CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
          EXPORTING
            document_data              = fs_docda
            put_in_outbox              = c_x
            commit_work                = c_x
          TABLES
            packing_list               = t_objpack
            object_header              = t_objhead
            contents_txt               = t_objtxt
            receivers                  = t_receiver
          EXCEPTIONS
            too_many_receivers         = 1
            document_not_sent          = 2
            document_type_not_exist    = 3
            operation_no_authorization = 4
            parameter_error            = 5
            x_error                    = 6
            enqueue_error              = 7
            OTHERS                     = 8.
        IF sy-subrc NE 0.
          MESSAGE s100(ra) WITH text-e05.
          STOP.
        ELSE.
          MESSAGE s100(ra) WITH text-026.
        ENDIF.                             " IF SY-SUBRC ...
      ELSE.
        MESSAGE s100(ra) WITH text-029.
        STOP.
      ENDIF.                               " IF T_OBJTXT[] ...
    ENDFORM.                               " CALL_SEND
    *&      Form  set_up_email_hdr
          This subroutine is used to Setup the attributes of the Document
          There are no interface parameters to this subroutine.
    FORM set_up_email_hdr .
      MOVE text-i03 TO fs_docda-obj_name.
      IF sy-sysid+0(1) NE c_p.
        CONCATENATE text-i02 text-i03 INTO fs_docda-obj_descr.
      ELSE.
        MOVE text-i03 TO fs_docda-obj_descr.
      ENDIF.                               " IF SY-SYSID+0(1) ...
    ENDFORM.                               " SET_UP_EMAIL_HDR
    *&      Form  set_up_email_body
          This subroutine is used to set body of an email
          There are no interface parameters to this subroutine.
    FORM set_up_email_body .
    Setting the attributes of the document.
      IF P_ZCR3 EQ C_X.
        wa_objtxt-line = text-007.
      ELSEIF P_REL EQ C_X  AND P_CHECK NE C_X.
        wa_objtxt-line = text-008.
      ELSEIF P_REL EQ C_X AND P_CHECK EQ C_X.
        wa_objtxt-line = text-008.
      ELSE.
        wa_objtxt-line = text-009.
      ENDIF.                               " IF P_ZCR3 ...
      APPEND wa_objtxt TO t_objtxt.
      DESCRIBE TABLE t_objtxt LINES w_tabln.
      CLEAR W_LINE.
      READ TABLE t_objtxt INTO w_line INDEX w_tabln.
      IF SY-SUBRC EQ 0.
        fs_docda-doc_size = ( w_tabln - 1 ) * 255 + STRLEN( w_line ).
        wa_objpack-head_start = c_1.
        wa_objpack-head_num   = c_0.
        wa_objpack-body_start = c_1.
        wa_objpack-body_num   = w_tabln.
        wa_objpack-doc_type   = c_RAW.
        APPEND wa_objpack TO t_objpack.
      ENDIF.                               " IF SY-SUBRC EQ 0.
    ENDFORM.                               " SET_UP_EMAIL_BODY
    *&      Form  set_up_att_file
          This subroutine is used to set up an attachment file.
          There are no interface parameterst that need to be passed to
          this subroutine.
    FORM set_up_att_file .
    Attaching the file to the mail.
      wa_objhead-line = c_fname.
      APPEND wa_objhead TO t_objhead.
      wa_objpack-head_start = c_1.
      wa_objpack-head_num   = c_1.
      wa_objpack-body_start = w_tabln.
      wa_objpack-doc_type   = c_CSV.
      IF P_ZCR3 EQ C_X.
        wa_objpack-obj_name   = text-012.
        wa_objpack-obj_descr  = text-012.
      ELSEIF P_REL EQ C_X.
        wa_objpack-obj_name   = text-027.
        wa_objpack-obj_descr  = text-027.
      ELSE.
        wa_objpack-obj_name   = text-028.
        wa_objpack-obj_descr  = text-028.
      ENDIF.                               " IF P_ZCRE EQ....
    ENDFORM.                               " SET_UP_ATT_FILE

  • Send button dead on texts

    On certain phone numbers can't send texts.

    I'm noticing the same thing. When you "compose" a message the "send" button is on the tool bar, some for when you "forward" a message. But when you "reply" there is no send button. I'm sure it was there at one time. Maybe it disappeared in a recent update. You can use keys to send the message, but that is a bit of a pain. Anyone know how to get the "send" button back for replies?

  • Office: sending  a standard letter to customers contacts ...

    Hi All,
    I wonder if Sap allow to create a standard letter for the whole range of customers, letter different for each custmer only for the address data in the header.
    Thanks
    Gandalf

    hello
    There is a standar functionality for correspondance
    Please refer to
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/01/a9cf0d455711d182b40000e829fbfe/content.htm
    Regards

  • Dead letter key on keyboard.

    Letter key on keypad DOA. Any easy fixes?

    missL_bonita wrote:
    noting worked
    If you're sure you followed the steps under, "Some keys don't work as expected", check also System Preferences > Speech > Speech Recognition > Listening Key. If that's not it, then, no, I can't think of anything else except taking it to the store.

  • How can I send Apple a letter of complaint from my iPad?

    I have some serious problems with a new app that I recently purchased and am not exactly sure why Apple felt it was appropriate for the app store.  I would like to communicate this to Apple, but I have only found instructions that require me to sign into iTunes from a computer. Surely there's a way to do it from my iPad. Anyone know how?

    The parent can set up restrictions on the app store, or not tell them your Apple ID password. Inappropriate content should also come up with a warning saying that the material is suggested for people over 17 years old as well. There are plenty of ways to control your children on the iPad.

  • Send Dunning letter (TCODE F150) by email

    Dear Friends,
    I need to send a dunning letter(which is generating from tcode F150) through email to all the customers.I did BTE for event 00001040.function module is   SAMPLE_PROCESS_00001040. I copies above FM and rename as Z_RSAMPLE_PROCESS_00001040. I just add a break point statement and ran a F150 tcode. But it will not stoped at the breakpoint.
    I did FIBF settings also to register the modifications.
    Thanks
    Rasika

    How can i replace existinf FM with ZFM.
    What i did was i copied the existing FM to ZFM and activated it.
    After that i went FIBF Settings.....> Products.....>Customer and created a new Z product .
    *Again i took FIBF Settings.....>P/S Module......>of a Customer and add my ZFM to slected(00001040) event.
    After that i ran the F150 but break point did not apper.

  • It doesn`t let me send text messages

    when I go into my imessages I can type but my send button doesnt let me send.HELP

    Try:
    iOS: Troubleshooting Messages
    Is the addressee of the Message a registered Messages address and do they have an iDevice with iOS 5?

  • IMessage;it lets me send it but then come up with message failure?

    iMessage is not letting me send message it lets me send it but then says message cannot deliver ?!

    Try:
    iOS: Troubleshooting Messages

  • Cannot send/receive mail locally for cronie [solved]

    I installed the heirloom-mailx package so cronie can send messages but I cannot send a test message to myself.
    % echo "test" | mailx -s "test message" mags
    /usr/sbin/sendmail: No such file or directory
    "/home/mags/dead.letter" 9/210
    . . . message not sent.
    So I installed ssmtp after searching but that does not work either.
    % echo "test" | mailx -s "test message" mags
    % send-mail: Cannot open wallflower:25
    My /etc/ssmtp/ssmtp.conf:
    # /etc/ssmtp.conf -- a config file for sSMTP sendmail.
    # The person who gets all mail for userids < 1000
    # Make this empty to disable rewriting.
    root=mags
    # The place where the mail goes. The actual machine name is required
    # no MX records are consulted. Commonly mailhosts are named mail.domain.com
    # The example will fit if you are in domain.com and you mailhub is so named.
    mailhub=wallflower
    # Where will the mail seem to come from?
    #rewriteDomain=y
    # The full hostname
    hostname=wallflower
    Thank you for any help you can provide.
    Last edited by maggie (2013-10-05 15:21:00)

    http://unix.stackexchange.com/questions … y-for-cron
    Edit: Tried https://aur.archlinux.org/packages/dma/ - works:
    $ ls -l /usr/bin/sendmail
    lrwxrwxrwx 1 root root 3 Oct 2 01:23 /usr/bin/sendmail -> dma
    $ echo "foo" | mailx -n -s "test" karol
    $ mail
    Heirloom Mail version 12.5 7/5/10. Type ? for help.
    "/var/spool/mail/karol": 1 message 1 new
    >N 1 karol@black Wed Oct 2 01:25 17/447 "test"
    Last edited by karol (2013-10-01 23:28:30)

Maybe you are looking for