Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Does 10.8 server have vacation messages

In 10.7 server, we had a great filter for vacation messages built into webmail.

Users could configure this quite easily.


I can't find either webmail or vacation messages in Mountain Lion Server 10.8.


Any solutions?


Cheers.

Mac OS X (10.7), 10.7 Server

Posted on Jul 29, 2012 5:27 AM

Reply
178 replies

Aug 4, 2012 1:21 AM in response to redshift82r

Actually to give a bit more info .......



I set up a seperate domain for the webmail - created a dns host entry - webmail.domain.com.au and created its own site in Websites (as an SSL site for extra security). You copy the extracted roundcube archive and place it at the top level of your newly created site.


Follow the install instructions. I used postgres but you can use mysql if you have it installed. I tried an update from 0.5.1 but that didn't work.


This is what you should type for the postgres setup under OS X.


If you get an error with createing the user - i.e. it exists - dont worry! If roundcubemail exists as a database , just use another name ( and remember it fotr the rest of the roundube install process, or drop the db.


PostgreSQL

------------

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"


$ sudo createuser -U _postgres -d -s roundcube (creates a superuser roll called roundcube in postgres)

$ sudo createdb -O roundcube -E UNICODE roundcubemail

$ sudo psql -U roundcube -d roundcubemail


roundcubemail =# ALTER USER roundcube WITH PASSWORD 'the_new_password';

roundcubemail =# \c - roundcube

roundcubemail => \i /"your path to webmail"/SQL/postgres.initial.sql

roundcubemail => \q (\? for help - \q to quit)

$

_________________________________________________________________________


You'll have to paste and save some install data as it asks you to. - do this - these are the files we'll change as required.

Don't worry about testing (connecting to IMAP or SMTP within the install process as we have to change a couple of things to get it to work yet!

settings to


Under Server App - choose Mail and change the auth settings to Custom - and include cleartext.


Nearly there!!

in /your path to webmail/config/main.inc.php - change these lines




$rcmail_config['default_host'] = 'server.domain.com';

$rcmail_config['imap_auth_type'] = LOGIN;

$rcmail_config['smtp_auth_type'] = 'LOGIN';

$rcmail_config['login_autocomplete'] = 1;

$rcmail_config['login_lc'] = true;

$rcmail_config['plugins'] = array('managesieve','autologon');


in /your path to webmail/config/db.inc.php - check this line:


$rcmail_config['db_dsnw'] = 'pgsql://roundcube:password@localhost/roundcubemail'; (postgres owner :password@localhost/databasename (these are the postgres role, password and databasename you set up above)


I've just seen a question come through - so I'll add this now and in the next post take you through the managesieve setup!

Aug 4, 2012 1:34 AM in response to pilbaraecho

OK - part two - to get managesieve plugin configured in Roundcube



In this file:


your path to webmail/plugins/managesieve/config.inc.php.dist make the following changes


// managesieve server port

$rcmail_config['managesieve_port'] = 4190;


$rcmail_config['managesieve_host'] = 'server.domain.com';



// authentication method. Can be CRAM-MD5, DIGEST-MD5, PLAIN, LOGIN, EXTERNAL

// or none. Optional, defaults to best method supported by server.

$rcmail_config['managesieve_auth_type'] = LOGIN;


// default contents of filters script (eg. default spam filter)

$rcmail_config['managesieve_default'] = '/var/lib/dovecot/sieve/default.sieve';



// The name of the script which will be used when there's no user script

$rcmail_config['managesieve_script_name'] = '';



// Sieve RFC says that we should use UTF-8 endcoding for mailbox names,

// but some implementations does not covert UTF-8 to modified UTF-7.

// Defaults to UTF7-IMAP

$rcmail_config['managesieve_mbox_encoding'] = 'UTF-8';



// I need this because my dovecot (with listescape plugin) uses

// ':' delimiter, but creates folders with dot delimiter

$rcmail_config['managesieve_replace_delimiter'] = '';



// disabled sieve extensions (body, copy, date, editheader, encoded-character,

// envelope, environment, ereject, fileinto, ihave, imap4flags, index,

// mailbox, mboxmetadata, regex, reject, relational, servermetadata,

// spamtest, spamtestplus, subaddress, vacation, variables, virustest, etc.

// Note: not all extensions are implemented

$rcmail_config['managesieve_disabled_extensions'] = array();



// Enables debugging of conversation with sieve server. Logs it into <log_dir>/sieve

$rcmail_config['managesieve_debug'] = true;



// Script name extension used for scripts including. Dovecot uses '.sieve',

// Cyrus uses '.siv'. Doesn't matter if you have managesieve_kolab_master disabled.

$rcmail_config['managesieve_filename_extension'] = '.sieve';



// List of reserved script names (without extension).

// Scripts listed here will be not presented to the user.

$rcmail_config['managesieve_filename_exceptions'] = array();



In yourpathto webmail/plugins/managesieve/managesieve.php



/**

* Loads configuration, initializes plugin (including sieve connection)

*/

function managesieve_start()

{

$this->load_config('config.inc.php.dist');


If you dont change this line, it wont load the config file we changed above!




And thats it!


Remember that you can't test vacation rules by sending a message to yourself - it has to be a different address to be responded to I had to read deep into the doco to find out why I wasnt triggering my vacation response!!


Good luck from Down Under 😎

Aug 4, 2012 1:46 AM in response to redshift82r

When installing Roundcube, what to fill in by the MySQL settings. Do you have to install first the MySQL binary software?


Because we get this error:

Check DB config

DSN (write): NOT OK(MDB2 Error: connect failed)

Make sure that the configured database exists and that the user has write privileges


mysql://SERVER:**********@localhost/roundcubemail

Aug 4, 2012 11:18 PM in response to redshift82r

Hi,


it's the installtion screen ... and the start screen of roundcube ...


here is my db.inc.php (the important part, I think)


// currently supported db_providers: mysql, mysqli, pgsql, sqlite, mssql or sqlsrv



$rcmail_config['db_dsnw'] = 'pgsql://roundcube:passwd@localhost/roundcubemail';

// postgres example: 'pgsql://roundcube:pass@localhost/roundcubemail';

// Warning: for SQLite use absolute path in DSN:

// sqlite example: 'sqlite:////full/path/to/sqlite.db?mode=0646';



// PEAR database DSN for read only operations (if empty write database will be used)

// useful for database replication

$rcmail_config['db_dsnr'] = '';



// maximum length of a query in bytes

$rcmail_config['db_max_length'] = 512000; // 500K



// use persistent db-connections

// beware this will not "always" work as expected

// see: http://www.php.net/manual/en/features.persistent-connections.php

$rcmail_config['db_persistent'] = FALSE;



and here the screen:

User uploaded file

Does 10.8 server have vacation messages

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.