Site Tools


mail

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
mail [2016/06/22 10:05] paulsmithmail [2018/10/17 18:16] (current) – [dovecot test user] paulsmith
Line 1: Line 1:
 +====== IMAP ======
 +
 +
 +===== Create a new shared folder =====
 +  maildirmake -s write -f holidays /usr/local/vmail/datahwy.com/shared
 +
 +====== postfix ======
 +http://jimsun.linxnet.com/misc/postfix-anti-UCE.txt
 +
 +
 +fix alias db:
 +postalias /etc/mail/aliases
 +====== roundcube ======
 +
 +===== courier shared folders =====
 +<code>
 +re:Ticket #1403507: patch-against-536-shared-folders.diff
 +program/lib/imap.inc  
 +301 301         $conn->delimiter = $first_userspace[1]; 
 +302 302         $my_prefs["rootdir"] = substr($conn->rootdir, 0, -1); 
 +303 303          
 +  304         $conn->rootdir = ""; 
 +  305         $my_prefs["rootdir"] = ""; 
 +  306  
 +304 307         return true; 
 +305 308  
 +306 309 } 
 +
 +Note: this is not where I found it in my version (~line 543)
 +
 +config/main.inc.php
 +$rcmail_config['drafts_mbox'] = 'INBOX.Drafts';
 +$rcmail_config['junk_mbox'] = 'INBOX.Junk';
 +$rcmail_config['sent_mbox'] = 'INBOX.Sent';
 +$rcmail_config['trash_mbox'] = 'INBOX.Trash';
 +$rcmail_config['default_imap_folders'] = array('INBOX', 'INBOX.Drafts', 'INBOX.Sent', 'INBOX.Junk', 'INBOX.Trash');
 +</code>
 +
 +===== upgrading notes =====
 +<code>
 +
 +webapp-config -I -h webmail3 -d roundcube roundcube 0.4.2
 +cp /var/www/webmail2/config/db.inc.php /var/www/webmail3/htdocs/roundcube/config/
 +cp /var/www/webmail2/config/main.inc.php /var/www/webmail3/htdocs/roundcube/config/
 +
 +
 +webapp-config -I -h webmail4 -d roundcube roundcube 0.5.1
 +cp /var/www/webmail3/htdocs/roundcube/config/db.inc.php /var/www/webmail4/htdocs/roundcube/config/
 +cp /var/www/webmail3/htdocs/roundcube/config/main.inc.php /var/www/webmail4/htdocs/roundcube/config/
 +
 +plugins:
 +cp -Rp /var/www/webmail3/htdocs/roundcube/plugins/accounts /var/www/webmail4/htdocs/roundcube/plugins/
 +cp -Rp /var/www/webmail3/htdocs/roundcube/plugins/settings /var/www/webmail4/htdocs/roundcube/plugins/
 +installed new globaladdressbook
 +cp -Rp /var/www/webmail3/htdocs/roundcube/plugins/globaladdressbook /var/www/webmail4/htdocs/roundcube/plugins/
 +
 +
 +webapp-config -h mail.datahwy.com -d roundcube  -U roundcube 1.2.4
 +
 +</code>
 +
 +===== test connections =====
 +<code>
 + openssl s_client -connect url.abc.com:465
 +
 + openssl s_client -starttls smtp -crlf -connect url.abc.com:25
 +</code>
 +
 +===== dovecot test user =====
 +<code>
 +  #test
 +  doveadm auth test joe.blogs@example.com somepassword
 +  
 +  #generate
 +  doveadm pw -s SHA512-CRYPT
 +</code>