LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-08-2019, 03:25 AM   #1
priit
LQ Newbie
 
Registered: Mar 2019
Posts: 18

Rep: Reputation: Disabled
Vacation. Roundcube webmail plugin issue


Anyone familiar with vacation plugin ment for roundcube out of office function.
https://plugins.roundcube.net/packages/gabtoth/vacation
I copied it to plugins directory, also made changes in roundcubemail/config.inc.php.
$config['plugins'] = array('vacation');
also made chown -R nginx:nginx to vaction folder, subdirectiories and files
Cannot understand why drivers needed for ?
Do I need something install to mariadb ?
Or something to do with composer.phar ?
Vacation button appear nicely in roundcube web environment, but when click button, displayed blank page.
 
Old 08-08-2019, 10:06 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
Vacation button appear nicely in roundcube web environment, but when click button, displayed blank page.
I'm not familiar with roundcube and its plugins, but since it's a php application and you get a blank page, I guess this is due to some php error. Maybe the php version you're running is not supported by the plugin.
You can enable php logging and check the logs for details and/or ask the maintainer of the plugin.

Regards
 
Old 08-09-2019, 12:27 PM   #3
rosehosting.com
Member
 
Registered: Jun 2012
Location: Missouri, USA
Posts: 236

Rep: Reputation: 64
Try to enable debug mode in Roundcube so errors are shown.

Edit the config.inc.php file and add:

$config['debug_level'] = 4;
 
Old 08-12-2019, 07:40 AM   #4
priit
LQ Newbie
 
Registered: Mar 2019
Posts: 18

Original Poster
Rep: Reputation: Disabled
Did it, resolved current issue. Thanks.
Vacation plugin appears correctly.

Next one when you activate plugin. It should send back message to sender with out of office info but it did'nt.
maillog displays error
Aug 12 15:36:07 xch2 postfix/local[23339]: 249B84036D94: to=<tigu@xch2.local>, relay=local, delay=1043, delays=1043/0.02/0/0, dsn=2.0.0, status=sent (delivered to maildir)
Aug 12 15:36:07 xch2 local[23343]: fatal: execvp /usr/bin/vacation: Permission denied
Aug 12 15:36:07 xch2 postfix/local[23339]: 249B84036D94: to=<tigu@xch2.local>, relay=local, delay=1043, delays=1043/0.02/0/0, dsn=4.3.0, status=deferred (temporary failure. Command output: local: fatal: execvp /usr/bin/vacation: Permission denied )


made with this guide http://acidicworld.blogspot.com/2018...roundcube.html
Seems like some user rights problem. Also tried to add different users postfix, current mailaccount "tigu@" etc. with command: chown -R username:username foldername
 
Old 08-13-2019, 02:26 AM   #5
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
Aug 12 15:36:07 xch2 local[23343]: fatal: execvp /usr/bin/vacation: Permission denied
What gives
Code:
ls -l /usr/bin/vacation
You didn't mention your distro, but if it's Centos like in the guide you've followed, it could be a SELinux permissions problem.

Last edited by bathory; 08-13-2019 at 02:28 AM.
 
Old 08-13-2019, 04:54 AM   #6
priit
LQ Newbie
 
Registered: Mar 2019
Posts: 18

Original Poster
Rep: Reputation: Disabled
Centos 7 (Core) kernel 3.10.0-957.10.1.el7.x86_64

Code:
ls -l /usr/bin/vacation
I changed vacation folder permissions many times, as root, as nginx, as mailuser, as postfix etc.

Last edited by priit; 08-13-2019 at 04:56 AM.
 
Old 08-13-2019, 07:34 AM   #7
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
Originally Posted by priit View Post
Centos 7 (Core) kernel 3.10.0-957.10.1.el7.x86_64

Code:
ls -l /usr/bin/vacation
I changed vacation folder permissions many times, as root, as nginx, as mailuser, as postfix etc.
You should not change permissions arbitrarily. Besides the "make install" script is supposed to take care of the needed permissions.

Also you didn't mention anything about SELinux, or the permissions of the /usr/bin/vacation executable!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
(mail transport unavailable)warning:connect to transport private/vacation,vacation NW ramankannan Linux - Server 1 12-08-2013 02:13 PM
LXer: An Easy Step-by-Step to Install and Running Roundcube Webmail on Ubuntu/Linux Mint LXer Syndicated Linux News 0 02-10-2012 09:20 PM
Roundcube Vacation / Autoreply plugin esigande Linux - Software 0 01-17-2012 03:32 AM
[SOLVED] Roundcube webmail Tarikc Linux - Software 4 07-21-2010 11:34 AM
IMAP User setup, mail servers, Roundcube webmail client, Receiving Emails CrimsonSkyZS Linux - Newbie 0 01-11-2006 04:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration