Skip navigation

Does 10.8 server have vacation messages

28123 Views 178 Replies Latest reply: Oct 29, 2013 8:07 PM by davidh RSS
  • redshift82r Level 2 Level 2 (325 points)
    Currently Being Moderated
    Sep 3, 2012 3:21 PM (in response to StevePW)

    Hi Steve, I don't have time to look at it right now (start of the working day) however it sounds like a permissions issue if nothing is getting through.  Have a look at your apache2 php access and php error logs, bump up the log level in postfix to debug and see if you are getting any smtp errors there. Set the debug level in roundcube to its highest level also.  That should give us something to work with.

     

    Cheers

    Gerry

  • StevePW Level 1 Level 1 (5 points)
    Currently Being Moderated
    Sep 7, 2012 12:49 AM (in response to redshift82r)

    Thanks Gerry but as it turned out, this is one of those problems that fixed itself with no interaction on my part (accept maybe a server restart for an unrelated reason)!

     

    Kind regards,

    Steve

  • Malcolm McLeary Calculating status...
    Currently Being Moderated
    Sep 19, 2012 8:42 PM (in response to redshift82r)

    I've read through this thread a number of times but I'm apparently missing something really simple as I can't get things happening.

     

    To use Roundcube with PostgreSQL support you have to follow these

    simple steps, which have to be done as the postgres system user (or

    which ever is the database superuser): for OS X 10.8, thats "_postgres"

     

    Its the "postgres system user" which has me baffled.  When I attempt to su to _postgres I either get prompted for a password I do not know or I don't get prompted and it then tells me the role "root" does not exist.

     

    createdb: could not connect to database postgres: FATAL:  role "root" does not exist

     

    What am I missing?

  • Richard0415 Level 1 Level 1 (0 points)
    Currently Being Moderated
    Sep 24, 2012 2:39 PM (in response to Malcolm McLeary)

    Malcolm:

    What I did was edit the postgres plist file in /Library/Server/postgresSQL/Config to include 127.0.0.1 in the listed address (listen_address=127.0.0.1).  It may not be necessary but I stopped all services except DNS and OD.  I then stopped postgres using: sudo serveradmin stop postgres   From there, I drug the original plist on my desktop, edited the file, then drug it back into the folder.  Start postgres (same as above but use start), then all your services.

     

    I then downloaded pgAdmin3 to create the database.  In pgAdmin3, create a new connection to 127.0.0.1 using _postgres as the username.  Important thing to note is that _postgres does NOT have a password.  When prompted for one in pgAdmin3, just hit enter (leave it blank).  Create your database and assign user roundcube as the owner.

  • Richard0415 Level 1 Level 1 (0 points)
    Currently Being Moderated
    Sep 24, 2012 2:46 PM (in response to redshift82r)

    Incase anybody has the same problem.... the new update to the Server app broke my webmail Postgres database connection. 

    Apparently, the update writes over any changes you make to the postgres plist file (listen on 127.0.0.1).  Once I corrected that... all was was golden.

     

    BTW - Thanks for the help (via this page) with setting up my Roundcube in 10.8.  I had the same problem that Malcolm had but found a way around it.  To bad you don't get points for each person that found this to be helpful...

  • redshift82r Level 2 Level 2 (325 points)
    Currently Being Moderated
    Sep 24, 2012 6:08 PM (in response to Malcolm McLeary)

    Hi Malcolm,

     

    When server does its setup, it creates a number of system accounts like _postgres, _postfix, _www for example.

    These all have the same password as root, which is the same as the admin user you create first up on the system.

     

    Could you respond with the exact command you are typing and the actual response requesting the password.

     

    Thanks

    Gerry

  • angryiphoneuser Calculating status...
    Currently Being Moderated
    Oct 10, 2012 2:25 PM (in response to pilbaraecho)

    I have an existing install of Roundcube on OSX Server 10.8.2 using MySQL.  This works fine but I cannot get the managesieve plugin to work - I get to the filters page and it returns "Unable to connect to Managesieve server".

     

    There are a few funky bit on my system as it was restored from a Time Machine backup of a dead SLS (10.6.8) server.  For instance I am having trouble finding sieve and the log files - any direction would be helpful.

     

    Also is there anyway to debug the error message - i.e. can't find server, can't login to server etc.  I am a newbie to filetring as it was all done for me in SLS.

     

    Thank you for any pointers

  • redshift82r Level 2 Level 2 (325 points)
    Currently Being Moderated
    Oct 10, 2012 2:48 PM (in response to angryiphoneuser)

    Hi aiu,

     

    cd /your path to webmail/config

     

    sudo nano main.inc.php

     

    make changes to the log settings at the top of the file - the relevant section is posted here

     

     

    $rcmail_config = array();

     

     

    // ----------------------------------

    // LOGGING/DEBUGGING

    // ----------------------------------

     

     

    // system error reporting: 1 = log; 2 = report (not implemented yet), 4 = show, 8 = trace

    $rcmail_config['debug_level'] = 1;

     

     

    // log driver:  'syslog' or 'file'.

    $rcmail_config['log_driver'] = 'syslog';

     

     

    // date format for log entries

    // (read http://php.net/manual/en/function.date.php for all format characters) 

    $rcmail_config['log_date_format'] = 'd-M-Y H:i:s O';

     

     

    // Syslog ident string to use, if using the 'syslog' log driver.

    $rcmail_config['syslog_id'] = 'roundcube';

     

     

    // Syslog facility to use, if using the 'syslog' log driver.

    // For possible values see installer or http://php.net/manual/en/function.openlog.php

    $rcmail_config['syslog_facility'] = LOG_USER;

     

     

    // Log sent messages to <log_dir>/sendmail or to syslog

    $rcmail_config['smtp_log'] = true;

     

     

    // Log successful logins to <log_dir>/userlogins or to syslog

    $rcmail_config['log_logins'] = true;

     

     

    // Log session authentication errors to <log_dir>/session or to syslog

    $rcmail_config['log_session'] = true;

     

     

    // Log SQL queries to <log_dir>/sql or to syslog

    $rcmail_config['sql_debug'] = false;

     

     

    // Log IMAP conversation to <log_dir>/imap or to syslog

    $rcmail_config['imap_debug'] = true;

     

     

    // Log LDAP conversation to <log_dir>/ldap or to syslog

    $rcmail_config['ldap_debug'] = true;

     

     

    // Log SMTP conversation to <log_dir>/smtp or to syslog

    $rcmail_config['smtp_debug'] = true;

     

     

    // ----------------------------------

    // IMAP

    // ----------------------------------

     

     

     

    Probably change the debug level up to 8 and debug the sql.

     

    post back and let me know what you find.

    cheers

    Gerry

  • angryiphoneuser Level 1 Level 1 (0 points)
    Currently Being Moderated
    Oct 10, 2012 3:55 PM (in response to redshift82r)

    Really dumb question - I have made the changes but can see nothing in the logs prefixed "roundcube".  Am I looking in he right place - ServerAdmin app System log?

  • redshift82r Level 2 Level 2 (325 points)
    Currently Being Moderated
    Oct 10, 2012 3:58 PM (in response to angryiphoneuser)

    Might need to restart web services (php)

     

    Try $sudo apachectl graceful

  • redshift82r Level 2 Level 2 (325 points)
    Currently Being Moderated
    Oct 10, 2012 4:15 PM (in response to angryiphoneuser)

    AIU,

    Haven't got time to go further right now - got to go see a client - suggest you change the logging from syslog to 'file' and you will then find the logs under your path to webmail/log. Further down the config file, it specifies the file names - log everything and see how you go.  What version Roundcube are you running from the old 10.6 server?

  • redshift82r Level 2 Level 2 (325 points)
    Currently Being Moderated
    Oct 10, 2012 7:34 PM (in response to pilbaraecho)

    Mate, you're almost there - I know that had your original server not died, you could have migrated gracefully - just trying to get you up and running and educate at the same time....

     

    You have a working webmail because you can logon and presumably read and send - tick!

    Your managesieve plugin is not connecting - no prob -

     

    Please post the sanitised output of the following files: ( change domain.com and passwords etc)

     

    webmail/config/main.inc.php

    webmail/plugins/managesieve/config.inc.php

    webmail/plugins/managesieve/managesieve.php

     

    and these two files under /Library/Server/Mail/Config/dovecot/conf.d/

    90-sieve.conf

    20-managesieve.conf

     

    and we can get you up and running.

     

    cheers

    Gerry

     

    Message was edited by: redshift82r

1 ... 4 5 6 7 8 ... 12 Previous Next

Actions

More Like This

  • Retrieving data ...

Bookmarked By (9)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.