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

"Joseph Mays" <[email protected]> Mon, 11 Jul 2016 16:36:39 -0400
Newsgroups gmane.mail.squirrelmail.plugins
Message-ID <3FFEDE8358D44D7686381D19F6BD5484@Gantry>
This is a multi-part message in MIME format.

--===============4977024588751471403==
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_02AB_01D1DB92.665F6110"

This is a multi-part message in MIME format.

------=_NextPart_000_02AB_01D1DB92.665F6110
Content-Type: text/plain;
	charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hmm. Was trying to set up the server side filters and server settings =
backend the way it seems like it=E2=80=99s 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 =
[email protected] is in =
=E2=80=98/home/vmail/4seasonsresort.com/mays=E2=80=99).

(From /usr/share/squirrelmail/plugins/server_side_filters/config.php...)

$filter_rules_storage_info =3D array(
    'BACKEND'               =3D> 'local_file',
    'ACCESS_TYPE'           =3D> array('VALUE' =3D> 'SUID'),
    'SUID_LOCATION'         =3D> array('VALUE' =3D> =
'/usr/share/squirrelmail/plugin$
    'FILE'                  =3D> array('VALUE_REPLACE' =3D> =
'/home/vhome/%d/%u/.mai$
    'PARSE_PATTERN'         =3D> array('VALUE' =3D> "/^(.*)$/s"),
    'PATTERN_GROUP_NUMBER'  =3D> array('VALUE' =3D> 1),
    'NEW_SETTING_TEMPLATE'  =3D> array('VALUE' =3D> '%n'),
    'DELETE_WHEN_EMPTY'     =3D> array('VALUE' =3D> 1),
    'TREAT_AS_EMPTY_WHEN_NOT_FOUND' =3D> array('VALUE' =3D> 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: =20
                                                                         =
                                                                         =
                                                                         =
                                                                         =
                                                                         =
                                                                         =
                                                                         =
                                                                         =
                                                                         =
                                                                         =
                                   =20
Errror: Error deleting file or directory.



=20

From: Joseph Mays=20
Sent: Monday, July 11, 2016 3:13 PM
To: Squirrelmail Plugins Mailing List=20
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=E2=80=99ll 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=20


-------------------------------------------------------------------------=
-------
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [email protected]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): =
https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins
------=_NextPart_000_02AB_01D1DB92.665F6110
Content-Type: text/html;
	charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<HTML><HEAD></HEAD>
<BODY dir=3Dltr>
<DIV dir=3Dltr>
<DIV style=3D"FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<DIV>Hmm. Was trying to set up the server side filters and server =
settings=20
backend the way it seems like it=E2=80=99s supposed to work.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I think the server settings backend is configured to use local file =
and=20
suid to manage the files, and user mail files are stored as shown (so <A =

href=3D"mailto:[email protected]">[email protected]</A> is =
in=20
=E2=80=98/home/vmail/4seasonsresort.com/mays=E2=80=99).<BR></DIV>
<DIV>(From=20
/usr/share/squirrelmail/plugins/server_side_filters/config.php...)</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New">$filter_rules_storage_info =3D =
array(</FONT></DIV>
<DIV><FONT face=3D"Courier New">&nbsp;&nbsp;&nbsp;=20
'BACKEND'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;=20
=3D&gt; 'local_file',</FONT></DIV>
<DIV><FONT face=3D"Courier New">&nbsp;&nbsp;&nbsp;=20
'ACCESS_TYPE'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
 =3D&gt;=20
array('VALUE' =3D&gt; 'SUID'),</FONT></DIV>
<DIV><FONT face=3D"Courier New">&nbsp;&nbsp;&nbsp;=20
'SUID_LOCATION'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D&gt;=20
array('VALUE' =3D&gt; '/usr/share/squirrelmail/plugin$</FONT></DIV>
<DIV><FONT face=3D"Courier New">&nbsp;&nbsp;&nbsp;=20
'FILE'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
=3D&gt; array('VALUE_REPLACE' =3D&gt; =
'/home/vhome/%d/%u/.mai$</FONT></DIV>
<DIV><FONT face=3D"Courier New">&nbsp;&nbsp;&nbsp;=20
'PARSE_PATTERN'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D&gt;=20
array('VALUE' =3D&gt; "/^(.*)$/s"),</FONT></DIV>
<DIV><FONT face=3D"Courier New">&nbsp;&nbsp;&nbsp; =
'PATTERN_GROUP_NUMBER'&nbsp;=20
=3D&gt; array('VALUE' =3D&gt; 1),</FONT></DIV>
<DIV><FONT face=3D"Courier New">&nbsp;&nbsp;&nbsp; =
'NEW_SETTING_TEMPLATE'&nbsp;=20
=3D&gt; array('VALUE' =3D&gt; '%n'),</FONT></DIV>
<DIV><FONT face=3D"Courier New">&nbsp;&nbsp;&nbsp;=20
'DELETE_WHEN_EMPTY'&nbsp;&nbsp;&nbsp;&nbsp; =3D&gt; array('VALUE' =
=3D&gt;=20
1),</FONT></DIV>
<DIV><FONT face=3D"Courier New">&nbsp;&nbsp;&nbsp; =
'TREAT_AS_EMPTY_WHEN_NOT_FOUND'=20
=3D&gt; array('VALUE' =3D&gt; 1),</FONT></DIV>
<DIV><FONT face=3D"Courier New">);</FONT></DIV>
<DIV><BR>When I go into squirrelmail and Options &gt; Mail Filters, the =
input=20
window appears. But when I try to save a new filter I get:&nbsp;=20
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&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'>
<DIV style=3D"FONT: 10pt tahoma">
<DIV><FONT size=3D3 face=3DCalibri></FONT>&nbsp;</DIV>
<DIV style=3D"BACKGROUND: #f5f5f5">
<DIV style=3D"font-color: black"><B>From:</B> <A [email protected]=20
href=3D"mailto:[email protected]">Joseph Mays</A> </DIV>
<DIV><B>Sent:</B> Monday, July 11, 2016 3:13 PM</DIV>
<DIV><B>To:</B> <A [email protected]=20
href=3D"mailto:[email protected]">Squirrelmail =
Plugins=20
Mailing List</A> </DIV>
<DIV><B>Subject:</B> Re: [SM-PLUGINS] Plugin for autoresponse and =
forward=20
withdovecotand vmail but no mysql</DIV></DIV></DIV>
<DIV>&nbsp;</DIV></DIV>
<DIV=20
style=3D'FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: =
"Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; =
DISPLAY: inline'>
<DIV dir=3Dltr>
<DIV style=3D"FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<DIV>
<DIV=20
style=3D'FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: =
"Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; =
DISPLAY: inline'>&gt;&gt;=20
Or the newest Server Side Filters plugin.</DIV>
<DIV dir=3Dltr>
<DIV style=3D"FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<DIV>&nbsp;</DIV>
<DIV>&gt; I would be happy to try this. Is this a dovecot or =
squirrelmail=20
plugin?<BR></DIV>
<DIV>Nvm, I found it and have installed it and the necessary server =
settings=20
backend plugin. I=E2=80=99ll try to get these to work.</DIV>
<DIV>&nbsp;</DIV></DIV></DIV></DIV></DIV></DIV>
<P>
<HR>
-------------------------------------------------------------------------=
-----<BR>Attend=20
Shape: An AT&amp;T Tech Expo July 15-16. Meet us at AT&amp;T Park in=20
San<BR>Francisco, CA to explore cutting-edge tech and listen to tech=20
luminaries<BR>present their vision of the future. This family event has=20
something for<BR>everyone, including kids. Get more information and =
register=20
today.<BR>http://sdm.link/attshape=20
<P>
<HR>
-----<BR>squirrelmail-plugins mailing list<BR>Posting guidelines:=20
http://squirrelmail.org/postingguidelines<BR>List address:=20
[email protected]<BR>List archives:=20
http://news.gmane.org/gmane.mail.squirrelmail.plugins<BR>List info=20
(subscribe/unsubscribe/change options):=20
https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins</DIV></=
DIV></DIV></BODY></HTML>

------=_NextPart_000_02AB_01D1DB92.665F6110--



--===============4977024588751471403==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
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
--===============4977024588751471403==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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