]> git.deb.at Git - debienna.git/blobdiff - LittleMailserver/index.mdwn
questions++
[debienna.git] / LittleMailserver / index.mdwn
index 10e643a1199747ab25fc540d47dba26fc3d78321..ba1891677fea9c284db5001a0d43aeabdfc4ed57 100644 (file)
@@ -1,28 +1,29 @@
-= Postfix Dovecot Pam =
 
-''' master.cf '''
+
+# Postfix Dovecot Pam
+
+** master.cf **
 
 # xxx.xxx.xxx.xxx = ipadresse; um den smtp server auf eine ip zu binden
-{{{
+[[!format txt """
 xxx.xxx.xxx.xxx:smtp        inet  n       -       -       -       -       smtpd
 
 dovecot unix    -       n       n       -       -      pipe
   flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -f ${sender} -d ${recipient}
-}}}
+"""]]
+** virtual_domains **
 
-''' virtual_domains '''
 
-{{{
+[[!format txt """
 example.net ACCEPT
 domain.com  ACCEPT
-}}}
-
+"""]]
 postmap /etc/postfix/virtual_domains
 
+** main.cf **
 
-''' main.cf '''
 
-{{{
+[[!format txt """
 myhostname = mail.example.net
 myorigin = /etc/mailname
 
@@ -87,17 +88,16 @@ smtpd_hard_error_limit = 20
 header_checks = regexp:/etc/postfix/header_checks
 body_checks surf to http://www.malware.com.br
 
-}}}
+"""]]
+** /etc/postfix/header_checks **
 
-''' /etc/postfix/header_checks '''
 
-{{{
+[[!format txt """
 /^Received:/ HOLD
 /^X-Spam-Level: (\*){8,}/   REDIRECT sa-spam
-}}}
-
-''' dovecot.cf '''
-{{{
+"""]]
+** dovecot.cf **
+[[!format txt """
 base_dir = /var/run/dovecot/
 #log_path = /var/log/dovecot.log
 protocols = imap
@@ -136,9 +136,9 @@ protocol lda {
         postmaster_address = host@example.net
 }
 
-}}}
-''' addmailuser.sh ''' 
-{{{
+"""]]
+** addmailuser.sh **
+[[!format txt """
 #!/bin/sh -x
 
 echo "usage: $0 <newusername>"
@@ -148,13 +148,13 @@ maildirmake /srv/vmail/$1/Maildir
 chown vmail:vmail /srv/vmail/$1 -R
 
 htpasswd /etc/dovecot/dovecot.passwd $1
-}}}
-
-''' pam.d/dovecot '''
+"""]]
+** pam.d/dovecot **
 
 aptitude install libpam_pwdfile
 
-{{{
+
+[[!format txt """
 #%PAM-1.0
 
 auth required pam_pwdfile.so pwdfile=/etc/dovecot/dovecot.passwd debug
@@ -165,23 +165,21 @@ account sufficient pam_permit.so
 #@include common-auth
 #@include common-account
 #@include common-session
-}}}
+"""]]
 
-{{{
+[[!format txt """
 aptitude install policyd-weight
-}}}
-
-[[http://rikman.mtb-news.de/archives/2005/12/13/postgrey-unter-debian-einrichten/|postgrey-unter-debian-einrichten]]
+"""]]
+[[postgrey-unter-debian-einrichten|http://rikman.mtb-news.de/archives/2005/12/13/postgrey-unter-debian-einrichten/]]
 
-[[http://packages.debian.org/etch/mailscanner|MailScanner Debian-package]]
+[[MailScanner Debian-package|http://packages.debian.org/etch/mailscanner]]
 
-[[http://www.delodder.be/index.php/2007/10/18/mailscanner-with-postfix-on-etch/#more-86|MailScanner With Postfix on Etch]]
+[[MailScanner With Postfix on Etch|http://www.delodder.be/index.php/2007/10/18/mailscanner-with-postfix-on-etch/#more-86]]
 
-[[http://www.delodder.be/index.php/2007/10/22/add-anti-virus-support-to-mailscanner/#more-88|Add Anti-Virus support to MailScanner]]
+[[Add Anti-Virus support to MailScanner|http://www.delodder.be/index.php/2007/10/22/add-anti-virus-support-to-mailscanner/#more-88]]
 
+Um noch den Usern zu ermöglichen ihre Mails über den Server zu relayen sollte man eine SMTP Authentifizierung benutzen. Falls die Clients statisce IPs besitzen kann man diese natürlich auch in der main.cf unter my_networks eintragen. Wie eine mögliche SMTP Auth ausehen kann findet sich unter [[LittleMailserverSMTP|LittleMailserverSMTP]]
 
 
-Um noch den Usern zu ermöglichen ihre Mails über den Server zu relayen sollte man eine SMTP Authentifizierung benutzen. Falls die Clients statisce IPs besitzen kann man diese natürlich auch in der main.cf unter my_networks eintragen. Wie eine mögliche SMTP Auth ausehen kann findet sich unter [[LittleMailserverSMTP]]
 
-----
-CategoryCodeSnippets CategoryTipsAndTricks
\ No newline at end of file
+ [[!tag CategoryCodeSnippets]] [[!tag CategoryTipsAndTricks]]