From: Loic Le Loarer (loic.le-loarer+)
Date: Mon Jun 03 2002 - 03:26:37 EDT
Le Saturday 01 June 2002 ā 16:52:43 +0200, Andreas Meyer a écrit:
> Hi!
>
> Am Fri, 31 May 2002 14:24:33 -0700 schrieb "Timothy R. Robnett":
>
> > > virtual_maps = hash:/etc/postfix/virtual_domains:
> > >
> > > meyer.test Eine fiktive Domain
> > > andreas
> > > miles
> >
> > Add on to your /etc/postfix/virtual_domains file. Add:
> > meyer.home anything
> > miles
> >
> > Since there is no explicit it will bounce.
>
> Thank you for remembering my problem! I donīt get the thing
> to work and wonder what directives or tools I have to use to
> distinguish between the two domains.
>
> Postfix is very new to me. I searched the archives; couldnīt find
> a solution. Sending mail to still is delivered
> to too; say to the same mailbox in /var/spool/mail.
>
> meyer.home Die meyer.home
> andreas
> miles
>
> meyer.test Eine fiktive Domain
> andreas
> miles
>
> I can think of different mailboxes for different virtual domains
> but how to realized that?
For this purpose, you can use the virtual delivery agent (see
VIRTUAL_REAME in the REAME_FILES dir) which allow to have really
different mailboxes for each user in each domain. But if you have a
small number of user, it may be easier to filter your mail with procmail
or better, to use the recipient_delimiter parameter. Put
recipient_delimiter = +
(for example) in your main.cf file and then put
meyer.home Die meyer.home
andreas
miles
meyer.test Eine fiktive Domain
andreas+test
miles+test
in virtual_domains file.
Your user now can put a .forward+test file in their HOME directory to
receive the @meyer.test domain where they want. If there is no
.forward+test file, then the normal delivery is used (and the .forward
file is used if exist).
(the forward_path must have its default value
forward_path = $home/.forward${recipient_delimiter}${extension},$home/.forward
)
-- Loic Le Loarer Fench
-
To unsubscribe, send mail to with content
(not subject): unsubscribe postfix-users
|
|
|