Sender UID validation

Hi
I have configured messaging server 7.0 in Solaris 10 on single host.
We need help to send internal mail by validated UID only.
We have configured more then one domain.
Is it possible? If yes, what steps require?
Pl. reply.
Thanks
Prem

Hi Shane,
Thanks for reply.
The output of "./imsimta version:
+Sun Java(tm) System Messaging Server 7.0-0.04 32bit (built Jun 20 2008)+
+libimta.so 7.0-0.04 32bit (built 01:01:00, Jun 20 2008)+
+Using /opt/sun/comms/messaging/config/imta.cnf+
+SunOS mail 5.10 Generic_120012-14 i86pc i386 i86pc+
“Internal mail” means all domains which have created in our server and when we send mail within domain or in same domain, UID must be validated.
Thanks
Prem

Similar Messages

  • I have iPad 1st generation running 5.1.1. I'm trying to validate my account. I get to the point where apple says they are sending a validation email but I don't receive them. I've had apple resend the email 3 times but still no email

    HI. I'm running 5.1.1 on iPad 1st generation. I'm trying to set up my account. Apple says it will send validation email but i haven't received it. I've tried numerous attempts at getting the email resent but I still haven't received anything

    Have you checked your junk mail folder?

  • AD account cannot send as valid email account

    I'm having trouble sending email (via powershell for now) using an AD account which has been granted Send As permissions to a valid email account.  I am passing the credentials for the AD account and using the FROM address of the email account.  (This
    is being done from powershell usign smtp.Send.) If I change the credentials to another account it does send, so there's something different about this particular AD account.
    When I attempt to send I get "the SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.1 client was not authenticated"
    In the SMTP receive log I see this:
    Inbound Negotiate failed because of LogonDenied  
    User Name: NULL
    535 5.7.3 Authentication unsuccessful
    MAIL FROM:<[email protected]>,
    530 5.7.1 Client was not authenticated
    What has me perplexed is that I'm doing the same thing from another machine, where I'm using an AD account to send as this same valid email account.  All I did in that case was grant the Send As permission to the AD account and it worked.
    In this instance where it's not working I've also tried adding the ms-Exch-SMTP-Submit permission to the receive connector, but still cannot send email.
    So I'm stumped as to what is different and needs changed in order to allow this AD account to send mail.
    Thanks for any help you can provide.

    Hi,
    Please check the default receive connector in Exchange server. Open Properties and on the Permission Groups tab, we can check the permission and ensure that Anonymous Users is selected.
    Additionally, here is a similar thread:
    https://social.technet.microsoft.com/Forums/exchange/en-US/3201f365-5b74-438f-b431-f8dc194958cc/571-client-was-not-authenticated?forum=exchange2010
    Regards,
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Winnie Liang
    TechNet Community Support

  • XI file sender: filename validation to stop processing a file twice

    Hello folks,
    I have a file sender adapter for a text file with name convention that includes a date - e.g. orders_YYYYMMDD.txt. We have a business requirement to ensure that we don't post the same file more than once. The file can be huge, so it's not really an option to pick up the file contents in one message.
    Options I have tried:
    - I do not know of a setting in the file adapter to achieve this.
    - write a perl script to read the filename and translate [hex-encode] this into a Message GUID, then post the file via HTTP adapter
      - - if the file name is not too long (guid is 32 hex chars) this method works well for small files that are in XML format.
      - - Text files need too much perl coding to translate to XML. Large files that need to be split will fail on the 2nd chunk.
    Options I don't want to use:
    - Use BPM to call an RFC/Proxy that validates the filename - this will cause me to read the whole file, or I have to implement a 'pipe' in BPM to ensure EOIO processing. (We have this elsewhere, but it's not good for performance)
    - Actually, I don't want to manage this in ABAP/Ztables at all if possible.
    I am about to start work on a Module Processor to mangle the GIUD in the file adapter, similar to the HTTP method above (don't have any idea of whether this will be possible yet)...
    Can anyone recommend another method to achieve this?

    Hi Derek,
    Intially when the file is picked then archive it to another directory.
    with this the same file will not be processed twice.
    Rgds,
    Kumar

  • Email sending after validation

    Hi ,
       I am working on a user exit.It is a BAdI.I have to validate the name of the person who signed the PO invoice.Once approved the person has to receive an email with a standard subject text and email text.I dont know how I should proceed for email sending.Can you please help me out on this.
      Points will be rewarded .Thanks in advance.
    Thanks,
    Reni

    hi,
    <b><i>how to send email.</i></b>
    chk this sample code.
    Try this sample code :-
    REPORT ZREPORT_TO_EMAIL NO STANDARD PAGE HEADING LINE-SIZE 200.
    DATA : BEGIN OF ITAB OCCURS 0,
    PERNR LIKE PA0001-PERNR,
    ENAME LIKE PA0001-ENAME,
    END OF ITAB.
    DATA: message_content LIKE soli OCCURS 10 WITH HEADER LINE,
    receiver_list LIKE soos1 OCCURS 5 WITH HEADER LINE,
    packing_list LIKE soxpl OCCURS 2 WITH HEADER LINE,
    listobject LIKE abaplist OCCURS 10,
    compressed_attachment LIKE soli OCCURS 100 WITH HEADER LINE,
    w_object_hd_change LIKE sood1,
    compressed_size LIKE sy-index.
    START-OF-SELECTION.
    SELECT PERNR ENAME
    INTO CORRESPONDING FIELDS OF TABLE ITAB
    FROM PA0001
    WHERE PERNR < 50.
    LOOP AT ITAB.
    WRITE :/02 SY-VLINE , ITAB-PERNR, 15 SY-VLINE , ITAB-ENAME, 50
    SY-VLINE.
    ENDLOOP.
    * Receivers
    receiver_list-recextnam = '[email protected]'. "-->
    * EMAIL ADDRESS
    RECEIVER_list-RECESC = 'E'. "<-
    RECEIVER_list-SNDART = 'INT'."<-
    RECEIVER_list-SNDPRI = '1'."<-
    APPEND receiver_list.
    * General data
    w_object_hd_change-objla = sy-langu.
    w_object_hd_change-objnam = 'Object name'.
    w_object_hd_change-objsns = 'P'.
    * Mail subject
    w_object_hd_change-objdes = 'Message subject'.
    * Mail body
    APPEND 'Message content' TO message_content.
    * Attachment
    CALL FUNCTION 'SAVE_LIST'
    EXPORTING
    list_index = '0'
    TABLES
    listobject = listobject.
    CALL FUNCTION 'TABLE_COMPRESS'
    IMPORTING
    compressed_size = compressed_size
    TABLES
    in = listobject
    out = compressed_attachment.
    DESCRIBE TABLE compressed_attachment.
    CLEAR packing_list.
    packing_list-transf_bin = 'X'.
    packing_list-head_start = 0.
    packing_list-head_num = 0.
    packing_list-body_start = 1.
    packing_list-body_num = sy-tfill.
    packing_list-objtp = 'ALI'.
    packing_list-objnam = 'Object name'.
    packing_list-objdes = 'Attachment description'.
    packing_list-objlen = compressed_size.
    APPEND packing_list.
    CALL FUNCTION 'SO_OBJECT_SEND'
    EXPORTING
    object_hd_change = w_object_hd_change
    object_type = 'RAW'
    owner = sy-uname
    TABLES
    objcont = message_content
    receivers = receiver_list
    packing_list = packing_list
    att_cont = compressed_attachment.
    rgds
    anver

  • Sender domain validation

    Hello,
    we have
    # ./imsimta version
    Sun Java(tm) System Messaging Server 7.0-0.04 64bit (built Jun 20 2008)
    libimta.so 7.0-0.04 64bit (built 01:11:48, Jun 20 2008)
    Using /opt/sun/comms/messaging64/config/imta.cnf
    SunOS hostname 5.10 Generic_127128-11 i86pc i386 i86pcBy doing telnet to port 25 on server or AV/AS gateway which is used as SMTP server, I am able to send the mail with some invalid email id, for example
    msg from: abc or msg from: [email protected], where xyz.com doesn't exist.
    I want to validate the sender domain, how could we force to do that and should not allow sending the mail.
    I tried adding keyword "spfmailfrom" in channels like tcp_local, however I had not created any SPF_LOCAL list in mappings.
    We have multiple domains hosted here.
    Thanks,
    Sumant

    hello,
    So i have added that into the below channels,however doesn't seems taking any action. I have done cnbuild and restart.
    ! tcp_local
    tcp_local mailfromdnsverify smtp mx logheader 1 logging single_sys remotehost inner switchcha
    nnel identnonenumeric subdirs 20 maxjobs 7 pool SMTP_POOL maytlsserver maysaslserver saslswit
    chchannel tcp_auth loopcheck aliasdetourhost tcp_scanner-daemon
    tcp-daemon
    ! tcp_intranet
    tcp_intranet mailfromdnsverify smtp mx logheader 1 logging single_sys subdirs 20 dequeue_remo
    veroute maxjobs 7 pool SMTP_POOL maytlsserver allowswitchchannel saslswitchchannel tcp_auth a
    liasdetourhost tcp_scanner-daemon
    tcp_intranet-daemonAm I missing something? we have a AV/AS gateway and all the messages are getting scanned, internal or external.
    - Sumant.

  • Need a Exit or BADI  For Changing Validation Class  (PRUEFKL) during  EL28

    need to change the Validation Class Validation Class  (PRUEFKL)  or send it blank in order to remove all valdition during Meter read uplaod  , Can any one suggest a BADI or user exit or anything where in i can change the Validtion class before validation take place at the time of meter read uplaod .  As validtion class we do not pass in EL28 it usually get filled with 001 ans 002 . 
    Thanks in advance . 
    regards
    rajeev

    Thank for the response however my question was , can we change the Validation Class throght code  any exit or BADI  during el28  not  by config as config will be done for every thing as this we need to do only for a paticlular program .
    So in short i m looking for any enhancement point ( Exit /BADI ) which willl trigger during el28 and i will be able to send emply validation class in initial stage to avoide validation .
    Regards
    Rajeev
    Edited by: rajeevkohli on Aug 3, 2011 2:25 PM

  • How to catch invalid emails & How to send to multiple emails

    This is a long two-part question.
    Part One:
    I would like to catch invalid emails within the JavaMail code and send the valid emails. I am using the following code to do this. The problem I am running into is when there is a valid email, sometimes it will be caught within the code without being sent and it will show up as a validunsentemail. I have set sendpartial to true, so this shouldn't be happening. Also, is there a way to check if a domain name is in existence before sending the email?
    Part Two:
    For testing purposes, I would like to mix valid and invalid emails for TO, but I don't know how to send to more than one email using an array. I have looked at other posting on the forum of how to do this, but I keep getting errors when I try other's suggestions. Maybe somebody will be able to help with this problem if they see the code below.
    Thanks in advance for all your help!
    import javax.mail.*;
    import javax.mail.internet.*;
    import java.util.*;
    import javax.mail.event.*;
    import javax.activation.*;
    public class Practice
    public static void main (String[] args) {
    Transport trans = null;
    try {
    Properties props = System.getProperties();
    props.put("mail.smtp.host", "hostname");
    props.put("mail.smtp.sendpartial","true");
    Session mailConnection = Session.getDefaultInstance(props, null);
    Message msg = new MimeMessage(mailConnection);
    Address angela= new InternetAddress("[email protected]");
    InternetAddress[] address ={new InternetAddress("[email protected]")};
    msg.setRecipients(Message.RecipientType.TO, address);
    msg.setContent("This is a test. This is only a test. What's Next?", "text/plain");
    msg.setFrom(angela);
    msg.setSubject("Testing 123");
    msg.setSentDate(new Date());
    msg.saveChanges();
    trans = mailConnection.getTransport(address[0]);
    trans.connect();
    trans.send(msg, address);
    System.out.println("Mail was sent successfully.");
    try {Thread.sleep(5);}catch(InterruptedException e){}
    } catch (MessagingException mex){
    try {Thread.sleep(5);}catch(InterruptedException e){}
    mex.printStackTrace();
    System.out.println();
    Exception ex = mex;
    do{
    if (ex instanceof SendFailedException){
    SendFailedException sfex = (SendFailedException) ex;
    Address[] invalid = sfex.getInvalidAddresses();
    if (invalid != null){
    System.out.println(" ** Invalid Addresses");
    if (invalid != null) {
    for (int i=0; i< invalid.length; i++)
    System.out.println(" " + invalid);
    Address[] validUnsent = sfex.getValidUnsentAddresses();
    if (validUnsent != null){
    System.out.println(" ** ValidUnsent Addresses");
    if (validUnsent !=null){
    for (int i=0; i<validUnsent.length; i++)
    System.out.println(" "+validUnsent[i]);
    Address[] validSent = sfex.getValidSentAddresses();
    if (validSent != null){
    System.out.println(" **ValidSent Addresses");
    if (validSent != null){
    for (int i=0; i<validSent.length; i++)
    System.out.println(" "+validSent[i]);
    System.out.println();
    if (ex instanceof MessagingException)
    ex = ((MessagingException)ex).getNextException();
    else
    ex = null;
    } while (ex != null);
    } finally {
    try {
    trans.close();
    } catch (MessagingException mex){  /*  ignore */}

    I am working on exactly the same problem. What you need to do is use the destination mail server to send mails. For example: address
    [email protected] is an invalid user.
    Using normal way you wont be able to catch invalid mail box error.
    If you use mail server of jabcreative.com to send email then you will get an unknown user exception.
    To find mail server of jabcreative.com you will have to do MX LookUp on DNS entry
    Have a look at this URL
    http://www.cee.hw.ac.uk/courses/5nn2/3/12.htm

  • Exchange 2013 wil NOT send email, same problem as every other exchange 2013 user, typical everything.

    I have a brand new dell server 2 netwrok cards. One WAN one LAN connected, each with its respective DNS server added to the card. In OWA the sent email shows in drafts, in outlook it shows in sent items, the user NEVER gets it, internally or externally.
    i get all mail from the internet, exactly as expected no problem, all tests show this is working everything checks out fine, server runs great, full blown domain controller with exchange 2013 added. ONLY problem after the 9th install, is still the same, exchange
    will NOT send email, everything else works perfectly event log looks great. I do see the DNS error where a DNS server on that network card is not responding crap, which is not true, internet works, al pages everything, NO firewall Bare connect while i get
    it to work. I HAVE been over the forums for the last week, tried all done all. i am an MSCE, was an MCSE instructor for 10+ years, Exchange Administrator, Exchange instructor for years, so yea, i am not some newb who has no clue, this DOES NOT WORK. it
    came at the CU1 level right out of the box, so i did not install and break it myself Microsoft is now selling this broken. Where do i go what do i do here. Like i said, every other aspect is in perfect order, Just email not sent, not showing in exchange tracking
    logs, and that DNS error on the event log, and YES i made the send connector, and the 3 setting it asks, not like that could be wrong, i mean seriously you put in very little info, any wrong entry would be obvious to even a child. SO walk me through what is
    going worng, as soon as this server sends an email, i am done building this domain, Please Help here.

     Performing Outbound SMTP Test
      The outbound SMTP test was successful.
     Additional Details
    Elapsed Time: 18739 ms. 
     Test Steps
     Attempting reverse DNS lookup for IP address xxx.xxx.xxx.148.
      The Microsoft Connectivity Analyzer successfully resolved IP address xxx.xxx.xxx.148 via reverse DNS lookup.
     Additional Details
    The Microsoft Connectivity Analyzer resolved IP address xxx.xxx.xxx.148 to host wsip-xxx.xxx.xxx.148.ri.ri.cox.net. 
    Elapsed Time: 187 ms. 
     Performing Real-Time Black Hole List (RBL) Test
      Your IP address wasn't found on any of the block lists selected.
     Additional Details
    Elapsed Time: 18453 ms. 
     Test Steps
     Checking Block List "SpamHaus Block List (SBL)"
      The address isn't on the block list.
     Additional Details
    IP address xxx.xxx.xxx.148 wasn't found on RBL.
    Elapsed Time: 1050 ms. 
     Checking Block List "SpamHaus Exploits Block List (XBL)"
      The address isn't on the block list.
     Additional Details
    IP address xxx.xxx.xxx.148 wasn't found on RBL.
    Elapsed Time: 27 ms. 
     Checking Block List "SpamHaus Policy Block List (PBL)"
      The address isn't on the block list.
     Additional Details
    IP address xxx.xxx.xxx.148 wasn't found on RBL.
    Elapsed Time: 60 ms. 
     Checking Block List "SpamCop Block List"
      The address isn't on the block list.
     Additional Details
    IP address xxx.xxx.xxx.148 wasn't found on RBL.
    Elapsed Time: 90 ms. 
     Checking Block List "NJABL.ORG Block List"
      The address isn't on the block list.
     Additional Details
    IP address xxx.xxx.xxx.148 wasn't found on RBL.
    Elapsed Time: 8161 ms. 
     Checking Block List "SORBS Block List"
      The address isn't on the block list.
     Additional Details
    IP address xxx.xxx.xxx.148 wasn't found on RBL.
    Elapsed Time: 119 ms. 
     Checking Block List "MSRBL Combined Block List"
      The address isn't on the block list.
     Additional Details
    IP address xxx.xxx.xxx.148 wasn't found on RBL.
    Elapsed Time: 61 ms. 
     Checking Block List "UCEPROTECT Level 1 Block List"
      The address isn't on the block list.
     Additional Details
    IP address xxx.xxx.xxx.148 wasn't found on RBL.
    Elapsed Time: 63 ms. 
     Checking Block List "AHBL Block List"
      The address isn't on the block list.
     Additional Details
    IP address xxx.xxx.xxx.148wasn't found on RBL.
    Elapsed Time: 8818 ms. 
     Performing Sender ID validation.
      Sender ID validation was performed successfully.
     Additional Details
    Elapsed Time: 97 ms. 
     Test Steps
     Attempting to find the SPF record using a DNS TEXT record query.
      The Microsoft Connectivity Analyzer wasn't able to find the SPF record.
     Additional Details
    No records were found.
    Elapsed Time: 97 ms. 

  • Sender SOAP Adapter, inconsistent behavior

    Hi,
    We are using XI 3.0 SP17. We have noticed some inconsitent behavior with the sender SOAP adapter:
    When sending a valid SOAP message to the adapter, it will reply with:
    <SOAP:Envelope xmlns:SOAP='http://schemas.xmlsoap.org/soap/envelope/'><SOAP:Header/><SOAP:Body/></SOAP:Envelope>
    To me this seems errornous, becuase it is missing "<?xml version='1.0'?>" in the beginning, and thus is not valid XML. This leads to errors on the Client that is sending messages to the Sender SOAP adapter.
    When sending an errornous SOAP message from the client to the XI Sender SOAP adapter, the error message does include the "<?xml version='1.0'?>" + the corresponding error message, so the behavior seems inconsitent and errournous.
    Can someone tell me how the get the Sender SOAP Adapter to include "<?xml version='1.0'?>" in the reply for valid SOAP messages?
    Thanks for any help on this subject!
    -Hans
    PS: Here is an example of an error message from the Sender SOAP adapter, that does include the xml header:
    <?xml version="1.0"?>
    <!-- see the documentation -->
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
         <SOAP:Body>
              <SOAP:Fault>
                   <faultcode>SOAP:Server</faultcode>
                   <faultstring>Server Error</faultstring>
                   <detail>
                        <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
                             <context>XIAdapter</context>
                             <code>MalformedMessageException</code>
                             <text><![CDATA[Unexpected content in SOAP:Body; nested exception caused by: com.sap.aii.messaging.util.XMLScanException: Unexpected content in SOAP:Body\tat com.sap.aii.messaging.mo.Message.reparseRootDocument(Message.java:1014)\tat com.sap.aii.messaging.net.MIMEInputSource.readSOAPPart(MIMEInputSource.java:619)\tat com.sap.aii.messaging.net.MIMEInputSource.decodePart(MIMEInputSource.java:611)\tat com.sap.aii.messaging.net.MIMEInputSource.readBody(MIMEInputSource.java:379)\tat com.sap.aii.messaging.net.MIMEServletInputSource.parse(MIMEServletInputSource.java:58)\tat com.sap.aii.af.mp.soap.web.MessageServlet.doPost(MessageServlet.java:378)\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:760)\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:853)\tat com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)\tat com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)\tat com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)\tat com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)\tat com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)\tat com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)\tat com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)\tat com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)\tat com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)\tat com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)\tat com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)\tat java.security.AccessController.doPrivileged(AccessController.java:180)\tat com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)\tat com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)          ]]></text>
                        </s:SystemError>
                   </detail>
              </SOAP:Fault>
         </SOAP:Body>
    </SOAP:Envelope>

    Hi,
    "Do not use SOAP Envelope" is not really an option for us.
    From help.sap.com:
    If the indicator is set, the adapter expects a message without a SOAP envelope.
    If you have set the indicator, you must also enter nosoap=true in the URL.
    The adapter then puts the whole message in the XI payloads
    So this also requires heavy changes to the client side. It would almost make more sense to use the plain HTTP adapter in that case..
    -Hans

  • HttpURLConnection and valid cookies

    Hi,
    I have implemented a web server with a login page to authenticate a user.
    When the browser has not send a valid cookie, the server redirects to the
    login page, where the user can fill a form to post the username and password.
    I am implementing a java stand-alone client to access this web server. I use
    the HttpURLConnection class for this.
    First, i authenticate the user sending a post request with the login and
    password. The server responds with a cookie. To access other resources in
    the server i send the cookie in each request.
    My problem is: i am using java class HttpURLConnection. When the cookie
    is not valid, the server redirects to the login page, but i have not
    found a way to know about it without parsing the response html. I get the http
    header fields but there is no info about this.
    Thanks in advance

    You should extraxt the sessionID from the cookie, when logging on to the system.
    From then on, pass the session ID to all further connections.
    You can obtain the session-ID like this:
    public void retrieveSessionID() {
                   String key = "";
                   String id = "";
                   try {
                     URL url = new URL ( "http://localhost/yourapplication/logon.jsp?username=Homer&password=donut);
                     URLConnection urlConnection = url.openConnection();
                     if (urlConnection != null)
                          for (int i = 1;(key = urlConnection.getHeaderFieldKey(i)) != null; i++)
                               if (key.equalsIgnoreCase("set-cookie"))
                                    id = urlConnection.getHeaderField(key);
                                    id = id.substring(0, id.indexOf(";"));
                               }     //if
                          }     //for
                     }     //if
                   } catch (IOException e) {
                                                                          e.printStackTrace();
                   }     //catch
                     this.jSessionId = id;
         }     //getSessionIDAnd then make every connection like this:
    URL url = new URL("http:......");
    HttpURLConnection connection = (HttpURLConnection)url.openConnection();
                    connection.setRequestProperty("Cookie", this.jSessionId);
                    connection.connect();                Hope I could help!
    Greetings
    Stef

  • Problem while sending ByteArray from as3 client through netconnection call method to red5 server

    Hi to all,
    I'm trying to send from as3 client a ByteArray of more or less 3 MB using NetConnection's call method but I am unable to do it, cause I get a timeout on the server and the client get disconnected (I have also increased the timeout limit in red5.properties but nothing changed). If I try to send a smaller ByteArray I don't have problem, even if the trasfer is really slow.
    Any solution?
    thanks

    put it in code tags so it's readable
    CLIENT
    public void sendLoginData(String data)
    int c=0;
    byte loginData[]=new byte[data.length()];
    loginData=data.getBytes();
    try
    out.write(loginData);
    System.out.println(client.isClosed());
    // here i want 2 receive the 1 byte data whch i hv sent frm server's RUN() method
    //following code is not working :( it gets hanged
    while((c=in.read())!=-1)
    System.out.print(c);
    System.out.print("hi");
    catch(Exception e)
    System.out.println("Caught:" + e);
    finally
    out.close();
    }SERVER
    public void run()
    boolean flag;
    try
    flag=verifyLoginData(ID); //this function verifies the login data by connecting to DB
    System.out.println(flag);
    if(flag==true)
    //send login valid
    bos.write(1);
    bos.close();
    else
    //send login invalid
    bos.write(0);
    bos.close();
    catch(Exception e)
    System.out.println("caught " + e);
    }

  • ICal yields "Error during PUT for mailto:valid@email: iMIP request failed"

    Hello,
    I'm trying to bring up an iCal server (using Mac OS X Lion 10.7.3 Server on a Mac Mini). The basic configuration runs fine. But when I tried to enable eMail invitations, I got stuck with those messages in the error log:
    [twistedcaldav.scheduling.imip#error] Could not do server-to-imip request : <twistedcaldav.scheduling.imip.ScheduleViaIMip object at 0x10075e5d0> User timeout caused connection failure.
    [twistedcaldav.scheduling.scheduler.ScheduleResponseQueue#error] Error during PUT for mailto:valid@email: iMIP request failed
    My configuration settings:
    calendar:Scheduling:CalDAV:EmailDomain = ""
    calendar:Scheduling:CalDAV:HTTPDomain = ""
    calendar:Scheduling:CalDAV:AddressPatterns = _empty_array
    calendar:Scheduling:iMIP:Sending:Server = "valid.mail.server"
    calendar:Scheduling:iMIP:Sending:UseSSL = no
    calendar:Scheduling:iMIP:Sending:Username = "valid@email"
    calendar:Scheduling:iMIP:Sending:Address = "valid@email"
    calendar:Scheduling:iMIP:Sending:Password = "safe_password"
    calendar:Scheduling:iMIP:Sending:Port = 25
    calendar:Scheduling:iMIP:Enabled = yes
    calendar:Scheduling:iMIP:MailGatewayPort = 62310
    calendar:Scheduling:iMIP:Receiving:Server = "valid.mail.server"
    calendar:Scheduling:iMIP:Receiving:UseSSL = yes
    calendar:Scheduling:iMIP:Receiving:Username = "valid_email"
    calendar:Scheduling:iMIP:Receiving:PollingSeconds = 30
    calendar:Scheduling:iMIP:Receiving:Type = "imap"
    calendar:Scheduling:iMIP:Receiving:Password = "safe_password"
    calendar:Scheduling:iMIP:Receiving:Port = 993
    calendar:Scheduling:iMIP:AddressPatterns:_array_index:0 = "mailto:.*"
    calendar:Scheduling:iMIP:MailGatewayServer = "valid.mail.server"
    calendar:Scheduling:iSchedule:Enabled = no
    calendar:Scheduling:iSchedule:Servers = "servertoserver.xml"
    calendar:Scheduling:iSchedule:AddressPatterns = _empty_array
    It does not even try to connect to the given smtp server. How do I proceed?

    I dug into the sources, and am now smarter
    the above settings are invalid, because of the gateway (this has to be iCal itself):
    calendar:Scheduling:iMIP:MailGatewayServer = "localhost"
    Now the IMAP server is being asked, but now I have the next problem:
    [mailgateway] 2012-03-27 11:14:37+0200 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadFactory#debug] Scheduling next IMAP4 poll
    [mailgateway] 2012-03-27 11:15:07+0200 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] RECEIVED: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
    [mailgateway] 2012-03-27 11:15:07+0200 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] IMAP servergreeting
    [mailgateway] 2012-03-27 11:15:07+0200 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] SENDING: 0001 AUTHENTICATE PLAIN
    [mailgateway] 2012-03-27 11:15:07+0200 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] RECEIVED: +
    [mailgateway] 2012-03-27 11:15:07+0200 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] SENDING: 1GNhbEwhZHNwZXJ0LmRlAFlpZXE5YW==
    [mailgateway] 2012-03-27 11:15:09+0200 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] RECEIVED: 0001 NO [AUTHENTICATIONFAILED] Authentication failed.
    [mailgateway] 2012-03-27 11:15:09+0200 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] IMAP authenticate failed for valid@email, trying login
    [mailgateway] 2012-03-27 11:15:09+0200 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] SENDING: 0002 LOGIN "valid@email" "valid_password"
    [mailgateway] 2012-03-27 11:15:16+0200 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] RECEIVED: 0002 NO [AUTHENTICATIONFAILED] Authentication failed.
    [mailgateway] 2012-03-27 11:15:16+0200 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#error] IMAP login failed for valid@email
    [mailgateway] 2012-03-27 11:15:16+0200 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadFactory#debug] IMAP factory connection lost

  • Validation expression for Comparitive check

    Hi,
    My scenario is to fire a validation error when,
    Field A is filled and Field B is not filled.
    If Field A and Field B is filled there should not be any validation error.
    Can any body send the validation expression to achieve this?
    Best regards,
    Arun prabhu S

    Hi Arun,
    According to your requirements and if I am getting it right the the validation should fire in the following cases.
    (1) Field A is filled and field B is not filled.
    (2)If both the fields are blank.
    Correct me if I am  wrong the validation should not fire if field A is blank and field B is filled.
    IF(IF(IS_NOT_NULL(Field A) OR IS_NULL(Field A),TRUE,FALSE) AND IF(IS_NOT_NULL(Field B),TRUE,FALSE),TRUE,FALSE).
    Reward if Helpful,
    Regards,
    Vinay Yadav

  • Web Service XML Input Arguments Schema Validation

    I'm new to web services, but we are currently implementing a number of Web Services that all take as arguments a single parameter which is an XMLBean, which has been generated by a XML Schema.
    What I find surprising is that when I submit a SOAP message to the Web Service (through the http Web Service Tester inside eclipse), I can send any valid XML without getting a SOAP fault. Is there a way on the Web Service that I want the XML submitted to be validated against the XML Schema for that parameter?
    Bit surprised I have to implement my own input argument validation, and there doesn't appear to be a standard way to do this. I must be missing soemthing surely? Why else would the Schema be in the WSDL?
    Cheers
    John

    I'm new to web services, but we are currently
    implementing a number of Web Services that all take
    as arguments a single parameter which is an XMLBean,
    which has been generated by a XML Schema.
    What I find surprising is that when I submit a SOAP
    message to the Web Service (through the http Web
    Service Tester inside eclipse), I can send any valid
    XML without getting a SOAP fault. Is there a way on
    the Web Service that I want the XML submitted to be
    validated against the XML Schema for that parameter?
    Bit surprised I have to implement my own input
    argument validation, and there doesn't appear to be a
    standard way to do this. I must be missing soemthing
    surely? Why else would the Schema be in the WSDL?
    Cheers
    JohnHas anyone found an answer to this, we have the same issue?

Maybe you are looking for