Command line mail not working since Server 2.2

Since Mountain Lion, everytime Server.app updates it borks my previous mail settings/hacks/workarounds to the issues with the last version. I just want sendmail, mail, postfix, etc to work and stay working. I even have my own list of stuff to reapply with each Server.app update, but sadly even that has stopped working.
Just basic mail won't even work:
$ mail adam
Subject: test
This is a test mail
⌃D
$ mail
No mail for adam
Here are my current settings.
$ sudo serveradmin fullstatus mail
mail:setStateVersion = 1
mail:readWriteSettingsVersion = 1
mail:connectionCount = 0
mail:servicePortsRestrictionInfo = _empty_array
mail:protocolsArray:_array_index:0:status = "ON"
mail:protocolsArray:_array_index:0:kind = "INCOMING"
mail:protocolsArray:_array_index:0:protocol = "IMAP"
mail:protocolsArray:_array_index:0:state = "STOPPED"
mail:protocolsArray:_array_index:0:error = ""
mail:protocolsArray:_array_index:1:status = "ON"
mail:protocolsArray:_array_index:1:kind = "INCOMING"
mail:protocolsArray:_array_index:1:protocol = "POP3"
mail:protocolsArray:_array_index:1:state = "STOPPED"
mail:protocolsArray:_array_index:1:error = ""
mail:protocolsArray:_array_index:2:status = "ON"
mail:protocolsArray:_array_index:2:kind = "INCOMING"
mail:protocolsArray:_array_index:2:protocol = "SMTP"
mail:protocolsArray:_array_index:2:state = "RUNNING"
mail:protocolsArray:_array_index:2:error = ""
mail:protocolsArray:_array_index:3:status = "ON"
mail:protocolsArray:_array_index:3:kind = "OUTGOING"
mail:protocolsArray:_array_index:3:protocol = "SMTP"
mail:protocolsArray:_array_index:3:state = "RUNNING"
mail:protocolsArray:_array_index:3:error = ""
mail:protocolsArray:_array_index:4:status = "ON"
mail:protocolsArray:_array_index:4:kind = "INCOMING"
mail:protocolsArray:_array_index:4:protocol = "Junk_mail_filter"
mail:protocolsArray:_array_index:4:state = "RUNNING"
mail:protocolsArray:_array_index:4:error = ""
mail:protocolsArray:_array_index:5:status = "ON"
mail:protocolsArray:_array_index:5:kind = "INCOMING"
mail:protocolsArray:_array_index:5:protocol = "Virus_scanner"
mail:protocolsArray:_array_index:5:state = "RUNNING"
mail:protocolsArray:_array_index:5:error = ""
mail:startedTime = "2013-02-05 16:26:45 +0000"
mail:logPaths:IMAP Log = "/Library/Logs/Mail/mailaccess.log"
mail:logPaths:Server Log = "/Library/Logs/Mail/mailaccess.log"
mail:logPaths:POP Log = "/Library/Logs/Mail/mailaccess.log"
mail:logPaths:SMTP Log = "/var/log/mail.log"
mail:logPaths:Migration Log = "/Library/Logs/MailMigration.log"
mail:logPaths:Virus Log = "/Library/Logs/Mail/clamav.log"
mail:logPaths:Amavisd Log = "/Library/Logs/Mail/amavis.log"
mail:logPaths:Virus DB Log = "/Library/Logs/Mail/freshclam.log"
mail:imapStartedTime = ""
mail:servicePortsAreRestricted = "NO"
mail:state = "RUNNING"
mail:postfixStartedTime = "2013-02-05 16:26:45 +0000"

Yes, the ProgramArguments key contains the exact array you posted.
And here is the output for
sudo serveradmin settings mail
mail:postfix:smtpd_pw_server_security_options:_array_index:0 = "cram-md5"
mail:postfix:smtpd_pw_server_security_options:_array_index:1 = "digest-md5"
mail:postfix:smtpd_pw_server_security_options:_array_index:2 = "login"
mail:postfix:smtpd_pw_server_security_options:_array_index:3 = "plain"
mail:postfix:spam_quarantine = "[email protected]"
mail:postfix:smtp_reject_list_enabled = no
mail:postfix:bayes_path = "/Library/Server/Mail/Data/scanner/amavis/.spamassassin/bayes"
mail:postfix:smtp_sasl_auth_enable = yes
mail:postfix:whitelist_from = _empty_array
mail:postfix:submit_cred:XXXXXXX.local:username = "submit"
mail:postfix:submit_cred:XXXXXXX.local:password = "XXXXXXXXXXXXXXXXXXXXXXX"
mail:postfix:smtp_auth_relay_dict:smtp_auth_relay_userid = "[email protected]"
mail:postfix:smtp_auth_relay_dict:smtp_auth_relay_pwd = "XXXXXXXXXXXXXX"
mail:postfix:smtp_auth_relay_dict:smtp_auth_relay_host = "smtp://smtp.gmail.com:587"
mail:postfix:client_permit_mynetworks = yes
mail:postfix:smtpd_tls_cert_file = "/etc/certificates/XXXXXXX.local.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.cert.pem"
mail:postfix:maps_rbl_domains_enabled = no
mail:postfix:spam_subject_tag = "***JUNK MAIL*** "
mail:postfix:smtpd_tls_CAfile = "/etc/certificates/XXXXXXX.local.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.chain.pem"
mail:postfix:message_size_limit_enabled = yes
mail:postfix:virus_db_last_update = "2013-02-06 13:52:18 +0000"
mail:postfix:mail_enabled_groups = _empty_array
mail:postfix:add_whitelist_domain = _empty_array
mail:postfix:virus_scan_enabled = yes
mail:postfix:spam_ok_locales = "en"
mail:postfix:spam_notify_admin_email = "[email protected]"
mail:postfix:black_hole_domains:_array_index:0 = "zen.spamhaus.org"
mail:postfix:virus_db_log_level = "notice"
mail:postfix:spam_scan_enabled = yes
mail:postfix:virus_quarantine = "[email protected]"
mail:postfix:reject_unauth_piplining_enabled = no
mail:postfix:blacklist_from = _empty_array
mail:postfix:spam_rewrite_subject = yes
mail:postfix:message_size_limit = 10485760
mail:postfix:greylist_disable = no
mail:postfix:mynetworks:_array_index:0 = "127.0.0.0/8"
mail:postfix:virus_log_level = "notice"
mail:postfix:host_whitelist = _empty_array
mail:postfix:rbl_override_list = _empty_array
mail:postfix:group_expansion:start_interval = 10
mail:postfix:group_expansion:enable_group_expansion = no
mail:postfix:virus_notify_recipients = no
mail:postfix:luser_relay_enabled = no
mail:postfix:mydomain = "XXXXXXX.local"
mail:postfix:mydestination:_array_index:0 = "localhost"
mail:postfix:virus_notify_admin_email = "[email protected]"
mail:postfix:enable_virtual_domains = yes
mail:postfix:spam_notify_admin = no
mail:postfix:required_hits = 6
mail:postfix:add_whitelist_host = _empty_array
mail:postfix:always_bcc_enabled = no
mail:postfix:enable_var_mail = no
mail:postfix:junk_mail_userid = "junkmail"
mail:postfix:smtpd_tls_key_file = "/etc/certificates/XXXXXXX.local.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.key.pem"
mail:postfix:enable_smtp = yes
mail:postfix:relayhost = "smtp://smtp.gmail.com:587"
mail:postfix:not_junk_mail_userid = "notjunkmail"
mail:postfix:mynetworks_enabled = yes
mail:postfix:spam_ok_languages = "en fr de ja sw ta"
mail:postfix:virtual_domains:_array_index:0 = "imap.gmail.com"
mail:postfix:rbl_override_enabled = no
mail:postfix:log_rolling_days = 1
mail:postfix:enable_smtp_in = yes
mail:postfix:tls_server_options = "use"
mail:postfix:spam_action = "deliver"
mail:postfix:log_rolling_days_enabled = yes
mail:postfix:spam_log_level = "warn"
mail:postfix:smtp_uce_controlls = 1
mail:postfix:relayhost_enabled = yes
mail:postfix:virus_action = "delete"
mail:postfix:virus_db_update_days = 12
mail:postfix:virus_notify_admin = no
mail:postfix:domain_whitelist = _empty_array
mail:postfix:enable_smtp_out = yes
mail:postfix:text_only_attachments = yes
mail:postfix:reject_unknown_client_enabled = no
mail:postfix:log_level = "warn"
mail:postfix:myhostname = "XXXXXXX.local"
mail:global:auto_auth = yes
mail:global:service_data_path = "/Library/Server/Mail"
mail:imap:imap_auth_cram_md5 = yes
mail:imap:srvtab = "/etc/srvtab"
mail:imap:imap_auth_clear = yes
mail:imap:loginuseacl = no
mail:imap:popexpiretime = 0
mail:imap:notifysocket = "/var/imap/socket/notify"
mail:imap:timeout = 30
mail:imap:max_imap_connections = 1000
mail:imap:sieve_maxscripts = 5
mail:imap:logtimestamps = no
mail:imap:quota_enforce_restrictions = no
mail:imap:tls_imap_key_file = ""
mail:imap:mupdate_authname = ""
mail:imap:newsprefix = ""
mail:imap:proxyservers = _empty_array
mail:imap:junk_mail_userid = ""
mail:imap:singleinstancestore = yes
mail:imap:mupdate_password = ""
mail:imap:imap_auth_digest_md5 = yes
mail:imap:tls_cert_file = "/etc/certificates/XXXXXXX.local.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.cert.pem"
mail:imap:lmtp_admins = _empty_array
mail:imap:poptimeout = 10
mail:imap:postuser = ""
mail:imap:imap_auth_plain = yes
mail:imap:quota_custom_error = _empty_dictionary
mail:imap:tls_imap_cert_file = ""
mail:imap:aps_topic = "com.apple.mail.XServer.e8cc7328-2fe9-4b6f-aae5-b6f26f9287b3"
mail:imap:sieve_proxyservers = _empty_array
mail:imap:request_enable_webmail = no
mail:imap:lmtp_luser_relay_enabled = no
mail:imap:unixhierarchysep = no
mail:imap:urlauth_hostport = ""
mail:imap:imap_auth_gssapi = no
mail:imap:partition-default = "/Library/Server/Mail/Data/mail"
mail:imap:allowanonymouslogin = no
mail:imap:quota_custom_warning_message_path = ""
mail:imap:imapidlepoll = 60
mail:imap:quota_custom_error_message_path = ""
mail:imap:enable_pop = yes
mail:imap:tls_session_timeout = 1440
mail:imap:mupdate_server = ""
mail:imap:mupdate_realm = ""
mail:imap:auth_gssapi_hostname = ""
mail:imap:enable_sieve = yes
mail:imap:lmtpsocket = "/var/imap/socket/lmtp"
mail:imap:enable_quota_warnings = no
mail:imap:mupdate_port = ""
mail:imap:postmaster = "postmaster"
mail:imap:pop_auth_gssapi = no
mail:imap:pop_auth_apop = yes
mail:imap:deleteright = "c"
mail:imap:proxyd_allow_status_referral = no
mail:imap:sharedprefix = "Shared Folders"
mail:imap:sasl_auto_transition = no
mail:imap:tls_ca_file = "/etc/certificates/XXXXXXX.local.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.chain.pem"
mail:imap:sasl_minimum_layer = 0
mail:imap:sievedir = ""
mail:imap:debug_command = ""
mail:imap:duplicatesuppression = yes
mail:imap:tls_lmtp_key_file = ""
mail:imap:servername = ""
mail:imap:quota_full_tempfail = yes
mail:imap:partitions = _empty_array
mail:imap:tls_imap_require_cert = no
mail:imap:sieve_admins = _empty_array
mail:imap:global_quota = 0
mail:imap:mupdate_retry_delay = 20
mail:imap:not_junk_mail_userid = ""
mail:imap:quota_custom_warning = _empty_dictionary
mail:imap:enable_imap = yes
mail:imap:popminpoll = 0
mail:imap:tls_pop3_key_file = ""
mail:imap:sendmail = "/usr/lib/sendmail"
mail:imap:tls_lmtp_cert_file = ""
mail:imap:tls_require_cert = no
mail:imap:notification_server_enabled = yes
mail:imap:tls_sieve_require_cert = no
mail:imap:defaultpartition = "default"
mail:imap:pop_auth_clear = yes
mail:imap:allowallsubscribe = no
mail:imap:sasl_pwcheck_method = "auxprop"
mail:imap:sieve_maxscriptsize = 32
mail:imap:tls_sieve_key_file = ""
mail:imap:tls_ca_path = ""
mail:imap:defaultacl = "anyone lrs"
mail:imap:reject8bit = no
mail:imap:tls_key_file = "/etc/certificates/XXXXXXX.local.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.key.pem"
mail:imap:tls_pop3_require_cert = no
mail:imap:sasl_maximum_layer = 256
mail:imap:autocreatequota = 0
mail:imap:tls_sieve_cert_file = ""
mail:imap:userprefix = "Other Users"
mail:imap:mupdate_admins = _empty_array
mail:imap:postmaster_address = "[email protected]"
mail:imap:mupdate_username = ""
mail:imap:quota_warn_frequency_days = 0
mail:imap:tls_pop3_cert_file = ""
mail:imap:aps_topic_enabled = yes
mail:imap:quotawarn = 80
mail:imap:plaintextloginpause = 0
mail:imap:enforce_quotas = no
mail:imap:tls_server_options = "require"
mail:imap:allowplaintext = yes
mail:imap:loginrealms = _empty_array
mail:imap:lmtp_luser_relay = ""
mail:imap:imapidresponse = yes
mail:imap:tls_cipher_list:_array_index:0 = "DEFAULT"
mail:imap:imap_auth_login = yes
mail:imap:admins = _empty_array
mail:imap:altnamespace = no
mail:imap:sieveusehomedir = no
mail:imap:tls_lmtp_require_cert = no
mail:imap:log_level = "warn"
mail:imap:umask = "077"
mail:imap:hashimapspool = no
mail:imap:imap_proxyservers = _empty_array

Similar Messages

  • Mail not working since OS X Yosemite download

    Mail not working since OS-X Yosemite download! Getting the message ''your mail index has been damaged, to repair it, quit mail'
    Same message keeps appearing despite following instructions - need mail for work! Hope someone has the answer please? iPhoto not working either since download.

    Back up all data before proceeding.
    Triple-click anywhere in the line below on this page to select it:
    ~/Library/Preferences/MobileMeAccounts.plist
    Right-click or control-click the line and select
              Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item selected. Quit the application if it's running. Move the selected item to the Trash. Relaunch the application and test.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

  • Java command line purge not working after applying MLR 10

    Hi Gurus,
    After applying the latest patch MLR 10,
    java command line purge does not seem to work. I'm using the command
    java -ms1024M -mx1024M oracle.tip.repos.purge.PurgeManager purgeRuntime -start 07-APR-2009 -end 22-MAY-2009 Complete
    Before running the command i have set the environment using setenv.bat present in ip\install directory.
    Below error is observed when trying to purge the messages
    java -ms1024M -mx1024M oracle.tip.repos.purge
    .PurgeManager purgeRuntime -start 07-APR-2009 -end 22-MAY-2009 Complete
    Purge started, please wait...
    Purge failed
    Error -: AIP-11016: SQL error: java.sql.SQLException: ORA-06550: line 1, colum
    n 7:
    PLS-00905: object B2B.PURGE_RUNTIME is invalid
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    at oracle.tip.repos.purge.PurgeManager.main(PurgeManager.java:1454)
    Caused by: java.sql.SQLException: ORA-06550: line 1, column 7:
    PLS-00905: object B2B.PURGE_RUNTIME is invalid
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
    :124)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:315)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:281)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:638)
    at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.
    java:183)
    at oracle.jdbc.driver.T4CCallableStatement.execute_for_rows(T4CCallableS
    tatement.java:872)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStateme
    nt.java:1085)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePrep
    aredStatement.java:2983)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePrepar
    edStatement.java:3056)
    at oracle.jdbc.driver.OracleCallableStatement.executeUpdate(OracleCallab
    leStatement.java:4295)
    at oracle.tip.repos.purge.PurgeManager.main(PurgeManager.java:1449)
    Kindly let me know if any post install scripts needs to be run ?
    Or is there any thing else i have missed.
    Thanks in advance,
    Regards,
    Cema
    Edited by: Cema on May 22, 2009 12:14 PM

    Hi Cema,
    In MLR 10 these two bugs have been added with others (you can see in patch read me file)-
    8432093 - AUTOMATE THE POST PATCH INSTRUCTION SCRIPTS FROM MLR 10 ONWARDS
    8339176 - B2B PURGE_RUNTIME PROCEDURE DOES NOT DELETE ALL TIP_WIREMESSAGE_RT RECORDS
    Bug 8432093 tells clearly that there is no need of running any post installation script from MLR 10 onwards, so you have not missed anything like post installation script.
    Bug 8339176 has addressed the PURGE_RUNTIME functionality for deleting messages. From your earlier posts it seems that you got some errors while applying this patch. Please make sure that patch is successfully installed on your system.
    Regards,
    Anuj

  • Windows 7 Defrag from command line does not work

    We are running Windows 7 in a virtualized environment. When running windows defrag using schedule or from command line, it does not work. The command that I am executing as administrator is
    C:\Windows\system32>defrag /c
    Microsoft Disk Defragmenter
    Copyright (c) 2007 Microsoft Corp.
    It displays the above message and exits back to the command prompt. However if I run the command defrag C: it does work. Defragmenting from the GUI works as well as long as both the disks (C: and System Reserved) are selected and when I click on
    Defragment disks, works fine.
    I am concerned about defrag running from the task scheduler with the command "defrag /c" (auto scheduled using Configure Schedule... from Disk Defragmenter) does not work and the system never gets defragmented automatically.
    This happens only with some of the windows 7 VM's that we have.
    There are no entries in Event Log that point to the defrag (using task scheduler). Any ideas what may be going on?

    Hi,
    Could you defrag as below method:
    1. Open Disk Defragmenter by clicking the Start button. In the search box, type
    Disk Defragmenter, and then, in the list of results, click
    Disk Defragmenter.
    2.Under Current status, select the disk you want to defragment.
    3.To determine if the disk needs to be defragmented or not, click Analyze disk. Administrator permission required If you're prompted for an administrator password or confirmation, type the password or provide confirmation.
    Once Windows is finished analyzing the disk, you can check the percentage of fragmentation on the disk in the
    Last Run column. If the number is above 10%, you should defragment the disk.
    4.Click Defragment disk. Administrator permission required If you're prompted for an administrator password or confirmation, type the password or provide confirmation.
    For more information, please read this article:
    Ways to improve your computer's performance
    http://windows.microsoft.com/en-in/windows/improve-performance-defragmenting-hard-disk#1TC=windows-7
    Meanwhile, read this article:
    Defrag from the Command-Line for More Complete
    Control
    http://technet.microsoft.com/en-us/magazine/ff458356.aspx
    Karen Hu
    TechNet Community Support

  • HP RGS Command Line options not working as expected

    I have a HP RGS Receiver v7.1 installed on my desktop which initiates a remote Session to my RHEL based workstation running HP RGS sender deployed in a LAN. Now when launching the HP RGS Receiver it brings up a window asking for the host name or IP Address of the PC to connect to (in this case the RHEL box). When provided the hostname, the next question asked is the username and the password. When all these detials are provided, the connection is successfully established and all works as expected. I am trying to autolaunch the HP RGS Receiver so I can bypass entering the hostname or ipaddress, username and password during each launch. When reading the usermanual, there is clearly a way of doing this by using the HP RGS commandline autolaunch properties. The property Rgreceiver.Session..IsConnectOnStartup should allow me to setup autolaunch while I provide the hostname,username and password int he following properties: Rgreceiver.Session.n.Hostname Rgreceiver.Session.n.Username Rgreceiver.Session.n.Password Rgreceiver.Session.n.PasswordFormat So it is assumed that when I pass these as command line options while launching the HPRGS executable rgreceiver.exe it should all read the values from the command line and directly establish the connection without me having to enter these details. However it does not seem to work I assume that in n we specify the session number = 1 (because we are working with only a single session) The command Rgreceiver.exe -Rgreceiver.Session.1.IsConnectOnStartup=1 -Rgreceiver.Session.1.Hostname="MyHostName" -Rgreceiver.Session.1.Hostname="MyUserName" -Rgreceiver.Session1.Password="mypassword" -Rgreceiver.Session.1.PasswordFormat=Clear does not seem to have any impact. The HPRGS software behaves the same with or without command line and sending in the commandline does not seem to have any impact on the way it launches neither it gives any error. I have tried to above command line through multiple ways (for e.g. using delimetes and without delimiters, using different values for session number and so on) but it seems Rgreceiever does not even recognize that the commands were given in the first place. I have run out of all options. Any help will be appreciated.

    I'm not sure why the command line parameters are not working, but you might want to try to put these same settings into an xxxxx.rgreceiver file.  When you double-click the .rgreceiver file, the RGS Receiver will launch with the settings contained in the file.  It's worth a try to see if works better for you.   (This is described in the RGS User Guide in a section called "Auto-launching connections.") --Keith

  • Push mail not working since morning in India

    Hi, Can anyone tell me if they are facing the same problem.
    I have been using Nokia Push mail services, but since today morning I have noticed that I am unable to send or receive mails from it.

    Hi,
    I live in gujarat i have upgrade my e63 with e 5 but after purchasing there was problem with not synce email automatically then after nokia care replased the phone but same problem was presist..
    then after i have sold that phone and purchase the new nokia e72 before 10 days but the same problem i m facing ..not syncronising email either manual or automatic..so i m very upsate with this kind of problem with nokia and no body can answer on the problem ..
    so can u pls help me how to esclate this problem to nokia higher authority..coz after spending so much money nobody can even slove the problem
    Thanks & Regards
    Hardik Upadhyay
    Moderator's note: Email address removed. It is not wise to publish your personal information on a public forum.

  • Command Line Support Not Working in OSD

    I am trying to deploy an image to a dell optiplex 760. I have added all of the storage and nic drivers from Dell's WINPE package, and then all of the drivers from the Intel site for the nic to my boot image. I then enabled command line support on the boot
    image,  after all of this I updated the boot image on my DP. When the SCCM splash screen comes up it says loading network, and then all dialog boxes disappears and the machine reboots. During this time when i press F8 nothing happens. I get no command
    prompt window, and it doesnt pause the reboot. Any Ideas?

    Sorry for my ignorance, when you say you installed every driver in there are you referring to adding them to the driver database or to your bootwim. Also if you cant grab the logs you might be able to get a report based on an unknown system, look in reporting
    under "History of a task sequence deployment on a computer" if there was anything recorded before it bombed out you might be able to get some info. 
    Im still leaning towards a network driver though, can you snap an image of the drivers you have loaded into your preferred bootwim.

  • Processbuilder works from command line but not on deployment server

    I need to deploy my code on a 10g oc4j Oracle server. When I ssh into the server and run the following code, it works:
    import java.util.*;
    import java.io.*;
    public class Launcher {
    public static void main(String args[]) throws IOException {
    String url = "http://www.ebay.com";
    String[] commands = {"/bin/sh", "-c", "/opt/sfw/bin/firefox ", url, "-width", "1600", "-height", "1200", ":5"};
    ProcessBuilder pb = new ProcessBuilder(commands);
    env.put( "DISPLAY", ":5" );
    Process process = pb.start();
    It launches firefox and I can see the process running when I use "ps -ef | grep firefox". Firefox runs in a virtual frame buffer since this is a headless server. Originally I had problems just getting this code working by itself, but now it works fine.
    However when I deploy the exact same code via Oracle application server, it doesn't do anything. Not only do no processes show up but I have added different output statements into this code and have verified that firefox never launches. However no error is ever thrown either, even when I just test for generic Exceptions. So any ideas on what I can do to get this running?

    Caffeine0001 wrote:
    sabre150 wrote:
    Solerous wrote:
    Also, I do handle the stdIn and stdOut in the code. I was trying to pair down the code in my inclusion of it here to just give the bear minimum for running it. Here is my code for handling it if you'd like to see it:
    InputStream is = process.getInputStream();
         InputStreamReader isr = new InputStreamReader(is);
         BufferedReader br = new BufferedReader(isr);
         String line;
         System.out.printf("Output of running %s is:",
         Arrays.toString(commands));
         while ((line = br.readLine()) != null) {
         System.out.println(line);
         }I don't see stderr being handled and your command array is still wrong.
    Edited by: sabre150 on Dec 10, 2008 4:48 PM
    If he were to call [ProcessBuilder.redirectErrorStream(true)|http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ProcessBuilder.html#redirectErrorStream(boolean)] then all he has to handle is stdout.
    True, then that would be just one more important thing that the OP failed to post in his "*exact* same code" .

  • Mail not working since visiting US

    I went to Miami this year and took my macbook with me.
    Since returning I can collect email on my Yahoo.co.uk account but I cannot send mail. I was not aware anything was changed and indeed all looks well in the accounts.
    Any idea what I need to do?

    +fix it+
    Seriously - without additional information no one can assist you
    Have you contacted Yahoo?
    Have you looked at the Yahoo FAQs?
    How are you accessing your yahoo.co.uk account?
    what happens when you try to send mail?
    What changed from the time it worked until it failed?
    What other details are there that might let someone assist you?
    Larry Nebel

  • Mail not working since iOS 8.2 upgrade

    hi - my Mail has stopped downloading to my iPhone 5 mailbox since I uograded to IOS 8.2.
    I had a similar issue with 8.02 however that fixed itself after a few days, however whatever I have tried (reinstalling myail account, rebooting the phone) it is still now working.
    Does does anybody have and suggestions on how to fix?

    no je veux la langue française sur le site tu me comprend?

  • E-mail not working since beginning of December

    my e-mail has suddently stopped working and have tried to enter set up but it does not recognise my user name or password - i have tried everything suggested but nothing works pls help

    Hi and Welcome to the Community!
    With a strong carrier network signal (e.g., not merely WiFi), I suggest the following steps, in order, even if they seem redundant to what you have already tried (steps 1 and 2 each should result in a message coming to your BB...please wait for that before proceeding to the next step):
    1) Register HRT
    KB00510 How to register a BlackBerry smartphone with the wireless network
    Please wait for one "registration" message to arrive to your Messages app
    2) Delete and Resend Service Books (pre-BB10 devices only)
    KB05000Delete the service book for the BlackBerry Internet Service email account from the BlackBerry smartphone
    If you have no CMIME entry, then skip the deletion
    KB02830 Send the service books for the BlackBerry Internet Service
    Please wait for "Activation" Messages, one per already configured email account, to arrive in your Messages. If you have no already configured email accounts, please wait 1 hour.
    3) Reboot
    Pre-BB10 Devices ONLY. With power ON, remove the back cover and pull out the battery. Wait about a minute then replace the battery and cover. Power up and wait patiently through the long reboot -- ~5 minutes.
    BB10 Devices. Hold the top button down until the counter reaches zero. Wait for the device to be fully shut down (e.g., nothing at all displayed on the screen, no LED lights, etc.). Hold the top button until the red LED is lit. Wait through the full boot-up process. IF this fails, you can attempt the battery-pull method above, but it is normally NOT recommended unless nothing else works.
    See if things have returned to good operation. Like all computing devices, BB's suffer from memory leaks and such...with a hard reboot being the best cure.
    Hopefully that will get things going again for you! If not, then you should try deleting and re-adding your configurations for the affected email accounts. Otherwise, it depends on exactly what credentials you say are not being recognized...
    If it is your BIS credentials, then you should contact your mobile service provider for formal support.
    If it your BBID credentials, then refer:
    http://supportforums.blackberry.com/t5/BlackBerry-World/How-to-regain-access-to-your-BBID/td-p/25467...
    Cheers, and Good Luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Apple mail not working since Yosemite installed

    I have had not new mail on my MacBook Pro laptop for several days.  I do receive mail on my iPod Touch.  The popup message on the MacBook mail states:   "Mail cannot send your password securely to the server. You can remove this restriction in the Accounts preferences by setting “Allow insecure authentication”, which could put your password at risk. " Please advise what to do - I am reluctant to allow insecure authentication.
    Sharon

    I am reluctant to allow insecure authentication.
    You should be, but if that's what your mail server requires, you'll have to do it anyway, or else switch mail providers (recommended.)

  • Mail not working since new system loaded for iPad

    Not getting mail or sending...... Since new system loaded. My settings are all the same as before and match my iBook This is a glitch

    Can you connect to the internet" Have you tried resetting your iPad?

  • Mail not working since installing 10.7.3 Supplementary Update

    My mom installed the updates that came through yesterday (3/8/12), and ever since they completed she's had issues where the refresh indicator by the inbox won't stop spinning, and anything she deletes or sorts is automatically restored to its original location.  Looking through the software update log, it appears that the 10.7.3 Supplementary Update is the most likely candidate for what's causing the issue.
    Has anyone else had this issue?  If so, what can be done to fix it?

    Thanks for bumping this, I forgot to update it after calling Apple for support on the issue.
    Short of it is that it was a corrupted mailbox cache at fault.  I don't remember the location offhand precisely, but something to the effect of this should do the trick: http://thenitai.com/2009/02/22/apple-mail-problems-and-how-to-fix-it/

  • HT6114 My Apple 7.2 mail does not work since I upgraded to OS X Mavericks, what has gone wrong?

    My Apple 7.2 mail does not work since I upgraded to OS X Mavericks, what has gone wrong?

    Have you tried using http://support.apple.com/kb/HT4505 guidance for scanning?  Has always worked for me with my Epson scanner.

Maybe you are looking for

  • Connect Mac OS 10.6 to canon ip3600 shared on windows XP home

    I am trying to connect my Mac OS 10.6 to a canon ip3600 printer shared on windows XP home. I have read dozens of posts on this topic and tried dozens of solutions. Although the Mac will identify the printer and apparently connect, when I print nothin

  • CLM excel import

    Hi CLM gurus, I have this problem AGAIN regarding CLM imports. I have successfully outputted an EXCEL file (.xls) from XI. When I open the file, it can be opened as an excel file with no problems. When we tried importing it to CLM, the file was not r

  • Oracle Projects - BI

    Hi, Have you guys work on developing a BI solution using a source as Oracle projects? Need to know weather we need to get some sample dashboards and idea about the data warehouse. Thanks!

  • OID user authentication

    Hi, I am new to OID. I want to Audit how many people are using OID to authentication. I am using 10.1.0.4.2. Thank You,

  • Securinfo Tool over WAN

    Hi Anyone using Securinfo over WAN. Support told me that it may not work below 4 Mbps link...and I am facing this problem from Offshore.  Trying to find whether we can do some settings and make it run over WWAN Regards Vijay