OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Unknown User

From: Magnus Bäck (magnusdsek.lth.se)
Date: Thu Jun 02 2005 - 00:39:32 CDT


On Thursday, June 02, 2005 at 05:40 CEST,
     sam wun <sam.wunauthtec.com> wrote:

> I just setup postfix + openldap in freebsd.
>
> I m getting the following error when I tried to send an email from yahoo to
> my local email server.
>
> Jun 2 11:21:44 mail02 postfix/virtual[787]: 668196180:
> to=<xxx.yyymydomain.com>, relay=virtual, delay=1, status=bounced
> (unknown user: "xxx.yyymydomain.com")

You have configured Postfix to deliver messages to your domain to
virtual(8), but Postfix does not recognize the recipient address.
Review the lookup table configuration for virtual_mailbox_maps and
debug it with "postmap -q" BEFORE actually starting to use it with
Postfix.

[...]

> local_transport = virtual

Why? You will get into a lot less trouble if you follow the standard
recipe for virtual mailbox domains.

Leave local_transport alone.
List the domain(s) in virtual_mailbox_domains (assumes Postfix 2.0+).
Do not list the domain(s) in mydestination.

If you do this correctly, recipient validation will also work properly.
It doesn't work now since local_recipient_maps is empty and the domain
is considered local because it's listed in mydestination.

[...]

--
Magnus Bäck
magnusdsek.lth.se