These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Unknown user problem Postfix on the new forum.
I am using the format name@domain for the username. If I send an email from outside to an e-mail address it works without problems but when I send an e-mail form an user of the domain to an other user of the domain I get some user missing error.
Mar 4 19:32:10 autohut postfix/local[5987]: 61A2E723CB6: to=office@autohut.ro, relay=local, delay=0, delays=0/0/0/0, dsn=5.1.1, status=bounced (unknown user: "office")
I am not sure why postfix is looking for office and not office@autohut.ro as user.
Can somebody send my in the right direction?
Thanks
Can you post which email addresses from and to you exactly tried to send?
Also please post the full log excerpt from the delivery attempt, and please put it in
[code]
[/code] tags. The contents of the file/etc/postfix/virtual
would be interesting too (you can edit it afterwards, since it contains all your email addresses).I am trying to send a mail using mail PHP to a local e-mail address called office@domain.com
The address exists and it works if I send form an other server to that address but if I send from the same host where the e-mail server for that address resides is not working.
Okay that's good, now please answer the second half of my post. :)
This is the part regarding the office adress. Also there are 2 linux users with the same UID office@domain.ro and office-domain.ro I really don't understand why is the system looking after an office user.
This is the part regarding the office address. Also there are 2 linux users with the same UID office@domain.ro and office-domain.ro I really don't understand why is the system looking after an office user.
Can you please answer all my questions, otherwise I can't help you. I can't guess what's going wrong really:
Please post the full mail log excerpt from the delivery attempt, and please put it in
[code]
[/code] tags, and please post the contents of the file /etc/postfix/virtual.This is the mail log:
In the post above you have the content of the /etc/postfix/virtual file.
The "virtual" file contains only that one line for you? That's a bit odd. I'd expect something with "comenzi" in it, since according to your log, the mail was to be sent to that address ("comenzi@autohut.ro"), and being redirected to "office@autohut.ro". Somewhere in your Postfix config that redirection should be defined.
this is the content of the file: I am also not able to forward any mail from the office to for example an other autohut address: