Email going to root user but not to user inbox

4 posts / 0 new
Last post
#1 Tue, 03/04/2014 - 21:59
arnold1

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

Wed, 03/05/2014 - 05:32
Locutus

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)?

Wed, 03/05/2014 - 10:11
arnold1

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!

Wed, 03/05/2014 - 10:14
Locutus

Uhm, I don't think making random changes to the Postfix configuration is the recommended way to go here. ;) 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?

Topic locked