Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: WebMail Pro PHP - automatic forward email Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
esetman
Senior Member
Senior Member


Joined: 25 August 2014
Location: Czech Republic
Online Status: Offline
Posts: 158
Posted: 05 May 2015 at 10:44pm | IP Logged Quote esetman

Hello,
I'm on a Linux server WebMail Pro 7.5
I would like to ask if you can set for specific mailbox in web GUI automatic forwarding of new emails to another email address?
It takes something to install? I use postfix and dovecot.

I would also like to ask the plugin to change the password?
Back to Top View esetman's Profile Search for other posts by esetman
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6087
Posted: 06 May 2015 at 5:17am | IP Logged Quote Igor

Quote:
I would like to ask if you can set for specific mailbox in web GUI automatic forwarding of new emails to another email address?
It takes something to install? I use postfix and dovecot.


You will need Sieve support enabled for your mailserver, and ManageSieve agent such as pigeonhole installed. Detailed info on using Sieve features is found here.

Quote:
I would also like to ask the plugin to change the password?


This page is a good starting point. Also, one of our customers has recently provided a plugin they've developed for PostfixAdmin-enabled setup, that might work for you too.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
webdbase2
Valued Community Member
Valued Community Member


Joined: 25 March 2015
Location: Bulgaria
Online Status: Offline
Posts: 81
Posted: 06 May 2015 at 11:07am | IP Logged Quote webdbase2

esetman wrote:

I would like to ask if you can set for specific mailbox in web GUI automatic forwarding of new emails to another email address?

If you don't have a Sieve server you could try this plugin.
Back to Top View webdbase2's Profile Search for other posts by webdbase2
 
esetman
Senior Member
Senior Member


Joined: 25 August 2014
Location: Czech Republic
Online Status: Offline
Posts: 158
Posted: 06 May 2015 at 11:22pm | IP Logged Quote esetman

health, thank you for the link. That's exactly what I need. You're right, I do not Sieve server.
how to properly install? integrate? What to copy?

Back to Top View esetman's Profile Search for other posts by esetman
 
webdbase2
Valued Community Member
Valued Community Member


Joined: 25 March 2015
Location: Bulgaria
Online Status: Offline
Posts: 81
Posted: 06 May 2015 at 11:35pm | IP Logged Quote webdbase2

unzip the ZIP file in data/plugins directory
Enable the plugin in data/settings/config.php
Code:
'plugins.no-sieve-autorespond-forward' => true,
Back to Top View webdbase2's Profile Search for other posts by webdbase2
 
esetman
Senior Member
Senior Member


Joined: 25 August 2014
Location: Czech Republic
Online Status: Offline
Posts: 158
Posted: 06 May 2015 at 11:56pm | IP Logged Quote esetman

I tried. But I have some problem somewhere.

http://files.uloziste.com/da3354265195e3a0/screen.jpg
Back to Top View esetman's Profile Search for other posts by esetman
 
webdbase2
Valued Community Member
Valued Community Member


Joined: 25 March 2015
Location: Bulgaria
Online Status: Offline
Posts: 81
Posted: 07 May 2015 at 12:00am | IP Logged Quote webdbase2

Well, the available localisations are English and Bulgarian. If you plan to use Czech localisation, you need to copy
Code:
data/plugins/no-sieve-autorespond-forward/i18n/English.ini
to
Code:
data/plugins/no-sieve-autorespond-forward/i18n/Czech.ini
and replace the English text with Czech one.
Back to Top View webdbase2's Profile Search for other posts by webdbase2
 
esetman
Senior Member
Senior Member


Joined: 25 August 2014
Location: Czech Republic
Online Status: Offline
Posts: 158
Posted: 07 May 2015 at 12:11am | IP Logged Quote esetman

I copy the file English.ini. I accordingly data/plugins/no-sieve-autorespond-forward/i18n/Czech.ini

But it is the same:
PLUGIN_NO_SIEVE_AUTORESPOND_FORWARD/SERVER_ERROR
PLUGIN_NO_SIEVE_AUTORESPOND_FORWARD/SERVER_ERROR

some idea?
Back to Top View esetman's Profile Search for other posts by esetman
 
esetman
Senior Member
Senior Member


Joined: 25 August 2014
Location: Czech Republic
Online Status: Offline
Posts: 158
Posted: 07 May 2015 at 12:12am | IP Logged Quote esetman

but so far I can not translate. This should not affect?
Back to Top View esetman's Profile Search for other posts by esetman
 
esetman
Senior Member
Senior Member


Joined: 25 August 2014
Location: Czech Republic
Online Status: Offline
Posts: 158
Posted: 07 May 2015 at 1:16am | IP Logged Quote esetman

apache ssl error log is clean. system secure log is clean
webmail log of debug log is here: http://files.uloziste.com/da3354265195e3a0/log-2015-05-07-1.txt

http://files.uloziste.com/da3354265195e3a0/


advise somebody?
Back to Top View esetman's Profile Search for other posts by esetman
 
webdbase2
Valued Community Member
Valued Community Member


Joined: 25 March 2015
Location: Bulgaria
Online Status: Offline
Posts: 81
Posted: 07 May 2015 at 2:07am | IP Logged Quote webdbase2

Well, the interesting thing is that I changed locale to Czech and this is what I got. As far as I remember when a localisation is missing the default behaviour is to display English?
Igor, am I right?
Anyway you could try cleanening the cache - remove all files in data/cache
PLUGIN_NO_SIEVE_AUTORESPOND_FORWARD/SERVER_ERROR means ftp connection is refused.
Back to Top View webdbase2's Profile Search for other posts by webdbase2
 
esetman
Senior Member
Senior Member


Joined: 25 August 2014
Location: Czech Republic
Online Status: Offline
Posts: 158
Posted: 07 May 2015 at 2:08am | IP Logged Quote esetman

simply copy the plugin or do I install and vacation?
Just a vacation, or something else?
Back to Top View esetman's Profile Search for other posts by esetman
 
webdbase2
Valued Community Member
Valued Community Member


Joined: 25 March 2015
Location: Bulgaria
Online Status: Offline
Posts: 81
Posted: 07 May 2015 at 2:11am | IP Logged Quote webdbase2

Vacation is not needed for forwarding. But you need an active ftp connection.
Back to Top View webdbase2's Profile Search for other posts by webdbase2
 
esetman
Senior Member
Senior Member


Joined: 25 August 2014
Location: Czech Republic
Online Status: Offline
Posts: 158
Posted: 07 May 2015 at 2:21am | IP Logged Quote esetman

I ftp server. You do not know what could thus be the problem?
Back to Top View esetman's Profile Search for other posts by esetman
 
esetman
Senior Member
Senior Member


Joined: 25 August 2014
Location: Czech Republic
Online Status: Offline
Posts: 158
Posted: 07 May 2015 at 2:32am | IP Logged Quote esetman

thank you for the kick with ftp. I did not for a given IP enabled ftp connections. It did work
Back to Top View esetman's Profile Search for other posts by esetman
 
esetman
Senior Member
Senior Member


Joined: 25 August 2014
Location: Czech Republic
Online Status: Offline
Posts: 158
Posted: 07 May 2015 at 2:35am | IP Logged Quote esetman

yet I ask. When you type an address to forward and store it. Will reload the page and instead displays the address "i". The .forward file that is stored correctly
Back to Top View esetman's Profile Search for other posts by esetman
 
webdbase2
Valued Community Member
Valued Community Member


Joined: 25 March 2015
Location: Bulgaria
Online Status: Offline
Posts: 81
Posted: 07 May 2015 at 2:52am | IP Logged Quote webdbase2

I'm sorry, I didn't quite well understand your question.
Back to Top View webdbase2's Profile Search for other posts by webdbase2
 
esetman
Senior Member
Senior Member


Joined: 25 August 2014
Location: Czech Republic
Online Status: Offline
Posts: 158
Posted: 07 May 2015 at 2:55am | IP Logged Quote esetman

Forward works for me. Only if I do not set an automatic reply
does not to me but to automatically answer. You do not know what it could be?

When I fill automatic response, so changes to the contents of the:
.forward: mytestuser,"|/usr/bin/vacation mytestuser",mytestuser@mydomain.cz

in homedir user creates:
.vacation.dir .vacation.msg .vacation.pag

contents:
.vacation.dir
is clean

.vacation.msg
My reply text

.vacation.pag
is clean

File "/usr/bin/vacation" no exist. It could be the problem?
Does not even forward messages
Back to Top View esetman's Profile Search for other posts by esetman
 
webdbase2
Valued Community Member
Valued Community Member


Joined: 25 March 2015
Location: Bulgaria
Online Status: Offline
Posts: 81
Posted: 07 May 2015 at 3:33am | IP Logged Quote webdbase2

.forward file is used by both functionalities, although they are not connected.
Sendmail and vacation use it.
If you want automatic replies, you need vacation, and yes, /usr/bin/vacation is the executable you need for that purpose. Please read at the end of the post about different Linux systems.
Back to Top View webdbase2's Profile Search for other posts by webdbase2
 
esetman
Senior Member
Senior Member


Joined: 25 August 2014
Location: Czech Republic
Online Status: Offline
Posts: 158
Posted: 07 May 2015 at 4:02am | IP Logged Quote esetman

ok. I have two questions.

The first where I translate texts PLUGIN_NO_SIEVE_AUTORESPOND_FORWARD / AR_TITLE PLUGIN_NO_SIEVE_AUTORESPOND_FORWARD / AR_OFF
These texts are not in the i18n \ Englisch.ini

second. when I set forward address eg. mytestuser@mydomain.com and I will save. It's alright.If I make F5 to reload the page. and address changes to "i". Changes only in the web interface. Will not change in the .forward file.
Back to Top View esetman's Profile Search for other posts by esetman
 
webdbase2
Valued Community Member
Valued Community Member


Joined: 25 March 2015
Location: Bulgaria
Online Status: Offline
Posts: 81
Posted: 07 May 2015 at 4:43am | IP Logged Quote webdbase2

esetman wrote:
The first where I translate texts PLUGIN_NO_SIEVE_AUTORESPOND_FORWARD / AR_TITLE PLUGIN_NO_SIEVE_AUTORESPOND_FORWARD / AR_OFF
These texts are not in the i18n \ Englisch.ini


Code:
[PLUGIN_NO_SIEVE_AUTORESPOND_FORWARD]

is the first line of the file. The other lines are
AR_TITLE = ...
AR_OFF = ....
etc.
esetman wrote:
second. when I set forward address eg. mytestuser@mydomain.com and I will save. It's alright.If I make F5 to reload the page. and address changes to "i". Changes only in the web interface. Will not change in the .forward file.

"i" is not a valid email address. You should get an error message about that when trying to save changes. So no changes are saved.
Back to Top View webdbase2's Profile Search for other posts by webdbase2
 
webdbase2
Valued Community Member
Valued Community Member


Joined: 25 March 2015
Location: Bulgaria
Online Status: Offline
Posts: 81
Posted: 07 May 2015 at 5:23am | IP Logged Quote webdbase2

Sorry, "i" should work too, because it's a local address.
I confirm the problem.
Back to Top View webdbase2's Profile Search for other posts by webdbase2
 
webdbase2
Valued Community Member
Valued Community Member


Joined: 25 March 2015
Location: Bulgaria
Online Status: Offline
Posts: 81
Posted: 07 May 2015 at 5:49am | IP Logged Quote webdbase2

Fixed!
Thank you, esetman!
Back to Top View webdbase2's Profile Search for other posts by webdbase2
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6087
Posted: 07 May 2015 at 6:00am | IP Logged Quote Igor

Thanks for the update! We've just added the plugin to our community repository here.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
esetman
Senior Member
Senior Member


Joined: 25 August 2014
Location: Czech Republic
Online Status: Offline
Posts: 158
Posted: 07 May 2015 at 6:03am | IP Logged Quote esetman

sorry :). now retrieve data from .forward after F5, but not stored there
Back to Top View esetman's Profile Search for other posts by esetman
 

Page of 2 Next >>
  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide