[Postfixbuch-users] Postfix verweigert Mail-Annahme für Mailboxen

dast dast at phpaction.de
Sa Mär 29 00:36:40 CET 2003


Hallo,

ich habe vollgendes Problem:

ich betreibe Postfix (+Courier) unter Linux für mehrere Virtuelle Domains.

Nun hab ich das Problem das Postfix für die virtuellen Domains Mails 
entgegennimmt, wenn es sich um Weiterleitungen handelt - nicht jedoch 
für Postfächer. (Keine SystemUser-Wie Kapitel 19)

Gleiches gilt auch für $mydomain, jedoch funktioniert es hier, wenn der 
Mail-Konto-Account genauso wie ein System-User heißt.


Tabelle kunden_mailaccounts:   [NULL=Postfach]

    [mailaddr]		 [forwardtouser]
------------------------------------------------
  webDE at xaarr.de		dast at phpaction.de
  test at xaarr.de		NULL
  xaarr.de		relay-domain


Für die Weiterleitung "webDE at xaarr.de" werden Mails entgegen genommen.
Für "test at xaarr.de" werden jedoch keine Mails angenommen.

LOG: "550 <test at xaarr.de>: User unknown in virtual alias table;"


Da ich nicht weiß, in wie weit diese Informationen ausreichen, noch die 
Konfig's als Anhang.


Ha echt keine Idee mehr, nachdem ich alles zum dritten mal durchgegangen 
bin.
-------------- nächster Teil --------------
user=admin_phpaction
password=lol
dbname=admin_phpaction_de
table=kunden_domains
select_field=domain_transport
where_field=domain_name
hosts=localhost
-------------- nächster Teil --------------
user=admin_phpaction
password=lol
dbname=admin_phpaction_de
table=kunden_mailaccounts
select_field=maildir
where_field=mailaddr
hosts=localhost
additional_conditions= and forwardtouser is null
-------------- nächster Teil --------------

virtual_mailbox_base= /var/spool/maildirs


program_directory = /usr/lib/postfix
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix


default_privs = nobody



myhostname = mail.phpaction.de
mydomain = phpaction.de
inet_interfaces = $myhostname, localhost
mydestination = $myhostname, localhost, $mydomain



#local_recipient_maps = $relocated_maps $alias_maps unix:passwd.byname


#default_transport = smtp
#default_transport = uucp




#für SMTPafterPOP:

smtpd_recipient_restrictions=permit_mynetworks,
	check_client_access hash:/etc/postfix/pop-before-smtp,
	reject_unauth_destination,
	permit



# ADDRESS REWRITING

canonical_maps = hash:/etc/postfix/canonical


# ADDRESS REDIRECTION (VIRTUAL DOMAIN)

virtual_maps = mysql:/etc/postfix/virtual.mysql

virtual_uid_maps=mysql:/etc/postfix/ids.mysql
virtual_gid_maps=mysql:/etc/postfix/ids.mysql
virtual_mailbox_maps=mysql:/etc/postfix/mailbox.mysql

# "USER HAS MOVED" BOUNCE MESSAGES

relocated_maps = hash:/etc/postfix/relocated
smtpd_sender_restrictions = hash:/etc/postfix/access

# TRANSPORT MAP

transport_maps = mysql:/etc/postfix/transport.mysql

# ALIAS DATABASE

alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases

mail_spool_directory = /var/mail

#relay_domains = $mydestination
#relay_domains = mysql:/etc/postfix/virtual.mysql
#mynetworks = $config_directory/mynetworks


mail_name = PHPaction-Mail-System
smtpd_banner = $myhostname ESMTP $mail_name




local_destination_concurrency_limit = 2
default_destination_concurrency_limit = 10

debug_peer_level = 2
debugger_command =
         PATH=/usr/bin:/usr/X11R6/bin
         xxgdb $daemon_directory/$process_name $process_id & sleep 5



# Other configurable parameters.
readme_directory = no
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
manpage_directory = /usr/local/man
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
unknown_local_recipient_reject_code = 450
mail_version = 2.0.0.3
myorigin = $mydomain
-------------- nächster Teil --------------
user=admin_phpaction
password=lol
dbname=admin_phpaction_de
table=kunden_mailaccounts
select_field=uid
where_field=mailaddr
hosts=localhost
additional_conditions= and forwardtouser is null
-------------- nächster Teil --------------
user=admin_phpaction
password=
dbname=admin_phpaction_de
table=kunden_mailaccounts
select_field=forwardtouser
where_field=mailaddr
hosts=localhost
additional_conditions= and forwardtouser is not null


Mehr Informationen über die Mailingliste Postfixbuch-users