Plugin for autoresponse and forward with dovecot and vmail but no mysql

classic Classic list List threaded Threaded
15 messages Options
Reply | Threaded
Open this post in threaded view
|

Plugin for autoresponse and forward with dovecot and vmail but no mysql

Joseph Mays
Hello. I want to add autoresponse and forward capability to a server that is set up to provide webmail service for a company’s internal email. On the back end the server uses dovecot and vmail with postfix. There is no mysql service connected to the mail.

It looks like all the plugins assume a mysql service on the back end. In this case, which plugin would be best for what I am trying to do?
 

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [hidden email]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins
Reply | Threaded
Open this post in threaded view
|

Re: Plugin for autoresponse and forward with dovecot and vmail but no mysql

Tony den Haan
On 07/08/2016 11:57 PM, Joseph Mays wrote:
> Hello. I want to add autoresponse and forward capability to a server
> that is set up to provide webmail service for a company’s internal
> email. On the back end the server uses dovecot and vmail with postfix.
> There is no mysql service connected to the mail.
>
> It looks like all the plugins assume a mysql service on the back end. In
> this case, which plugin would be best for what I am trying to do?

Dovecot has sieve, perfect for the job. The SM plugin to use is
Avelsieve. But be very careful with allowing users to forward mail,
especially to Hotmail: when they decide you're forwarding spam you have
a big problem.


Tony


------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [hidden email]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins
Reply | Threaded
Open this post in threaded view
|

Re: Plugin for autoresponse and forward with dovecot and vmail but no mysql

Paul Lesniewski


On 2016年07月09日 04:49, tony wrote:

> On 07/08/2016 11:57 PM, Joseph Mays wrote:
>> Hello. I want to add autoresponse and forward capability to a server
>> that is set up to provide webmail service for a company’s internal
>> email. On the back end the server uses dovecot and vmail with postfix.
>> There is no mysql service connected to the mail.
>>
>> It looks like all the plugins assume a mysql service on the back end. In
>> this case, which plugin would be best for what I am trying to do?
>
> Dovecot has sieve, perfect for the job. The SM plugin to use is
> Avelsieve.

Or the newest Server Side Filters plugin.

> But be very careful with allowing users to forward mail,
> especially to Hotmail: when they decide you're forwarding spam you have
> a big problem.

This is off topic and highly dependent on many other factors and not
necessarily specific to Hotmail.

Cheers,
--
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [hidden email]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins
Reply | Threaded
Open this post in threaded view
|

Re: Plugin for autoresponse and forward with dovecot and vmail but no mysql

Joseph Mays
Thank you both of you for your responses.
 
> Dovecot has sieve, perfect for the job. The SM plugin to use is
> Avelsieve.
 
I've been trying to set up avelsieve, with only partial success. Installed sieve in Dovecot (version 2.0.19). Manage sieve seems to be running and listening (I have it set to listen on both ports 4190 and 2000, because I wasn't sure which to use. The config file says 2000 is deprecated, but everything else, including avelsieve, seems to assume 2000.)

I can connect to the server on both 2000 and 4190.
 
[hidden email]:~# telnet localhost 2000
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
^]

But when I try to pull up the filters option in squirrelmail I get a long delay and eventually an error. I’ve tried configuring avelsieve for both ports 4190 and 2000. Same behavior either way.

Could not log on to timsieved daemon on your IMAP server localhost.
Please contact your administrator.
 
> Or the newest Server Side Filters plugin.
 
I would be happy to try this. Is this a dovecot or squirrelmail plugin?


------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [hidden email]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins
Reply | Threaded
Open this post in threaded view
|

Re: Plugin for autoresponse and forward with dovecotand vmail but no mysql

Joseph Mays
>> Or the newest Server Side Filters plugin.
 
> I would be happy to try this. Is this a dovecot or squirrelmail plugin?
Nvm, I found it and have installed it and the necessary server settings backend plugin. I’ll try to get these to work.
 

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [hidden email]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins
Reply | Threaded
Open this post in threaded view
|

Re: Plugin for autoresponse and forward with dovecotand vmail but no mysql

Paul Lesniewski


On 2016年07月11日 12:13, Joseph Mays wrote:
>>> Or the newest Server Side Filters plugin.
>  
>> I would be happy to try this. Is this a dovecot or squirrelmail plugin?
> Nvm, I found it and have installed it and the necessary server settings
> backend plugin. I’ll try to get these to work.

IIRC you may need my help, feel free to email offlist.

--
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [hidden email]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins
Reply | Threaded
Open this post in threaded view
|

Re: Plugin for autoresponse and forward withdovecotand vmail but no mysql

Joseph Mays
In reply to this post by Joseph Mays
Hmm. Was trying to set up the server side filters and server settings backend the way it seems like it’s supposed to work.
 
I think the server settings backend is configured to use local file and suid to manage the files, and user mail files are stored as shown (so [hidden email] is in ‘/home/vmail/4seasonsresort.com/mays’).
(From /usr/share/squirrelmail/plugins/server_side_filters/config.php...)
 
$filter_rules_storage_info = array(
    'BACKEND'               => 'local_file',
    'ACCESS_TYPE'           => array('VALUE' => 'SUID'),
    'SUID_LOCATION'         => array('VALUE' => '/usr/share/squirrelmail/plugin$
    'FILE'                  => array('VALUE_REPLACE' => '/home/vhome/%d/%u/.mai$
    'PARSE_PATTERN'         => array('VALUE' => "/^(.*)$/s"),
    'PATTERN_GROUP_NUMBER'  => array('VALUE' => 1),
    'NEW_SETTING_TEMPLATE'  => array('VALUE' => '%n'),
    'DELETE_WHEN_EMPTY'     => array('VALUE' => 1),
    'TREAT_AS_EMPTY_WHEN_NOT_FOUND' => array('VALUE' => 1),
);

When I go into squirrelmail and Options > Mail Filters, the input window appears. But when I try to save a new filter I get: 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
Errror: Error deleting file or directory.
 
 

 
 
Sent: Monday, July 11, 2016 3:13 PM
Subject: Re: [SM-PLUGINS] Plugin for autoresponse and forward withdovecotand vmail but no mysql
 
>> Or the newest Server Side Filters plugin.
 
> I would be happy to try this. Is this a dovecot or squirrelmail plugin?
Nvm, I found it and have installed it and the necessary server settings backend plugin. I’ll try to get these to work.
 


------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape


-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [hidden email]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [hidden email]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins
Reply | Threaded
Open this post in threaded view
|

Re: Plugin for autoresponse and forward withdovecotand vmail but no mysql

Paul Lesniewski


On 2016年07月11日 13:36, Joseph Mays wrote:
> Hmm. Was trying to set up the server side filters and server settings
> backend the way it seems like it’s supposed to work.

First, note that this plugin only provides filtering (including rules
for forwarding), but not autoresponses.  I've been meaning to re-outfit
one of the autoresonse plugins I manage to use Server Settings Backend.

> I think the server settings backend is configured to use local file and
> suid to manage the files, and user mail files are stored as shown (so
> [hidden email] <mailto:[hidden email]> is in
> ‘/home/vmail/4seasonsresort.com/mays’).
> (From /usr/share/squirrelmail/plugins/server_side_filters/config.php...)
>  
> $filter_rules_storage_info = array(
>     'BACKEND'               => 'local_file',
>     'ACCESS_TYPE'           => array('VALUE' => 'SUID'),

The error below indicates you are using PHP for this, not SUID --??

You can enable debug mode in the plugin for more assistance.  In PHP
mode, you need to give the web server access to the relevant
files/directories.

>     'SUID_LOCATION'         => array('VALUE' =>
> '/usr/share/squirrelmail/plugin$
>     'FILE'                  => array('VALUE_REPLACE' =>
> '/home/vhome/%d/%u/.mai$
>     'PARSE_PATTERN'         => array('VALUE' => "/^(.*)$/s"),
>     'PATTERN_GROUP_NUMBER'  => array('VALUE' => 1),
>     'NEW_SETTING_TEMPLATE'  => array('VALUE' => '%n'),
>     'DELETE_WHEN_EMPTY'     => array('VALUE' => 1),
>     'TREAT_AS_EMPTY_WHEN_NOT_FOUND' => array('VALUE' => 1),
> );
>
> When I go into squirrelmail and Options > Mail Filters, the input window
> appears. But when I try to save a new filter I get:
>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
>
> Errror: Error deleting file or directory.
>  
>  
>
>  
>  
> *From:* Joseph Mays <mailto:[hidden email]>
> *Sent:* Monday, July 11, 2016 3:13 PM
> *To:* Squirrelmail Plugins Mailing List
> <mailto:[hidden email]>
> *Subject:* Re: [SM-PLUGINS] Plugin for autoresponse and forward
> withdovecotand vmail but no mysql
>  
>>> Or the newest Server Side Filters plugin.
>  
>> I would be happy to try this. Is this a dovecot or squirrelmail plugin?
> Nvm, I found it and have installed it and the necessary server settings
> backend plugin. I’ll try to get these to work.
>  
>
> ------------------------------------------------------------------------
> ------------------------------------------------------------------------------
> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
>
> ------------------------------------------------------------------------
> -----
> squirrelmail-plugins mailing list
> Posting guidelines: http://squirrelmail.org/postingguidelines
> List address: [hidden email]
> List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
> List info (subscribe/unsubscribe/change options):
> https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins
>
>
> ------------------------------------------------------------------------------
> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
>
>
>
> -----
> squirrelmail-plugins mailing list
> Posting guidelines: http://squirrelmail.org/postingguidelines
> List address: [hidden email]
> List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
> List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins
>

--
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [hidden email]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins
Reply | Threaded
Open this post in threaded view
|

Re: Plugin for autoresponse and forward withdovecotand vmail but no mysql

Paul Lesniewski
On 2016年07月11日 15:18, Paul Lesniewski wrote:

>
>
> On 2016年07月11日 13:36, Joseph Mays wrote:
>> Hmm. Was trying to set up the server side filters and server settings
>> backend the way it seems like it’s supposed to work.
>
> First, note that this plugin only provides filtering (including rules
> for forwarding), but not autoresponses.  I've been meaning to re-outfit
> one of the autoresonse plugins I manage to use Server Settings Backend.
>
>> I think the server settings backend is configured to use local file and
>> suid to manage the files, and user mail files are stored as shown (so
>> [hidden email] <mailto:[hidden email]> is in
>> ‘/home/vmail/4seasonsresort.com/mays’).
>> (From /usr/share/squirrelmail/plugins/server_side_filters/config.php...)
>>  
>> $filter_rules_storage_info = array(
>>     'BACKEND'               => 'local_file',
>>     'ACCESS_TYPE'           => array('VALUE' => 'SUID'),
>
> The error below indicates you are using PHP for this, not SUID --??
>
> You can enable debug mode in the plugin for more assistance.  In PHP
> mode, you need to give the web server access to the relevant
> files/directories.

Also worth noting - there's a soon-to-be-released version that can talk
to servers of arbitrary protocols (in this case, managesieve).

>>     'SUID_LOCATION'         => array('VALUE' =>
>> '/usr/share/squirrelmail/plugin$
>>     'FILE'                  => array('VALUE_REPLACE' =>
>> '/home/vhome/%d/%u/.mai$
>>     'PARSE_PATTERN'         => array('VALUE' => "/^(.*)$/s"),
>>     'PATTERN_GROUP_NUMBER'  => array('VALUE' => 1),
>>     'NEW_SETTING_TEMPLATE'  => array('VALUE' => '%n'),
>>     'DELETE_WHEN_EMPTY'     => array('VALUE' => 1),
>>     'TREAT_AS_EMPTY_WHEN_NOT_FOUND' => array('VALUE' => 1),
>> );
>>
>> When I go into squirrelmail and Options > Mail Filters, the input window
>> appears. But when I try to save a new filter I get:
>>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
>>
>> Errror: Error deleting file or directory.
>>  
>>  
>>
>>  
>>  
>> *From:* Joseph Mays <mailto:[hidden email]>
>> *Sent:* Monday, July 11, 2016 3:13 PM
>> *To:* Squirrelmail Plugins Mailing List
>> <mailto:[hidden email]>
>> *Subject:* Re: [SM-PLUGINS] Plugin for autoresponse and forward
>> withdovecotand vmail but no mysql
>>  
>>>> Or the newest Server Side Filters plugin.
>>  
>>> I would be happy to try this. Is this a dovecot or squirrelmail plugin?
>> Nvm, I found it and have installed it and the necessary server settings
>> backend plugin. I’ll try to get these to work.

--
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [hidden email]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins
Reply | Threaded
Open this post in threaded view
|

Re: Plugin for autoresponse and forward withdovecotand vmail but no mysql

Joseph Mays
In reply to this post by Paul Lesniewski
How do I tell it to use suid rather than php?  I assumed setting the config
file like that would set it to use suid.

-----Original Message-----
From: Paul Lesniewski
Sent: Monday, July 11, 2016 6:18 PM
To: Squirrelmail Plugins Mailing List
Subject: Re: [SM-PLUGINS] Plugin for autoresponse and forward withdovecotand
vmail but no mysql



On 2016年07月11日 13:36, Joseph Mays wrote:
> Hmm. Was trying to set up the server side filters and server settings
> backend the way it seems like it’s supposed to work.

First, note that this plugin only provides filtering (including rules
for forwarding), but not autoresponses.  I've been meaning to re-outfit
one of the autoresonse plugins I manage to use Server Settings Backend.

> I think the server settings backend is configured to use local file and
> suid to manage the files, and user mail files are stored as shown (so
> [hidden email] <mailto:[hidden email]> is in
> ‘/home/vmail/4seasonsresort.com/mays’).
> (From /usr/share/squirrelmail/plugins/server_side_filters/config.php...)
>
> $filter_rules_storage_info = array(
>     'BACKEND'               => 'local_file',
>     'ACCESS_TYPE'           => array('VALUE' => 'SUID'),

The error below indicates you are using PHP for this, not SUID --??

You can enable debug mode in the plugin for more assistance.  In PHP
mode, you need to give the web server access to the relevant
files/directories.

>     'SUID_LOCATION'         => array('VALUE' =>
> '/usr/share/squirrelmail/plugin$
>     'FILE'                  => array('VALUE_REPLACE' =>
> '/home/vhome/%d/%u/.mai$
>     'PARSE_PATTERN'         => array('VALUE' => "/^(.*)$/s"),
>     'PATTERN_GROUP_NUMBER'  => array('VALUE' => 1),
>     'NEW_SETTING_TEMPLATE'  => array('VALUE' => '%n'),
>     'DELETE_WHEN_EMPTY'     => array('VALUE' => 1),
>     'TREAT_AS_EMPTY_WHEN_NOT_FOUND' => array('VALUE' => 1),
> );
>
> When I go into squirrelmail and Options > Mail Filters, the input window
> appears. But when I try to save a new filter I get:
>
>
> Errror: Error deleting file or directory.
>
>
>
>
>
> *From:* Joseph Mays <mailto:[hidden email]>
> *Sent:* Monday, July 11, 2016 3:13 PM
> *To:* Squirrelmail Plugins Mailing List
> <mailto:[hidden email]>
> *Subject:* Re: [SM-PLUGINS] Plugin for autoresponse and forward
> withdovecotand vmail but no mysql
>
>>> Or the newest Server Side Filters plugin.
>
>> I would be happy to try this. Is this a dovecot or squirrelmail plugin?
> Nvm, I found it and have installed it and the necessary server settings
> backend plugin. I’ll try to get these to work.
>
>
> ------------------------------------------------------------------------
> ------------------------------------------------------------------------------
> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
>
> ------------------------------------------------------------------------
> -----
> squirrelmail-plugins mailing list
> Posting guidelines: http://squirrelmail.org/postingguidelines
> List address: [hidden email]
> List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
> List info (subscribe/unsubscribe/change options):
> https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins
>
>
> ------------------------------------------------------------------------------
> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
>
>
>
> -----
> squirrelmail-plugins mailing list
> Posting guidelines: http://squirrelmail.org/postingguidelines
> List address: [hidden email]
> List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
> List info (subscribe/unsubscribe/change options):
> https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins
>

--
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [hidden email]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options):
https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins 


------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [hidden email]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins
Reply | Threaded
Open this post in threaded view
|

Re: Plugin for autoresponse and forward withdovecotand vmail but no mysql

Paul Lesniewski


On 2016年07月12日 08:39, Joseph Mays wrote:
> How do I tell it to use suid rather than php?  I assumed setting the config
> file like that would set it to use suid.

Yes, your config seems to indicate SUID, but the error message is only
located in a code path for PHP.  Grep your source code and take a look
for yourself just to be sure.  Either way, you can test by setting the
file/directory you're working in to have 777 permissions (of course,
never leave it like that and note that sometimes directories *above* the
one you're in can be permissioned so as to block access to where you're
working).

Overall, it might be better to use the version that talks to managesieve
as mentioned in my last message.  Contact me offlist if you want to go
that route.

> -----Original Message-----
> From: Paul Lesniewski
> Sent: Monday, July 11, 2016 6:18 PM
> To: Squirrelmail Plugins Mailing List
> Subject: Re: [SM-PLUGINS] Plugin for autoresponse and forward withdovecotand
> vmail but no mysql
>
>
>
> On 2016年07月11日 13:36, Joseph Mays wrote:
>> Hmm. Was trying to set up the server side filters and server settings
>> backend the way it seems like it’s supposed to work.
>
> First, note that this plugin only provides filtering (including rules
> for forwarding), but not autoresponses.  I've been meaning to re-outfit
> one of the autoresonse plugins I manage to use Server Settings Backend.
>
>> I think the server settings backend is configured to use local file and
>> suid to manage the files, and user mail files are stored as shown (so
>> [hidden email] <mailto:[hidden email]> is in
>> ‘/home/vmail/4seasonsresort.com/mays’).
>> (From /usr/share/squirrelmail/plugins/server_side_filters/config.php...)
>>
>> $filter_rules_storage_info = array(
>>     'BACKEND'               => 'local_file',
>>     'ACCESS_TYPE'           => array('VALUE' => 'SUID'),
>
> The error below indicates you are using PHP for this, not SUID --??
>
> You can enable debug mode in the plugin for more assistance.  In PHP
> mode, you need to give the web server access to the relevant
> files/directories.
>
>>     'SUID_LOCATION'         => array('VALUE' =>
>> '/usr/share/squirrelmail/plugin$
>>     'FILE'                  => array('VALUE_REPLACE' =>
>> '/home/vhome/%d/%u/.mai$
>>     'PARSE_PATTERN'         => array('VALUE' => "/^(.*)$/s"),
>>     'PATTERN_GROUP_NUMBER'  => array('VALUE' => 1),
>>     'NEW_SETTING_TEMPLATE'  => array('VALUE' => '%n'),
>>     'DELETE_WHEN_EMPTY'     => array('VALUE' => 1),
>>     'TREAT_AS_EMPTY_WHEN_NOT_FOUND' => array('VALUE' => 1),
>> );
>>
>> When I go into squirrelmail and Options > Mail Filters, the input window
>> appears. But when I try to save a new filter I get:
>>
>>
>> Errror: Error deleting file or directory.
>>
>>
>>
>>
>>
>> *From:* Joseph Mays <mailto:[hidden email]>
>> *Sent:* Monday, July 11, 2016 3:13 PM
>> *To:* Squirrelmail Plugins Mailing List
>> <mailto:[hidden email]>
>> *Subject:* Re: [SM-PLUGINS] Plugin for autoresponse and forward
>> withdovecotand vmail but no mysql
>>
>>>> Or the newest Server Side Filters plugin.
>>
>>> I would be happy to try this. Is this a dovecot or squirrelmail plugin?
>> Nvm, I found it and have installed it and the necessary server settings
>> backend plugin. I’ll try to get these to work.
>>
>>
>> ------------------------------------------------------------------------
>> ------------------------------------------------------------------------------
>> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
>> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
>> present their vision of the future. This family event has something for
>> everyone, including kids. Get more information and register today.
>> http://sdm.link/attshape
>>
>> ------------------------------------------------------------------------
>> -----
>> squirrelmail-plugins mailing list
>> Posting guidelines: http://squirrelmail.org/postingguidelines
>> List address: [hidden email]
>> List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
>> List info (subscribe/unsubscribe/change options):
>> https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins
>>
>>
>> ------------------------------------------------------------------------------
>> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
>> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
>> present their vision of the future. This family event has something for
>> everyone, including kids. Get more information and register today.
>> http://sdm.link/attshape
>>
>>
>>
>> -----
>> squirrelmail-plugins mailing list
>> Posting guidelines: http://squirrelmail.org/postingguidelines
>> List address: [hidden email]
>> List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
>> List info (subscribe/unsubscribe/change options):
>> https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins
>>
>

--
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [hidden email]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins
Reply | Threaded
Open this post in threaded view
|

Re: Plugin for autoresponse and forward withdovecotand vmail but no mysql

Joseph Mays
> Overall, it might be better to use the version that talks to managesieve
> as mentioned in my last message.  Contact me offlist if you want to go
> that route.

I’m willing to try that. I have a sent a couple of messages off list to this
address yesterday but have not received a response. Please send me an email
indicating the correct email address to you use if it is not the one you are
posting from here.



------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [hidden email]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins
Reply | Threaded
Open this post in threaded view
|

Change password

Joseph Mays
In reply to this post by Paul Lesniewski
A different question related to the same system....

I'm using version 1.4.22. I need to add the ability for users to change
their password (dovecot). I was assuming the poppass daemon plugin was the
way to go, but the notes on it say the functionality is included in versions
1.5+. So should I just upgrade to a 1.5 plus version? Is doing so pretty
transparent?


------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [hidden email]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins
Reply | Threaded
Open this post in threaded view
|

Re: Change password

Paul Lesniewski
On 7/13/16, Joseph Mays <[hidden email]> wrote:
> A different question related to the same system....
>
> I'm using version 1.4.22. I need to add the ability for users to change
> their password (dovecot). I was assuming the poppass daemon plugin was the
> way to go,

For changing local user accounts, that would be amongst your best and
most secure options. I've recently rewritten the change_passwd plugin,
which can be used as well.

> but the notes on it say the functionality is included in versions
>
> 1.5+. So should I just upgrade to a 1.5 plus version? Is doing so pretty
> transparent?

No, not transparent, though there is a lot of overlap. There is still
better support for plugins in 1.4.x and I've backported a lot of the
fixes and improvements from 1.5.2 to 1.4.23.

--
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [hidden email]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins
Reply | Threaded
Open this post in threaded view
|

"Invalid characters in atom" when squirrelmail plugin connects to managesieve

Joseph Mays
In reply to this post by Paul Lesniewski
I found a similar error to this posted on the dovecot list from 2013, but no
solution.

I'm using the avelsieve squirrelmail plugin with dovecot. It throws an error
when it connects to managesieve.

dovecot version is 2.0.19

ngrep of the connection shows....

T 127.0.0.1:4190 -> 127.0.0.1:55753 [AP]
  "IMPLEMENTATION" "Dovecot Pigeonhole".."SIEVE" "fileinto reject envelope
en
  coded-character vacation subaddress comparator-i;ascii-numeric relational
r
  egex imap4flags copy include variables body enotify environment mailbox
dat
  e ihave".."NOTIFY" "mailto".."SASL" "PLAIN LOGIN CRAM-MD5".."VERSION"
"1.0"
  ..OK "Dovecot ready."..
##
T 127.0.0.1:55753 -> 127.0.0.1:4190 [AP]
  AUTHENTICATE "PLAIN" \{80+}..
##
T 127.0.0.1:55753 -> 127.0.0.1:4190 [AP]
  bWF5c0A0c2Vhc29uc3Jlc29ydC5jb20AbWF5c0A0c2Vhc29uc3Jlc29ydC5jb20AZmxvdmVyMDk
  xNw==..
##
T 127.0.0.1:4190 -> 127.0.0.1:55753 [AP]
  NO "Invalid characters in atom"..NO "Error in MANAGESIEVE command received
  by server."..



------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [hidden email]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins