Hallo zusammen,
ich bin gerade dabei mir ein Benno MailArchiv aufzusetzen.
Mir ist relativ egal was ich letztendlich für eine Lösung habe. Ich habe mich nur erstmal für Benno entschieden da dies so das bekanntest war was ich gefunden habe (was kostenlos bereit Stand).
Die Installation des Benno Servers lief recht problemlos nur bei der Anbindung an das Mail System gibt es Ärger. Als Mailsystem nutze ich ein Zarafa 7.2 auf einem Ubunutu 14.04 64 Bit.
Als Anleitung zur Anbindung bin ich stumpf nach dieser Anleitung vorgegangen http://wiki.benno-mailarchiv.de/index.php/Mail-Import_via_MILTER
Da ich die Fehler schon beim Postfix bekomme gehe ich mal davon aus das der Fehler irgendwo in der Postfix Konfiguration liegen muss:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | # See /usr/share/postfix/main.cf.dist for a commented, more complete version # Debian specific: Specifying a file name will cause the first # line of that file to be used as the name. The Debian default # is /etc/mailname. #myorigin = /etc/mailname smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) biff = no # appending .domain is the MUA's job. append_dot_mydomain = no # Uncomment the next line to generate "delayed mail" warnings #delay_warning_time = 4h readme_directory = no # TLS parameters smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key smtpd_use_tls=yes smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for # information on enabling SSL in the smtp client. smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination myhostname = de03vm01 alias_maps = hash:/etc/aliases, ldap:/etc/postfix/ldap-group.cf, ldap:/etc/postfix/ldap-aliases.cf, ldap:/etc/postfix/ldap-virtual-aliases.cf, ldap:/etc/postfix/ldap-group.cf, ldap:/etc/postfix/ldap-distribution.cf alias_database = hash:/etc/aliases, ldap:/etc/postfix/ldap-group.cf, ldap:/etc/postfix/ldap-aliases.cf, ldap:/etc/postfix/ldap-virtual-aliases.cf, ldap:/etc/postfix/ldap-group.cf, ldap:/etc/postfix/ldap-distribution.cf mydestination = de01vm01, localhost.localdomain, localhost, de03vm01.**************.local, **************.de relayhost = smtp.*************.de mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 mailbox_size_limit = 0 recipient_delimiter = + inet_interfaces = all # aus http://www.dirk-hagedorn.de/?page_id=1238 eingefügt von Rene am 28.12.14 smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl/sasl_passwd smtp_sasl_security_options = noanonymous smtp_use_tls = yes smtp_enforce_tls = yes smtp_tls_security_level = may inet_protocols = ipv4 myorigin = /etc/mailname #aus http://wiki.ubuntuusers.de/Zarafa eingefügt von Rene am 28.12.14 mailbox_command = /usr/bin/zarafa-dagent "$USER" #mailbox_transport = zarafa: zarafa_destination_recipient_limit = 1 #aus http://www.zarafa.com/wiki/index.php/Postfix_Zarafa_DB_plugin_integration eingefügt von Rene am 28.12.14 mydomain = ***********.de #virtual_alias_maps = mysql:/etc/postfix/mysql-users.cf virtual_mailbox_domains = ************+.de #LDAP Einstellungen http://www.whisperedshouts.de/dokumente/postfix-und-ldap-part-3-postfix-konfigurieren virtual_alias_maps = hash:/etc/aliases, ldap:/etc/postfix/ldap-aliases.cf, ldap:/etc/postfix/ldap-virtual-aliases.cf, ldap:/etc/postfix/ldap-group.cf, ldap:/etc/postfix/ldap-distribution.cf #virtual_mailbox_domains = ldap:/etc/postfix/ldap/virtual_domains.cf virtual_mailbox_maps = ldap:/etc/postfix/ldap-users.cf #virtual_mailbox_base = / #virtual_uid_maps = ldap:/etc/postfix/ldap/virtual_uid.cf #virtual_gid_maps = ldap:/etc/postfix/ldap/virtual_gid.cf # TRANSPORT #transport_maps = ldap:/etc/postfix/ldap/virtual_transport.cf #relay_domains = ldap:/etc/postfix/ldap/virtual_relay.cf ### Benno MailArchiv Milter smtpd_milters = unix:/maildump-milter/socket non_smtpd_milters = local:/maildump-milter/socket #milter_default_action = accept milter_default_action = tempfail ## if lmtp milter exist : # lmtpd_milters = unix:/maildump-milter/socket ### /Benno MailArchiv Milter |
Wo liegt der Fehler?
Das Log (var/log/mail.log) sieht so aus:
Feb 26 16:26:27 de03vm01 postfix/smtpd[59106]: NOQUEUE: milter-reject: MAIL from localhost[127.0.0.1]: 451 4.7.1 Service unavailable - try again later; from=<****@*************.de> proto=ESMTP helo=<de03vm01.************.local> Feb 26 16:26:27 de03vm01 postfix/smtpd[59106]: disconnect from localhost[127.0.0.1] Feb 24 03:06:03 de03vm01 postfix/trivial-rewrite[59124]: message repeated 2 times: [ warning: do not list domain ************.de in BOTH mydestination and virtual_mailbox_domains]
wie man sieht gehen weder Mail rein noch raus.....
Wo habe ich den Fehler gemacht?
Welche Infos braucht Ihr noch von mir?
Welche Alternativen gibt es zu Benno? Ich brauche: LDAP Kompatibel, leicht zu bedienen, lauffähig unter Linux, Webgui, kostenfrei