Mel Brand wrote:
Hi all,
I have some issues with receiving mail on a server that I've set up.
In particular, when I try to send an email to a user that I know
exists, I get an error message:
Action: failed
Status: 5.1.1
Diagnostic-Code: X-Postfix; unknown user: "myusername"
Any ideas what I'm doing wrong? Any help is appreciated!!!
Thanks,
Mel
Sep 10 17:33:12 mx postfix/trivial-rewrite[3625]: warning: do not list
domain mydomain.org in BOTH mydestination and virtual_mailbox_domains
Postfix tells you what the problem is, and how to fix it.
Sep 10 17:33:12 mx postfix/local[3632]: 97F8E680E6:
to=<[EMAIL PROTECTED]>, relay=local, delay=0.11,
delays=0.09/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user:
"myusername")
Because the domain is listed in mydestination, postfix expects
to find a local unix user with the login ID "myusername".
Sounds as if you want it delivered as a virtual user, not a
local user, so don't list the domain in mydestination.
http://www.postfix.org/BASIC_CONFIGURATION_README.html
http://www.postfix.org/STANDARD_CONFIGURATION_README.html
http://www.postfix.org/VIRTUAL_README.html
http://www.postfix.org/ADDRESS_CLASS_README.html
http://www.postfix.org/DEBUG_README.html#mail
--
Noel Jones