
| Current Path : /home/ift/51_iftlib/mailsystem/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : //home/ift/51_iftlib/mailsystem/install_mail.sh |
# Sometimes the clamav-database is corrupt, then delete it: # # rm /var/lib/clamav/daily.cld apt-get -y install postfix apt-get -y install amavis apt-get -y install clamav apt-get -y install dovecot-imapd apt-get -y install dovecot-pop3d apt-get -y install clamav-daemon apt-get -y install amavisd-new apt-get -y install sasl2-bin apt-get -y install spamassassin apt-get -y install arj bzip2 cabextract cpio file gzip nomarch pax unzip zip apt-get -y install rainloop apt-get -y install opendkim opendkim-tools # Install the files under postfix into /etc/postfix # Install the files under spamassassin into /etc/spamassassin # Install the files under amavis into /etc/amavis/conf.d # and give a proper hostname in /etc/amavis/05-node_id # Install the files under dovecot into /etc/dovecot/conf.d # Install the files under sasl into /etc/postfix/sasl # Change the MECHANISM in /etc/default/saslauthd to shadow, and say START=yes. # Restart /etc/default/saslauthd # chmod 777 /etc/sasldb2 # add postfix to group sasl in /etc/group # # rainloop: in /etc/rainloop/applications.ini: allow_admin_panel = On # IMAP Server: STARTTLS (without short username) # SMTP Server: STARTTLS (with short username) # dovecot kompilieren: # zip-file von dovecot herunterladen. # apt-get install libb-dev # ./configure --prefix= --with-solr # make clean # make # make install #spam helper: # #apt-get -y install razor #apt-get -y install pyzor # #razor-admin -create #razor-admin -register # dkim: # In /etc/opendkim.conf: Socket inet:8892@localhost (opendkim Server listens on 8892) # Comment the lines starting with Domain, Keyfile, Selector. # Add the lines: #KeyTable /etc/opendkim/KeyTable #SigningTable /etc/opendkim/SigningTable #ExternalIgnoreList /etc/opendkim/TrustedHosts #InternalHosts /etc/opendkim/TrustedHosts