# Mappings file reference sequence

Does anyone tell me in which order iMS refers the mappings file "mapping table"?
What I expect here is the sequence iMS refers on PORT_ACCESS, INTERNAL_IP, ORIG_MAIL_ACCESS, ORIG_SEND_ACCESS, SEND_ACCESS, etc....
I noticed it is not refer as in the order given in mappings file.

In that case, could you kindly tell me how I can allow one "source from addr" come from "particular IP" (orig_mail_access), while others hit default entry listed in "orig_send_access".
Actually, I have configure SMTP AUTH and anybody not authenticated hits an entry (tcp_local|*|tcp_local|* $N$D30|Relaying$not$ allowed) in ORIG_SEND_ACCESS. I wanna config one administrative "from addr" come from another server to allow relaying without authentication.

### Similar Messages

Hi,
How can I do this?
Thanks.

Why do you want to do this ?
I don't think that could work that way... But it is possible to reference others JNLP files inside a JNLP file.
Example in my own jnlp file:
<jar href="jte4.jar" main="true"/>
<extension name="JTDS JDBC Driver" href="jtds.jnlp"/>

• Know steps names of called sequence file using sequence call step type in TestStand

Hi,
I have a problem in accessing step names in called sequence file using "Sequence call"step type in TestStand 4.0.
I would list out all step names of called sequence file. Is it possible to do through C#.NET? If, yes, Please explain to me in detail with possible example.
Thank you,
regards
RKK

Hey RKK,
I want to first set your expectations for the forums.  This is not a place for people to review and rewrite your code for you; this is a place for specific and general questions.  I am not saying your question in this thread is inappropriate, because it is a good questions.  We should just not post code and ask others to fix it here.  If you are looking for this type of service we have alliance members that can help you write your TestStand Operator Interface (www.ni.com/alliance).
As for you question about getting the sequence names for a sequence file that is not the currently running sequence file, you will need to open a reference to that sequence files and then use the API calls that I mentioned in my previous posts.  You can use the Enigine.GetSequenceFileEx function to open a reference to sequence file, and you will need to close the reference with the Engine.ReleaseSequenceFile function when you are done using it.  After you have a reference to this external Sequence File, you can use the example dll and sequence I previously sent you.  I also attach a new sequence file (SeqFile2.seq) plus an updated GetNames.seq to illustrate how to use the above mentioned functions.  I hope this helps.  Have a great day!
Best Regards,
Software Engineer
Jett R
Attachments:
GetNamesOfSequencesInFile.zip ‏52 KB

• Same data wire (source and sink are listed as "datalog file reference of") will not connect

I am trying to write a short program that will convert a string spreadsheet file into a datalog file with the numbers turned back into numbers.  I have a case structure for each type of spreadsheet (different types per columns and different number of columns).  I use a 'for loop' to process all records (rows).  And I use a 'sequence structure' to individually process each column item into its original format (string or number), then group together into a bundle and then write the results to the datalog file format.
The first two (case structures) worked but the second pair of case structures would not allow me to connect the datalog file reference number from the 'write to datalog file' to the 'close datalog file' through the 'for loop' wall.
I am using 8.2
I am sure it is an stupid issue, but the error message just did not point me towards a solution.
con-fUsed, DogFace.
Attachments:
PROCESS SH TO DLOG.vi ‏84 KB

The problem is that you are creating a different type of datalog file in cases 2 and 3 than you are in cases 0 and 1.
The structure of a datalog file is the same as an array of clusters. All of the clusters must be of the same structure. Only the values of the individual cluster elements can vary.
You are trying to write three different cluster structures to a single datalog file. You just can't this.
You'll either need to write to three different files, or come up with a structure that everything will fit into.
One other quick hint. NEVER use a variable to pass data when you can wire the terminal directly to the function.
Ed
Message Edited by Ed Dickens on 03-19-2007 11:39 AM
Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.

• Mail server configuration mappings file

Hello
I have just installed the following mail serverSun Java(tm) System Messaging Server 6.3-0.15 (built Feb 9 2007)
libimta.so 6.3-0.15 (built 19:27:56, Feb 9 2007)
SunOS mail.yurnero.com 5.10 Generic_118833-36 sun4u sparc SUNW,Sun-Fire-V240
After installation I want it to be able to perform the following operations which it is not currently allowing
1- Sending mails through thunderbird/outlook * Authenticated *
Currently it displays the message "relaying not allowed" I understand that I need to configure the mappings file, yet the mappings file i had of the old server (2005Q4) does'nt works
Can anybody guide me about how to create a mappings file, the administration reference only gives syntax and not a real life scenario
2- Sending mails to other domains
I have done the dns entry, while it is still not working , what other things should i check?
regards
Kimi

First, you should connect to sunsolve.com, and download the current patches for your original release of 6.3. Many bugs are fixed.
now, you need to decide on the range of IP addresses that the server considers "internal" to your environment. Those go in the "internal_ip" table in the mapping file.
Also, you need to configure your mail client to use authentication. The server configuration by default allows this, and shows an authenticated smtp connection by "EA" in the enqueue log entry, for "Enqueue, Authenticated". Authenticated users are allowed to relay, so the fact that you got the message, "relaying not permitted" shows that your client did not authenticate.
Remember, after changing the mappings file, or many other configuration details, you must run:
imsimta cnbuild
and then restart the portion of the MTA affected. In this case, it's the dispatcher:
imsimta restart dispatcher

• A File Reference and its evolving life!

Hi all,
I've noticed something that came as a little bit of a surprise to me, but I think I have the explanation, at a hand-wavy higher level anyway.  What I have not established is if this is a 'bug' or a 'feature', and if there are any ways the following issue can be avoided at the NI function/api layer.
Consider the file open and file close function.  You open a file, you use the reference to the file to write/read data, then at some point you close the reference and the close function spits out the file-path.  Here are a couple of tid-bits you may not be aware of (that are easy to test):
Q1) After your application opens/creates a file and starts using the file-reference to make file writes, if an external source changes the file-name of that file... guess what will happen on your next write function call?
A1::  The write successfully updates the newly re-named file with your new data without producing an error or a warning.  (At least this is the case if your program is running on a vxWorks cRIO target and the file-name is changed directly on the cRIO via an FTP browser.)
Did this surprise you? It did surprise me!  -My handwavy explanation is that the file-pointer is perhaps managed/maintained by the OS, so when the OS tells the file-system to rename that file, the pointer that LabVIEW holds remains valid and the contents of the memory at the pointer location was updated by the OS.
Q2) Continuing from the situation setup in Q1, after writing several new chunks of data to a file now currently named something completely different than when the file reference was originally created, you use the close function to close the file-reference.  What do you expect on the file-path output from the close function??  What do you actually get??
A2::  The close function will 'happily' return the ORIGINAL file-name, not the actual file-name it has been successfully writing to(!).   This has some potentially significant ramifications on how/what you can use that output for.  At this point there is a ton of room for pontifications and more or less 'crazy' schemes for what one could do, but I argue that the bottom line is that your application has at that point completely lost the ability to accurately and securely track your file(s).  Yes, you could list a folder and try and 'figure out' if your file-name was re-named during writing and you can in various ways make more or less good 'guesses' on which file you in reality just had open, but you can never really know for sure.
So, what do you guys think?? Is the behavior of returning the (incorrect) original file-path when you close the handle a BUG or a FEATURE??  Would it not be possible for LabVIEW to read back the data contained in the (OS?) pointer location and as needed update the file out path data when it closes a reference?  Should we not EXPECT that this would be the behavior?
Q3)  Again, continuning from the above situation, lets assume we are back at the state in Q1, writing data to a (re)named file.  What happens if the file is deleted by an external process? What happens to the file reference? File function calls using the reference?
A3::  This one is less surprising.  The file reference remains 'valid' (because it is a valid reference), but depending on the file function you are calling, you will get error such as error 6 (binary write reports this), or error 4 (a TDMS write will report this error), etc.  So as long as you don't rely on file ref-num tests to establish if you are good to go with a file-write or file-action, you should be safe to recover in an appropriate way.. Just don't forget to close the file-reference, even if the file is 'gone', the reference will still remain in memory until you 'close' it (with an error)(?I might be wrong about this last part?)
I am not sure if the above is possible on e.g. Windows, Windows would probably prevent you from re-naming a file that has an open file-handle to it, but this is definitley observable on at least vxWorks cRIO targets.  (I don't have PharLap ETS or RTLinux devices so I can't test on those targets.. if you want to test its pretty straigth forward to make a simple test app for it.)
[begin rant-mode related to why I found this out and why this behavior BITES]
There are situations where the above situation could cause some rather annoying issues that, for somewhat contrived reasons related to cRIO file API performance, CPU and memory resource management, are non-trivial to work around.  for example, using the NI "list folder" to listing folders take a very hefty chunk of time at 100% cpu that you cannot break up, so polling/listing folders after every file update (or even on a less regular interval) is a big challenge, and if you are really unlucky (or didn't know any better) and gave the list command in a folder with 1000's of files (as opposed to less than about 100 files), the list will lock your CPU at 100% for 10's of seconds...  Therefore, you might be tempted to maintain your own look-up table of files so that your application can upload/push/transfer and/or delete files as dictated by your application specific conditions... except that only works until some prankster or well-intention person remotes in and starts changing file-names, because then your carefully maintained list of file-names/paths' suddenly fall appart.
[\end rant]
QFang
CLD LabVIEW 7.1 to 2013

-Deny Access : still able to re-name (and delete) the file via FTP browser (didn't test other file avenues).  I think this is for the same reason that NI vxWorks targets (such as cRIO-9014) do not support the concept of different users with different rights, as such, everyone have access rights to everything at the OS level.  Another issue for me would be that "Deny Access" does not work on TDMS file references, so even if it worked, it would not help me.
--> I strongly suspect that these things are non-issues or issues that can be properly managed, on the new NI LinuxRT targets since (the ftp is disabled by default) it supports user accounts and user restrictions on files/folders.  The controller could simply create the files in a tree where 'nobody else' has write access.
Obviously nobody should mess around with files on a (running) cRIO, but customers don't always do what they are supposed to do.
As far as the 'resources' or overhead to update the file-refnum with the new information, this would not be needed to be done in a polling fashion, simply, when the file-close function is called, as part of that call it updates its internal register from the pointer data, so this should be a low overhead operation I would think?  If that is a true concern, a boolean input defaulting to not updating or a separate 'advanced close' could be created?
I've included a zip with the LV2013 project and test VI's (one for tdms one for binary) that I've used. nothing fancy, but in the interest of full disclosure.  The snippet is the 'binary file' test vi, in case you just want a quick peak:
Steve Bird's findings of (yet) another behavior on Pharlap systems is also very interesting, I think!!
[EDIT]  JUST TO CLARIFY, on vxWorks, the re-named file keeps being successfully written to, unlike the PharLaps' empty file that Steve Bird found.
QFang
CLD LabVIEW 7.1 to 2013
Attachments:
cRIO Tests.7z ‏30 KB

• How can I create dynamic file references in Power Query?

Hi all,
I'm new at using PowerQuery, and so far I like it. There's one thing I am struggling with though... Once I have set up my PoweQuery connections, I don't find an easy way to change the file to which the query is connecting. I'm using it for a monthyl recurring
process, and every month the source data to query on woudl be different. The same in format/structure, but just a different dataset.
Is there a way to make the source setup more dynamic? Can I for example in a parameters sheet enter the name and path of the new source file and update the queries?
Currently the Advanced editor shows me following file reference:
let
Source = Excel.Workbook(File.Contents("Z:\Templates\EMEA\Source Data Tables\EMEA_EW_Source_Data_for_Power_Queries v1.xlsm")),

Yes, this is something that you can do with Power Query. Here's how you can do it:
Create a table in Excel containing your parameter value. Let's say that it has one column, called ParameterValue, and one row.
Create a new Power Query query that gets the data from this table. Call the query something like ParameterQuery.
In your original query you will now be able to reference values from your parameter query by saying something like this:
Source = Excel.Workbook(File.Contents(ParameterQuery[ParameterValue]{0})),
HTH,
Chris
Check out my MS BI blog I also do
SSAS, PowerPivot, MDX and DAX consultancy
and run public SQL Server and BI training courses in the UK

• When trying to upload a PDF to an interactive site I get the announcement:"The attached PDF file references a non-embedded font Tahoma. Please remove file, embed the font and reattach." How do I embed this, or in fact any other font ?

When trying to upload a PDF to an interactive site I get the announcement: "The attached PDF file references a non-embedded font Tahoma. Please remove file, embed the font and reattach."
I could not get rid of the Tahoma font in the WORD file.
How do I embed this, or in fact any other font ?

Thank you very much !
Indeed, I was unaware of the enormous number of options that can be selected when converting a WORD file to PDF.
I went thru the settings and found the right one for embedding the fonts.
Thanks again !
Oren

• Mappings file

Is some one can give me some explanation on the line
tcp_*|*|ims-ms|* $N find in the ORIG_SEND_ACCESS prt of the mappings table? If we look at the log file we can see this: 17-Feb-2005 15:39:01.51 tcp_intranet ims-ms E 1 [email protected] rfc822;[email protected] test1%[email protected] But the meaning of the rule is any mail coming from a tcp_* chanel and route to the ims-ms chanel must be discard so how the mail can be delivered? Thanks in advance Hi, The version is: Sun ONE Messaging Server 6.0 HotFix 1.04 (built Jun 3 2004) libimta.so 6.0 HotFix 1.04 (built 13:20:57, Jun 3 2004) The mappings content is: ! MTA mappings file ! for access control and other table lookups PORT_ACCESS *|*|*|*|*$C$|INTERNAL_IP;$3|$Y$E
* $YEXTERNAL INTERNAL_IP$(151.90.252.94/24) $Y 127.0.0.1$Y
* $Y ! *$N
ORIG_SEND_ACCESS
tcp_local|*|tcp_local|* $N$D30|Relaying$not$ allowed
tcp_*|*|native|* $N tcp_*|*|hold|*$N
tcp_*|*|pipe|* $N tcp_*|*|ims-ms|*$N
! Block "external" submissions of explicitly source-routed "internal" addresses
tcp_local|*|tcp_intranet|@*:*.* $N$D30|Explicit$routing$ not$allowed tcp_local|*|tcp_intranet|*$%*@* $N$D30|Explicit$routing$ not$allowed tcp_local|*|tcp_intranet|*.*!*@*$N$D30|Explicit$ routing$not$ allowed
tcp_local|*|tcp_intranet|"*@*"@* $N$D30|Explicit$routing$ not$allowed SEND_ACCESS tcp_*|*|*|*@[127.*]$X5.1.2|$NBad$ destination$system tcp_*|*|*|*@localhost.*$X5.1.2|$NBad$ destination$system tcp_*|*|*|*@example.com$X5.1.2|$NBad$ destination$system tcp_*|*|*|*@example.net$X5.1.2|$NBad$ destination$system tcp_*|*|*|*@example.org$X5.1.2|$NBad$ destination$system tcp_*|*|*|*@*.test$X5.1.2|$NBad$ destination$system tcp_*|*|*|*@*.example$X5.1.2|$NBad$ destination$system tcp_*|*|*|*@*.invalid$X5.1.2|$NBad$ destination$system tcp_*|*|*|*@*.localhost$X5.1.2|$NBad$ destination$system <IMTA_TABLE:mappings.locale • Mappings file syntax iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004) What is the preferred method of configuring an MTA to not take outside connections at all but only those generated on the local host? Do I comment out the " *$YEXTERNAL" line in my mappings file ?
Also, if I wanted to only take connections from a couple subnets what is the syntax, eg from 128.111.207/206 subnets.
Pasted below is the current mappings settings for the MTA in question:
! Modified by IMS administration server on: Sat Jun 05 22:43:51 PDT 2004
PORT_ACCESS
*|*|*|*|* $C$|INTERNAL_IP;$3|$Y$E *$YEXTERNAL
INTERNAL_IP
$(128.111.207.251/32)$Y
127.0.0.1 $Y *$N

Hi,
What is the preferred method of configuring an MTA to
not take outside connections at all but only those
generated on the local host?
Do I comment out the " * $YEXTERNAL" line in my mappings file ?I don't know about a preferred method but one method would be to replace " *$YEXTERNAL" with " * $N". Any host/IP address that doesn't match your INTERNAL_IP mapping table will be rejected. Also, if I wanted to only take connections from a couple subnets what is the syntax, eg from 128.111.207/206 subnets.If you wanted to treat these subnets as 'internal' (so they can relay through your system) you would add the following to your INTERNAL_IP mapping file (just above the$N line):
$(128.111.206.0/24)$Y
$(128.111.207.0/24)$YOtherwise you would add the same lines to your PORT_ACCESS mapping table just above the \$N (and then the emails from these hosts would be treated as 'external', namely on tcp_local.
You need to run ./imsimta cnbuild; ./imsimta refresh after making the changes.
Regards,
Shane.

• Project File File References

Does JDeveloper 9.0.4 use absolute or relative file references in its project (.jpr) files, or is it a mixture of the two? I've heard conflicting stories but have personally only ever seen relative references.

Yes, I've tried this and have gotten a clean compile.  However, the .dll is associated with third party software intended to add controls to a form.  The form does not display in Designer though (extensive stack trace errors) which made me wonder
whether there is a downside to this approach.

• Processing files in Sequence using FTP Adapter

Hi Experts,
I have searched several forums but i am not clear on  how to process the files using FTP Adapter based on Timestamp.
To process the files in sequence i.e, FIFO using FTP Adapter
i have the files with file name customer and timestamp :  customer<yyyyMMddHHmmss>
there are around 50 files in the FTP server llike this.
I need to process these files acording to the timestamp and place the files in same processing sequence in the receiver end using the file adapter.
If i specify the parametes in sender FTP Adapter as
Qos= EOIO
Queue name = ACCOUNT
Whether these parameters would do the processing in sequence according to the Timestamp?
Suppose if the queue ID for Inbound(SMQ2) is XBTI0_ACCOUNT then whether it will be the same for Outbound(SMQ1)?
Kindly suggest me how to process the files in sequence according to the Timestamp using FTP Adapter
Thanks
Sai

Hi Shabarish,
But this would require one more additional channel to process
So i think it will take more time to process.
Let me clarify my question once again.
I need to Pick the files from FTP server based on their TimeStamp and in sequence.
the file names are like this Customer<YYYYMMDDHHmmSS>.
suppose i have 3 files as
Customer20050413044534
Customer20050414053430
Customer20050315034533
So i need to pick these files in this order and place the files in the same order to the receiver end(File Adapter)
Customer20050315034533
Customer20050413044534
Customer20050414053430.
As i am using FTP sender adapter i cannot use processing sequence "By Date".
Thanks
Sai.

• ERROR ITMS-9000: "META-INF/container.xml must contain one and only one root file reference."

Hi all,
After correcting a table-of-contents error in my .epub file, I am unable to upload it via iTunes Producer. It lists this error message:
ERROR ITMS-9000: "META-INF/container.xml in 9780615431727.epub must contain one and only one root file reference." at Book (MZItmspBookPackage)
The file has been verified and only has one root file reference in the container.xml file.
Has anyone been able to find a solution to this problem?
Thanks!

Hello Forum Users…
For those of you who have run into the upload roadblock, getting an error message similar to this:
Package Summary:
/Users/slm/Desktop/MUSIC to PICTURE for IBOOK/2012 MTP for iTUNES Bookstore/9780615600918.itmsp - Error Messages:
Apple's web service operation was not successful
Unable to authenticate the package: 9780615600918.itmsp
ERROR ITMS-9000: "OPS/ibooks.ncx(5): 'p50': fragment identifier is not defined in 'OPS/content9.xhtml'" at Book (MZItmspBookPackage)
Following is a "specific" fix, but the idea of the fix will help you with your specifics too.
I tried for 17 days to upload a book that looked and worked perfectly in iPAD via Preview.
After many discussions with Apple, who to their credit stayed with me over 2-3 days, I decided to play a hunch.
I went into a duplicated copy of the book and on every page, (because the error message was not telling the whole story), looked for what InDesign would call "Overset Text."
Now... the "flaw" in iBOOK Author (hint) is that it won't advise you of this "overset text" as does InDesign.
And to compound the matter, the exported ePUB document WORKS in iPAD Preview.
See Screenshots from InDesign:
Okay... Couldn't add it but it is a Warning Box that says there is overset text. (Characters which exceed the text box.)
Nevertheless, I played this hunch, and sure enough found a few boxes with the + in them.  In other words I clicked on EVERY text holder and every text block in the entire document.
Where I found + signs, I simply deleted some carriage returns from the iBOOK file... (please note… carriage returns and literally empty spaces that caused the overset text) and then erased all previous copies of the Music to Picture Book on my hard drive,  iTUNES and iPAD.
The result?  A "text-book" upload with no snags!  As my Son would say… "Victory!"
So, first make sure that you are using only PNGs, Jpegs and Movie files to iBook Specs.  Then... make sure there are no overset text boxes, which you must do manually.
Enjoy & Godspeed!
Steve
Stephen Melillo, Composer
STORMWORKS®
209 Spinnaker Run
Smithfield, VA 23430-5623
USA
v/f 757-356-1928
stormworld.com
“History is a vast early warning system.” Norman Cousins, editor and author (1915-1990)
"This will be our reply to violence: to make music more intensely, more beautifully, more devotedly than ever before." Leonard Bernstein
“If you have a chance to help someone, and you don’t, you are wasting your time on this earth.”  Roberto Clemente

• Get the ipad to display my photos in file name sequence

How can I get the ipad to display my photos in file name sequence instead of by time/date stamp? I want to display them in a particular sequence controlled by the filename I gave them.

Hey Tex,
Good idea.  I've found a question that indicates that the ipad sorts by name (https://discussions.apple.com/message/9116248#9116248).  Mine are all sorted by date/time.  How did they do that?
The app you suggested looks promising, but it sounds like i have to manually rearrange my pictures, and since i have hundreds in each folder, this would be tedious.  Is there an app that will allow me to display them by filename w/o me having to rearrange them myself??
Thanks.
WSC

• How to create an xml to load swf files in sequence?

hello everyone
I'm new in web design... I know how to animate in flash, using timeline, frames, layers, twins and so on... But I want to move forward so I want to create a xml to load swf files in sequence and in loop. Each swf file has 8 seconds.You can see the example here in www.cm-seixal.pt.
I'm not a programmer but I understand how actionscript works... I hope you can help me
Cheers!
Ana

### Maybe you are looking for

• How do I set up multiple users with different configurations

I have a Mac Pro that is shared by multiple users. Some edit using Avid Media Composer 6.0, and some edit using Final Cut Pro 7. Our client monitor is connected using a Matrox MX02 Mini. When I install the latest drivers for the Matrox MX02, I can us

• Required Itunes component is not installed -42404

My system is Windows 7 64bit.  After the iTunes update to 10.3, iTunes is now unusable, will not reconize my iphone.  Get the following messages Required iTunes component is not installed -42404 Could not purchase required iTunes compoenet is not ins

• I have no audio when using chrome

I have no audio when using chrome. I have audio when using Internet explorer and when playing from my pc. I have tried uninstalling chrome and flash player then reinstalling them. have tried FAQ on chromes site and Adobe's site. did not work.

• Server Console to Windows Servcie

Hi NG, I need a little help to convert a console application to a Windows Servcie. My problem is that, I do not really know how many entries in args should be. I am trying with following code: Dim MyLog As New EventLog         Dim args(3) As String

• I PAD NOT PUSHING ENTERED CALENDAR DATA......BUT IS FETCHING

We are trying to sync all 5 products with Mobile ME......Desktop, laptop, iphone, ipod touch and ipad.....the ical works GREAT to push and fetch EXCEPT for the ipad!!! It is Fetching ALL the data entered with all the devices but NOT pushing the data