Config OES/sendmail to forward email from/to Exchange Server

Hi
I have installed an OES on a Red Hat ES 3.
But on my network i have a Exchange Server that send/receive all emails. And i cannot change here nothing(company rules). Now what i need to do? I need to config the Linux sendmail to relay on the Exchange Server(the exchange is now configured relay on Linux) to forward the emails that i need.
I only need this to one email account e.g [email protected] The Oracle Email Server is running, but i need to config the Linux to forward the email to the Exchange Server, and go to outside. Also i need that receiving an email to [email protected] that my Linux receive this email from the Exchange Server.
I have configured the sendmail.cf like Oracle says on the Administrator’s Guide manual. I have add the ip and name of the Exchange on /etc/mail/access to relay. But still i cant send emails outside. If i test the sendmail -v testuser, and all says ok. I have tested telnet domain 25, and all went ok.
I think the only problem is forward the oes to exchange to forward outside
Any help
Many thanks
Thank you
Jail

Hi andreas
Yes i also think that it maybe resolved by an alias and forwarding
Th COM is the domain in the OES is the com default. Is this domain that you referring?
The company domain that is in the OES(e.g xpto.com) is the same that is in the Exchange. Do you think this will be a problem? Must i create one like oes.xpto.com? To work with the OES?
I have created a relay on the access file, but is this ok? Or must i need change anything else? Mean while i will check that url
And yes i can connect to the Exchange on port 25 from the RH
Since i have several user/account created on the OES, the only think that i did not understand yet is how can they receive any email?
The fax@domain was a example. But i can collect all outside emails from that account and with some rules forward to any other OES account? I think this is possible? Or this is the hard way to configure the OES?
Thank You
Jail

Similar Messages

  • How to read emails from Microsoft Exchange Server

    I have microsoft exchange server and I want to read emails from microsoft exchange server. There is no POP3 server. So is it possible?
    If it is possible to read emails from microsoft exchange server then please give me some idea.
    Thanks
    Santanu

    santanu wrote:
    Hi,
    My company is using Microsoft exchange server.
    IMPA and POP3 has been disabled, but my requirement is I wan to read email.Then ask the administrator of the server to enable IMAP. If you have a valid business requirement to do that, there would be no reason for the administrator to refuse.

  • I am unable to open some emails from an exchange server.

    Since I updated to iOS7 I have been unable to download most emails from a work exchange server. In most cases it appears to be downloading the message yet nothig appears after a lenghty wait.

    A reset of the device is a good first step:
    Hold the home button + the lock button for about 10-12 seconds until the Apple logo appears.  You will not lose any data or current settings.
    If you have already done this and it didn't resolve the issue, try remove the email accound and then re-add it.

  • Readinjg mail from Microsoft Exchange Server

    Hi,
    I neeed java code to read emails from Microsoft Exchange Server.Can somone please share the code.
    Thanks in Advance
    Rama

    Thank you very much for the reply.
    I tried to write the code .At one place I am getting the below error.
    DEBUG POP3: server doesn't support TOP, disabling it
    Exception in thread "main" java.lang.NoClassDefFoundError: javax/activation/DataSource
         at com.sun.mail.pop3.POP3Folder.createMessage(POP3Folder.java:333)
         at com.sun.mail.pop3.POP3Folder.getMessage(POP3Folder.java:314)
         at javax.mail.Folder.getUnreadMessageCount(Folder.java:761)
         at InboxReaderIMAPLast10.main(InboxReaderIMAPLast10.java:41)
    Pls help me in fiding the reason
    Rama

  • My phone has been working fine untill the other day. I can't receive forwarded email from my home computer?.

    My phone won't accept forwarded emails from my home computer. Also when I go the my gmail account at work the emails arn't there eather, why and cane someone help with a suggestion?

    Your iCoud account remains in iCloud even if your device is restored.  (In fact, you can't delete an iCloud account from iCloud, you can only choose to stop using it.)  If the device is restored, or it may no longer be signed into your iCloud account but your account will still exist in iCloud.

  • I can't forward emails from my hotmail account on my iPad.

    Hi there. I'm hoping someone can help me. I can't forward emails from my hotmail account on my iPad. When I try to click on more it won't open up. Any ideas?
    Thanks in advance

    Try a Reset [Hold the Home and Sleep/Wake buttons down together for 10 seconds or so (until the Apple logo appears) and then release. When the screen goes blank then power ON again in the normal way.] It is 'appsolutely' safe!

  • Automatically forward emails from hotmail

    Is there anyway in which I can automatically forward emails from certain people from my hotmail/live account to mail.app?

    No, you can't do that; Hotmail does not allow it. Gmail is a much better alternative.
    Mulder

  • Creating accounts and receiving email from a mail server

    Hi,
    I'm wanting to create a web application that creates a new email account for a user when they sign-up on my website. My application will process any email that is sent to that email address and extract parts of the email to store in a database.
    I think I can use JavaMail to poll the email accounts for new emails which will then be parsed and inserted into my database but I don't know how to programmatically create the email account for each user. I'm looking at using either sendmail or postfix as my mail server and this is on either *nix or os x.
    Any advice/pointers to Java APIs would be appreciated. If there's nothing available in Java that can do this kind of thing I'd love to hear about other solutions people know of or think might work :)
    Thanks!
    - E

    Hi there!
    Do the following
    message.setFlag(Flags.Flag.DELETED,true);
    folder.close(true);
    store.close();
    these 3 statements will delete email from the mail server.
    get back to me after u try this.
    ciao
    vivek

  • My husband has retrieved emails from my exchange email account. I deleted them from the trash bin. How is he doing this?

    My husband has retrieved emails from my exchange email account. I deleted them from the trash bin. How is he doing this?

    shannon284 wrote:
    My husband has retrieved emails from my exchange email account. I deleted them from the trash bin. How is he doing this?
    OK, let's come back to the original issue; how are deleted messages retrievable?
    First, is the account set up as an Exchange account or a POP account? I'll assume it's Exchange. If it were POP the answer is obvious.
    If it's an Exchange account are you deleting the messages from the phone or from some other computer? If you are deleting them from another computer they will not be removed from the Trash folder on the phone until the phone next syncs AND the Trash folder is opened. But this will take time. You can force the Trash folder to sync in near real time by going into Settings/Mail,Contacts,Calendars, tap on the Exchange account, tap on Mail Folders to Push and check "Deleted Items". Note that doing this will result in increased data usage and reduced battery life.
    If I haven't described the situation tell me what assumptions I made that are incorrect.

  • Thunderbird stopped downloading emails from the web server and now when I try to add a new account I get a message to say it cannot find the email server.

    Thunderbird was working and then for no reason it stopped downloading emails from the web server. I can access my emails in the web server okay. I have tried to remove my account and then add it again as a new account but I get a message saying that Thunderbird cannot find the email server. I have also tried to uninstall and reinstall Thunderbird but with the same result. I have also tried to remove the default mail server but have been unable to do so. How can I fix this?

    I figured out a workaround.... Since I can get e-mails to populate via iSync and my other computer is running Leopard (it's a powerpc chip and can't run Snow Leopard), I added the account on the other computer and got the new account to populate into my SL machine with iSync. I don't like that I can't actually add the account directly, but at least this got me working.

  • The mail client at my iPad Air can't download emails from a POP3 server!?

    why can't the mail client at my iPad Air download emails from a POP3 server!?

    Follow the directions in this post to create a POP account:
    Forcing creation of a POP or IMAP email account

  • Send iCloud email from alternative smtp server?

    How do I send iCloud email from alternative smtp server? The setting is 'greyed out' on my iPhone so I cannot tell iCloud to use another server.
    The reason is so I can have my outgoing email appear from my own domain email address rather than my me.com address. Mobileme would allow this - and Mail on the Mac does allow it, but the iPhone under iOS 5 seems not to allow it....
    Any ideas?

    I have spent about 4-6 hours working directly with folks from Tim Cooke's office, various support levels, and through them their engineers.
    As much as I tried to convince them their logic is flawed, the engineers for iCloud come back and say this is expected behavior because somehow it helps secure iCloud from being a spam source. The fine and helpful gentleman from Cooke's office now understands how it is a MobileMail.app client issue, having nothing to do with iCloud servers (because we are in fact trying to bypass their servers) still totes the "it's expected behavior" line from the server engineers.
    I have implored him to follow up with the iOS MobileMail app programmers and not the iCloud programmers. I am hopeful he will. Until then you have to choose between having iCloud push and losing your online identity, or losing push email and keeping your preferred address.
    Fun to try: turn off all smtp servers. Send email. Gets stuck in outbox. Turn on your preferred smtp server. That one email will use your preferred alternate address, but subsequent ones revert back to the old .me.com smtp servers. Personally I believe this points to a client programming error more than reinstating a preferred behavior. Aggravating!
    I spend $500 on a new phone. Google takes away my exchange client ability and apple makes me choose push email vs outgoing email address.

  • Reterieve/download email attachments from MS Exchange Server

    Hi,
    Is there a way to check for new emails and download any attachements from MS Exchange Server. I want to check for any new emails from some specific contact, then check if there are any attachments, if any attachments i.e. .txt,.doc,.zip etc. I then want to download and save them on a filesystem. Can someone please help me out how to proceed and small example will help. Thanks

    Hi,
    I tried connecting to he server but keeps getting the following error.
    javax.mail.AuthenticationFailedException: There is no such mailbox on this server
         at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:104)
         at javax.mail.Service.connect(Service.java:256)
         at javax.mail.Service.connect(Service.java:135)
         at javax.mail.Service.connect(Service.java:87)
         at mypackage.Fetch.main(Fetch.java:26)Here is the sample I am using:
    package mypackage17;
    import java.io.*;
    import java.util.Properties;
    import javax.mail.*;
    import javax.mail.Flags.*;
    import javax.mail.internet.*;
    public class Fetch {
      public static void main (String args[])
          throws Exception {
        String host = "mail.some.com";
        // Get system properties
        Properties props = System.getProperties();
        props.put("mail.pop3.host", host);
        // Setup authentication, get session
        Authenticator auth = new PopupAuthenticator();
        Session session = Session.getDefaultInstance(props, auth);
        // Get the store
        Store store = session.getStore("pop3");
        store.connect();
        // Get folder
        Folder folder = store.getFolder("INBOX");
        folder.open(Folder.READ_WRITE);
        // Get directory
        Message message[] = folder.getMessages();
        for (int i=0, n=message.length; i<n; i++)
           System.out.println(i + ": " + message.getFrom()[0] + "\t" + message[i].getSubject());
    try
    Object o = message[i].getContent();
    /*On Mail system when you recive a mail with attachment the format of the message is a multipart/mixed*/
    if (message[i].isMimeType("multipart/mixed"))
    Multipart mp = (Multipart) o;
    int cnt = mp.getCount();
    for (int j = 0; j < cnt; j++)
    Part part = mp.getBodyPart(j);
    System.out.println("********** " + part.getFileName());
    String disposition = part.getDisposition();
    if ((disposition != null) && ((disposition.equals(Part.ATTACHMENT) || disposition.equals(Part.INLINE))))
    InputStream is = null;
    File tempFile = new File("C:\\Samples\\" + part.getFileName());
    FileOutputStream fos = null;
    try
    fos = new FileOutputStream(tempFile);
    is = part.getInputStream();
    int byteCount = 0;
    byte[] bytes = new byte[128];
    while ((byteCount = is.read(bytes, 0, bytes.length)) > -1)
    { //use full read() method for GZIPInputStream to be treated correctly
    fos.write(bytes, 0, byteCount);
    finally
    try
    if (fos != null) fos.close();
    catch (IOException ioe) {}
    try
    if (is != null) is.close();
    catch (IOException ioe) {}
    message[i].setFlag(Flags.Flag.DELETED,true);
    System.out.println("Deleting Message");
    catch (MessagingException mex)
    //Work with the exception
    catch (java.io.IOException ioe)
    //Work with the exception
    folder.close(true);
    store.close();
    System.exit(0);
    package mypackage;
    import javax.mail.*;
    import javax.swing.*;
    import java.util.*;
    public class PopupAuthenticator
        extends Authenticator {
      public PasswordAuthentication
          getPasswordAuthentication() {
        String username, password;
        String result = JOptionPane.showInputDialog(
          "Enter 'username,password'");
        StringTokenizer st =
          new StringTokenizer(result, ",");
        username = st.nextToken();
        password = st.nextToken();
        return new PasswordAuthentication(
          username, password);
    }Can someone help what is wrong that I am unable to connect. Thanks

  • How to poll emails from a SMTP server

    Hi, It seems all the examples I found were to construct/send emails to SMTP server. How to build a module to retrieve emails from a SMTP server and then extract the info? I checked the javax.mail.Transport
    class and could not find method such as getMail or getMessage. Thanks,

    Close but so far... ;)
    You'll want to check out the rest of the [url http://java.sun.com/products/javamail/javadocs/index.html] JavaMail API classes . In particular take a look at the Store and Folder classes.
    One last thing - here's a really good [url http://java.sun.com/developer/onlineTraining/JavaMail/] tutorial  that may help.
    &#8734; brewman &#8734;

  • How can I read a email from a POP3-Server?

    Hallo,
    I want to read emails from a POP3-Server.  Also attached files.
    I use LabVIEW 7.0 and the Internet toolkit.
    Any suggestions?
    Thank you
    Thomas

    Hallo Thomas,
    2 suggestions :
     - first go to Help >> Seach examples... and search for pop mail, no doubt you'll find somtehing.
     - then have a look at that thread, there are some informations you might want to know before coding
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"

Maybe you are looking for

  • Change Customer Reconciliation Account

    I need some assistance in verifying the steps for changing Recon account for a group of customers. Scenario.  We have a group of customers (about 60) who have postings to them.  Some of the posting are open and some are cleared.  We need to change th

  • Spry dataset problem. Image dimensions with css

    Hey guys. I'm new to spry, and not an experienced web designer with beginner knowledge in programming. I am using a spry data set to make a blog kind of interface. I'm using a master/detail layout from the Dreamweaver presets. I am using html, not xh

  • HT201444 my phone is swich off when i try to open it show itunes

    firstly my phone 4s need to update to ios 8 after to update make in mastake after i make in restart but i cant swich on now just show itunes i try to make update but it still seeping what can i do plaise tell me

  • PLSQL - Like statment

    can i add parameter to like statment in PLSQL code : select * from abcd where any_value like '%input parameter %' thanks

  • Please help to find the correct answers

    Hi, Please send an url to study about the below questions with short and easily understandable explanation with simple example.Please help to improve my knowledge for the below concepts. 1.     String 2.     String Buffer 3.     String Builder 4.