PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Postfix / Dovecot problem (user unknown)



Taylantz
24.06.09, 15:39
Hey Leute,
ich versuche seit Heute einen Mail-Server mit IMAP auzusetzen, bin aber auch direkt auf ein Problem gestoßen!

Immer wenn ich versuche einen Mail an einen Systembenutzer zuchicken schmeisst mir das mail.log folgengen zeilen raus.



postfix/pipe[12872]: 35442292B4: to=<dovecot-test@eplayers.de>, relay=dovecot, delay=4335, delays=4335/0.01/0/0.02, dsn=5.1.1, status=bounced (user unknown)
postfix/cleanup[12875]: 557E2292E7: message-id=<20090624130937.557E2292E7@mail.eplayers.de>
postfix/qmgr[12454]: 557E2292E7: from=<>, size=2953, nrcpt=1 (queue active)
postfix/bounce[12874]: 35442292B4: sender non-delivery notification: 557E2292E7


Postfix und Dovecot sollen sich die Benutzer aus der PASSWD und SHADOW datei holen.

Hier meine Konfigurationen:

/etc/postfix/main.cf


queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
mail_owner = postfix
unknown_local_recipient_reject_code = 450
#relay_domains = $mydestination
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5

sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
home_mailbox = mail/
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/packages/postfix/samples

readme_directory = /usr/share/doc/packages/postfix/README_FILES
mail_spool_directory = /var/mail
alias_maps = hash:/etc/postfix/aliases
alias_database = hash:/etc/postfix/aliases
#canonical_maps = hash:/etc/postfix/canonical
#virtual_maps = hash:/etc/postfix/virtual
#relocated_maps = hash:/etc/postfix/relocated
#transport_maps = hash:/etc/postfix/transport
#sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient

myhostname = mail.eplayers.de
mydomain = eplayers.de
append_dot_mydomain = no

program_directory = /usr/lib/postfix
inet_interfaces = all
myorigin = $mydomain
masquerade_domains = eplayers.de
mydestination = $myhostname, localhost.$mydomain, $mydomain


defer_transports =.
disable_dns_lookups = no


mailbox_command =.
mailbox_transport =.

smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions =.
smtpd_helo_required = no
smtpd_helo_restrictions =.
strict_rfc821_envelopes = no

smtpd_client_restrictions =.
smtpd_recipient_restrictions = permit_mynetworks,.
permit_sasl_authenticated,.
check_client_access hash:/etc/postfix/access,.
reject_unauth_destination


#smtp_sasl_auth_enable = no
#smtpd_use_tls = no
#smtp_use_tls = no
#smtpd_sasl_auth_enable = yes
#smtpd_sasl_security_options = noanonymous
#broken_sasl_auth_clients = yes
message_size_limit = 100000000
mailbox_size_limit = 500000000
smtp_tls_loglevel = 2
debug_peer_level = 2
smtp_bind_address = 217.144.143.59



#enable SMTP auth for relaying
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth

# deliver with dovecot
dovecot_destination_recipient_limit = 1
mailbox_transport = dovecot
local_recipient_maps = unix:passwd.byname $alias_maps



/etc/dovecot/dovecot.conf


protocols = imap

# We only allow our virtual user to login
first_valid_uid = 1
last_valid_uid = 20000
first_valid_gid = 1
last_valid_gid = 30000

disable_plaintext_auth = no


mail_location = maildir:~/mail

# debugging - comment in when needed
log_timestamp = "%Y-%m-%d %H:%M:%S "
#mail_debug = yes
#auth_verbose = yes
#auth_debug = yes
#auth_debug_passwords = yes
#verbose_ssl = no


protocol lda {
# Address to use when sending rejection mails.
postmaster_address = postmaster@eplayers.de
}

auth default {
mechanisms = plain

userdb passwd {
}
passdb shadow {
}

user = root

socket listen {
master {
path = /var/run/dovecot/auth-master
mode = 060
user = vmail
group = mail
}

client {
path = /var/spool/postfix/private/auth
mode = 0660
user = postfix
group = postfix
}
}
}



/etc/postfix/aliases


test: dovecot-test


PASSWD


dovecot:x:106:108:Dovecot mail server,,,:/usr/lib/dovecot:/bin/false
dovecot-test:x:1002:1002:Dovecot Imap,,,:/home/dovecot-test:/bin/bash
vmail:x:107:8:vmail users:/vmail:/bin/sh
mailtest:x:1003:1003:,,,:/home/mailtest:/bin/bash


Wäre echt super wenn mir jemand helfen könnte!