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

Martin Müller - Rudolf Hausstein OHG m.mueller at hausstein.at
Mi Dez 21 15:16:42 CET 2005



Andreas Winkelmann schrieb:

>> Hier gibts mit dem MySQL-Lookup anscheinen ein Problem ----
> 
> Joh, sollte der Admin von mail.derist.org [83.64.124.110] mal seine Config 
> zeigen. Insbesondere die virtual_alias_table in Bezug auf 
> "max.muster at derist.org".

Hi!

Hab ich schon in meiner ersten Mail, hier gerne noch mals:

#/etc/postfix/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
mynetworks = 127.0.0.0/8, 83.64.124.100
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +

virtual_mailbox_base= /var/spool/maildirs
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
virtual_transport = virtual

# /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

# /etc/courier/authmsql
MYSQL_SERVER    localhost
MYSQL_USERNAME  mailadmin
MYSQL_PASSWORD  MailAdminni

MYSQL_PORT      3306
MYSQL_OPT       0
MYSQL_DATABASE  mailbasis

MYSQL_USER_TABLE        mailuser
MYSQL_CLEAR_PWFIELD     MailAdminni

DEFAULT_DOMAIN  derist.org

MYSQL_UID_FIELD uid
MYSQL_GID_FIELD gid

MYSQL_LOGIN_FIELD       id
MYSQL_HOME_FIELD        home
MYSQL_MAILDIR_FIELD     maildir

## MySQL-DB

+---------------------+
| Tables_in_mailbasis |
+---------------------+
| mailuser            |
| weiterleitungen     |
+---------------------+

Tabelle mailuser
id 		int(11)		Nein 	
konto 		varchar(150)	Nein 	
uid 		varchar(6)	Nein 	5001
gid 		varchar(6)	Nein 	5001
maildir 	varchar(100)	Nein 	/var/spool/maildir
home 		varchar(100)	Nein 	
passwort 	varchar(50)	Nein 	
erstellt_von 	varchar(60)	Nein 	
erstellt_am 	date	Nein 	0000-00-00
notiz 		varchar(255)	Nein 	
vorname 	varchar(50)	Nein 	
nachname 	varchar(50)	nein

--------

Fällt euch was auf?

TIA, martin



Mehr Informationen über die Mailingliste Postfixbuch-users