> Patrick Ben Koetter
>
> * Christian Frost <[email protected]>:
> > * Patrick Ben Koetter
> > >
> > > * Christian Frost <[email protected]>:
> > > > Guten Abend Liste,
> > > >
> > > > Distribution: Debian Etch
> > > > Es wird Ssycp verwendet.
> > > > Postfix in Verbindung mit MySQL
> > > >
> > > > Problem Emails können zwar abgerufen aber nicht versand
> > > > werden, folgende Fehlermeldungen erhalte ich:
> > > >
> > > Du hast MySQL so konfiguriert, dass es auf localhost eine TCP-Verbindung
> > > entgegen nimmt? Debian dreht das recht weit zu ...
> >
> > ich habe auf der Konsole folgendes ausprobiert:
> >
> > mx1:~# mysql -u syscp -p -P 3306 -h localhost syscp
> >
> > Verbindung ist möglich.
>
> Nimm mal 127.0.0.1 in der smtpd.conf.
>
> Das hier ist zwar nicht in direktem Zusammenhang, aber es zeigt das
> wahrscheinliche Problem:
>
> "Es gilt zwischen localhost und 127.0.0.1 zu unterscheiden. Die
> MySQL-Client-Library, welche in fast allen Programmen zum
> Einsatz kommt, die auf MySQL Server zugreifen (z.B. der MySQL Console, aber 
> auch in PHP),
> reagiert auf den Host localhost auf spezielle Weise. Soll eine Verbindung zum
> Host localhost per TCP aufgebaut werden, erzwingt die
> Library automatisch den Zugriff über UNIX Domain Sockets." 
> <http://www.tsunamihost.ch/hosting/faq/mysql/zugriff_von_aussen.php>
>

So habe nun wie beschrieben die smtpd.conf angepasst und folgende Meldung in der

auth.log

Oct 29 10:27:03 mx1 postfix/smtpd[4323]: sql plugin Parse the username [EMAIL 
PROTECTED]
Oct 29 10:27:03 mx1 postfix/smtpd[4323]: sql plugin try and connect to a host
Oct 29 10:27:03 mx1 postfix/smtpd[4323]: sql plugin trying to open db 'syscp' 
on host '127.0.0.1'
Oct 29 10:27:03 mx1 postfix/smtpd[4323]: sql plugin could not connect to host 
127.0.0.1
Oct 29 10:27:03 mx1 postfix/smtpd[4323]: sql plugin couldn't connect to any host

> [EMAIL PROTECTED]
>
>
>
> >
> >
> > >
> > >
> > > [EMAIL PROTECTED]
> > >
> > > --
> > > state of mind
> > > Agentur für Kommunikation, Design und Softwareentwicklung
> > >
> > > Patrick Koetter            Tel: 089 45227227
> > > Echinger Strasse 3         Fax: 089 45227226
> > > 85386 Eching               Web: http://www.state-of-mind.de
> > >
> > > Amtsgericht München        Partnerschaftsregister PR 563
> > > _______________________________________________
> > > postfix-users mailing list
> > > [email protected]
> > > http://de.postfix.org/cgi-bin/mailman/listinfo/postfix-users
> > >
> >
> > Mit freundlichen Grüßen
> >
> > Christian Frost
> > _______________________________________________
> > postfix-users mailing list
> > [email protected]
> > http://de.postfix.org/cgi-bin/mailman/listinfo/postfix-users
>
> --
> state of mind
> Agentur für Kommunikation, Design und Softwareentwicklung
>
> Patrick Koetter            Tel: 089 45227227
> Echinger Strasse 3         Fax: 089 45227226
> 85386 Eching               Web: http://www.state-of-mind.de
>
> Amtsgericht München        Partnerschaftsregister PR 563
> _______________________________________________
> postfix-users mailing list
> [email protected]
> http://de.postfix.org/cgi-bin/mailman/listinfo/postfix-users
>

Mit freundlichen Grüßen

Christian Frost
_______________________________________________
postfix-users mailing list
[email protected]
http://de.postfix.org/cgi-bin/mailman/listinfo/postfix-users

Antwort per Email an