Converting Cyrus Spool Files

I was running mail services on a Mac Mini under OS X Server 10.4 for a while, and then one day it all went horribly wrong and I was unable to read any mail in the inbox, don't know what happened but it died!! I finally stopped it working and have moved my mail services off that computer and am just using regular reliable POP stuff from my ISP.
Anyway - this has left me with 3500 message that built up in my inbox that I really need to read, I took the messages from var/spool/imap/user/ben/ - each message is in its own file that I can open and read easily, I can even use Stuffit to get at any attachments, but as there are 3500, most of which are probably junk, opening the all messages individually will take days, what I really want to do is drop them into Mail where I can quickly see the from and subject and delete the stuff I don't want, and read the stuff I do!
I have searched for ages and can't find anything to covert these files, they seem identical in structure to .emlx files, but Mail doesn't like them!!
Any ideas will make my life much easier - many thanks
Ben.

Hi,
I was just investigating moving mail from a Linux box over to Mac's Cyrus setup and noticed a couple of things that might help you.
Here's a similar thread:
http://discussions.apple.com/thread.jspa?messageID=5533351
(link to a tool, at bottom, that might help you)
From an older book on Cyrus (Managing IMAP, 2000, O'Reilly):
http://www.oreilly.com/catalog/mimap/
+Cyrus stores mail in a format that is similar to MH format—instead of storing many messages in a single file as in standard Unix mail (sometimes known as mbox or Berkeley format), each message is stored in an individual file. Each individual file is in RFC 822 format, like Berkeley mail, the only difference being that the Cyrus mail file terminates each line with CRLF.[4]+
+[4] This is important to keep in mind when converting other mailbox formats to Cyrus mailboxes.+
These tools may be helpful as well, though I haven't used them:
http://www.cosmicsoft.net/emlxconvert.html
http://www.weirdkid.com/products/emailchemy/
Larry

Similar Messages

  • How to read spool file and get the spool file number

    Hey everyone.
    I created a program ztemp that is calling another program ztemp2 within, ztemp2 creates a spool file. Now the requirement is I need to write a code within ztemp to download that spool request and then convert it to the pdf file. I know I can use program rstxpdft4 to convert the spool file to the PDF but for this I need to give the spool number, so can you please tell me how can I get the spool number and then fetch it to the program rstxpdft4 .
    Thank you.
    Rhul goel

    Hi,
       Please check the [link|Convert ABAP List to PDF and display without downloading first; (Rich's reply) and get the spool similarly.
    Or read from table TSP01 to get the latest spool using sy-uname.
    Regards,
    Srini.

  • Convert a SAPScript spooled file to PDF

    I have an urgent request to build a front-end interface to map the parameters to SAP Standard object RFOAVIS_FPAYM. This is the driver program for Remit (Payment) Advice Notes using SAPScript.   I need to create a way to submit RFOAVIS_FPAYM and Return back to the calling program after the Remit Note has been created in the SAP spooler. Then I need to read the spooled file and pass the parameters to the FM CONVERT_OTF_2_PDF to create a PDF version and email the PDF via SAPConnect.
    Has anyone done something similar? I am looking for help in capturing the newly created SAPScript form in the spooler and passing the correct parameters to FM CONVERT_OTF_2_PDF so that I will convert the correct output..

    Take a look at these two Process BTEs, Business Transaction Events.
    00002040 Autom. pmnt transactns: Output of pmnt advice note
    00002050 Autom. pmnt transactns: Output of pmnt advice note
    Look at them from Tcode BF05 .  They can be created from the Customizing Tcode SPRO. 
    The help document for BTEs in Tcode SPRO is really quite good.
    Bruce
    The documentation:
    Business Transaction Events
    This activity describes how you can connect additional components (such as in the form of function modules developed yourself or a product from an external software provider) to the standard R/3 System.
    There are two types of interface available in the General Ledger Accounting (FI-GL), Accounts Receivable and Accounts Payable (FI-AR/FI-AP), and Sales and Distribution (SD) components for this:
    1. Publish & Subscribe interfaces (also called "informing interfaces" in the following)
    These should inform you about particular events (such as a document being entered) in the SAP standard application and make the data generated as a result available to the external software. The external software does not return any data to the standard R/3 System. Examples of such events in the R/3 System are:
    Master record was created, changed, or blocked
    Document was entered, parked, changed, or reversed
    Items were cleared or reset
    Additional processing can be caused in the additional component on the basis of these events and data:
    Starting a workflow
    Generating or changing additional data
    Requesting correspondence
    2. Process interfaces (also referred to as "process" in the following)
    Process interfaces are used to submit business processes to a different control which cannot be realized with the standard system, that is process interfaces replace standard processes.
    Here you can structure determination of individual field contents or of specific reactions to process flows individually. It is possible to connect different external developments to the standard R/3 System. The additional developments are generally carried out using the ABAP/4 Development Workbench.
    This way you can, for example, influence the control of payment transactions. Selection of payment method, house bank and partner bank can be made using the payment data (currency, amount, and payee) according to a selection logic which you have defined.
    Standard settings
    Sample modules are delivered in the standard R/3 System which you can copy into your name range and fill them with statements there.
    Activities
    1. Enter a product using "Settings -> Customer's products". There are generally a large number of function modules belonging to a product which can be called by different program events from within the standard R/3 System. A product can also be an external software component.
    If the product is in an external system, enter an RFC destination here. If the product is in the same system, you do not have to enter anything.
    Important: Do not forget to activate the product after making the following settings.
    2. Establish the interfaces with which the R/3 System provides you.
    To do this, choose Environment -> Info system (P/S) or Environment -> Info system (Processes).
    Execute the program. You should enter "A" as the attribute type. You see the respective interfaces with which the R/3 System provides you. Note the key of the interface which you require.
    You can also select:
    By particular SAP application components
    By particular events by entering intervals
    Which interfaces are used in activated products
    Which interfaces are used within a particular country version or within a particular industry
    Which interfaces are used within a particular customer product
    3. Enter the function module which you have developed yourself. To do this, choose either Goto -> Edit modules within the info system or Settings -> P/S modules or Process modules -> Customer's in the "SAP Business Framework" menu.
    Make the following entries:
    Key for the interface
    The product that you want to use
    Function module which belongs to this product.
    You can also enter several function modules for a product.
    Caution: The function module must be within your name range, that is must begin with the letter Z.
    You leave the Ctr and Appl. fields blank unless you want a particular country version or a particular SAP industry-specific component to be enhanced or replaced instead of the standard process flow.
    4. Fill the source text of your function module and activate it.
    To do this, go again via Environment -> Info system (P/S) or Environment -> Info system (Processes) into the information system and execute the program. Then proceed as follows:
    Click twice on the interface you have chosen. If you want, you can look at the interface at this point by choosing Goto -> Interface. Then choose the Back function again afterwards.
    Place the cursor on the relevant line and choose Goto -> Function library. You see the sample function module delivered by SAP.
    Copy the sample module delivered by SAP and call it the same as the function module entered in step 3.
    Fill the source text of the empty function module.
    Activate the function module.
    Activate the product as described in step 1.
    5. Run the R/3 program affected and test whether calling your function module works.
    Further notes
    The other menu paths are only used for information about additional components delivered by SAP or about software already installed by external software providers.

  • Convert the spool to xls format and email through attachment to the user

    Hi all,
    When I execute a report in background, I get spool. I need to convert the spool to xls format and email through attachment to the user.The xls file should not be saved on local system.
    If I use the Spool Recepient tab in SM37 it mails the spool list as .txt file to the mail receipient. But I need to send it as an .xls file.
    Can any one help me on this

    Did you get the solution? i have the same problem.

  • In Adobe Pro XI when converting an excel file to a pdf, the pdf is not retaining the page size settings.  Has anyone found a fix for this?

    In Adobe Pro XI when converting an excel file to a pdf, the pdf is not retaining the page size settings.  Has anyone found a fix for this?

    It shouldn't print each page as a separate job and
    each tab has a different name, so, even if it did, it
    ought to give the printouts the name of the tabs.
    It doesn't print each page as a separate job unless the orientation is different - that's the bug. And the name of the job is taken from the name of the window, not the name of the tabs. That's how every application works, which, I think, is why Excel allows the specific selection or the active sheets to be printed.
    Still, that does sound like a plausible explanation.
    However, even if presented with multiple prints with
    the same name, the spooler should print each one!
    The spooler does print each one - you can watch the spooler process the multiple jobs. I think, though, that they are being overwritten since all the jobs have the name of the window as the job title. And since this happens after the Save Dialog is presented, there's really nothing the application can do. To Excel, it's one job, the multiple orientations don't matter; it's just that Apple doesn't handle it correctly.
    As a workaround, you can print the selections one at a time and give them unique names and then rejoin them in one PDF file.

  • Convert HTML-Spool to PDF

    Hi experts,
    I'm looking for a possibility to conbvert a Spool-request to PDF fomrat.
    Following situation:
    I have a Web Dynpro that creates a page with a few material details. I can now export this to Excel, but now the requeiremt is also to convert it to PDF.
    We don't have ADS, so I can't use Adobe forms. First, I tried to create a Smartform and convert this to PDF which will work. But I have also a few pictures included which come from a Web Service (as JPG). After searchin a while I found a possibilty to convert them to TIF and insert them in SE78 automatically. But this takes to much time and as a result of insert them to SE78, the colors will change (only 256 colors).
    Next idea was to generate a HTML-Mail out of my Smartform (regaring this blog /people/pavan.bayyapu/blog/2005/08/30/sending-html-email-from-sap-crmerp) what works perfectly now.
    So now I have a Spool in SOST which contains a HTML file. OK, looks great, all pictures are included, takes not much time - but how to convert this to PDF?
    Anybody any ideas?

    Hi experts,
    after searching the whole forum and internet, I don't find any solution.
    Maybe the convertion from Spool to PDF is not possible...
    OK, another idea:
    I read that the wrong colors result from the different color depth (16/24 bit vs 256 colors). So my last idea is to convert the image before inserting into BDS (SE78), automatically done by SAP.
    Is there any function/coding you know which can convert me a image from 24bit to 256 colors? If so, I can convert the image and then insert into BDS...

  • Convert SAP spool output to PDF

    I have created program running in background to convert SAP spool output to PDF using function CONVERT_ABAPSPOOLJOB_2_PDF .
    It has been working fine untill I have SAP spool contained > 99 pages. It has a dialog pop up asking to run it in background.
    If I clicked YES, the function generated another background job and another spool.
    Also the returned table PDF contained no data.
    But it is ok when click NO. The program can generate PDF file.
    My problem is I want to set this program as job, so it will not generate PDF file when SAP spool contained > 99 pages.
    Has anyone experienced about this problem? or know how to convert to PDF from SAP spool (>99 pages)?
    Thank you in Advance.

    Hi,
    Use the FM convert_otfspooljob_2_pdf
    see this link for example Re: Download in PDF format
    "Do not use CONVERT_ABAPSPOOLJOB_2_PDF  for script or Smartforms
    Prabhudas

  • Offset in exported spool file

    Hi there,
    I built a report which exports spool files in Excel or TXT files as described here:
    http://wiki.sdn.sap.com/wiki/display/sandbox/ConversionofSpoolRequestDataintoPDFandExcelFormatandSenditintoMail
    I the converted file I now get an offset in some lines which I cannot explain. It is not in the spool list if I look on the spool list output in transaction SP01.
    As far as I could analyze it, it happens within the function module SO_RAW_TO_RTF or SCMS_STRING_TO_XSTRING.
    Has anybody an idea what the reason could be?
    Thanks in advance and regards,
    Martin

    Yes, Its Done.
    I was doing spooling using Unix.
    And checking the database using SQL.
    Both were diffrent instance.
    I have log in to the Unix instance using sqlplus.
    Then i have check the table.
    The table was containing duplicate rows there.
    i have commited database on both instance.
    Now its ok.

  • Spool file, column width question

    I'm a new user, and just converted to Oracle 9 from Informix.
    I am trying to create a (comma delimited) spool file, but the
    column width for some of the numbers that I'm pulling in my
    queries are very wide. For example, if my query is pulling
    first, last, account#, and cust#, the spool output is as such:
    JOHN , SMITH ,
    10203 , 4987
    I realize I can use 'COL name FOR an' to adjust the width of the
    text columns, but how can I make the width of the number columns
    only 5 or 6 digits wide?
    Help!

    Peter,
    If you just want a comma separated value file without formatted columns and you want to eliminate all spaces, then just trim all your values and concatenate them together. See the example below.
    Barbara
    SQL> -- test table:
    SQL> CREATE TABLE mrs_record_load_errors
      2    (DF_ID                 NUMBER   (10)   NOT NULL,
      3     RECORD_NUMBER         NUMBER   (10)   NOT NULL,
      4     DF_ID_REJECT          NUMBER   (10),
      5     METER_POINT_REFERENCE NUMBER   (10),
      6     ERROR_CODE            VARCHAR2 (8),
      7     ERROR_TEXT            VARCHAR2 (200),
      8     RECORD_IMAGE          VARCHAR2 (2000),
      9     PROBLEM               CHAR     (1),
    10     DF_ID_OUT             NUMBER   (10),
    11     FIELD_NUMBER          NUMBER   (10),
    12     RECORD_STATUS         VARCHAR2 (1),
    13     CLIENT_REFERENCE      VARCHAR2 (30),
    14     TRANS_TYPE            VARCHAR2 (3))
    15  /
    Table created.
    SQL> -- test data:
    SQL> INSERT INTO mrs_record_load_errors
      2  VALUES
      3    (245399, 2, 3, 4, 'A', 'B', 'C', 'D', 5, 6, 'E', 'F', 'G')
      4  /
    1 row created.
    SQL> -- test:
    SQL> SET HEADING OFF
    SQL> SELECT '"'
      2         || TO_CHAR (df_id)
      3         || ','
      4         || record_number
      5         || ','
      6         || df_id_reject
      7         || ','
      8         || meter_point_reference
      9         || ','
    10         || LTRIM (RTRIM (error_code))
    11         || ','
    12         || LTRIM (RTRIM (error_text))
    13         || ','
    14         || LTRIM (RTRIM (record_image))
    15         || ','
    16         || problem
    17         || ','
    18         || df_id_out
    19         || ','
    20         || field_number
    21         || ','
    22         || record_status
    23         || ','
    24         || LTRIM (RTRIM (client_reference))
    25         || ','
    26         || LTRIM (RTRIM (trans_type))
    27         || '"'
    28  FROM   mrs_record_load_errors
    29  /
    "245399,2,3,4,A,B,C,D,5,6,E,F,G"

  • How to download and convert RTF/DOC file in DMS into PDF file

    Hello.
    We're on ECC6.0. We have a requirement to get the *.doc or *.rtf file checked in DMS, convert it to pdf format and download it as *.pdf file. The document data is stored in DRAO-ORBLK (LRAW data type). Has anyone programmatically done this? What is the process to achieve this? I've read in the forum that you should first convert RTF(.doc) data to OTF format using CONVERT_RTF_TO_ITF and then you will get the script format from rtf data. Generate the spool using the script data. Convert the spool to PDF using CONVERT_OTFSPOOLJOB_2_PDF. However, the fm CONVERT_RTF_TO_ITF uses RAW data type. There's also fm CONVERT_OTF_2_PDF but I don't know how to implement this for my purpose.
    Also, if Adobe Distiller is installed on the SAP application server, can it be used from an ABAP pgm?
    Thanks in advance for your inputs.

    Hi Maria,
    I realize this a rather old post, but was wondering if you managed to do this as I am having a similar requirement. Appreciate if you could share any solution or findings.
    Thanks,
    Lashan

  • Convert a Postscript file to PDF

    Hi,
    I would like to know how to convert a postscript file residing on the application server, convert it to PDF and send it to a printer. What are the steps involve? Are there any function modules I can use?
    Thanks.

    hi,
    Could you explain how I can generate/create a spool? I'm new to this and I'm still learning. I know that when i sent something to the printer, the spool is generated and I can view the spools in SP01. Are you saying that I can call some kind of function to generate a spool? If so, how do I do that?
    Thanks.

  • Archive pdf (table) (converted from spool to pdf(table))

    Hi friends
    I've used CONVERT_OTFSPOOLJOB_2_PDF to convert a spool-request to pdf.
    That pdf (table) I now want to archive.
    Normally I use FM archivobject_create_synchron when archiving OTF-images from a specific path.
    But now I do not have a path to the file - instead I have a pdf (table) that I want to archive...
    Do you have any suggestions how to handle this?
    br
    Henrik

    you need to use the following fms
    - ARCHIVE_NEW_OBJECT
    - ARCHIVE_PUT_TABLE
    - ARCHIVE_SAVE_OBJECT
    - ARCHIVE_WRITE_STATISTICS
    - ARCHIVE_CLOSE_FILE
    and also check SBOOK* programs

  • ALL MY DESKTOP APPS CONVERTED TO PDF FILES.

    After sending an urgent email attachment in Adobe PDF to Government Offcom, all my Desktop applications in windows 7 64 bit have been converted to PDF files and cannot be opened.   The attachment used was sent to me by my Secretary remotely using an old MAC.
    I can return my laptop to normal operation by un installing my Adobe Reader 11 app, but the problem returns when I re Download Adobe Reader
    11 again.     After discussing this with Adobe Technical in London they advised me to raise this issue with your Adjudicators in this Forum. 
    Please assist asap as this is very urgent right now for several genuine reasons.
    Many thanks.   Derek Horder.

    See if anything in here helps: https://helpx.adobe.com/acrobat/kb/application-file-icons-change-acrobat.html

  • How can I convert an audio file (speech) into a text?

    Hello everybody!
      Can someone explain how I can convert a garageband file (voice speech) into a text? My Mac is a Mac OS X 10.5.8 version, so I don't have programs such as mountain Lion. I thought to use googlevoice. Is this option available? If yes, how can I use it?
    Thanks.

    Hello, I only find google voice available for Abdroid!?
    http://www.ehow.com/info_10033225_google-voice-system-requirements-android.html
    Some possibilitities, not sure if they have 10.5.8 compatble versions anymore...
    http://atmac.org/speech-to-text-dictation-software-for-os-x
    Some reviews of later Dragon Speak...
    http://www.finetunedmac.com/forums/ubbthreads.php?ubb=showflat&Number=22962

  • While saving a file, I have converted all my files to Pdf.  The only way to restore previous is to delete Adobe.  Does anyone have a soution?

    While saving a file, I have converted all my files to Pdf.  This made everything inaccessible, even Explorer.  I had to delete Adobe to get back to some of the previous files.  I tried to restore system to previous, but I kept getting a pop up message that said I did not have enough shadow space.  Does anyone have a solution?  Greatly appreciate your help.

    Application, file icons change to Acrobat/Reader icon

Maybe you are looking for

  • Problem Getting Error Code and Description in Alerts

    We are having trouble getting the Error code and Error description in the Alerts and we're having trouble getting a alert for message mapping exceptions.  I have read through the BLOGs and the help on SAP.  I'm not sure it is something to do with the

  • SCCM 2012: remove App-v application

    Hi, I'm trying to setup a removal of an app-v application as soon as a user isn't member of a specific group. *I targetted an install of an App-v application to a group of which testuser is member. *I targetted an uninstall of an App-v application to

  • How can I make iMessage to work in iPad 2, iOS 5?

    Whenever I determine a contact to send a message it turns red and I get the message "("whatever the phone nomber is") is not registered with iMessage" and the "send" button is blocked. How can I fix this please?

  • Where are the Download Excel Files going?

    Safari 6 seems to download Excel files as requested from a web site but they do not appear anywhere in the Download Folder I have specified. The site successfully downloaded the files before I upgraded to Safari 6. I now have to switch to Firefox to

  • Cannot access Lightroom!

    VERY frustrated, could not access Lightroom to finish a very important project that was due yesterday. I called and was on hold for over an hour so I hung up as it was by then after 5:00. I called again first thing this morning and was prompted to le