Difference between revisions of "Ubuntu Mail Server"
From Teknologisk videncenter
m (Created page with "Her vil jeg skrive lidt omkring hvordan jeg har sat en Ubuntu Mail Server op. =Krav= *Ubuntu 10.04 server installeret med OpenSSH-Server *MX record i DNS *IPv4 + IPv6 =Installati...") |
(No difference)
|
Revision as of 00:36, 22 October 2011
Her vil jeg skrive lidt omkring hvordan jeg har sat en Ubuntu Mail Server op.
Krav
- Ubuntu 10.04 server installeret med OpenSSH-Server
- MX record i DNS
- IPv4 + IPv6
Installation af postfix
sudo aptitude install postfix -y
tilføj mail.elmhot.eu til mydestinations = i /var/postfix/main.cf
# Added to only allow mail for mail.elmholt.eu relay_domains = mail.elmholt.eu # You must stop/start Postfix after changing this parameter. # inet_protocols = ipv4 (DEFAULT: enable IPv4 only) # inet_protocols = all (enable IPv4, and IPv6 if supported) # inet_protocols = ipv4, ipv6 (enable both IPv4 and IPv6) # inet_protocols = ipv6 (enable IPv6 only) #inet_protocols = ipv6 inet_protocols = all
sudo service postfix restart
sudo aptitude install ntp -y
sudo nano /etc/ntp.conf
sudo service ntp restart
.muttrc
# # .muttrc file created by User # Version 0.9beta # Date: 20110515 # # Hide host details set hidden_host # Include original mail in responses set include # Display 3 lines of context in pager. set pager_context=3 # Wait 1 second before checking for new mails set mail_check=1 # Check for new mail after 1 second of inactivity set timeout=1 # Support da #set charset=isolatin # Set sender email set from=noreply@mail.domain.com # Uses Sender mail set use_envelope_from = yes