ISPconfig 3 Debian Wheezy Getmail, Mails gehen ins Nirvana

OliverM

New Member
Hi,

ich habe ISPconfig3 auf Debian Wheezy installiert und bin begeistert, da bis auf meine Anpassungen alles ohne Probleme funktioniert ;)

Ich habe den Server zum warm werden im Intranet ohne öffentliche IP laufen.
Zum normalen Funktionsumfang von ISPconfig benötige ich Sieve auf Port 4190 und Absender-abhängiges Mail-Relay.
Absender-abhängiges Mail-Relay ist noch nicht mal so wichtig, aber Mailfilter und Autoresponder in der jeweiligen Anwendung muss funktionieren.
Ich möchte meine Schäfchen von MS Exchange auf Tine 2.0 umstellen, da geht die Akzeptanz gegen 0 wenn nicht alles in einer Applikation funktioniert.

Eventuell hat das so schon jemand am laufen und kann mir seine Konfig posten.

Problem ist folgendes, senden von intern user@xxxx.local nach extern geht, Getmail holt auch meine e-Mails vom externen IMAP Server, die Mails landen aber nicht in meinen Posteingang.

Meine Änderungen:


apt-get install dovecot-managesieved

dovecot -n
Code:
auth_mechanisms = plain login
disable_plaintext_auth = no
listen = *,[::]
log_timestamp = "%Y-%m-%d %H:%M:%S "
mail_privileged_group = vmail
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave
passdb {
  args = /etc/dovecot/dovecot-sql.conf
  driver = sql
}
plugin {
  quota = dict:user::file:/var/vmail/%d/%n/.quotausage
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
}
protocols = imap pop3 sieve
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0660
    user = postfix
  }
  unix_listener auth-userdb {
    group = vmail
    mode = 0600
    user = vmail
  }
  user = root
}
service managesieve-login {
  inet_listener sieve {
    port = 4190
  }
  process_min_avail = 10
  service_count = 1
  vsz_limit = 64 M
}
ssl_cert = </etc/postfix/smtpd.cert
ssl_key = </etc/postfix/smtpd.key
userdb {
  args = /etc/dovecot/dovecot-sql.conf
  driver = sql
}
protocol imap {
  mail_plugins = quota imap_quota
}
protocol pop3 {
  mail_plugins = quota
  pop3_uidl_format = %08Xu%08Xv
}
protocol lda {
  mail_plugins = sieve quota
}
protocol sieve {
  mail_max_userip_connections = 10
  mail_plugins = 
  managesieve_logout_format = bytes=%i/%o
  managesieve_max_compile_errors = 5
  managesieve_max_line_length = 65536
}

[B]main.cf[/B]
Code:
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
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 = /usr/share/doc/postfix

# TLS parameters
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.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.

myhostname = portal.timecar.local
alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
alias_database = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
myorigin = /etc/mailname
mydestination = portal.timecar.local, localhost, localhost.localdomain
relayhost = mail.timecar.de
mynetworks = 127.0.0.0/8 [::1]/128
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
html_directory = /usr/share/doc/postfix/html
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, proxy:mysql:/etc/postfix/mysql-virtual_email2email.cf, hash:/var/lib/mailman/data/virtual-mailman
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_mailbox_base = /var/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
inet_protocols = all
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, reject_unauth_destination, reject_rbl_client sbl.spamhaus.org
smtpd_tls_security_level = may
transport_maps = hash:/var/lib/mailman/data/transport-mailman, proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf
relay_recipient_maps = mysql:/etc/postfix/mysql-virtual_relayrecipientmaps.cf
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf
smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-virtual_client.cf
smtpd_client_message_rate_limit = 100
maildrop_destination_concurrency_limit = 1
maildrop_destination_recipient_limit = 1
virtual_transport = dovecot
header_checks = regexp:/etc/postfix/header_checks
mime_header_checks = regexp:/etc/postfix/mime_header_checks
nested_header_checks = regexp:/etc/postfix/nested_header_checks
body_checks = regexp:/etc/postfix/body_checks
owner_request_special = no
dovecot_destination_recipient_limit = 1
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
content_filter = amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappings
message_size_limit = 0

#Eigene Anpassungen

smtp_generic_maps = hash:/etc/postfix/generic
#smtp_sender_dependent_authentication = yes
sender_dependent_relayhost_maps = hash:/etc/postfix/sender_relay
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options =
mail.log
Code:
Jun 14 14:10:03 portal postfix/qmgr[4812]: 87215E815A8:  from=<getmail@portal.xxxx.local>, size=1644, nrcpt=1 (queue  active)
Jun 14 14:10:03 portal amavis[4993]: (04993-01) Passed CLEAN  {RelayedOpenRelay}, [109.91.151.126]  <getmail@portal.xxxx.local> -> <omack@xxxx.de>,  Message-ID: <1371211512.2067835783@fifo.xxxx.xx>,  mail_id: BWQZZ9FT6mqf, Hits: 0.001, size: 1173, queued_as: 87215E815A8,  1394 ms
Jun 14 14:10:03 portal postfix/smtp[4975]: 046F5E8182A:  to=<omack@xxxx.local>, relay=127.0.0.1[127.0.0.1]:10024,  delay=1.6, delays=0/0.1/0.07/1.4, dsn=2.0.0, status=sent (250 2.0.0 from  MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 87215E815A8)
Jun 14 14:10:03 portal postfix/qmgr[4812]: 046F5E8182A: removed
Jun  14 14:10:06 portal postfix/smtp[4990]: 87215E815A8:  to=<omack@xxxx.de>, relay=mail.xxxx.de[xx.xx.132.241]:25,  delay=3.2, delays=0/0/3.1/0.09, dsn=2.0.0, status=sent (250 2.0.0 Ok:  queued as A3651166068C)
VG Oliver
 

Werbung

Top