aboutsummaryrefslogtreecommitdiffstats
path: root/fripost-docs.org
diff options
context:
space:
mode:
Diffstat (limited to 'fripost-docs.org')
-rw-r--r--fripost-docs.org21
1 files changed, 21 insertions, 0 deletions
diff --git a/fripost-docs.org b/fripost-docs.org
index 8c7d302..92920a9 100644
--- a/fripost-docs.org
+++ b/fripost-docs.org
@@ -351,7 +351,26 @@ replicate-do-db = mail
[[http://dev.mysql.com/doc/refman/5.0/en/change-master-to.html][12.5.2.1. CHANGE MASTER TO Syntax]]
CHANGE MASTER TO MASTER_PORT=1949, MASTER_CONNECT_RETRY=60;
+*** Configuring the main IMAP server to receive e-mail to Maildir
+ First setup the tables like above.
+
+ - sudo apt-get install maildrop
+ - /etc/postfix/main.cf
+:HIDDEN:
+# Not really needed until we switch to using Courier maildrop
+maildrop_destination_recipient_limit = 1
+
+virtual_mailbox_base = /home/mail/virtual
+:END:
+ - sudo mkdir -p /home/mail/virtual/fripost.org/example/
+ - sudo maildirmake /home/mail/virtual/fripost.org/example/Maildir
+ - mysql -u root -p
+ INSERT INTO mailbox (username,password,name,maildir,domain)
+ VALUES ('exempel@fripost.org','test666','Exempelanvändare','fripost.org/exempel/Maildir/','fripost.org');
+ - /etc/init.d/postfix restart
+
+ Now it should work to send an e-mail to exempel@fripost.org
*** Configuring a new smarthost to relay e-mail to the main IMAP server
@@ -373,6 +392,8 @@ replicate-do-db = mail
fripost.org smtp:localhost:1917
- sudo postmap hash:/etc/postfix/transport
+*** Setting up dovecot
+
** Necessary stuff to fix for security
*** Firewall rules