Hoppa debian-user-german Leser und Leserinnen, ich versuche gerade meinem Postfix virtuelle Mailboxen beizubringen.
Dies habe ich (bis auf den teil mit sasl - den ich später machen will) nach dem HOWTO von http://postfixwiki.org/index.php?title=Virtual_Users_and_Domains_with_Courier-IMAP_and_MySQL "probiert". Aber leider klappt das nicht so, wie ich es gerne hätte. Irgendwie klappt die Verbindung zum MYSQL Server nicht, wenn man nach den Logeinträgen urteilen darf: Nov 13 17:03:37 samba postfix/trivial-rewrite[12240]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) Nov 13 17:03:37 samba postfix/trivial-rewrite[12240]: fatal: mysql:/etc/postfix/mysql-virtual_alias_maps.cf(0,100): table lookup problem Nov 13 17:03:38 samba postfix/qmgr[12176]: warning: premature end-of-input on private/rewrite socket while reading input attribute name Nov 13 17:03:38 samba postfix/qmgr[12176]: warning: problem talking to service rewrite: Success Nov 13 17:03:38 samba postfix/smtpd[12178]: warning: premature end-of-input on private/rewrite socket while reading input attribute name Nov 13 17:03:38 samba postfix/smtpd[12178]: warning: problem talking to service rewrite: Connection reset by peer Nov 13 17:03:38 samba postfix/master[12173]: warning: process /usr/lib/postfix/trivial-rewrite pid 12240 exit status 1 Nov 13 17:03:38 samba postfix/master[12173]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling Nov 13 17:04:38 samba postfix/trivial-rewrite[12241]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) Nov 13 17:04:38 samba postfix/trivial-rewrite[12241]: fatal: mysql:/etc/postfix/mysql-virtual_alias_maps.cf(0,100): table lookup problem Nov 13 17:04:39 samba postfix/qmgr[12176]: warning: premature end-of-input on private/rewrite socket while reading input attribute name Nov 13 17:04:39 samba postfix/qmgr[12176]: warning: problem talking to service rewrite: Success Nov 13 17:04:39 samba postfix/smtpd[12178]: warning: premature end-of-input on private/rewrite socket while reading input attribute name Nov 13 17:04:39 samba postfix/smtpd[12178]: warning: problem talking to service rewrite: Connection reset by peer Nov 13 17:04:39 samba postfix/master[12173]: warning: process /usr/lib/postfix/trivial-rewrite pid 12241 exit status 1 Nov 13 17:04:39 samba postfix/master[12173]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling Die main.cf habe ich aus dem Howto ergänzt und auch noch vom howto bzw. den Konfigs von syscp verglichen/abgestimmt. Aber so richtig ... :-( # see /usr/share/postfix/main.cf.dist for a commented, fuller # version of this file. # Do not change these directory settings - they are critical to Postfix # operation. command_directory = /usr/sbin daemon_directory = /usr/lib/postfix program_directory = /usr/lib/postfix setgid_group = postdrop # appending .domain is the MUA's job. append_dot_mydomain = no smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) biff = no # Uncomment the next line to generate "delayed mail" warnings #delay_warning_time = 4h myhostname = samba.aritamba.de alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = $myhostname mydestination = localhost.aritamba.de, localhost, sambaserver.dyndns.org mydomain = aritamba.de mynetworks = 127.0.0.0/8, 192.168.178.0/24 relayhost = smtp.localdomain mailbox_command = /usr/bin/maildrop mailbox_size_limit = 0 recipient_delimiter = + inet_interfaces = all # Virtuelle Benutzer und Domains virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_alias_maps.cf virtual_gid_maps = static:104 virtual_mailbox_base = /usr/local/virtual virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_domains_maps.cf virtual_mailbox_limit = 51200000 virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailbox_maps.cf virtual_minimum_uid = 102 virtual_transport = virtual virtual_uid_maps = static:102 # Quota Support # virtual_create_maildirsize = yes # virtual_mailbox_extended = yes # virtual_mailbox_limit_maps = mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf # virtual_mailbox_limit_override = yes # virtual_maildir_limit_message = Sorry, the user's maildir has overdrawn his diskspace quota, please try again later. # virtual_overquota_bounce = yes # MYSQL für Backup MX Domains # relay_domains = mysql:/etc/postfix/mysql-relay_domains_maps.cf Hat hier wer zufällig eine Idee/einen Hinweis? Ein googlen nach dem Fehler, der vor dem Connecterror steht hat leider auch nichts geholfen. Danke vielmals für jeden Tipp/Hinweis. -- Viele Grüße Sebastian ICQ: 264706583 / MSM: [EMAIL PROTECTED] Yahoo: de_sebo / Skype: sebo_de E-Mail: [EMAIL PROTECTED] / Web: www.aritamba.de -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject "unsubscribe". Probleme? Mail an [EMAIL PROTECTED] (engl)