Email forwarding question

Dave Tiger dave at tigeri.com
Mon Apr 19 16:44:33 BST 2004


Thanks Robert,

That=92s seems to have worked. I did do it with a "," but like a fool =
the
second account was not created, it thought it was, so I was not getting
positive results :-( (working to hard me thinks).

But once again thank you

Dave C



-----Original Message-----
From: freebsd-users-admin at uk.freebsd.org
[mailto:freebsd-users-admin at uk.freebsd.org] On Behalf Of Robert Myles
Sent: 19 April 2004 15:52
To: Dave Tiger; freebsd-users at uk.freebsd.org
Subject: Re: Email forwarding question


Dave

The + symbol is, I believe, a recipient delimiter. Cyrus handles address =

such as user1+foo at example.com by delivering it to the mailbox called foo =
in=20
user1's account. If mailbox foo doesn't exist then it just gets dumped =
in=20
the user's inbox as if it was addressed to user1 at example.com

Looking in postfix's docs (man 8 virtual):

 ADDRESS EXTENSION
        When a mail address localpart contains the optional recip-
        ient delimiter (e.g., user+foo at domain), the  lookup  order
        becomes: user+foo at domain, user at domain, user+foo, user, and
        @domain.  An unmatched address extension (+foo) is  propa-
        gated to the result of table lookup.

and, further down:

        /usr/local/etc/postfix/virtual:
            #virtual-alias.domain anything (right-hand content
            # does not matter)
            postmaster at virtual-alias.domain      postmaster
            user1 at virtual-alias.domain   address1
            user2 at virtual-alias.domain   address2, address3


Looks like your multiple addresses should be comma separated.

Rob


--On 19 April 2004 15:33 +0100 Dave Tiger <dave at tigeri.com> wrote:

> Hi List,
>
> I hope someone can throw some light on this matter here as looking on=20
> the other lists and goggling has got me no where.
>
> I have a FreeBSD / postfix / Cyrus salsd2 email box using postfix=20
> virtual to map email addresses to users.
>
> Example.
>
> @example.com # user1 email
> user1 at example.com user1
>
> If I add another user to the above to be forwarded a copy of the email
>
> Example
> @example.com # user1 email
> user1 at example.com user1+user2
> user2 at example.com user2
>
> The forwarding dose not work.
>
> I was told by a person more qualified than me that this was the=20
> correct way to do forwarding to accounts, all accounts exist on my=20
> system, but I can work out what is wrong.
>
> Maillog gives me no clues either.
>
> Can one of you clever people see a prob ?
>
> Thank you in advance for any help or guidance you may give.
>
> Dave C
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.659 / Virus Database: 423 - Release Date: 15/04/2004
>
>
>
> ------ FreeBSD UK Users' Group  -  Mailing List ------=20
> http://listserver.uk.freebsd.org/mailman/listinfo/freebsd-users





------ FreeBSD UK Users' Group  -  Mailing List ------
http://listserver.uk.freebsd.org/mailman/listinfo/freebsd-users

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.659 / Virus Database: 423 - Release Date: 15/04/2004
=20

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.659 / Virus Database: 423 - Release Date: 15/04/2004
=20





More information about the Ukfreebsd mailing list