Mail Server
From Biowiki
Mail server
- MX record: see Djb Dns
- apt-get install postfix uw-imapd-ssl
- here's the tail of /etc/postfix/main.cf
... # appending .domain is the MUA's job. append_dot_mydomain = yes myhostname = wesley alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = /etc/mailname mydestination = biowiki.org, wesley, mail, localhost.localdomain, localhost relayhost = mynetworks = 127.0.0.0/8,169.229.195.192/26,72.25.104.121/32 home_mailbox = mail mailbox_command = procmail -a "$EXTENSION" mailbox_size_limit = 0 recipient_delimiter = +
- type postfix reload
- create /etc/cram-md5.pwd containing lines of the form "username<TAB>password" (NB not the login password)
- here's my /etc/c-client.cf file for uw-imapd
I accept the risk set mail-subdirectory mail set disable-plaintext 1
- NB disable-plaintext will break IMAP unless you create /etc/cram-md5.pwd as above
Ian Holmes, 21 May 2006