Hello,
I just installed RoundCube 0.4 on my mail server(centos5, Postfix, Courier, MySQL) and it look great. Then I installed the Vacation Plugin V.1.9.9. Now when I click Setting I got:
CONFIGURATION ERROR
Vacation plugin: Driver virtual does not allow transport to be empty. Please edit config.ini Please read the INSTALL instructions!
Here is the config.ini: [root@mail vacation]# cat config.ini [default] driver = "virtual" subject = "Default subject" body = "default.txt"
[mail.mydomain.com] dsn = "mysql://roundcube:password@localhost" transport = "mail.mydomain.com" dbase = "mail" always_keep_copy = true select_query = "SELECT destination FROM %m.virtual_aliases WHERE source='%e' AND destination='%g'" delete_query = "DELETE FROM %m.virtual_aliases WHERE domain_id=%i AND source='%e'" insert_query = "INSERT INTO %m.virtual_aliases (domain_id,source,destination) VALUES (%i,'%e','%g')" domain_lookup_query = "SELECT id FROM postfix.virtual_domains WHERE name='%d'" createvacationconf = true always_keep_message = true disable_forward = False
When I configure the plugin, I got really confused on the transport setting in config.ini. Please help me to make it works.
My mail server use Postfix with MySQL handle virtual user/domain. Some related settings:
[root@mail vacation]# postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases
mydestination = mail.mydomain.com, localhost, localhost.localdomain myhostname = mail.mydomain.com mynetworks = 127.0.0.0/8 newaliases_path = /usr/bin/newaliases.postfix proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf unknown_local_recipient_reject_code = 550 virtual_alias_domains = virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf,mysql:/etc/postfix/mysql-virtual_aliases.cf virtual_create_maildirsize = yes virtual_gid_maps = static:5000 virtual_mailbox_base = /home/vmail virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
Thanks for help.