Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Connect » Where are the root mails ?
  •  
SilentWarrior

Messages: 15
Karma: 0
Send a private message to this user
Hi,

after using KC I get no root mails anymore.
Normaly the mails are in /var/mail/root but this is empty. I tried also to change aliases and a .forward file in the root-home-directory.
I like to forward the root mail to a mailbox in KC.

What I have to do ?

Thanks
  •  
Ernesto (Kerio)

Messages: 90
Karma: 7
Send a private message to this user
Kerio Connect is now replacing whatever mailserver program was running in your server before (sendmail?).

Additionally you likely don't have a root user created in your Kerio Connect server. You will need to add this account as a local user in the primary domain.

Sales Engineer | Kerio
Stay Connected Anytime, Anywhere. Discover Kerio Cloud!
  •  
SilentWarrior

Messages: 15
Karma: 0
Send a private message to this user
Yes of course, I've deactivated postfix before installing KC.
Actually I forward the root mails to an existing account. Because of no more licenses I tried also add the root<_at_>... to the admin user already.
It's doesn't matter which address I use if I test with
echo "root-mail-test" | mail -s "mail-test" root
nothing happens.
  •  
Pavel Dobry (Kerio)

Messages: 5245
Karma: 251
Send a private message to this user
Have you installed Kerio Connect with a help of Knowledgebase article?
You may need to replace sendmail binary: http://kb.kerio.com/article/on-linux-how-can-i-get-php-s-mai l-command-to-work-with-kerio-mailserver-364.html
  •  
SilentWarrior

Messages: 15
Karma: 0
Send a private message to this user
OK, the article is a little bit outdated, I have done
mv ./sendmail ./sendmail-orig
cp /opt/kerio/mailserver/sendmail .
cp /opt/kerio/mailserver/libktssl.so.0.9.8 /usr/lib
cp /opt/kerio/mailserver/libktcrypto.so.0.9.8 /usr/lib
cp /opt/kerio/mailserver/libktz.so.1 /usr/lib


Now it looks like it works. I will see if automatic generated mails also be availible now.

Thanks.
  •  
SilentWarrior

Messages: 15
Karma: 0
Send a private message to this user
I checked that now for a few days. So I can send mails with
echo "root-mail-test" | mail -s "mail-test" root
But unfortunately I get no system mails like cron messages. Something is still wrong maybe.
  •  
BOlle_NL

Messages: 2
Karma: 0
Send a private message to this user
Try using
/opt/kerio/mailserver/sendmail
in your script and not
mail
  •  
SilentWarrior

Messages: 15
Karma: 0
Send a private message to this user
My cron configuration looks like:

SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
[b][color=red][/color]MAILTO=root[/color][/b]
HOME=/
01 * * * * root run-parts /etc/cron.hourly


I know no way to change the way how the cron job send mails...
  •  
BOlle_NL

Messages: 2
Karma: 0
Send a private message to this user
Is the mail command in the paths defined by cron?

which mail


Are there any errors or other useful information in /var/log/maillog or /var/log/mail.log?
  •  
SilentWarrior

Messages: 15
Karma: 0
Send a private message to this user
I don't know where I can set the MTA for cron, I just have the line
MAILTO=root

I think there is postfix configured as MTA globally and this must be changed.
In the log files are nothing.
  •  
TorW

Messages: 769
Karma: 9
Send a private message to this user
It would probably be of great help if you mention what operating system (or distribution, if it's Linux) you are talking about. Cronjobs and handling of daily administrative tasks varies quite a bit.
  •  
SilentWarrior

Messages: 15
Karma: 0
Send a private message to this user
Oh sorry. I using CentOS 6.3 64bit.
Hope that helps to find a solution.
Previous Topic: v8 RC2 offline connector not working anyone else?
Next Topic: public email & contacts
Goto Forum:
  


Disclaimer:
Kerio discussion forums are intended for open communication between forum members and may contain information and material posted by members which may be useful in learning about Kerio products. The discussion forums are not intended to provide technical support for any specific product. Any information implied or expressed in the discussion forums is that of the posting member. Kerio is in no way responsible for the information posted in the forums, or its accuracy. Kerio employees may participate in the discussions, but their postings do not represent an offical position of the company on any issues raised or discussed. Kerio reserves the right to monitor and maintain the forums to promote free and accurate exchange of information.

Current Time: Mon Aug 21 12:02:25 CEST 2017

Total time taken to generate the page: 0.00592 seconds
.:: Contact :: Home ::.
Powered by: FUDforum 3.0.4.