[Postfixbuch-users] Postfix + Courier: NIS domain name not set

Martin Müller - Rudolf Hausstein OHG m.mueller at hausstein.at
Mi Dez 21 12:13:54 CET 2005


Hallo!


Ich habe hier Debain Sarge laufen und wollte mir das Mailsystem das Ende
des Buches beschrieben ist nachbauen. Postfix, ohne MySQL, funktionierte
einwandfrei.

Nun habe ich Postfix an MySQL angebunden, seither scheitert der LogIn 
über Telnet mit folgenden Fehlermeldungen in der /var/log/mail.info:


Dec 21 11:54:05 debiantest postfix/trivial-rewrite[3744]: warning: 
connect to mysql server localhost: Can't connect to local MySQL server 
through socket '/var/run/mysqld/mysqld.sock' (2)
Dec 21 11:54:05 debiantest postfix/trivial-rewrite[3744]: fatal: 
mysql:/etc/postfix/forward.mysql(0,100): table lookup problem
Dec 21 11:54:06 debiantest postfix/smtpd[3742]: warning: premature 
end-of-input on private/rewrite socket while reading input attribute name
Dec 21 11:54:06 debiantest postfix/smtpd[3742]: warning: problem talking 
to service rewrite: Success
Dec 21 11:54:06 debiantest postfix/master[3736]: warning: process 
/usr/lib/postfix/trivial-rewrite pid 3744 exit status 1
Dec 21 11:54:07 debiantest postfix/trivial-rewrite[3745]: warning: 
connect to mysql server localhost: Can't connect to local MySQL server 
through socket '/var/run/mysqld/mysqld.sock' (2)
Dec 21 11:54:07 debiantest postfix/trivial-rewrite[3745]: fatal: 
mysql:/etc/postfix/forward.mysql(0,100): table lookup problem
Dec 21 11:54:08 debiantest postfix/smtpd[3742]: warning: premature 
end-of-input on private/rewrite socket while reading input attribute name
Dec 21 11:54:08 debiantest postfix/smtpd[3742]: warning: problem talking 
to service rewrite: Success
Dec 21 11:54:08 debiantest postfix/master[3736]: warning: process 
/usr/lib/postfix/trivial-rewrite pid 3745 exit status 1
Dec 21 11:54:08 debiantest postfix/master[3736]: warning: 
/usr/lib/postfix/trivial-rewrite: bad command startup -- throttling

Hier meine Konfigurationsdateien:

>>main.cf:
smtpd_banner = $myhostname ESMTP
biff = no

append_dot_mydomain = no

myhostname = rechner.gustitant.org
mydomain = gustitant.org
#alias_maps = hash:/etc/aliases
#alias_database = hash:/etc/aliases
virtual_maps = mysql:/etc/postfix/forward.mysql
myorigin = /etc/mailname
mydestination = debiantest.homestone, localhost.homestone, localhost
relay_domains = $mydestination, derist.org
relayhost =
mynetworks = 127.0.0.0/8, 83.64.124.100
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all

virtual_mailbox_base= /var/spool/maildir
virtual_uid_maps=mysql:/etc/postfix/ids.mysql
virtual_gid_maps=mysql:/etc/postfix/ids.mysql
virtual_mailbox_maps=mysql:/etc/postfix/mailbox.mysql
virtual_minimum_uid = 5000

>># /etc/postfix/ids.mysql
user=mailadmin
password=XXX
hosts=localhost
dbname=mailbasis
table=mailuser
select_field=uid
where_field=konto


>># /etc/postfix/mailbox.mysql
user=mailadmin
password=XXX
hosts=localhost
dbname=mailbasis
table=mailuser
select_field=maildir
where_field=konto

 >># /etc/postfix/forward.mysql
user=mailadmin
password=XXX
hosts=localhost
dbname=mailbasis
table=weiterleitungen
select_field=forward_to
where_field=forward_from


Könnt Ihr mir hier weiter helfen?


Liebe Grüße,

Martin



Mehr Informationen über die Mailingliste Postfixbuch-users