503 Issue RCPT TO: command before DATA command

Can anyone shed some light on what is/could be causing this
issue to keep
showing up in the logs? We are having an issue of a cfmail
tag not
functioning and this appears to be tied to the issue.
Also, we have a scheduled task that is just quitting for some
reason. It
will run fine for a an intermittent amount of time, then just
stop for no
apparent reason. Each time we delete and recreate the task
and it just keeps
repeating the same cycle. All it does is run a query to
generate a csv file
then move that csv file to another local server.
Bryan Ashcraft (remove brain to reply)
Web Application Developer
Wright Medical Technology, Inc.
Macromedia Certified Dreamweaver Developer
Adobe Community Expert (DW) ::
http://www.adobe.com/communities/experts/

Thanks Kronin, we finally figured out what was going on with
the mail tag.
At least the one I was having a problem with. It turned out
to be an issue
on SQL Server. So that error must be coming from someone
else's file and I
have no clue which one.
Now if I can figured out the scheduled tag issue, I would be
doing great.
Running the page manually works fine, but the scheduled task
will not run.
If you look at the scheduler log though, it says it ran when
in didn't. Any
one have any thoughts?
Bryan Ashcraft (remove brain to reply)
Web Application Developer
Wright Medical Technology, Inc.
Macromedia Certified Dreamweaver Developer
Adobe Community Expert (DW) ::
http://www.adobe.com/communities/experts/
"Kronin555" <[email protected]> wrote in
message
news:ed1vb7$53h$[email protected]..
> Post the code that's throwing this error.
>
> An SMTP conversation usually flows as follows:
> HELO mydomain.com
> MAIL FROM: [email protected]
> RCPT TO: [email protected]
> DATA
> Subject: Hello
>
> blah blah blah
> .
>
> That error makes it sound like the RCPT TO: line is
being put below the
> DATA
> line. So, post the code that's causing this error and
I'll take a look at
> it.
>
>
http://www.apps.ietf.org/rfc/rfc821.html#sec-4.1
>

Similar Messages

  • ORA-29279: SMTP permanent error: 503 Issue MAIL FROM: command before RCPT T

    Hi all, i have a procedure called proc_send_mail, the procedure obviously, send a mail using utl_smpt. I use that procedure in many clients and just in one of them, i got this error (ORA-29279: SMTP permanent error: 503 Issue MAIL FROM: command before RCPT T).
    Here is my code:
    recStat := utl_smtp.helo(c, vServidor);
    vStatus := nvl(vStatus,'') || to_char(recStat.code) ||' '|| recStat.text;
    dbms_output.put_line('Status:'||vStatus);
    recStat := utl_smtp.mail(c, p_address_from);
    vStatus := nvl(vStatus,'') || to_char(recStat.code) ||' '|| recStat.text;
    dbms_output.put_line('Status3:'||vStatus);
    dbms_output.put_line('p_address_from:'||p_address_from);
    dbms_output.put_line('p_address_to:'||p_address_to);
    utl_smtp.rcpt(c, p_address_to);
    vStatus := nvl(vStatus,'') || to_char(recStat.code) ||' '|| recStat.text;
    dbms_output.put_line('Status2:'||vStatus);
    -- This is the message
    vMensagem := 'MIME-Version: 1.0' || chr(13) || chr(10);
    vMensagem := vMensagem ||'From: '|| p_mail_from ||' <'|| p_address_from ||'>'|| chr(13) || chr(10);
    vMensagem := vMensagem ||'Subject: '|| p_subject || chr(13) || chr(10);
    vMensagem := vMensagem ||'To: '|| p_mail_to ||' <'|| p_address_to ||'>'|| chr(13) || chr(10);
    vMensagem := vMensagem ||'Reply-To: '|| p_address_from || chr(13) || chr(10);
    So, i call:
    - utl_smtp.helo
    - utl_smtp.mail
    - utl_smtp.rcpt -----> in this i have trouble
    anyone can help me? I check the mail from and mail to, and they are correct.
    P.S: Sorry, my english is too bad.

    Hi,
    Many mail server provides like gmail use TLS/SSL for mail transmission. The error suggest your mail server is expecting a TLS/SSL connection.
    The TLS/SSL connection is not part of the UTL_SMTP and UTL_MAIL API. You have to either use Wallet as described here http://oracleblues.blogspot.in/2010/09/11g-release-2-11202-new-utlsmtp.html or use a third party tunneler like stunnel as described here http://monkeyonoracle.blogspot.in/2009/11/plsql-and-gmail-or-utlsmtp-with-ssl.html
    Cheers,

  • Date command issue

    hello Support,
    I'm a newby with Applescript,   I have an incident with the date command.  I'm trying to do some date comparisons with files in finder and storing some dates in text fields.  Here is a code snipet assuming today's date is 6/10/12.  First of all, I would like to identify and fix the cause of this incident but more importantly find better error diagnostics and get a path for easier diagnosis  --
    -- this does not work! 
    tell application "Finder"
        set yesterdayDate to short date string of ((current date) - 1 * days)
        if (date yesterdayDate ≤ (current date)) then
            -- validate logic
            say "Yesterday is before today" using "Victoria" displaying yesterdayDate
        else
            say "It defies logic" using "Victoria"
        end if
    end tell
    tell application "Finder"
        get date "6/9/12"
            --> error number -1728 from date "6/9/12"
    Response:
    error "Finder got an error: Can’t get date \"6/9/12\"." number -1728 from date "Saturday, June 9, 2012 12:00:00 AM"
    -- this works! note the "tell application finder" command is commented in the code, also note the "tell current application" command automatically inserted into the reply.
    -- tell application "Finder"
        set yesterdayDate to short date string of ((current date) - 1 * days)
        if (date yesterdayDate ≤ (current date)) then
            say "Yesterday is before today" using "Victoria" displaying yesterdayDate
        else
            say "It defies logic" using "Victoria"
        end if
    -- end tell
    REPLY:
    tell current application
        current date
            --> date "Sunday, June 10, 2012 9:43:59 AM"
        current date
            --> date "Sunday, June 10, 2012 9:43:59 AM"
        say "Yesterday is before today" using "Victoria" displaying "6/9/12"
    end tell
    -- this doesn't work! same error as first.  It would appear if "tell current application" in the reply is the same as "tell current application" in the code?
    -- ultimately I still need a solution for the code snipet to work in the finder
    tell current application
        set yesterdayDate to short date string of ((current date) - 1 * days)
        if (date yesterdayDate ≤ (current date)) then
            say "Yesterday is before today" using "Victoria" displaying yesterdayDate
        else
            say "It defies logic" using "Victoria"
        end if
    end tell
    REPLY:
    tell current application
        current date
            --> date "Sunday, June 10, 2012 9:59:31 AM"
        current date
            --> date "Sunday, June 10, 2012 9:59:31 AM"
    end tell
    tell application "AppleScript Editor"
        get date "6/9/12"
            --> error number -1728 from date "6/9/12"
    Result:
    error "Can’t get date \"6/9/12\"." number -1728 from date "Saturday, June 9, 2012 12:00:00 AM"

    An application tell statement targets that particular application, so statements should be limited to commands that the application knows about (what is in its scripting dictionary).  Although most scripting addition commands wind up getting sent to the current application, an error mostly depends on how the targeted application deals with the command - for example, your first snippet will work if you change the coercions around a bit:
    tell application "Finder"
      set yesterdayDate to ((current date) - 1 * days)
      if (yesterdayDate ≤ (current date)) then
      -- validate logic
      say "Yesterday is before today" using "Victoria" displaying short date string of yesterdayDate
      else
      say "It defies logic" using "Victoria"
      end if
    end tell
    Also, since Snow Leopard, most scripting addition commands will show an error when sent between application processes, and the way dates are specified is a bit more restrictive - see the AppleScript Release Notes.

  • OS command before file processing in Sender File adapter

    Hi there,
    I'm having troubles running a os command from the sender file (NFS) adapter.  The batch file which I try to run is not getting executed at all.
    When I manually run the same batch file from the command prompt then it works perfectly.
    The OS command looks like this from the adapter config:
    myserver\xi\interface\in\dothis.bat
    I have also try with this notation
    G:\myserver\xi\interface\in\dothis.bat
    Please give me some tips how can I solve this problem, is there any way how can I debug the OS command? When I look at the adapter monitonr no errors are showed.
    Thanks for any tips.
    Roberto

    Hi all,
    The problem is solved.
    Issue: File Receiver Channel does not execute the OS Command before message processing.
    Reason: XI always expects an input file (in my case the sender communication channel) on the source folder. If no input files are found then the rest of the adapter configuration is not executed at all.
    In our scenario the OS command is responsible for retrieving the input files from a FTP server the adapter. SO XI will never trigger the OS Command.
    Solution: Place a dummy input file on the source folder , the sender adapter will always read in this file and put it back on the same location.(e.g. using a condition in the receiver determination).
    Thanks,
    Roberto

  • How to Run Operating System Command Before/After Message Processing SAP PI

    Hi,
    We are trying to execute multiple commands via "Operating System Command Before/After Message Processing".
    When we use single command say for example cp or mv (copy or move) the commands get executed fine.
    eg: cp %F /var/opt/data/outbound/Test/Dummy.txt 
    /this works fine/
    when we club commands together or try to redirect the outputs of commands, none of the commands get executed.
    eg:
    cp %F /var/opt/data/outbound/Test/Dummy.txt ; rm %F
    or
    wc -l %F > /var/opt/data/outbound/Test/Dummy.txt
    Is it possible to execute multiple commands or redirect the output  of commands without using a shell script? The PI server we are working on iis hosted on UNIX environment.

    Hi Harleen,
    try like this
    cp %F /var/opt/data/outbound/Test/Dummy.txt ; rm %F
    instead of semicolon try this
    (1) &
    command1 & command2
    Execute Command1 and then execute Command2
    (2) &&
    command1 && command2
    Runs the command2 only when command1 doesn't Complete successfully
    (3) ||
    command1 || command2
    Runs the second command if the first command had an error
    (4) ()
    (command1 || command2) || (command3 & command4)
    Defines the order in which commands are to be executed
    Regards
    Suraj

  • Issue with the supshare Report Script Command

    Hi All,
    I have created a report script to extract the Level0 data for the members of the accounts dimension and It does work fine and the performance is also good. However I have a challenge here. The shared members are repeating and therefore I used “<supshare” command in order to avoid the repetition. It does work, however there is an issue here.
    For eg, I am trying to retrieve the data as below and they are level0 members. The NetExpense is a “Level0” member and also a “shared member”, However the original “Net Expense” comes under Level3 and since I have used <Supshare and asked to retrieve only Lev0 accounts it is therefore ignoring the “Net Expenses” for all the Dept and product intersections. Hope I am clear and not confused? Is there anything i could change or add to retrieve the correct data.
    Would anyone be able to help me on this issue.
    <supshare “Lev0 Accounts”
    Data Retrieval Ex : DeptA  NetExpense No Product  1200
    Thanks

    Thanks Glen. I tried the below link statement. This is an example. My accounts dimension has 8 childern (A to H) out of which 4 are level 0 members ("B"to "E") and the remaining have so many members underneath. The member"H" is where my confusion starts, it has 4 children (Ex 1,2,3,4) and all are shared members. Here i need not worry about children 2 and 3 since they have no data. Children 4 is a level 0 and a shared member, however the Children 4 main location is also located at Level 0. Therefore when i use supshare this appears only once. one problem is solved.
    Now coming to Children 1, this is a Level 0 for parent "H", however this is also a child of "A" and this by itself has levels underneath. So this Sup share is not allowing me to retrieve the data Child 1 though it is level 0 and since it is shared member.
    This case how do i modify the report in such a way i get all level 0 data of my accounts and suppress shared members. Hope i have not condused...
    <ROW (Accounts)
    {ROWREPEAT}
    <LINK(<DESCENDANT ("A", "Lev0,Accounts"))
    "B", "C", "D", "E"
    <LINK(<DESCENDANT ("F", "Lev0,Accounts"))
    <LINK(<DESCENDANT ("G", "Lev0,Accounts"))
    <LINK(<DESCENDANT ("H", "Lev0,Accounts"))

  • RUN OPERATING SYSTEM COMMAND BEFORE MESSAGE PROCESSING

    hi.
    just i want to know what is the purpose of run operating system command before message processing,after message processing under file sender adapter.
    waiting for your great answer.
    bye.
    regards.
    seeta ram.

    Hello Seeta,
    let me see if I give it using a simple scenario that I implamented : i nedd to transfer a very large file from one server to the other by XI.
    to save space and network traffic I use an OS command before picking up the file to run a zip command to zip the file.
    after I transfer the file to the target server I run another OS command after the transfer to unzip the file.
    now to your second question:
    the before Os command on the target server is used mostly for checks (make sure there isn't a file by that name or backing up existing data)
    and the after sender OS command is usualy for backing up or erasing existing files (cause it is done only after the first part was finished succesfully).
    Uri Lifshitz.
    p.s.
    there was a blog obout this titled "XI as a huge file mover"
    and you can see a description and my scripts at https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/03/additionaltipsforusingXIasahugefiletransfer%28withbatchscripts%29&

  • FTP Adapter with Runtime OS Command before Message Processing

    Hi PI Techies,
    I have a confusion in using Sender FTP Adapter with Runtime OS Command before Message Processing.
    Scenario is like this:
    Ftp Adapter has to pick a file from FTP server after it checks that a Blank Marker file exists on PI server AL11 directory say "tmp directory".
    For this I am using Runtime OS Command before Message Processing where a shell script will check the existence of Blank Marker file on PI server AL11 and if found , it exits the script and FTP Adpater will then pick the Actual Data File and Process it.
    Now Confusion:
    I am confused in technical execution of steps by FTP Adapter..
    Whether FTP Adapter polling initiates the Interface or Runtime OS command checking the File existence will initiate the Interface?
    May be its follish to you guys... but please answer ..
    Regards,
    Anurag

    Hi,
    I will take it other way as we need to process the Data File not Marker File ( its just for checking the Data File is completely written on FTP server).
    Other way mean " Will Poll for Data.txt File and if  found then Runtime OS Command will do connect to FTP and check if Marker File exists, if yes then delete the marker file and read the actual Data File for processing.
    Please let me know, if Marker File does not exists on FTP folder, will it still read the Data File or will it exit the Adapter execution?
    Your help is much appreciated.
    Regards,
    Anurag

  • Command column data in SYSMAINTPLAN_LOGDETAIL in MSDB database?

    Hi All,
    I have been facing the data issue in SYSMAINTPLAN_LOGDETAIL table in MSDB.
    When I query on this table, I don't see data in "COMMAND" column.
    And also I am not able to view T-SQL in maintenance plan history as it is disable.
    Can any one please let me know the solution how can I get command column data into the table?
    thanks in advance.
    Nik
    Regards, Naman

    Hi,
    In SQL Server 2000 symaintplan table was acessible directly  but from 2005 onwards this table is not directly accessible due to increased security this table gets updated when maintenance plan runs. I dont think its a data issue i ran below commands
    on my SQL Server found some rows had some entries for column 'command' while some of it does not. Also curious thing was when col 'succeeded' value was zero this col had some text present. 
    select * from msdb.dbo.sysmaintplan_logdetail where command <> '' and succeeded= 0--executing select * can take long time please note depending on rows presentselect * from msdb.dbo.sysmaintplan_logdetail where succeeded= 0
    I cannot find any online documentation on msdb.dbo.sysmaintplan_logdetails to actually see what is being captured in this column.But what I can guess is it captures command which actually executed.This is a system table its difficult to tell how actually column
    command is updated
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

  • 500 5.4.6 Data command failed: Routing loop detected

    I have recently installed OCS 10.1.2 on single box and configured email server. initially i could send email from web client to other domains. Later I made an MX entry in the named server to send and receive emails to the Oracle email server. At that moment also I could send emails to other domains from web client.
    I then configured my email on outlook with smtp and pop server pointing to my hosted server. When I send emails to other domain from outlook I received and error "[550] 5.7.1 Rcpt command failed: Mail denied due to site's policy". I searched the forum and found a solution to take care of it. The message id is 1146225, where in I did the following
    Enable Routing Control : active
    allow message relay : true
    allow message relay domain : *
    flag process: -l
    Recipient Rewriting Rules: $*@your host target smtp,$1@your domain target smtp,
    example:
    $*@mail.sinux.com.pe,$[email protected],
    you should change the next value in smtp outbound
    rele smtp : ip of your source mail or relay :port smtp
    flag process: -l
    After restarting the SMTP inbound and outbound server I didnt get the above error but after few days got a email saying message could not be delivered to other domains (though the message was delivered to my domain) and the errror says "500 5.4.6 Data command failed: Routing loop detected"
    Any ideas to resolve it.
    Warm regards,
    Vipul

    Hey adminmilou,
    Please reach out to our direct support via live chat and we will be able to look into this further: http://helpx.adobe.com/contact.html (select Business Catalyst).

  • FTP - Run OS Command before file processing

    Hi,
    I have a requirement wherein I need to FTP a file from XI to a folder in a FTP server . Now FTP Server is set up in such a way that I cannot put the file directly. Before transferring the file , I have to use CD ( change directory command ) to access a particular folder and then transfer the file. This means that I cannot give the folder information directly to TARGET DIRECTORY.
    To address this, I decided to use the feature "Run OS Command BEFORE file processing " . And wrote a command 'cd <foldername> .It is not working. Then I tried using "Run OS Command AFTER file processing "  and it also didnot work.
    Does anyone have any clue how can I address this requirement using FILE Adapter.
    thanks,
    rakesh

    HI,
    OS commands will be executed in XI server not in the FTP server. So first you need to connect into FTP server and then you need execute CD command.
    option 1) Get the absolute path ie direct path from FTP server so that you can directly connect to FTP server's specific directoty
    22) In this case , write the file into your XI server itself by NFS File Transport protocol. Then ftp this file from your XI server into FTP server using Shell Script.
    So write a shell script which will be executed in the XI server, inside this write a logic of tranfer of files with FTP protocol. This shell script is executed from the Reciever File adapter with the option OS command.
    Hope this helps,
    Regards,
    Moorthy

  • OS level command before message processing

    Hello
    I am getting the files from the SFTP server through the shell script and expecting to be processed by my File sender adapter.
    I have configured my File adapter which will poll the directory into which the shell script gets the file and it is scheduled at say 60 sec duration and i had configured OS level command before message processing.
    But when i monitored my communication channel and also my directory I found out that its not executing the OS level command. I tried dropping the dummy file into the directory. This time when checked in comm channel monitoring, it executes the OS  level command and gets the file from the SFTP server and adapter polls the SFTP file as well. But i don't want to use dummy file each time.
    Is there any way by which we can always make adapter to execute OS level command. I tried various options like Process Empty files etc etc but no luck.
    Thanks in advance.
    regards
    rajeev

    Rajeev
    How about placing a dummy file of 0 bytes, setting up the 'Handling of Empty Files = Don't create message', Processing mode = 'Test' and then writing a post operating command script as well, to move all the files to archive directory except the dummy file.
    Not a clean solution but just a thought.
    http://help.sap.com/saphelp_nw70/helpdata/en/e1/69a740aa053a13e10000000a155106/frameset.htm

  • OS command before msg processing: In sender FTP

    hi all,
               i have a file-to-file scenario.Now i have to pick the latest file from FTP folder based on timestamp.All the files are named in yyyymmdd format .I came to know that i can run an OS command before message processing to delete the old files and keep the latest file in the folder.
    But i do know know how to write the script for this particular requirement.Can anybody please help me out with the code???
    regards,
    Nisheeta

    HI,
    If you want to delete filenames from Adapter use the following sample code:
    File adapter OS Command: D://server_dir//subdir//myCMDfile.bat %F
    Batch file:
    del %1 new_filename_with_path
    OR
    Please see the below links
    /people/michal.krawczyk2/blog/2005/08/17/xi-operation-system-command--error-catching
    OS Command on FTP
    OS command line script - Need help
    FTP - Run OS Command before file processing
    Hope this solves your problem.
    Regards
    Chilla..

  • Runtime OS command before Message processing

    Hi all,
    I have a scenario where the input file from a particular FTP server has to be moved to XI server and then process the message from there. For this I am trying to use "Runtime OS command before Message processing" My problem is that how do I define it in the normal adapter configuration i.e. File access parameters for the sender.
    My Query is:
    Now should I use the NFS protocol or the FTP protocol ie.in the File access parameters should I specify the directory from which the file needs to be processed after movement to the XI server or should I specify the FTP server details choosing the FTP protocols.
    Also provide me some links on how to configure using OS commands.
    Thanks & Regards,
    Nithiyanandam

    Hi,
    U can use NFS ...also for RUN Operating sysyrm command
    Try using RUN OPERATING SYSTEM COMMAND AFTER MESSAGE PROCESING and RUN OPERATING SYSTEM COMMAND BEFORE MESSAGE PROCESING.
    You just post ur output file in some folder(Target) , lets say /usr/sap/sapout/test/.and the shell script in this path /usr/sap/bin/convert.sh (use ur Rename logic here).
    Inside the File access parameters put target directory and filename scehme and for shell script give processing parameters as File construction mode , File type and OS Command and use a space after the shell script name and the %F.
    And for input can use it directly.
    For the shell script (which u will use to rename the file after processing) you can put anywhere inside /INTERFACE/XI/ but athe time you provide the pat it will be exactly matching as from where you are using the Shell Script and the file at the coressponding places. It shud be in XI. Thats it and u r done.
    Check out these links. First one will help you in acheiving want you want.
    /people/sameer.shadab/blog/2005/09/21/executing-unix-shell-script-using-operating-system-command-in-xi
    /people/michal.krawczyk2/blog/2007/02/08/xipi-command-line-sample-functions
    /people/michal.krawczyk2/blog/2005/08/17/xi-operation-system-command--error-catching
    http://help.sap.com/saphelp_nw70/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
    I hope this will solve your problem
    thanq
    krishna
    Edited by: krishnachitanya siddavattam on Mar 10, 2008 5:38 AM

  • File-FTP command before message processing

    Hi experts,
    my requirement is as follow :
    i have 5 files on my FTP server. All are named FILE_hhssmm.xml
    In the configuration of my CC out, i have put as specific file name to get picked 1*.xml
    I need a command line in the 'run operating system command before message processing' that renames one of the files as 1FILE_hhssmm.xml so that the files get picked one by one.
    I can not manage to do that, i only managed to write a batch file but i only can run it locally...
    please, any help would be greatly appreciated...
    Kindly,
    Jamal

    Hi
    I have been following this for a while (from other posts as well), you are trying quite hard to get this done
    I have couple of ideas...
    If you think that this is not going to work, then you can try another solution,
    - let the .bat file be scheduled by the scheduler of your OS (this is quite simple) say every 30 mins
    - make the .bat file move your input files from your current folder to a child folder
    - let XI poll the child folder, every 5 secs or so... anyway your scheduler will send the file only after every 30 mins
    - Now you need not rely on the OS command from the Fileadpater of XI
    My suspicion (though it is not documented anywhere in help, as far as I know) is that the OS command executes only if there is proper reading of the file (or its presence as per the configuration in adapter settings) & not per polling of the adapter. I infer this from your previous post. but your requirement is peculiar that though the file is present that itself has to have a different name - to be read by adapter...some kind of clashes ??!!.
    The problem could be something else also, but the above is a possibility as well..
    all the best
    Regards
    Vishnu

Maybe you are looking for

  • Why can't I log on to Apple communities

    Hello, Has something changed to way that communities work that I have missed?  I have been a subscriber for several years but have not been able to log into any community discussion board for several days. I have checked my .mac/.me accounts which ar

  • Unable to view this webcam in Safari

    Hi , Does anyone know why I am unable to view this webcam in Safari? http://www.cam1.carvoeiro.com/ It appears fine in Firefox & IE but I only really want one browser on my computer. Many thanks for any help on this on, Dave

  • Stock on hand in SIM planning version

    Hi All, Is there a way the stock copied from the active version 000 to the SIM planning versnon to be updated without running report /SAPAPO/VERSION_COPY_TRANS, but manually? The problem is that if I update the stock with the report the planning vers

  • Decode in combination with IN-Statement

    Hello, I'm looking for a way to combine DECODE with the IN-Statement in the following manner: select description of table where type in DECODE(:p1,1,(1,9,100),7,(8,21,110)) :p1 will be replaced by one numeric-value before the statement is evaluated.

  • How can I contact apple by mail?

    How can I contact Apple by mail?