Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Connect » some questions (sendmail from the command line | mail aliases |)

Messages: 2
Karma: 0
Send a private message to this user
hello forum!
i'm using kerio ms 4.6.2 <_a.t_> fedora 8.

i have some scripts using the sendmail function to inform me about my system status.
as i can see kerio ms also offers sendmail as a command line tool. but i have no idea why it isn' working.
i use the following syntax in my script:
   open (sendmail, "|/opt/kerio/mailserver/sendmail -t -i -f $sender -u $user -p $pass -X /var/log/sendmailtest.log");
   print sendmail "To: $mailto\n";
   print sendmail "Subject: Systemcheck Report for $hostname\n";
   foreach (<_a.t_>output)
      print sendmail "$_\n";

user and pass ist the username an PW for my kerio admin account.
but nothing happens. and there are no logs available. no error message occurs. on other mashines, where i do not need to auth myself the script works fine.

an another question is about user emails an aliases.
let's say i have a user named bruce willis with the email address bw<_a.t_>somedomain. so the login for this account have to be also bw. is there any option to have diffrent login and email except aliases? or to set an alias as primary email?

Previous Topic: Kerio calendar & PHPiCalendar
Next Topic: Enable an attachment filter for a specific user
Goto Forum:

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 Nov 20 03:10:06 CET 2017

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