Author Topic: help for a n00b please ...  (Read 2966 times)

Offline Nicolas

  • Newbie
  • *
  • Posts: 5
help for a n00b please ...
« on: December 20, 2006, 07:47:30 AM »
hi there
I hope my problem won't be too difficult to resolve because i'm quite a noob in unixes - plus, i'm french ::)

i'm trying to install roundcube (of course) on an ubuntu server and in fact i've already managed to set up the connection to the mysql base, and I can logon with unix user names/passwords, but there is no mail in the boxes, and i can't send any either

but i feel like the default postfix+mailman configuration provided by the hosting service won't adapt with roundcube's parameters and i'm a bit lost...

I've put roundcube in /var/www/roundcube

when i logon under "myuser" i see "you have new mail", and I do receive mails in /var/mail/myuser

and I've also created /home/myuser/Maildir with the maildirmake command, following a tutorial which led me nowhere  :'(

in fact i've tried several tutorials, messing up with lots of things and now i'm getting a bit lost ... what files should I show here ?

here is my /etc/postfix/main.cf  (with my domain name replaced by "mydomain")

Code: [Select]
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

myhostname = mail.mydomain.com
mydomain = mydomain.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = $myhostname, localhost.localdomain, localhost
default_transport = smtp
relayhost =
mynetworks = 127.0.0.0/8
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all

home_mailbox = Maildir/

relay_domains = $mydestination, proxy:mysql:/etc/postfix/mysql/mysql_relay_domain_maps.cf
virtual_gid_maps = static:106
virtual_mailbox_base = /home/vmail

virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql/mysql_virtual_domains_maps.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql/mysql_virtual_mailbox_maps.cf
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql/mysql_virtual_alias_maps.cf

virtual_mailbox_limit = 51200000
virtual_minimum_uid = 1001
virtual_transport = virtual
virtual_uid_maps = static:1001

please tell me what other configuration files i should show
thanks in advance... :-[

Offline Nicolas

  • Newbie
  • *
  • Posts: 5
Re: help for a n00b please ...
« Reply #1 on: December 20, 2006, 07:59:05 AM »
and here is my main.inc.php

shouldn't I change $rcmail_config['imap_root'] ?

Code: [Select]
$rcmail_config = array();
$rcmail_config['debug_level'] = 1;
$rcmail_config['enable_caching'] = FALSE;
$rcmail_config['message_cache_lifetime'] = '10d';
$rcmail_config['auto_create_user'] = TRUE;
$rcmail_config['default_host'] = 'localhost';
$rcmail_config['default_port'] = 143;
$rcmail_config['username_domain'] = '';
$rcmail_config['mail_domain'] = '';
$rcmail_config['virtuser_file'] = '';
$rcmail_config['virtuser_query'] = '';
$rcmail_config['smtp_server'] = 'localhost';
$rcmail_config['smtp_port'] = 25;
$rcmail_config['smtp_user'] = '%u';
$rcmail_config['smtp_pass'] = '%p';
$rcmail_config['smtp_auth_type'] = '';
$rcmail_config['smtp_log'] = TRUE;
$rcmail_config['list_cols'] = array('subject', 'from', 'date', 'size');
$rcmail_config['skin_path'] = 'skins/default/';
$rcmail_config['temp_dir'] = 'temp/';
$rcmail_config['log_dir'] = 'logs/';
$rcmail_config['session_lifetime'] = 10;
$rcmail_config['ip_check'] = TRUE;
$rcmail_config['des_key'] = 'rcmail-!24ByteDESkey*Str';
$rcmail_config['locale_string'] = 'en';
$rcmail_config['date_short'] = 'D H:i';
$rcmail_config['date_long'] = 'd.m.Y H:i';
$rcmail_config['useragent'] = 'RoundCube Webmail/0.1b';
$rcmail_config['product_name'] = 'RoundCube Webmail';
$rcmail_config['imap_root'] = '';
$rcmail_config['drafts_mbox'] = 'Drafts';
$rcmail_config['junk_mbox'] = 'Junk';
$rcmail_config['sent_mbox'] = 'Sent';
$rcmail_config['trash_mbox'] = 'Trash';
$rcmail_config['default_imap_folders'] = array('INBOX', 'Drafts', 'Sent', 'Junk', 'Trash');
$rcmail_config['protect_default_folders'] = TRUE;
$rcmail_config['skip_deleted'] = FALSE;
$rcmail_config['read_when_deleted'] = TRUE;
$rcmail_config['flag_for_deletion'] = TRUE;
$rcmail_config['enable_spellcheck'] = TRUE;
$rcmail_config['generic_message_footer'] = '';
$rcmail_config['mail_header_delimiter'] = NULL;
$rcmail_config['mail_header_delimiter'] = NULL;
$rcmail_config['include_host_config'] = FALSE;
$rcmail_config['pagesize'] = 40;
$rcmail_config['timezone'] = 1;
$rcmail_config['dst_active'] = TRUE;
$rcmail_config['prefer_html'] = TRUE;
$rcmail_config['prettydate'] = TRUE;
$rcmail_config['message_sort_col'] = 'date';
$rcmail_config['message_sort_order'] = 'DESC';
$rcmail_config['javascript_config'] = array('read_when_deleted', 'flag_for_deletion');

Offline daashag

  • Full Member
  • ***
  • Posts: 198
Re: help for a n00b please ...
« Reply #2 on: December 20, 2006, 08:16:51 AM »
Am I to understand that your email works fine, just not with RC?

Offline Nicolas

  • Newbie
  • *
  • Posts: 5
Re: help for a n00b please ...
« Reply #3 on: December 20, 2006, 08:32:22 AM »
uhh i'm not even sure it does... it looks like the emails in /var/mail/myuser are all from root@localhost
how can I be sure ?
(I know this may not be the right forum to look for help if the problem is not with roundcube but with my mail server config.. but I'm trying to find help anywhere i can)
 :-[
this is getting on my nerves..

Offline Nicolas

  • Newbie
  • *
  • Posts: 5
Re: help for a n00b please ...
« Reply #4 on: December 20, 2006, 08:49:09 AM »
ok i think i've got a problem with my dns configuration... i'm trying to sort this out (on a french forum ::) ) ...

i've tried creating a file in /home/myuser/Maildir/new and it appeared in roundcube so i guess this part works at least..

gonna tell you what other problems i have as soon as my dns config is fixed

Offline daashag

  • Full Member
  • ***
  • Posts: 198
Re: help for a n00b please ...
« Reply #5 on: December 20, 2006, 08:54:02 AM »
Sounds like your having trouble setting up your mailserver. There are plenty of tutorials on the web. The easiest one I have found is http://www.howtoforge.com/perfect_setup_ubuntu_6.06. All you have to do is cut and paste.

Offline Nicolas

  • Newbie
  • *
  • Posts: 5
Re: help for a n00b please ...
« Reply #6 on: December 20, 2006, 09:05:09 AM »
i've already tried quite a few tutorials, but not this one...
i'm gonna check it out, thanks a lot