[Postfixbuch-users] virtual-domains

Andreas Meyer anmeyer at anup.de
Mo Jun 24 21:17:00 CEST 2002


Hallo!

Am Mon, 24 Jun 2002 20:38:27 +0200 schrieb Ralf Hildebrandt:

Oh und gleich einen der kompetentesten Leute angetroffen.

> Das sind keine virtual domains sondern virtual users!
> 
> > virtual_mailbox_base = /var/spool/mail
> > virtual_mailbox_maps = hash:/etc/postfix/vmailbox
> > virtual_minimum_uid = 100
> > virtual_uid_maps = static:5000
> > virtual_gid_maps = static:5000
> > transport_maps = hash:/etc/postfix/transport-virt

Ist mir der Unterschied dann zu virtuellen Domains nicht klar.

Ich hatte als virtual_mailbox_base auch schon /var/spool/mail/vhosts
versucht, aber da kommt ja kein fetchmail dran. Womit bekommt 
man mail aus /var/spool/mail/vhosts heraus? Standardmäßig
wird ja nur in /var/spool/mail geschaut und fetchmail sagt, daß
mit der Option -r es nicht per POP3 geht.

> Ok.
>  
> > Dabei habe ich das Problem, daß ich als normaler user
> > die mail nicht abholen kann, da die uid und gid nicht
> > aufeinander stimmen.
> 
> Naja, dein POP/IMAP muss natuerlich auch die uid und gid 5000 nutzen.

Wenn ich wüßte wie. Was ich merkwürdig finde ist, daß alle
Benutzer dann die gleiche uid gid haben. Kann ich fetchmail die
uid gid mitgeben oder wie macht man sowas? Weil das Ausliefern
funktioniert schön, nur wie abholen?
 
> > Jetzt habe ich eine einfache
> > virtual_maps = hash:/etc/postfix/virtual_domains
> > und postfix macht mir daraus den $mydomain.
> 
> Das sind dann virtual domains.

Und es wird umgeschrieben 
>From andreas at meyer.home  Mon Jun 24 21:02:30 2002
Return-Path: <andreas at meyer.home>
Delivered-To: an-meyer at delta.meyer.home
Received: from moni.meyer.test (moni.compdot.foo [192.168.3.100])
        by delta.meyer.home (Postfix) with ESMTP id DB96C6D0A
        for <an-meyer at delta.meyer.home>; Mon, 24 Jun 2002 21:02:27 

Wenn ich dann per fetchmail die mail von moni.compdot.foo
abhole kriege ich:
<an-meyer at delta.meyer.home>: mail forwarding loop for an-meyer at delta.meyer.home
und es prasselt von obigen Fehlermeldungen.

myhostname = delta.meyer.home
inet_interfaces = $myhostname
inet_interfaces = $myhostname, localhost
mydestination = $myhostname, localhost.$mydomain, $mydomain
mynetworks = 192.168.1.0/24, 127.0.0.0/8
virtual_maps = hash:/etc/postfix/virtual_domains

compdot.foo                     compdot
an-meyer at compdot.foo            an-meyer

Ich sehe kein Land. Wenn ich nur wüßte wo der loop
herkommt.


-- 
Gruß

  Andreas Meyer  http://home.wtal.de/MeineHomepage



Mehr Informationen über die Mailingliste Postfixbuch-users