PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Postfix Problem



kiss-hering
12.07.07, 05:23
Hi @all,
und zwar bin ich nach dieser Anleitung:http://www.linuxforen.de/forums/showthread.php?p=1372925#post1372925
gegangen und habe Postfix mit courier-imap mit mysql unterstützung installiert.

So jetzt habe ich aber ein paar Probs:
1.: Ich kann keine Emails bekommen, die log sagt folgenden Fehler:


h1246102 postfix/smtpd[7609]: connect from fmmailgate04.web.de[217.72.192.242]
Jul 12 05:35:33 h1246102 postfix/smtpd[7609]: NOQUEUE: reject: RCPT from fmmailgate04.web.de[217.72.192.242]: 550 <admin@allesumsonst.info>: Recipient address rejected: User unknown in virtual alias table; from=<Tobias-Hering@web.de> to=<admin@allesumsonst.info> proto=ESMTP helo=<fmmailgate04.web.de>
Jul 12 05:35:33 h1246102 postfix/smtpd[7609]: disconnect from fmmailgate04.web.de[217.72.192.242]

er meint User unkwon in virtual alias table, find ich sehr komisch weil habe wie gesagt alles so gemacht wie im tut. Hier ist meine main.cf:

command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix

unknown_local_recipient_reject_code = 550
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
setgid_group = maildrop
html_directory = /usr/share/doc/packages/postfix/html
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/packages/postfix/samples
readme_directory = /usr/share/doc/packages/postfix/README_FILES
biff = no
mail_spool_directory = /var/mail
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_classes = envelope_sender, header_sender, header_recipient
myhostname = h1246102.stratoserver.net
mynetworks= 127.0.0.0/8, 10.10.0.0/16, 192.168.0.0/24
mydestination = $myhostname,$mydomain, localhost, localhost.$mydomain
smtpd_banner = $myhostname ESMTP
program_directory = /usr/lib/postfix
inet_interfaces = all
masquerade_domains = $mydomain
masquerade_exceptions = root
defer_transports =
disable_dns_lookups = no
mailbox_command =
mailbox_transport =
strict_rfc821_envelopes = no
smtp_use_tls = no
smtp_sasl_auth_enable = no
smtp_sasl_security_options =
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtpd_sasl_auth_enable = yes
smtpd_tls_auth_only = no
#smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject _unauth_destination
smtpd_use_tls = no
broken_sasl_auth_clients = yes
#SMTPD Sicherheit
smtpd_junk_command_limit = 100
smtpd_sasl_security_options =
smtpd_sasl_local_domain =
smtpd_recipient_limit = 50
smtpd_timeout = 300s
alias_maps = hash:/etc/aliases

bounce_size_limit = 100000
# max. Groesse einer Mail 10MB
message_size_limit = 10000000
# max. Groesse einer Mailqueue 200MB
mailbox_size_limit = 200000000
# 100MB - mindestens freier Plattenplatz
queue_minfree = 100000000

queue_directory = /var/spool/postfix


double_bounce_sender = tobias@localhost
empty_address_recipient = tobias@localhost
#Virtuelle Mailbox
virtual_mailbox_base =/var/spool/maildirs
virtual_mailbox_maps = mysql:/etc/postfix/mailbox.mysql
virtual_maps = hash:/etc/postfix/virtual
virtual_minimum_uid = 5000
virtual_uid_maps = mysql:/etc/postfix/ids.mysql
virtual_gid_maps = mysql:/etc/postfix/ids.mysql

So das ist der Fehler bei Postfix, wenn ihr mir da helfen könnt das wäre echt geil. :)

So und dann habe ich noch Probleme mit dem imap den ich wie beschrieben installiert habe, nur starten geht nicht! Es wird in dem TUT beschrieben man soll imap im runlevel editor starten, nur wenn ich das mache passiert gar nichts! Ich schau nach per telnet ob der imap läuft, aber er läuft nicht!

Ja das wären meine Probs währe nett wenn mir jemand helfen könnte.

mfg
kiss

marce
12.07.07, 06:26
ohne die Konfig komplett durchgearbeitet zu haben, aber

admin@allesumsonst.info
gibt's den User wirklich in der Virt-Alias-Tabelle?

kiss-hering
12.07.07, 06:41
ja den gibt es, halt in der mysql datenbank. postfix soll das ja aus der mysql datenbank lesen ist ja auch in der main.cf eingestellt oder seh ich das falsch?