Ik kan geen mail ontvangen met postfix/mysql ( virtual )
- Ik heb de search al meerdere malen gebruikt ( al 3 dagen lang )
- google al geraadpleegd.
als ik dus een testmail stuur naar een info@mijndomein.nl dan krijg ik de volgende syslog foutmelding.
Dit geeft me syslog
hier me remote_aliases.cf
- Ik heb de search al meerdere malen gebruikt ( al 3 dagen lang )
- google al geraadpleegd.
als ik dus een testmail stuur naar een info@mijndomein.nl dan krijg ik de volgende syslog foutmelding.
Dit geeft me syslog
heb dus al die file nagekeken maar ontdek, niks verkeerd. en de mysql user kan gewoon inloggen ( courier gebruikt die namelijk ook ).Aug 15 16:22:15 blackbird postfix/trivial-rewrite[437]: fatal: mysql:/etc/postfix/remote_aliases.cf: table lookup problem
Aug 15 16:24:22 blackbird postfix/trivial-rewrite[488]: fatal: mysql:/etc/postfix/remote_aliases.cf: table lookup problem
Aug 15 16:24:33 blackbird postfix/trivial-rewrite[493]: fatal: mysql:/etc/postfix/remote_aliases.cf: table lookup problem
hier me remote_aliases.cf
en hier me main.cf van postfixuser = mailuser
password = krijg_je_niet # mysql user werkt!
dbname = maildatabase
table = remote_aliases
select_field = rcpt
where_field = alias
hosts = localhost
Hier een dumpje de gebruikte MySQL databasemyhostname= example.domain.nl
mydomain= domain.nl
myorigin= $mydomain
mynetworks= 192.168.0.1/24, 127.0.0.0/8
mydestination = $mydomain, $myhostname, $transport_maps, 127.0.0.1
# added for MySQL support
mail_name = Postfix on Slackware
inet_interfaces = all
disable_dns_lookups = no
transport_maps= mysql:/etc/postfix/transport.cf
virtual_mailbox_maps= mysql:/etc/postfix/aliases.cf
virtual_uid_maps= mysql:/etc/postfix/ids.cf
virtual_gid_maps= mysql:/etc/postfix/ids.cf
mydestination = $mydomain, $myhostname, $transport_maps, 127.0.0.1
virtual_maps = mysql:/etc/postfix/remote_aliases.cf
virtual_mailbox_base =/
Hier me processen# phpMyAdmin MySQL-Dump
# version 2.5.0
# http://www.phpmyadmin.net/ (download page)
#
# Host: localhost
# Generatie Tijd: 15 Aug 2003 om 16:33
# Server versie: 4.0.14
# PHP Versie: 4.3.1
# Database : `maildatabase`
# --------------------------------------------------------
#
# Tabel structuur voor tabel `aliases`
#
# Creation: 15 Aug 2003 om 15:58
# Last update: 15 Aug 2003 om 16:00
#
CREATE TABLE `aliases` (
`id` int(6) NOT NULL auto_increment,
`alias` varchar(128) NOT NULL default '',
`crypt` varchar(128) NOT NULL default '',
`clear` varchar(128) NOT NULL default '',
`name` varchar(128) NOT NULL default '',
`home` varchar(128) NOT NULL default '/',
`maildir` varchar(255) NOT NULL default '',
PRIMARY KEY (`id`)
) TYPE=MyISAM AUTO_INCREMENT=2002 ;
# --------------------------------------------------------
#
# Tabel structuur voor tabel `remote_aliases`
#
# Creation: 15 Aug 2003 om 16:02
# Last update: 15 Aug 2003 om 16:02
#
CREATE TABLE `remote_aliases` (
`alias` varchar(255) NOT NULL default '',
`rcpt` varchar(255) default NULL,
PRIMARY KEY (`alias`)
) TYPE=MyISAM;
# --------------------------------------------------------
#
# Tabel structuur voor tabel `transport`
#
# Creation: 15 Aug 2003 om 16:01
# Last update: 15 Aug 2003 om 16:01
#
CREATE TABLE `transport` (
`domain` varchar(255) NOT NULL default '',
`transport` varchar(default NULL,
PRIMARY KEY (`domain`)
) TYPE=MyISAM;
root 336 0.0 0.4 2116 768 ? S 16:12 0:00 /usr/lib/courier-imap/libexec/authlib/authdaemond.mysql start
root 340 0.0 0.6 2636 1264 ? S 16:12 0:00 /usr/lib/courier-imap/libexec/authlib/authdaemond.mysql start
root 341 0.0 0.6 2636 1264 ? S 16:12 0:00 /usr/lib/courier-imap/libexec/authlib/authdaemond.mysql start
root 342 0.0 0.6 2636 1264 ? S 16:12 0:00 /usr/lib/courier-imap/libexec/authlib/authdaemond.mysql start
root 344 0.0 0.3 1804 724 ? S 16:12 0:00 /usr/lib/courier-imap/libexec/couriertcpd -address=0 -stderrlo
root 346 0.0 0.4 2116 768 ? S 16:12 0:00 /usr/lib/courier-imap/libexec/authlib/authdaemond.mysql start
root 347 0.0 0.4 2116 768 ? S 16:12 0:00 /usr/lib/courier-imap/libexec/authlib/authdaemond.mysql start
root 349 0.0 0.2 1216 480 ? S 16:12 0:00 /usr/lib/courier-imap/libexec/courierlogger imapd
mysql 402 0.0 2.2 38252 4356 ? S 16:13 0:00 /usr/local/libexec/mysqld --basedir=/usr/local --datadir=/usr/
#2001 412 0.0 0.3 1484 648 ? S 16:16 0:00 /usr/lib/courier-imap/bin/imapd Maildir
mysql 414 0.0 2.2 38252 4356 ? S 16:16 0:00 /usr/local/libexec/mysqld --basedir=/usr/local --datadir=/usr/
mysql 418 0.0 2.2 38252 4356 ? S 16:17 0:00 /usr/local/libexec/mysqld --basedir=/usr/local --datadir=/usr/
root 484 0.0 0.5 2692 1140 ? S 16:22 0:00 /usr/libexec/postfix/master