MT6 squirrelmail
(Redirected from MT6 webmail squirrelmail)
Jump to navigation
Jump to search
pkg install -y squirrelmail pear pear-DB make -C /usr/ports/mail/squirrelmail-sasql-plugin install clean make -C /usr/ports/mail/squirrelmail-quota_usage-plugin install clean
configure squirrelmail
cd /usr/local/www/squirrelmail/config cp config_local.php.sample config_local.php cp config_default.php config.php tee -a config_local.php <<'EO_SQUIRREL' $domain = 'CHANGE.THIS'; $smtpServerAddress = '127.0.0.9'; $smtpPort = 465; $smtp_auth_mech = 'login'; $imapServerAddress = '127.0.0.8'; $imap_server_type = 'dovecot'; $use_smtp_tls = true; $data_dir = '/var/db/squirrelmail/data'; $attachment_dir = '/var/db/squirrelmail/attach'; // $check_referrer = '###DOMAIN###'; $check_mail_mechanism = 'advanced'; // $prefs_dsn = 'mysql://squirrelmail:CHANGE.THIS@127.0.0.4/squirrelmail'; // $addrbook_dsn = 'mysql://squirrelmail:CHANGE.THIS@127.0.0.4/squirrelmail'; EO_SQUIRREL mkdir -p /var/db/squirrelmail/attach /var/db/squirrelmail/data cp ../data/default_pref /var/db/squirrelmail/data/ chown -R www:www /var/db/squirrelmail chmod 733 /var/db/squirrelmail/attach
configure SQL prefs & Address Book
Configure_Squirrelmail_to_Store_Prefs_and_Address_Books_in_Mysql
configure SASQL plugin
MT6_Squirrelmail_Sasql
Test Squirrelmail in browser
Connect to squirrelmail:
https://your.jail.host/squirrelmail/
While logged in, also compose a new message and send it, making sure outbound works.