Email going to root user but not to user inbox

Hi,
when I send an email to a user, it is getting forwarded to root user but is not found in usermin inbox.

when I see the /var/log/maillog
I find that
to=, orig_to=admin@likeany.com, relay=gmail-smtp-in.l.g…

the “root email address” is my gmail address.

Can you please suggest a fix?

I will provide configuration files if you want.

Thanks

What exactly do you mean with “the root user”, do you mean the actual Linux root user of your server? Can you give a detailed example of a mail delivery attempt, with sender address, recipient address, and full log excerpt from mail.log (please put that in [code][/code] tags to preserve linebreaks)?

I commented this line in /etc/postfix/main.cf

mailbox_command = /usr/bin/procmail

and restarted postfix server.
It started working after some time.

I am not sure if that did the trick!

Uhm, I don’t think making random changes to the Postfix configuration is the recommended way to go here. :wink: Virtualmin needs Procmail to do spam and virus filtering, among other things.

If you’d like us to analyze your issue, please refer to my previous post, after reverting the line you changed back to Virtualmin default.

EDIT: Oh wait, are you using Virtualmin at all? Or have you set up Postfix and Procmail manually?