• This forum has a zero tolerance policy regarding spam. If you register here to publish advertising, your user account will be deleted without further questions.

Froxlor: Postfix/Dovecot. Ich kann keine Mails versenden -> Fehlermeldung

fabianw

New Member
Moin,
bin auf einen neuen Server umgezogen und habe dort Froxlor als Adminoberfläche installiert. Als Mailserver habe ich die Postfix/Dovecot Konfiguration genommen, da ich auf meinem alten Server mit beiden keinerlei Probleme hatte.

Ich habe Froxlor installiert und auch alles eingerichtet. Apache, ProFTPd und und und. Alles läuft.
Wenn ich nun aber eine E-Mail aus einem angelegten Postfach versenden möchte, bekomme ich die Meldung:
Code:
Recipient address rejected: User unknown in virtual mailbox table
siehe Anhang (die weißen Felder enthielten jeweils die E-Mail Adresse des Empfängers)

Nach ein paar Minuten googlen habe ich herausgefunden, dass es an einem fehlenden Eintrag in der Tabelle "mail_domain"(bei Froxlor "panel_domain") liegen könnte. Da ist aber die Domain eingetragen.

In den Log-Dateien steht das selbe wie in der Fehlermeldung.

MfG
 

Attachments

  • vk21d8arkd_(2013-02-22_15.16.31).png
    vk21d8arkd_(2013-02-22_15.16.31).png
    13.3 KB · Views: 387
Die Ursachen dafür sind vielfältig. Es kann sein, dass die E-Mailadresse nicht existiert, es kann sein dass Postfix die User aus der Datenbank nicht lesen kann.

Mehr kann man nur mit den richten Logfileeinträgen sagen.
 
Hier die Einträge aus den jeweiligen Logfiles zu dem Zeitpunkt an dem ich versucht hatte die Mail zu versenden.

/var/log/mail.info
Code:
Feb 22 15:26:03 p124 postfix/local[16716]: DD3A38412AA: to=<www-data@s2.ihsrv.eu>, orig_to=<www-data>, relay=local, delay=2161, delays=2161/0.1/0/0.08, dsn=4.3.0, status=deferred (temporary failure)
Feb 22 15:26:03 p124 postfix/local[16717]: DB2108412CD: to=<www-data@s2.ihsrv.eu>, orig_to=<www-data>, relay=local, delay=361, delays=361/0.09/0/0.1, dsn=4.3.0, status=deferred (temporary failure)
Feb 22 15:30:02 p124 postfix/pickup[16602]: 89A888412D5: uid=33 from=<www-data>
Feb 22 15:30:02 p124 postfix/cleanup[16747]: 89A888412D5: message-id=<20130222153002.89A888412D5@s2.ihsrv.eu>
Feb 22 15:30:02 p124 postfix/qmgr[12902]: 89A888412D5: from=<www-data@s2.ihsrv.eu>, size=1392, nrcpt=1 (queue active)
Feb 22 15:30:02 p124 dovecot: deliver(www-data): mail_location not set and autodetection failed: Mail storage autodetection failed with home=/var/www
Feb 22 15:30:02 p124 dovecot: deliver(www-data): Fatal: Namespace initialization failed
Feb 22 15:30:02 p124 postfix/local[16749]: 89A888412D5: to=<www-data@s2.ihsrv.eu>, orig_to=<www-data>, relay=local, delay=0.21, delays=0.13/0/0/0.08, dsn=4.3.0, status=deferred (temporary failure)
Feb 22 15:31:39 p124 postfix/smtpd[16753]: connect from p5490C88A.dip.t-dialin.net[84.144.200.138]
Feb 22 15:31:39 p124 postfix/smtpd[16753]: NOQUEUE: reject: RCPT from p5490C88A.dip.t-dialin.net[84.144.200.138]: 550 5.1.1 <empfänger@domain.tld>: Recipient address rejected: User unknown in virtual mailbox table; from=<absender@domain.tld> to=<empfänger@domain.tld> proto=ESMTP helo=<[10.0.0.3]>

/var/log/mail.err
Code:
Feb 22 15:30:02 p124 dovecot: deliver(www-data): mail_location not set and autodetection failed: Mail storage autodetection failed with home=/var/www
Feb 22 15:30:02 p124 dovecot: deliver(www-data): Fatal: Namespace initialization failed

/var/log/mail.warn
Code:
Feb 22 15:26:03 p124 dovecot: deliver(www-data): Fatal: Namespace initialization failed
Feb 22 15:30:02 p124 dovecot: deliver(www-data): mail_location not set and autodetection failed: Mail storage autodetection failed with home=/var/www
Feb 22 15:30:02 p124 dovecot: deliver(www-data): Fatal: Namespace initialization failed

/var/log/mail.log
Code:
Feb 22 15:30:02 p124 postfix/pickup[16602]: 89A888412D5: uid=33 from=<www-data>
Feb 22 15:30:02 p124 postfix/cleanup[16747]: 89A888412D5: message-id=<20130222153002.89A888412D5@s2.ihsrv.eu>
Feb 22 15:30:02 p124 postfix/qmgr[12902]: 89A888412D5: from=<www-data@s2.ihsrv.eu>, size=1392, nrcpt=1 (queue active)
Feb 22 15:30:02 p124 dovecot: deliver(www-data): mail_location not set and autodetection failed: Mail storage autodetection failed with home=/var/www
Feb 22 15:30:02 p124 dovecot: deliver(www-data): Fatal: Namespace initialization failed
Feb 22 15:30:02 p124 postfix/local[16749]: 89A888412D5: to=<www-data@s2.ihsrv.eu>, orig_to=<www-data>, relay=local, delay=0.21, delays=0.13/0/0/0.08, dsn=4.3.0, status=deferred (temporary failure)
 
Er sagt dir doch ziemlich genau, was Sache ist.
Code:
deliver(www-data): mail_location not set and autodetection failed: Mail storage autodetection failed with home=/var/www
Ein Slash hinter dem www sollte zumindest mal in die richtige Richtung führen.
 
Wo editiere ich das denn? Und was hat /var/www/ mit meinem Mailserver zu tun?
Die Mails liegen doch in /var/customers/mail
 
Anscheinend hast du den Dovecot falsch konviguriert.

Guck doch einfach mal deine Configs auf Fehler durch.
 
Habe alle Configs wie in Froxlor beschrieben nochmal komplett neu angepasst. - nichts.

Aber wenn der Fehler beim absenden kommt, müsste das ja theoretisch am postfix hängen.
 
Das hier:

Code:
Feb 22 15:30:02 p124 postfix/pickup[16602]: 89A888412D5: uid=33 from=<www-data>
Feb 22 15:30:02 p124 postfix/cleanup[16747]: 89A888412D5: message-id=<20130222153002.89A888412D5@s2.ihsrv.eu>
Feb 22 15:30:02 p124 postfix/qmgr[12902]: 89A888412D5: from=<www-data@s2.ihsrv.eu>, size=1392, nrcpt=1 (queue active)
Feb 22 15:30:02 p124 dovecot: deliver(www-data): mail_location not set and autodetection failed: Mail storage autodetection failed with home=/var/www
Feb 22 15:30:02 p124 dovecot: deliver(www-data): Fatal: Namespace initialization failed
Feb 22 15:30:02 p124 postfix/local[16749]: 89A888412D5: to=<www-data@s2.ihsrv.eu>, orig_to=<www-data>, relay=local, delay=0.21, delays=0.13/0/0/0.08, dsn=4.3.0, status=deferred (temporary failure)
 
Code:
Feb 22 15:30:02 p124 dovecot: deliver(www-data): mail_location not set and autodetection failed: Mail storage autodetection failed with home=/var/www

das home=var/www ist unverändert geblieben. ;)
 
Froxlor: Postfix/Dovecot. Ich kann keine Mails versenden -&gt; Fehlermeldung

Ja wo ändere ich das denn? Ich hab in den Configs von Dovecot oder Postfix keinen Eintrag dazu gefunden.
 
Back
Top