On Sat, Mar 29, 2014 at 02:14:57PM +0100, Markus Grunwald wrote:

> I'm trying to create a simple mail group using postfix version 2.9.6. I tried
> it two ways:
> 
> 1) in /etc/aliases:
> wir: mar...@gna.de, brigi...@gna.de
> wir2: markus, bibi

This only works if the alias address (w...@example.com, ...) is in
a local domain, i.e. the domain part is in $mydestination.   Since
only local(8) mail uses aliases(5).

> 2) Add users to virtual_alias (where I have a bunch of working addresses):
>
> wir3  mar...@gna.de, brigi...@gna.de

This only works if the alias address (w...@example.com, ...) is in
a local domain, i.e. the domain part is in $mydestination or in
$myorigin.  See virtual(5).

> But when I write a mail to any of these aliases, I only get a bounce message 
> :(
> 
> Mar 29 14:13:21 www postfix/pipe[20070]: 588C110C19B: to=<w...@gna.de>,
> relay=dovecot-sa, delay=1.1, delays=0.4/0.01/0/0.74, dsn=5.1.1, status=bounced
> (user unknown)

Have you set "local_transport=dovecot-sa"?  If so local aliases
don't apply.

> Every site that I search told me to do it like one of these methods. What am I
> doing wrong, please?

Instead of setting "local_transport = dovecot-sa" set:

        mailbox_transport = dovectot-sa

and remove the "local_transport" override from main.cf.

-- 
        Viktor.

Reply via email to