Problem mit Dovecot & Postfix



freenewbie

New Member
Hallo zusammen,

Ich habe eine Frage zum Thema Email versenden und empfangen undzwar habe ich Postfix und Dovecot auf (Ubuntu Linux 8.04.3) installiert.

Ich kann Emails vom VServer versenden und auch empfangen nur gibt es ein Problem mit dem Outlook Express ich kann keine Emails abrufen und versenden wodran könnte es liegen ?

Ich poste mal die main.cf Konfiguarationsda*


Code:
# 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

recipient_delimiter = +
readme_directory = no
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

readme_directory = no

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

mydomain = domain.tld
myhostname = mail.domain.tld

myorigin = $mydomain

alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination = localhost, $mydomain
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128

virtual_mailbox_domains = /etc/postfix/virtual_domains
virtual_mailbox_base = /var/mail/vhosts
virtual_mailbox_maps = hash:/etc/postfix/vmailbox
virtual_alias_maps = hash:/etc/postfix/virtual_alias
virtual_minimum_uid = 100
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1
mailbox_size_limit = 0
mailbox_command = procmail -a "$EXTENSION"

smtpd_sasl_auth_enable = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $mydomain

smtpd_use_tls=yes
smtpd_tls_security_level = may
smtpd_tls_auth_only = no
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
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_tls_received_header = yes

tls_random_source = dev:/dev/urandom

smtpd_require_helo = yes
smtpd_client_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_invalid_hostname,  reject_unknown_client, reject_rbl_client sbl-xbl.spamhaus.org
smtpd_sender_restrictions = permit_mynetworks, reject_unknown_address, reject_unknown_sender_domain, reject_non_fqdn_sender
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_recipient_limit = 250

broken_sasl_auth_clients = yes


etc/postfix/virtual_alias

Code:

etc/postfix/virtual_domains

Code:
mail.domain.tld

etc/postfix/vmailbox

Code:
[email protected]     /var/mail/domain.tld/mail/

So alle virtuelle aktualisiert mittels postmap /etc/postfix/..


etc/dovecot/dovecot.conf in Kurzfassung

Code:
protocols = imap pop3 imaps pop3s 
log_path = /var/log/dovecot
ssl_listen = 
ssl_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
ssl_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
mail_location = maildir:/var/mail/vhosts/%d/%n 
mail_privileged_group = mail 
pop3_uidl_format = %08Xu%08Xv 

protocol lda {
  hostname = mail.domain.tld
  postmaster_address = [email protected]
  auth_socket_path = /var/run/dovecot/auth-master
  mail_plugin_dir = /usr/lib/dovecot/modules/lda
  mail_plugins = cmusieve
}

auth default {
  mechanisms = plain login
  userdb passwd-file {
    args = /var/mail/vhosts/%d/passwd
  }
  passdb passwd-file {
    args = /var/mail/vhosts/%d/shadow
  }
  socket listen {
    client {
      path = /var/spool/postfix/private/auth
      mode = 0660
      user = postfix
      group = vmail
    }
    master {
      path = /var/run/dovecot/auth-master
      mode = 0600
      user = vmail
      group = vmail
    }
  }

Die dovecot logdatei gibt mir beim versuch über outlook sich einzuloggen folgendes aus

Code:
Info: pop3-login: Disconnected: rip=xx.xx.xx.89, lip=xx.xx.xx.167

Outlook teilt mir beim Senden und Empfangen folgendes mit

Code:
Die Serveranmeldung mit Kennwortauthentifizierung ist fehlgeschlagen. Konto: '', Server: '', Protokoll: POP3, Serverantwort: '.', Port: 110, Secure (SSL): Nein, Fehlernummer: 0x800CCC18

Damit es auch gleich nicht zu aktiven Spam missbrauch kommt habe ich die ip und domainnamen geändert.

Ich würde mich auf eure Rückantworten freuen.
 
Last edited by a moderator:
Back
Top