Redirecting undeliverable message

Hi,
is there a header I can set to send the underliverable messages to a different address? i tried all of the following headers and none works:
Return-Path,X-Return-Path,Content-Return,Disposition-Notification-To. To send the delivery reports I used Disposition-Notification-To but this works for read receipts only. If I change the to field to an email address that doesn't exist, the delivery report error comes back to however is in the From field. And I need it to be sent somewhere else....is that possible?
10x

You should set the "envelope from" address. See the com.sun.mail.smtp package
javadocs for several ways to do this. You can set it in a property, or you can use
the SMTPMessage class to set it.

Similar Messages

  • UTL_SMTP redirect undeliverable messages to a different address

    Hi everyone,
    I am using UTL_SMTP to send out email messages. The email address I am sending this from is a high profile address and he does not want to receive bounce back message about underliberable email.
    Is there functionality n UTL_SMTP to re-direct these underliverable messages to a different email address?
    Thanks

    user13118348 wrote:
    Hi everyone,
    I am using UTL_SMTP to send out email messages. The email address I am sending this from is a high profile address and he does not want to receive bounce back message about underliberable email.
    Is there functionality n UTL_SMTP to re-direct these underliverable messages to a different email address?In short, No.
    Once an email is sent via Oracle it goes to an SMTP server (email server) from where it get's sent on to the destination email server to attempt delivery.
    If an address is undeliverable, the message comes back to the sending email server from where the owner of the address can see the message.
    Nothing comes back from the mail server to Oracle and there's no way it can. Once Oracle has sent the message outbound to the mail server it's no longer anything to do with Oracle (you will know this because your procedure will return control to the next line of code etc.) Whether an email address is undeliverable or not isn't something that is known until the destination email server receives the message or after several attempts by the sending server etc., and that could take a matter of minutes, hours, or even days before it's known. You can't expect the email server to somehow report that back to Oracle.
    So, options are...
    Provide a sender email address in your message that isn't this persons email address, so anything coming back goes somewhere else (or automatically in a trashcan), or
    Set up mailbox rules on this persons email account so that any "undeliverable" messages automatically get put to a certain folder, or deleted or whatever.
    The issue needs resolving at the email server side of things, not Oracle.

  • Redirect undeliverable mail to avoid backscatter?

    Hi,
    I'm migrating from an old Sun server "appliance" and there was a way to redirect any undeliverable messages.
    We got tons of spam coming to addresses like [email protected] when there was no Fred at our company. So the messages would bounce to the fake "from" addresses and then we got flagged for spamming and blacklisted for backscatter.
    So I found that I could just redirect all the meassges to an unused address and I would just dump the mail file periodically. No spam bouncing back out.
    The mail settings in ML server are so minimal, I can figure out if there's a way to do this. Is the spam filtering supposed to handle this?
    I'm just worried that our old problem will come back when I replace the old server with this new ML server mini.
    Thanks,
    Scott

    I actually have a Snow leopard server where I thought this was not an issue so I tried a test on that sending a test to [email protected] and I got this back:
    This is an automatically generated Delivery Status Notification. 
    Delivery to the following recipients was aborted after 1 second(s):
      * [email protected]
    Is this a bounce or reject? Because it came back to me it seems like a bounce since if it had been sent by a spammer with my from address, it came to me like backscatter.
    One thing I notice though is that it was from my ISP, not the server I sent it to:
    Mail Delivery System <[email protected]>

  • How can I redirect all messages to 2 another mail servers?

    Hi all
    ./imsimta version
    Sun Java(tm) System Messaging Server 7.3-11.01 64bit (built Sep 1 2009)
    libimta.so 7.3-11.01 64bit (built 19:54:45, Sep 1 2009)
    I wanted to redirect all messages(in and out) to another mail server, I configured as follows,
    - imta.cnf
    ! tcp_local
    tcp_local smtp mx single_sys ....... sourcefilter file:///backother.filter
    ! tcp_intranet
    tcp_intranet smtp mx single_sys ....... sourcefilter file:///backother.filter
    - backother.filter
    require ["fileinto"];
    if address :all :matches ["From"]["*"]{
    redirect "[email protected]";
    keep;
    stop;
    One e-mail account receives all messgaes and those messages will be kept in sender's or receiver's mail storage.
    I want , however, redirect all messages 2 or 3 mail servers.
    I tried several things to do this include edit backother.filter(this is written in Sieve ), but I failed.
    Is there any way to redirect messages to another mail servers?
    Any way would be good , using sieve script, make antoher channel or channel keyword
    Thanks
    Edited by: leeky41 on Mar 9, 2010 10:58 PM
    Edited by: leeky41 on Mar 9, 2010 11:06 PM
    Edited by: leeky41 on Mar 9, 2010 11:07 PM

    leeky41 wrote:
    Redirecting the message means it will not be delivered to the original recipient.I know so I wrote 'keep' keyword to deliver messages to the original recipient.
    capture "[email protected]";
    I tested it but the capture's behavior was very weird, subject had changed to something like,'deliverd status notice', sender had changed to postmaster and additional notice messgae inserted into mail body.The default sieve capture action encapsulates the email to keep a copy of both the envelope information and the original message. MS7u3 also supports the Exchange journal encapsulation format through the addition of the ":journal" parameter.
    I edited 'capture' like this..
    capture :message "[email protected]";
    The ":message" flag removes the encapsulation -- therefore you will have no idea of who the original sender/recipients were as the envelope information has been discarded.
    It worked fine. It was same as the result of 'redirect'.
    but the following line, sent10 messages to each recipients.(receive_01,receive_02)
    capture :message "[email protected],[email protected]";
    maybe there was some 'loop' actions happened.The email produced by the capture sieve action is being "captured" which is resulting in a loop. You can stop this by adding an envelope test e.g.
    require ["envelope"];
    if not envelope :is ["to"] ["[email protected]","[email protected]"]
            capture :message "[email protected]";
            capture :message "[email protected]";
    }Regards,
    Shane.

  • I want to delete my mobile me account not just from my iPhone but from existence. I want to delete it so that no emails can be received to it, and the sender would receive an undeliverable message. Is this possible?

    I want to delete my mobile me account not just from my iPhone but from existence. I want to delete it so that no emails can be received to it, and the sender would receive an undeliverable message. Is this possible?

    No, you can stop using the account, but you cannot delete it.

  • Kmail doesn't correctly redirect html messages

    Hey everyone,
    I would like to redirect an HTML message that comes into my KMail as a MIME email.  In KMail, the original message has two body parts in the bottom pane, one Plain Text and one HTML.  However, when I redirect the message, it puts the Plain Text part as the body part and makes the HTML part an attachment.  Is there a way to perfectly maintain the HTML message when redirecting?  Thanks!

    Sorry if I wasn't clear... the navigation works correctly; I get to the page I'm tyring to get to.  One of the things that page should do is display an image, the I use a URL parameter to build the image file name to retrieve.  The link in the first page is something like <a href="gallery.php?pg=1">.  Works fine if the first page (the one I'm navigating from) is a PHP page, doesn't work (with the same code which is only HTML) if the page is an HTML page.

  • Redirecting the message Max User Limit Reached to page

    Hi Gurus,
    We have set a user limit parameter in portal to limit the no of users logging into portal at a time...This parameter was set for each server node.
    Now as soon as the limit reached on any of the sap server, then that triggers the message to the new user that "MAX_USER_LIMIT_REACHED".
    We wanted to redirect this message/page to a different page where we say that user has to try after 15 minutes as the system is loaded now....
    Can Anyone help me in knowing how to get this message/page redirected.
    Regards,
    Radhe.
    Edited by: radhe# on Mar 12, 2010 6:56 AM

    Hi I am not sure at all .....though I do know IMgur means an Internet Image sharing website....Are you actually trying to log into My O2? http://www.o2.co.uk/myo2Maybe you need to contact O2 and ask them to look at reprovisioning your account. Its the only other thing I can think of. I presume you have rebooted your phone numerous times?http://www.o2.co.uk/contactus
     

  • Why do I receive "Undeliverable" messages when I sent no emails to the party involved?

    I am receiving these "undeliverable" messages which are sent to German locations. They are all in German and they were not sent from my computer. Should I be worried? How do I bring this to an end?

    http://en.m.wikipedia.org/wiki/Backscatter_(email)

  • Could I redirect a message passing by the conversion channel

    I Have IMS 5.2 p1, and I am searching about how I can forward a message to a certain mailbox depending on the message attachment. I can only delete the attachment, or hold the message. but cannot redirect the message to another destination recipient ?
    Is there a way to do this ?
    Please if anyone could help, it is very urgent.
    Thanks.

    I Have IMS 5.2 p1, and I am searching about how I can
    forward a message to a certain mailbox depending on
    the message attachment. I can only delete the
    attachment, or hold the message. but cannot redirect
    the message to another destination recipient ? Actually you probably could redirect this by using
    a sieve filter easier than a conversion channel.
    But it is possible if you write the appropriate
    headers replacing the envelope to: be the new
    recipient you could "forward" the message I believe.
    For detail support of this nature, I suggest
    you call support who can better diagnose
    what it is you're trying to do and how best
    to accomplish it.
    >
    Is there a way to do this ?
    Please if anyone could help, it is very urgent.
    Thanks.

  • How to block the undeliverable message internally?

    How to block undeliverable message internally in case the internal sender sent email to one oversize internal recipient?
    Thanks a lot

    Exchange 2010/Outlook 2010
    Sorry for posting in such an old thread, but I have a similar issue:
    We have a mailing list account that receives thousands of Undeliverable messages every day.
    Could I use ECS to tell Exchange to Reject Messages From "MicrosoftExchange[long string]@domain.com?
    What would happen to the Undeliverable messages? Are there any problems with this?
    Thank you!
    -R
    Edit: that solution did not block the DSNs.
    I also tried creating a transport rule to delete all e-mail going to that account, but that only worked for personal e-mails, not DSNs.
    One solution I was able to come up with was to set a mail rule that sends everything to a subfolder. This will prevent the mailbox from hitting the "100,000 items in critical path folders" best practice.
    The second solution I am testing is to create a Mailbox Retention Policy to permanently delete all items older than 7 days.

  • Undeliverable messages. Error is [0x80040107-0x80040107-0x000501]

    User reported undeliverable messages, sent to external email addresses.  All bounced back messages have the same notification message:
    "This message could not be sent. Try sending the message again later, or contact your network administrator. The client operation failed. Error is [0x80040107-0x80040107-0x000501]"
    I am trying to track down the error codes and have found nothing on this particular code sequence.  Is there a Error code guide that might provide some insight?
    Thank you

    Jesper,
    Thank you for the response, sorry it took so long to get back.  I am trying to track down any documentation that might tell me what this error code is:
    [0x80040107-0x80040107-0x000501]
    However, here is the information you asked about:
    Machines: Windows 7 Enterprise SP1, 64bit
    Outlook Client: Outlook 2013 (15.0.4667.1000) 32-bit, Symantec Outlook Integration Disabled, mailboxes partially cached (1month)
    Exchange Design:Exchange 2013 SP1, Win 2012 server 1 DAG, F5 load balancer, serving up autodiscover and email connectivity. Client not local to the Exchange servers, connected by 3x 10MB links
    Single user reported issue emailing to 2 external email accounts.
    Let me know if you need more informaiton
    Thank you
    Stephen

  • Exchange 2007 when sending a calendar invite, a non-existent delegate shows up in an undeliverable message

    I had a test user that was removed. When it was removed, it was still listed as a delegate on someone's email. Now, whenever a Calendar invite is sent to the existing user, the sender receives an undeliverable message. The existing user does not receive
    notification of a calendar event, but the event does show up in the calendar.

    Hi,
    If the delegate user account or mailbox has been removed from domain or Exchange server, please also remove the delegate settings with this account.
    If a user is set as a delegate for a manager, the meeting request which is send to the Manager would be forwarded to the delegate automatically and ask for approving in the delegate side.
    Please do the following steps in the Manager’s Outlook client to remove the delegate settings for this non-existent delegate:
    1. Open the Manager’s Outlook.
    2. Click File > Account Settings > Delegate Access.
    3. In the Delegate list, click the non-existent delegate, click Remove.
    4. Click OK to save the settings.
    Then check whether the issue persists.
    Regards,
    Winnie Liang
    TechNet Community Support

  • Howto to filter russian undeliverable-messages?

    We got hundreds of such messages this weekend:
    Ihre Nachricht hat einige oder alle Empfänger nicht erreicht.
    Betreff: Новинка на рынке баз данных
    Gesendet am: 06.04.2008 18:56
    Folgende Empfänger konnten nicht erreicht werden:
    [email protected] am 06.04.2008 20:43
    Das E-Mail-Konto ist in der Organisation, an die diese Nachricht gesendet wurde, nicht vorhanden. Überprüfen Sie die E-Mail-Adresse, oder setzen Sie sich direkt mit dem Empfänger in Verbindung, um die richtige E-Mail-Adresse herauszufinden.
    - mail.test.kolomna.ru #5.1.1 X-Postfix; unknown user: "[email protected]" -
    Is it possible to activate a Content Filter for mails with characters like this:Новинка на рынке баз данных
    How could I create a filter-combination with 'undeliverable-messages' and foreign characters like the above one?

    Could you please tell me some practical advantages/disadvantages about "bounce verification"?
    The advantage is easy - you'll never get a bounce for a message that didn't actually originate from your network. Only bounces that are for a message that passed through one of your IronPort's on the way out will be allowed back into the network. This means that real bounces still make it, but bounce spam/etc don't.
    There are a few disadvantages, which can basically be put into two categories. These may or may not effect you - it just depends on your environment.
    The first is that for BV to work, all mail from your domain needs to go out through your IronPorts. For most companies this shouldn't be an issue - you really dont want your staff sending email "from" your company, but originating outside of your network. For an ISP or the like this is different, and much harder to enforce. Outgoing mail that doesn't go through the IronPort's will still work - but if it bounces then the bounce will be blocked as invalid.
    The second problem is that although BV is fully RFC compliant in what it does, some remote hosts have issues with how it's implemented. Generally these are very few and far between, and can be handled relatively easily with a whitelist. Unfortunately there's very little IronPort can do for these corner-cases as the problem is isn't on our end - it's on the remote end.
    All of this presumes that the message is actually a "bounce" (ie, an NDR). If it's just a normal message that is made to look like a bounce then BV doesn't help - but in that case you should be forwarding the message through to [email protected] so that we can write a rule and get it pushed out.

  • I send an email to several people and I get an undeliverable message, how do I know which one is undeliverable

    I send out a news letter for the Lions Club and involves 30 different people. Sometimes I get an undeliverable message and I don't know which address did not get delivered. How can I find out which one was not delivered so I can make sure I have all the correct data.

    Don't you get a full report? the message text look like this from my isp.
    The following message to <[email protected]> was undeliverable.
    The reason for the problem:
    5.1.0 - Unknown address error 550-'5.1.2 <[email protected]>: Recipient address rejected: Domain not found'
    Reporting-MTA: dns; ipb1.telenor.se
    Final-Recipient: rfc822;[email protected]
    Action: failed
    Status: 5.0.0 (permanent failure)
    Remote-MTA: dns; [213.150.xxx.xx]
    Diagnostic-Code: smtp; 5.1.0 - Unknown address error 550-'5.1.2 <[email protected]>: Recipient address rejected: Domain not found' (delivery attempts: 0)

  • I keep getting an redirect error message.

    Hi all,
    I keep getting this message on my desktop computer:
    "The page isn't redirecting properly. Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
    This problem can sometimes be caused by disabling or refusing to accept cookies."
    I followed the instructions provided on both of these websites below, but nothing worked. I thought it was the google redirect virus, but when I scanned my desktop with Norton's 360, nothing comes up. I think its the google redirect virus because when I open Firefox the status bar at the bottom left says "waiting for google.ca" and in the address bar is "www.google.ca/?gfe_rd=cr&ei=U_eEU67DOYTm8gaTI4HYDQ"
    Also, Internet explorer also tries www.google.ca, but just freezes.
    Websites that I have tried:
    https://support.mozilla.org/en-US/questions/985967#answer-532264
    http://kb.mozillazine.org/The_page_is_not_redirecting_properly
    Thanks for our help!!

    You can try to delete a possible user.js file and numbered prefs-##.js files and rename (or delete) the prefs.js file to reset all prefs to the default value including prefs set via user.js and prefs that are no longer supported in the current Firefox release.
    *http://kb.mozillazine.org/Preferences_not_saved
    *http://kb.mozillazine.org/Resetting_preferences
    Clear the cache and cookies only from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > "Use custom settings for history" > Cookies: "Show Cookies"
    If clearing cookies didn't help then it is possible that the cookies.sqlite file that stores the cookies got corrupted.
    *Rename (or delete) <b>cookies.sqlite</b> (cookies.sqlite.old) and delete other present cookies files like <b>cookies.sqlite-journal</b> in the Firefox profile folder in case the file cookies.sqlite got corrupted.
    You can use this button to go to the currently used Firefox profile folder:
    *Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
    *http://kb.mozillazine.org/Cookies
    *https://support.mozilla.org/kb/Deleting+cookies
    *http://kb.mozillazine.org/The_page_is_not_redirecting_properly

Maybe you are looking for