Msg 6.2 - Msg 6.3 - Msg 6.2 on backend Store
Last week we patched our Stores from 6.2 to 6.3 (6.2-8.04 to 6.3-6.02). Due to some performance or stability issues, we had to back out of it using patchrm. MMPs/MEMs were not touched and remained at 6.2-8.04. WebMail is an ME only environment - no UWC.
After the backouts, we had customers using Messenger Express getting 'unknown 255 errors' or hangs. We also experienced lots of IMAP account corruption such as head/body mismatch or mail not showing up in a folder. To make a long story short we ended up running reconstruct -f -r against all 75,000 accounts. We also had lots of IMAP user rebuild their clients.
We have an open call with Sun Support for the problems with Msg 6.3. My question here is more about the backout and problems after it. Does anybody know of any backout issues or incompatibilities, especially with the Store Database or User store.idx files?
Thanks
Steve
We had a similar situation with 6.3 on Sparc/Solaris 10 (multiple processors, multiple messaging processes for imapd/mshttpd) - though we don't use MMP. We too only use Messenger Express, we mainly had performance issues, but also notably a reconstruct bug. The performance issues seemed related somewhat or entirely to the ENS client and server (which IDLE requires, and was a main consideration for our upgrade). We had to completely unload/disable them, and lose IDLE. We also changed a configutil parameter (configutil -o store.quotanotification -v off) as a workaround to the reconstruct bug -which would crash the messaging processes if you ran reconstruct on some accounts. Additionally, we loaded and exported a different memory management library in the start-msg script (libc.so vs. whatever is default).
We considered rolling back to 6.2 or upgrading to 6.3 64-Bit, but pushed to stabilize the system. Sun support helped up determine how to do this as above. The next core 120228 -28 or -29 patch should address many of the stability issues (perhaps even -26), we went with -25 which had the significant bugs mentioned. There are/were also several Messenger Express bugs, notably the drafts bug, and search window bug, and several minor inconsistencies from the previous version (e.g. date format, subject appearance, etc.).
In the longer run 6.3 64-Bit with a mature patch seems to be a good option, and sounds like it might be one for you too given 75,000 users.
The main reason we didn't want to roll-back to 6.2 is the store format. In 6.3, Messenger Express (as you might know) accesses the store via IMAP and the store uses a different data format. If we rolled back, the store data format would have to be converted back to 6.2 format -which would have either involved significant downtime or an even longer running conversion time.
Similar Messages
-
my iphone is not able to connect to itunes and shows the msg "cannot connect to itunes store"
Hello there, Nau1988.
The following Knowledge Base article should help with troubleshooting your issue:
Can't connect to the iTunes Store
http://support.apple.com/kb/TS1368
In your case, focus on the section titled "Troubleshooting on an iPhone, iPad or iPod Touch", there are detailed steps here for working to a resolution of your issue.
Additionally you might want to review the recommendations in this article as well:
iTunes for Windows: iTunes Store connection troubleshooting
http://support.apple.com/kb/HT1527
Thanks for reaching out to Apple Support Communities.
Cheers,
Pedro D. -
Hi, Getting an error while trying to download updates. Err Msg "Account Not in this store' Your account is not valis for use in the US store. You must switch store before purchasing' Have tried to change the store bu not successful. kindly advice
http://support.apple.com/kb/HT1311
-
i cant update my icon . msg " acount not in this store" im in Montreal canada i got this msg today
Sounds like a message you'd get when trying to use an App Store outside of your registered country - ie device registered to U.K. App Store but trying to download while in the U.S.
-
I have bought 2 ringtones Rome iTunes which I have received but it won't let me delete card details as saying payment error with second song but I have it on phone an now it's saying payment processing is not available an d cannot get any free apps form App Store either how can I sort this
See this thread for background on why iTunes can end up with duplicates and how they can be systematically removed. The script there is for Windows users and the "show duplicates" menus have moved around in iTunes 11, but the advice on clearing recently made duplicates should still hold.
As given in my older post "Reorganize library" is meant as a one time command to change the structure of a pre-iTunes 9 library into the newer layout that places music in its own subfolder of the media folder. Once used, if the option becomes available again that suggests that a file called .iTunes Preferences.plist in the media folder has been deleted or editied.
See also this post.
tt2 -
Hi
I have problem when I was make a new account in app store I put my country is Kuwait but I was change before one or tow week ,,,now I need to change to my
country ,, when I was try I see MSG say
( you have a store credit balance: you must spend your balance before you can change stores )
please I no need money
its 0,10$,,, I need to change the country now I should make update to my software please help me
this my account in app store in apple
[email protected]You are correct, in order to change the country of your account, you must get rid of the remaining balance. Contact iTunes Customer Service and they can take care of it.
-
I'm having problems receiving some txt msgs, I went to vzn store and the guy very kindly tried to help me, but so far I still have the problem. I just purchased the samsung nexus 4G, what can I do?
That's definitely strange, Bohica_61. Let's help get the messages flowing to everyone! With regards to the group messages, it does not matter where the message originates from, correct? (Tablet, S5, or web app) Not all the users receive the messages. Is it always the same people that do not receive your texts in the group?
NicandroN_VZW
Follow us on twitter @VZWSupport -
Cant get it to recognise this methord
Please could you help me, i cannot get setMessage method to work, could you tell me why, and how i might resove this.
Thankyou
import java.io.*;
class Message {
String msg;
// This methord lets you store messages
// this methord lets you store messages in the object
void setMessage(String m) {
msg = m;
// this methord prints out the message that is stored
void printMessage() {
System.out.println(msg);
class testmessage{
public static void main(String args[]){
Message mymessage1 = new Message();
mymessage1.setMessage = "hello";This works out fine
import java.io.*;
class Message {
String msg;
// This methord lets you store messages
// this methord lets you store messages in the object
void setMessage(String m) {
msg = m;
// this methord prints out the message that is stored
void printMessage() {
System.out.println(msg);
}And....
class testmessage{
public static void main(String args[]){
Message mymessage1 = new Message();
mymessage1.setMessage("hello");
mymessage1.printMessage(); -
Hi All,
I am having a problem with UWC. Users can log into Calendar Express just fine, but Messenger Express and UWC fail. When I run start-msg I get the following:
Connecting to watcher ...
Launching watcher ...
Starting store server .... 1433
checking store server status ... ready
Starting http server .... failed
Starting mmp server ... 1435
I'm not that familiar with these products, so I am not sure if this is the problem or not. But I don't know where to go to start the http server.
Any help would be appreciated.
Thanks!Hi,
awell wrote:
It is entirely possible. When I reran the configure script, it configured pop and imap, which were not configured before.
I also don't think there was supposed to be an MTA on this box. So how is this system supposed to be able to receive new emails? No MTA means its just a mail-store only.
So these extra services may be using ports set up for something else. You would have seen more errors if that was the case.
By default port 80 is enabled for messaging server http access. If you have another webserver installed on the same system - perhaps hosting UWC - then it will also be using port 80.
You can change the port number for messaging server http access by running the following and restarting messaging server:
./configutil -o service.http.port -v <new port number>
You will have to reconfigure UWC to use the new port.
Do pop and imap have to be configured for uwc to work?POP no. You can disable it by running "./configutil -o service.pop.enable -v 0" and restart messaging server.
IMAP yes. The http process talks IMAP to the backend-store. So it goes:
UWC -> mshttpd -> imapd -> store data.
Regards,
Shane. -
BDC PROGRAM WITH OUT USING A FM?
Hi Experts,
I need wirte a BDC program for tcode PA30.
i did the screen recording part using tcode-shdb.
i need to use field i recorded as input fields.
Now the main part is how to write code? with out using a class/method?
class/method which i earlier used is class : CL_GUI_FRONTEND_SERVICES.
method: gui_upload.
am not using ny flat file/xml file to upload?
are there any function modules which i can use?
and how to write code with out using FM?
if any can solve my issue would be very helpful...plz provide code...which would be more helpful.
Thanks in Adv.
Krrish.Hi,
If you are migrating employee data, I would suggest you to do it through PA40 transaction rather PA30. systematic screen validations it will go through. If you dont want to use any FM and wanted to do using recording pls find the below code which will update the employee data through PA40 with call transaction method.
SELECTION SCREEN
SELECTION-SCREEN: BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS: p_plan TYPE ibipparms-path OBLIGATORY.
SELECTION-SCREEN: END OF BLOCK b1.
TYPES: BEGIN OF ty_error,
pernr TYPE persno, " Personnel number
rel_obj_id(12), " Related Object ID
msg(200) TYPE c, " To store Message
END OF ty_error.
DATA: i_tplan TYPE STANDARD TABLE OF alsmex_tabline WITH HEADER LINE,
i_intern TYPE STANDARD TABLE OF alsmex_tabline WITH HEADER LINE,
i_error TYPE ty_error OCCURS 0 WITH HEADER LINE.
DATA: BEGIN OF w_pa000,
pernr TYPE persno,
begda TYPE begda,
END OF w_pa000.
DATA: wa_plan LIKE i_plan,
wa_messtab TYPE bdcmsgcoll, " Messages
wa_error TYPE ty_error. " Errors
DATA: it_pa000 LIKE STANDARD TABLE OF w_pa000 WITH HEADER LINE,
it_pa002 LIKE STANDARD TABLE OF w_pa000 WITH HEADER LINE,
it_pa001 LIKE STANDARD TABLE OF w_pa000 WITH HEADER LINE.
DATA: g_mode LIKE ctu_params-dismode VALUE 'N',
g_file TYPE ibipparms-path.
ALV field catalog
DATA : i_fieldcat TYPE slis_t_fieldcat_alv.
Batchinputdata of single transaction
DATA: i_bdcdata LIKE bdcdata OCCURS 0 WITH HEADER LINE.
messages of call transaction
DATA: i_messtab LIKE bdcmsgcoll OCCURS 0 WITH HEADER LINE.
error session opened (' ' or 'X')
Table to hold the return messages
DATA: BEGIN OF i_errmsg OCCURS 10.
INCLUDE STRUCTURE bapiret2.
DATA: END OF i_errmsg.
ALV List header table
DATA : i_header1 TYPE slis_t_listheader.
ALV List header table
DATA : i_header TYPE slis_listheader.
***ALV Events
DATA: is_layout TYPE slis_layout_alv.
DATA : it_event TYPE slis_alv_event.
DATA : it_event1 TYPE slis_t_event.
To get the F4 help for file
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_plan.
PERFORM get_filename.
START OF SELECTION
START-OF-SELECTION.
Initialise data
PERFORM initialise_events.
Retrieve data from Excel file
PERFORM retreive_data.
Populate final data into an internal table
PERFORM populate_data.
Process the excel file data to create a record for IT0007
PERFORM process_data.
END OF SELECTION
END-OF-SELECTION.
PERFORM final_output.
*& Form GET_FILENAME
FORM get_filename .
*Function module used for F4 help
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = syst-cprog
dynpro_number = syst-dynnr
IMPORTING
file_name = p_plan.
ENDFORM. " GET_FILENAME
*& Form INITIALISE_EVENTS
FORM initialise_events .
i_header-typ = 'H'.
i_header-key = 'R'.
i_header-info = 'BDC Interface for PA Infotypes 0000,0001,0002'.
APPEND i_header TO i_header1.
CLEAR i_header.
i_header-typ = 'S'.
i_header-info = 'Hiring, Org.Assignment, Personnel Data'.
APPEND i_header TO i_header1.
CLEAR i_header.
***Events and form name
it_event-name = 'TOP_OF_PAGE'.
it_event-form = 'TOP_OF_PAGE'.
APPEND it_event TO it_event1.
ENDFORM. " INITIALISE_EVENTS
*& Form RETREIVE_DATA
FORM retreive_data .
PERFORM upload_data.
ENDFORM. " RETREIVE_DATA
*& Form UPLOAD_DATA
FORM upload_data .
FM to upload data from excel sheet to internal table
CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
EXPORTING
filename = p_plan
i_begin_col = g_colbeg
i_begin_row = g_rowbeg
i_end_col = g_colend
i_end_row = g_rowend
TABLES
intern = i_tplan
EXCEPTIONS
inconsistent_parameters = 1
upload_ole = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " UPLOAD_DATA
*& Form POPULATE_DATA
FORM populate_data .
processing the internal table generated from the function module
Passing data from Excel file to internal table
CLEAR: g_cnt_processed,
g_cnt_err_processed,
i_intern,
i_plan.
LOOP AT i_tplan.
AT NEW row.
CLEAR i_plan.
ENDAT.
CASE i_tplan-col.
Begin Date
WHEN '0001'.
i_plan-pernr = i_tplan-value.
End Date
WHEN '0002'.
i_plan-begda = i_tplan-value.
WHEN '0003'.
i_plan-massg = i_tplan-value.
Sign
WHEN '0004'.
i_plan-plans = i_tplan-value.
WHEN '0005'.
i_plan-werks = i_tplan-value.
WHEN '0006'.
i_plan-persg = i_tplan-value.
WHEN '0007'.
i_plan-persk = i_tplan-value.
WHEN '0008'.
i_plan-anrex = i_tplan-value.
WHEN '0009'.
i_plan-nachn = i_tplan-value.
WHEN '0010'.
i_plan-vorna = i_tplan-value.
WHEN '0011'.
i_plan-gesch = i_tplan-value.
WHEN '0012'.
i_plan-gbdat = i_tplan-value.
WHEN '0013'.
i_plan-fatxt = i_tplan-value.
WHEN '0014'.
i_plan-famdt = i_tplan-value.
WHEN '0015'.
i_plan-gblnd = i_tplan-value.
WHEN '0016'.
i_plan-anzkd = i_tplan-value.
WHEN '0017'.
i_plan-natio = i_tplan-value.
WHEN '0018'.
i_plan-btrtl = i_tplan-value.
WHEN '0019'.
i_plan-gsber = i_tplan-value.
WHEN '0020'.
i_plan-abkrs = i_tplan-value.
ENDCASE.
Appending the internal table tb_data, tb_chng
AT END OF row.
APPEND i_plan.
IF i_plan IS INITIAL.
g_cnt_err_processed = g_cnt_err_processed + 1.
ENDIF.
ENDAT.
ENDLOOP.
To get the total number of records processed
DESCRIBE TABLE i_plan LINES g_lines.
g_cnt_processed = g_cnt_err_processed + g_lines.
CLEAR g_lines.
ENDFORM. " POPULATE_DATA
*& Form PROCESS_DATA
FORM process_data .
CLEAR wa_error.
REFRESH i_bdcdata.
Check if the employee numbers from the template has already been hired
SELECT pernr
begda
FROM pa0000
INTO TABLE it_pa000
FOR ALL ENTRIES IN i_plan
WHERE pernr = i_plan-pernr
AND massn = 'ZA'.
IF sy-subrc = 0.
SORT it_pa000 BY pernr.
Check if employee has a corresponding infotype 0001 record
SELECT pernr
begda
FROM pa0001
INTO TABLE it_pa001
FOR ALL ENTRIES IN it_pa000
WHERE pernr = it_pa000-pernr AND
begda = it_pa000-begda.
IF sy-subrc = 0.
SORT it_pa001 BY pernr.
Check if employee has a corresponding infotype 0002 record
SELECT pernr
begda
FROM pa0001
INTO TABLE it_pa002
FOR ALL ENTRIES IN it_pa001
WHERE pernr = it_pa001-pernr AND
begda = it_pa001-begda.
IF sy-subrc = 0.
SORT it_pa002 BY pernr.
ENDIF.
ENDIF.
ENDIF.
LOOP AT i_plan.
REFRESH i_bdcdata.
***your recording to be pasted here***
PERFORM bdc_field USING 'BDC_CURSOR'
'P0006-BEGDA'.
PERFORM call_transaction.
APPEND wa_error TO i_error.
REFRESH: i_bdcdata, i_messtab.
CLEAR: wa_error, i_error.
ENDLOOP.
ENDFORM. " PROCESS_DATA
*& Form BDC_DYNPRO
FORM bdc_dynpro USING program dynpro.
CLEAR i_bdcdata.
i_bdcdata-program = program.
i_bdcdata-dynpro = dynpro.
i_bdcdata-dynbegin = 'X'.
APPEND i_bdcdata.
ENDFORM. "BDC_DYNPRO
*& Form BDC_FIELD
FORM bdc_field USING fnam fval.
IF fval <> nodata.
CLEAR i_bdcdata.
i_bdcdata-fnam = fnam.
i_bdcdata-fval = fval.
APPEND i_bdcdata.
ENDIF.
ENDFORM. "bdc_field
*& Form ERROR_RECORD_DATA
FORM error_record_data .
CLEAR: g_lines,
wa_messtab,
g_msg.
DESCRIBE TABLE i_messtab LINES g_lines.
READ TABLE i_messtab INTO wa_messtab INDEX g_lines.
IF sy-subrc = 0.
CLEAR g_msg.
CALL FUNCTION 'FORMAT_MESSAGE'
EXPORTING
id = wa_messtab-msgid
lang = sy-langu
no = wa_messtab-msgnr
v1 = wa_messtab-msgv1
v2 = wa_messtab-msgv2
v3 = wa_messtab-msgv3
v4 = wa_messtab-msgv4
IMPORTING
msg = g_msg
EXCEPTIONS
not_found = 1
OTHERS = 2.
IF wa_messtab-msgtyp = 'E'.
IF wa_messtab-msgtyp = 'S' AND wa_messtab-msgnr = '102' AND wa_messtab-msgid = 'PG'.
wa_error-pernr = i_plan-pernr.
wa_error-rel_obj_id = 'S'.
wa_error-msg = 'Personnel Number Created Successfully'.
ELSE.
wa_error-pernr = i_plan-pernr.
wa_error-rel_obj_id = 'E'.
wa_error-msg = g_msg.
ENDIF.
APPEND wa_error TO i_error.
CLEAR i_error.
ENDIF.
ENDFORM. " ERROR_RECORD_DATA
*& Form FINAL_OUTPUT
FORM final_output .
CLEAR g_lines.
SORT i_error.
*************added*********************************************
loop at i_error into wa_error.
if wa_error-MSG eq 'No batch input data for screen MP000600 2000'.
wa_error-rel_obj_id = 'S'.
wa_error-MSG = 'Record Created Successfully'.
modify i_error from wa_error.
endif.
endloop.
loop at i_error into wa_error.
if wa_error-rel_obj_id = 'S'.
g_cnt_success = g_cnt_success + 1. " Append success count
elseif wa_error-rel_obj_id = 'E'.
g_cnt_failure = g_cnt_failure + 1. " Append error count
endif.
endloop.
***Field catalog
PERFORM field_cat.
***Assigning Program name
g_repid = sy-repid.
SORT i_error.
***Display Output
IF NOT it_final[] IS INITIAL.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = g_repid
i_callback_user_command = 'USER_COMMAND'
i_callback_pf_status_set = 'PF_STATUS_SET'
i_save = 'A'
it_events = it_event1
is_layout = is_layout
it_fieldcat = i_fieldcat[]
TABLES
t_outtab = i_error[].
ELSE.
MESSAGE i015(zv_msg) WITH 'No Data Found for this selection'.
LEAVE LIST-PROCESSING.
ENDIF.
ENDFORM. " FINAL_OUTPUT
*& Form top_of_page
text
FORM top_of_page.
***FM for Displaying Heading
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = i_header1[]
i_logo = 'ENJOYSAP_LOGO'.
ENDFORM. "top_of_page
*& Form FIELD_CAT
FORM field_cat .
ENDFORM. " FIELD_CAT
*& Form CALL_TRANSACTION
FORM call_transaction .
CALL TRANSACTION 'PA40' USING i_bdcdata
MODE g_mode
UPDATE 'S'
MESSAGES INTO i_messtab.
If call transaction successful
IF sy-subrc = 0.
g_cnt_success = g_cnt_success + 1. " Append success count "changed
PERFORM error_record_data. " Populate all data
If call transaction not successful
ELSE.
PERFORM error_record_data. " Populate all table
g_cnt_failure = g_cnt_failure + 1. " Append error count "changed
ENDIF.
ENDFORM. " CALL_TRANSACTION -
MoveUser command in Verson 6.3 is weird 1
Hi everyone. ^^
I have one question about "MoveUser" command in mail server version 6.3.
I upgraded one of my store server to version 6.3.
When I moved users from version 6.3 to 5.2 with 6.3 MoveUser command, it didn't work. but reverse case (5.2 to 6.3 with 5.2 MoveUser command) was fine.
Here are "imsimta version" output.
ms9 is version 6.3 and ms8 is 5.2.
ep_ms8: /mail08/iplanet/server5/msg-ms8 #./imsimta version
iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)
libimta.so 5.2 Patch 2 (built 19:30:12, Jul 14 2004)
SunOS ep_ms8 5.8 Generic_117350-55 sun4u sparc SUNW,Sun-Fire
ep_ms9: /mail09/iplanet/server6.3/sbin# ./imsimta version
Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)
libimta.so 6.3-8.01 (built 17:17:19, Dec 16 2008; 32bit)
SunOS ep_ms9 5.9 Generic_122300-29 sun4u sparc SUNW,Sun-Fire-V490
I made script as follow
$1 is uid, $2 is source maildrop and $3 is destination maildrop
a) command is the command to move users from ms9 to ms8 in ms9 mail server using 6.3 MoveUser command.
b) command is the command to move users from ms8 to ms9 in ms9 mail server using 6.3 MoveUser command.
a) /mail09/iplanet/server6.3/sbin/MoveUser -l "ldap://mldap.mydomain.com:389/o=mydomain??sub?(uid=$1)" -D "cn=Directory Manager" -w password -s ms9.mydomain.com:8341 -x imapproxy -p password -d ms8.mydomain.com:8341 -a imapproxy -v password -o $2 -m $3 -A -F
b) /mail09/iplanet/server6.3/sbin/MoveUser -l "ldap://mldap.mydomain.com:389/o=mydomain??sub?(uid=$1)" -D "cn=Directory Manager" -w password -s ms8.mydomain.com:8341 -x imapproxy -p password -d ms9.mydomain.com:8341 -a imapproxy -v password -o $2 -m $3 -A -F
And I made proxyuser in LDAP and set in both mail servers.
Hera are mail config
ep_ms9: /mail09/iplanet/server6.3/sbin # ./getconf | grep store.admins
store.admins = "admin imapproxy"
ep_ms8: /mail08/iplanet/server5/msg-ms8 # ./getconf | grep store.admins
store.admins = "admin imapproxy"
From here I captured screen MoveUser command output
1) In server ms9, check mailbox user called "e11.test"
./mboxutil -l -p "user/e11.test/INBOX"
msgs Kbytes last msg partition quotaroot mailbox
4 1388 2009/05/29 16:11 store901 no quota user/e11.test/INBOX <= 4 messages
In Server ms8
# ./mboxutil -l -p "user/e11.test/INBOX"
msgs Kbytes last msg partition quotaroot mailbox <== No mailbox made
2) Runnign MoveUser script to move ms9 to ms8.
ep_ms9: /mail09/mailsrv/movetest # ./N_ms9-ms8 e11.test store901 store801
ldapHost = mldap.mydomain.com
ldapPort = 389
ldapBaseDN = o=mydomain
ldapScope = 2
ldapFilter = (uid=e11.test)
ldapBindDN= cn=Directory Manager
srcMailHost = ms9.mydomain.com
destMailHost = ms8.mydomain.com
sMailAdm = imapproxy
dMailAdm = imapproxy
OldmailDrop = store901
mailDrop = store801
Not adding alternate mail address to LDAP Accounts
Messages will be removed AFTER the entire folder is moved
=======================================================
ms9.mydomain.com:{store901\e11.test} --> ms8.mydomain.com:{store801\e11.test}
dn: uid=e11.test,ou=regular,ou=people,o=mydomain
changetype: modify
mailhost: ms8.mydomain.com
mailmessagestore: store801
*Server responded [Mailbox does not exist]*
Please check if e11.test exists on destination mail server: ms8.mydomain.com
ep_ms9: /mail09/mailsrv/movetest #
3) So I made INBOX manually using IMAP command logon as proxy user in ms8.
# telnet ms8.mydomain.com 8341
Trying 203.254.225.102...
Connected to ms8.mydomain.com.
Escape character is '^]'.
* OK ms8.mydomain.com IMAP4 service (iPlanet Messaging Server 5.2 HotFix 2.07 (built Jul 15 2005))
*0 login imapproxy password*
*0 OK User logged in*
*0 proxyauth e11.test*
*0 OK Completed*
0 list "" *
0 OK Completed
*0 create INBOX*
0 OK Completed
0 list "" *
* LIST (\NoInferiors) "/" INBOX <== create INBOX manually
0 OK Completed
0 logout
* BYE LOGOUT received
0 OK Completed
Connection closed by foreign host.
Now INBOX was made
# ./mboxutil -l -p "user/e11.test/INBOX"
msgs Kbytes last msg partition quotaroot mailbox
0 0 none store801 no quota user/e11.test/INBOX4) Running again script and the resutlt wad fine. So I assumed that IMAP in Version6.3 can not made INBOX.
ep_ms9: /mail09/mailsrv/movetest #./N_ms9-ms8 e11.test store901 store801
ldapHost = mldap.mydomain.com
ldapPort = 389
ldapBaseDN = o=mydomain
ldapScope = 2
ldapFilter = (uid=e11.test)
ldapBindDN= cn=Directory Manager
srcMailHost = ms9.mydomain.com
destMailHost = ms8.mydomain.com
sMailAdm = imapproxy
dMailAdm = imapproxy
OldmailDrop = store901
mailDrop = store801
Not adding alternate mail address to LDAP Accounts
Messages will be removed AFTER the entire folder is moved
=======================================================
ms9.mydomain.com:{store901\e11.test} --> ms8.mydomain.com:{store801\e11.test}
dn: uid=e11.test,ou=regular,ou=people,o=mydomain
changetype: modify
mailhost: ms8.mydomain.com
mailmessagestore: store801
{ms9.mydomain.com}INBOX [4 message(s)] => {ms8.mydomain.com}INBOX
Moving message # 1 (UID = 1)
Moving message # 2 (UID = 2)
Moving message # 3 (UID = 3)
Moving message # 4 (UID = 4)
4 out of 4 message(s) were moved to => {ms8.mydomain.com}INBOX
[Ok]
Creating Folder {ms8.mydomain.com}Drafts
Mailbox {ms9.mydomain.com}Drafts is empty
0 message(s) moved to => {ms8.mydomain.com}Drafts
[Ok]
-- omit for maximum allowed message in Forums--
5) successfully e11.test mailbox moved to store801.
# ./mboxutil -l -p "user/e11.test/INBOX"
msgs Kbytes last msg partition quotaroot mailbox
4 1388 2009/06/01 16:00 store801 no quota user/e11.test/INBOX
6) When I move from ms8 to ms9 with 6.3 MoveUser command, I got an error.
./N_ms8-ms9 e11.test store801 store901
ldapHost = mldap.mydomain.com
ldapPort = 389
ldapBaseDN = o=mydomain
ldapScope = 2
ldapFilter = (uid=e11.test)
ldapBindDN= cn=Directory Manager
srcMailHost = ms8.mydomain.com
destMailHost = ms9.mydomain.com
sMailAdm = imapproxy
dMailAdm = imapproxy
OldmailDrop = store801
mailDrop = store901
Not adding alternate mail address to LDAP Accounts
Messages will be removed AFTER the entire folder is moved
=======================================================
ms8.mydomain.com:{store801\e11.test} --> ms9.mydomain.com:{store901\e11.test}
dn: uid=e11.test,ou=regular,ou=people,o=mydomain
changetype: modify
mailhost: ms9.mydomain.com
mailmessagestore: store901
*Server responded [Server hosting this mailbox is not available]*
7) So this time, I used mail5.2 patch2 "MoveUser" command in ms8 store server, the result was fine.
The "ms8-ms9" script is the same as "N_ms8-ms9" and "N_ms9-ms8", of cource deprecated options were used such as -b option
ep_ms8: /mail08/iplanet/server5/bin/msg/admin/bin/movetest # ./ms8-ms9 e11.test store801 store901
ldapHost = mldap.mydomain.com
ldapPort = 389
ldapBaseDN = o=mydomain
ldapScope = 2
ldapFilter = (uid=e11.test)
ldapBindDN= cn=Directory Manager
Destination ldap host = rldap.mydomain.com
Destination ldap bind DN = cn=Directory Manager
srcMailHost = ms8.mydomain.com
destMailHost = ms9.mydomain.com
sMailAdm = imapproxy
dMailAdm = imapproxy
OldmailDrop = store801
mailDrop = store901
Not adding alternate mail address to LDAP Accounts
Messages will be removed AFTER the entire folder is moved
=======================================================
ms8.mydomain.com:{store801\e11.test} --> ms9.mydomain.com:{store901\e11.test}
dn: uid=e11.test,ou=regular,ou=people,o=mydomain
changetype: modify
mailhost: ms9.mydomain.com
mailmessagestore: store901
Verifying new attributes..done
{ms8.mydomain.com}INBOX [4 message(s)] => {ms9.mydomain.com}INBOX
Moving message # 1 (UID = 1)
Moving message # 2 (UID = 2)
Moving message # 3 (UID = 3)
Moving message # 4 (UID = 4)
4 out of 4 message(s) were moved to => {ms9.mydomain.com}INBOX
[Ok]
Creating Folder {ms9.mydomain.com}Drafts
-- omit for maximum allowed message in Forums--
mboxutil output was find.
ep_ms9: /mail09/iplanet/server6.3/sbin # ./mboxutil -l -p "user/e11.test/INBOX"
msgs Kbytes last msg partition quotaroot mailbox
4 1388 2009/06/01 16:07 store901 no quota user/e11.test/INBOX
8) When I get failed MoveUser command from ms8 to ms9 using 6.3 , I tried to make INBOX with IMAP command in ms9 server, I've got an error.
My assuming which IMAP in Version6.3 can not made INBOX waswrong. MoveUser command is weird.
ep_ms9: /mail09/iplanet/server6.3/sbin # telnet ms9.mydomain.com 8341
Trying 203.XXX.XXX.XXX...
Connected to ms9.mydomain.com.
Escape character is '^]'.
* OK [CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS CHILDREN BINARY UNSELECT SORT LANGUAGE XSENDER X-NETSCAPE XSERVERINFO X-SUN-SORT X-SUN-IMAP X-ANNOTATEMORE X-UNAUTHENTICATE XUM1 AUTH=PLAIN] ms9.mydomain.com IMAP4 service (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit))
0 login imapproxy password
0 OK User logged in
0 proxyauth e11.test
0 OK Completed
0 list "" *
0 OK Completed
0 create INBOX
0 NO Server hosting this mailbox is not available
0 logout
* BYE LOGOUT received
0 OK Completed
Connection to ms9.mydomain.com closed by foreign host.
Conclutions are
- move user from 6.3 to 5.2 and from 5.2 to 6.3 did not work with 6.3 MoveUser command
- move user from 6.3 to 5.2 and 5.2 to 6.3 work fine with 5.2 MoveUser command
My test is wronfg or MoveUser has a bug.
Any suggestion and idea will be welcomed.
Thanks.
Edited by: leeky41 on Jun 1, 2009 1:48 AM -
Reading attachment: diposition NULL
Hi,
I am trying to read attachment using javamail but when I use getDisposition function, I always get NULL disposition value,even for attachment.Please help me.This is the code I am using.
import java.io.*;
import javax.swing.*;
import java.util.*;
import java.util.Properties;
import javax.mail.*;
import javax.mail.internet.*;
import java.sql.*;
public class try_attachment{
public static void main(String args[])throws Exception
String host = "host";
String username = "username";
String password = "password";
Properties Prop = new Properties();
Session session = Session.getInstance(Prop,null);
Store store = session.getStore("imap");
store.connect(host,username,password);
// open Inbox
Folder folder = store.getFolder("INBOX");
folder.open(Folder.READ_WRITE);
// get Directory
Message msg[] = folder.getMessages();
for (int i=0;i<msg.length;i++)
Object content = msg.getContent();
if(content instanceof Multipart)
handleMultipart(( Multipart)content);
else
handlePart(msg[i]);
folder.close(false);
store.close();
public static void handleMultipart( Multipart multipart)
throws MessagingException, IOException
for(int i=0;i<multipart.getCount();i++)
handlePart(multipart.getBodyPart(i));
public static void handlePart(Part part)throws MessagingException,IOException
String disposition = part.getDisposition();
String contentType = part.getContentType();
// trying to read disposition value
System.out.println("Hello "+ disposition);
try{ if (disposition == null)
System.out.println("Null: " +contentType);
//checkif plain
// if ((contentType.length()>=10)&& (contentType.toLowerCase().substring(0,10).equals("text/plain")))
// part.writeTo(System.out);
else if(disposition.equalsIgnoreCase(Part.ATTACHMENT))
System.out.println("Attachment:" + part.getFileName() + ":" + contentType);
saveFile(part.getFileName(),part.getInputStream());
else if(disposition.equalsIgnoreCase(Part.INLINE))
System.out.println("Inline :"+ part.getFileName()+":" + contentType);
saveFile(part.getFileName(),part.getInputStream());
else
System.out.println("Other");
catch(Exception e)
{ System.out.println(e);}
public static void saveFile(String filename, InputStream input) throws IOException
if (filename == null)
filename = File.createTempFile("testmail",".out").getName();
//do not overwrite
File file = new File(filename);
for(int i=0;file.exists();i++)
file = new File(filename+i);
FileOutputStream fos = new FileOutputStream(file);
BufferedOutputStream bos = new BufferedOutputStream(fos);
BufferedInputStream bis = new BufferedInputStream(input);
int aByte;
while ((aByte = bis.read())!= -1)
bos.write(aByte);
bos.flush();
bos.close();
bis.close();Hello Mark,
1. My Soap Sender Adapter, I checked the Keep Attachment option
2. I am getting the WSDL file from the SOAP Sender Agreement.. it is like http(s)://host:port/XISOAPAdapter/MessageServlet?channel=p:s:c? as you said.
I used the user-defined function, it works when <inc:Include href="cid:test.jpg" xmlns:inc="http://www.w3.org/2004/08/xop/include" /> is deleted in the message.
If the coming message includes <inc:Include href="cid:test.jpg" xmlns:inc="http://www.w3.org/2004/08/xop/include" />,
the <null> error occurs.
Thanx for your reply.. -
Cannot download from App Store to iphone 3GS
Hi all,
I am having problems downloading apps onto my iphone 3g, ever since I changed the battery, insofar I get this msg:
"Cannot connect to the store - a secure connection could not be established. Please check your date and time settings"
Internet works fine, as does all apps previously downloaded. Checked the date / time settings and nothing seems to be wrong here. Just at a lost to what happened, have I inadventedly tripped something when swapping over the battery?
Any advice much appreciated,
ThanksIn PC/Mac iTunes left pane select iTunes Store and at the top select music.
Did it help? -
Cant get bootcamp to recognise thunderbolt to vga
cant get bootcamp to recognise thunderbolt to vga
This works out fine
import java.io.*;
class Message {
String msg;
// This methord lets you store messages
// this methord lets you store messages in the object
void setMessage(String m) {
msg = m;
// this methord prints out the message that is stored
void printMessage() {
System.out.println(msg);
}And....
class testmessage{
public static void main(String args[]){
Message mymessage1 = new Message();
mymessage1.setMessage("hello");
mymessage1.printMessage(); -
How to fetch messages using IMAPFolder ?
Dear Friends,
Anybody knows how to show messages with IMAPFolder ?
Thank u.
Chirag PatelI have never seen the class IMAPFolder. Here is a class I wrote that returns a table row that has message information from a folder.
Use the messagelist method and pass in the folder you want along with the connection url to your server.
=======================================================================
=======================================================================
import java.util.*;
import java.util.Properties;
import java.net.*;
import java.io.*;
import java.lang.*;
import javax.mail.*;
import javax.mail.internet.*;
import javax.activation.*;
public class EmailListMessages {
static String outputString = "";
public String timeoutVal = "5000";
public String messagelist(String mbox, String url, int timeout) throws Exception {
timeoutVal = timeout + "";
return messagelist(mbox,url);
public String messagelist(String mbox, String url) throws Exception{
int optind;
int port = -1;
boolean verbose = false;
boolean debug = false;
boolean showStructure = false;
Store store = null;
outputString = "";
try {
// Get a Properties object
Properties props = System.getProperties();
props.put("mail.imap.connectiontimeout",timeoutVal);
props.put("mail.imap.timeout",timeoutVal);
// Get a Session object
Session session = Session.getDefaultInstance(props, null);
session.setDebug(debug);
// Get a Store object
URLName urln = new URLName(url);
store = session.getStore(urln);
store.connect();
} catch (Exception e) {outputString = "Error:Host Connection";}
// Open the Folder
Folder folder = store.getDefaultFolder();
if (folder == null) {
outputString = "No default folder error";
return outputString;
folder = folder.getFolder(mbox);
if (folder == null) {
outputString = "Invalid folder error";
return outputString;
// try to open read/write and if that fails try read-only
try {
folder.open(Folder.READ_WRITE);
} catch (MessagingException ex) {folder.open(Folder.READ_ONLY);}
int totalMessages = folder.getMessageCount();
if (totalMessages == 0) {
outputString = "(No Messages)";
folder.close(true);
store.close();
return outputString;
// Attributes & Flags for all messages ..
Message[] msgs = folder.getMessages();
// Use a suitable FetchProfile
FetchProfile fp = new FetchProfile();
fp.add(FetchProfile.Item.ENVELOPE);
fp.add(FetchProfile.Item.FLAGS);
fp.add("X-Mailer");
folder.fetch(msgs, fp);
for (int i = 0; i < msgs.length; i++) {
dumpEnvelope(msgs,mbox);
folder.close(false);
store.close();
return outputString;
public static void dumpEnvelope(Message m, String mbox) throws Exception {
String fromString = "";
String subjectString = "";
String dtString = "";
String flagString = "";
Address[] a;
int msgNumber = m.getMessageNumber();
if (mbox.equals("Sent"))
// TO
if ((a = m.getRecipients(Message.RecipientType.TO)) != null) {
for (int j = 0; j < a.length; j++)
fromString = a[j].toString();
fromString = ("<td><a href='EmailViewMessage.jsp?messageNumber=" + msgNumber + "&folderName=" + mbox + "'>" + fromString + "</a></td>");
else
// FROM
if ((a = m.getFrom()) != null) {
for (int j = 0; j < a.length; j++)
fromString = a[j].toString();
fromString = ("<td><a href='EmailViewMessage.jsp?messageNumber=" + msgNumber + "&folderName=" + mbox + "'>" + fromString + "</a></td>");
// SUBJECT
subjectString = m.getSubject();
subjectString = ("<td>" + subjectString + "</td>");
// DATE
Date d = m.getSentDate();
dtString = "UNKNOWN";
if (d != null) dtString = d.toString();
dtString = ("<td>" + dtString + "</td>");
// FLAGS
Flags flags = m.getFlags();
StringBuffer sb = new StringBuffer();
Flags.Flag[] sf = flags.getSystemFlags(); // get the system flags
boolean first = true;
for (int i = 0; i < sf.length; i++) {
String s;
Flags.Flag f = sf[i];
if (f == Flags.Flag.ANSWERED)
s = "\\Answered";
else if (f == Flags.Flag.DELETED)
s = "\\Deleted";
else if (f == Flags.Flag.DRAFT)
s = "\\Draft";
else if (f == Flags.Flag.FLAGGED)
s = "\\Flagged";
else if (f == Flags.Flag.RECENT)
s = "\\Recent";
else if (f == Flags.Flag.SEEN)
s = "\\Seen";
else
continue; // skip it
if (first)
first = false;
else
sb.append(' ');
sb.append(s);
String[] uf = flags.getUserFlags(); // get the user flag strings
for (int i = 0; i < uf.length; i++) {
if (first)
first = false;
else
sb.append(' ');
sb.append(uf[i]);
flagString = sb.toString();
String testString = "\\Seen";
if (!flagString.equals(testString))
flagString = ("<td>New</td>");
else
flagString = ("<td> </td>");
outputString = (outputString + "<tr bgcolor='#a9a9a9'>" + fromString + subjectString + dtString + flagString + "</tr>");
Maybe you are looking for
-
Photoshop CC 2014 Extension - CEP Event callback is triggered multiple times per single event
Trying to make my extensions listen for bunch of events and it's turning out to be a real pain in the ***. I'm hoping there's someone here who has a bit more experience playing around with these. I used the example code from here ( Page 43 ): http://
-
Flat file Error in conversion exit CONVERSION_EXIT_PERI6_INPUT
Hello Experts! I´m trying to upload a flat file data to an infocube and appears an error which diagnosis is:an error ocurred in record 1 during execution of conversion exit CONVERSION_EXIT_PERI6_INPUT for field CALMONTH. Procedure: Check That the rec
-
Hi All, I have a JTree which has re-arrangable nodes. On selection of every node I populate a JTable. Data in JTable is specific to every node. I can add, update and delete rows in JTable. I need to maintain the latest state of the JTable specific to
-
Health app on iPhone 6 is dead
For the last two days the health app on my iPhone 6 has been displaying Steps, walking + running distance, and flights climbed as expected but now all of the data is gone and no new data is being displayed. I have tried rebooting my iPhone 6 a number
-
Whenever I try to open a lesson, I get signs of activity and then nothing happens. The lesson does not load, but there is no crash. I have been through this post: http://discussions.apple.com/thread.jspa?threadID=1882820&tstart=210 and I still have t