Autoreply for Squirrelmail - Which should I use?

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

Autoreply for Squirrelmail - Which should I use?

entropicsinkhole
Hi!  I am using Squirrelmail v1.4.10a with Hmail as the mail server (v.1.4.3), on MS Server 2003.  Hmail uses MYSQL.  I've browsed through the list of autoreply plugins, but I'm a little confused ... it seems some (all?) of them need other software installed than is provided with squirrelmail.

Anyway, basically I want to store the vacation messages locally on the server (or in the MYSQL database that hmail uses).  I don't want to use FTP.  

I tried the vacation_local plugin, since this seemed most promising, but even after installing cygwin to get the unix tools, I'm getting errors when I run make.  Also, I don't seem to have copies of any of the files mentioned in the config file (ie. vacation.msg, vacation.db, etc) though I haven't gotten a specific error about them yet.  When I go to the Options > Vacation message there is an 'error occured while uploading file: '  It never specifies the file, so I must be missing something major...

So here's exactly what I did for vacation_local.  

1) Unzipped file into plugins directory  C:\xampp\htdocs\mail\plugins creating vacation_local directory

2) Installed Cygwin to get make and cc in order to compile the files in vacation_binary

3) config.php.sample in plugins\vacation_local renamed config.php

4) edited config.mk to read:  BINDIR = /xampp/htdocs/mail/plugins/vacation_local/vacation_binary (my full path to the file).  Everything else I left as defaults

5)  in the config.php file I edited the following:
      $vacation_backend = 'suid';
      $mail_vacation_binary = /xampp/htdocs/mail/plugins/vacation_local/vacation_binary/squirrelmail_vacation_proxy';

The rest I left as defaults, since as far as I can tell none of them exist

6)  Using cygwin interface, I changed directories to the vacation_binary directory and typed 'make'

7)  I got these errors:  
cc -c -g -D USESHADOW -D NOROOT -D WEBUSER=\"apache\" squirrelmail_vacation_proxy.c
squirrelmail_vacation_proxy.c:40:20: shadow.h:  no such file or directory
squirrelmail_vacation_proxy.c: In function 'my_system':
squirrelmail_vacation_proxy.c:71: warning: assignment discards qualifiers from pointer target type
squirrelmail_vacation_proxy.c:190: error: dereferencing pointer to incomplete type
squirrelmail_vacation_proxy.c:191: error: dereferencing pointer to incomplete type
make:  *** [squirrelmail_vacation_proxy.o] Error 1

Ok, I do not have a shadow.h file.  So should I be making one?  If so, what do I need to do?  Completely confused.   Or am I missing something really BIG here, because that's what I feel like.  

8)  When accessing Options > Vacation Message I get the autoreply screen, but along the top I get the 'error uploading file' message mentioned earlier.

So, in conclusion, help please!  I don't know if there is something else I need to install to enable the messaging or whatnot...  Thanks!
Reply | Threaded
Open this post in threaded view
|

Re: Autoreply for Squirrelmail - Which should I use?

entropicsinkhole
Sorry -- forgot to add ... this is the error I get in the php log.
 
'/xampp/htdocs/mail/plugins/vacation_local/vacation_binary/squirrelmail_vacation_proxy' is not recognized as an internal or external command, operable program or batch file.

this is the squirrelmail_vacation_proxy file NOT the squirrelmail_vacation_proxy.c which is elsewhere
Reply | Threaded
Open this post in threaded view
|

Re: Autoreply for Squirrelmail - Which should I use?

Paul Lesniewski
In reply to this post by entropicsinkhole
On 5/28/07, entropicsinkhole <[hidden email]> wrote:
>
> Hi!  I am using Squirrelmail v1.4.10a with Hmail as the mail server
> (v.1.4.3), on MS Server 2003.  Hmail uses MYSQL.  I've browsed through the
> list of autoreply plugins, but I'm a little confused ... it seems some
> (all?) of them need other software installed than is provided with
> squirrelmail.

Because vacation response messages are sent by your mail server and
not by any one mail client (SM is a mail client).  None of the below
is relevant at all until you configure your mail server with a
properly functioning autoresponse system.  Make sure it works (sends
autoreplies) before you even start looking for a front end to manage
the autoresponse message format through something like SquirrelMail.


> Anyway, basically I want to store the vacation messages locally on the
> server (or in the MYSQL database that hmail uses).  I don't want to use FTP.
>
> I tried the vacation_local plugin, since this seemed most promising, but
> even after installing cygwin to get the unix tools, I'm getting errors when
> I run make.  Also, I don't seem to have copies of any of the files mentioned
> in the config file (ie. vacation.msg, vacation.db, etc) though I haven't
> gotten a specific error about them yet.  When I go to the Options > Vacation
> message there is an 'error occured while uploading file: '  It never
> specifies the file, so I must be missing something major...
>
> So here's exactly what I did for vacation_local.
>
> 1) Unzipped file into plugins directory  C:\xampp\htdocs\mail\plugins
> creating vacation_local directory
>
> 2) Installed Cygwin to get make and cc in order to compile the files in
> vacation_binary
>
> 3) config.php.sample in plugins\vacation_local renamed config.php
>
> 4) edited config.mk to read:  BINDIR =
> /xampp/htdocs/mail/plugins/vacation_local/vacation_binary (my full path to
> the file).  Everything else I left as defaults
>
> 5)  in the config.php file I edited the following:
>       $vacation_backend = 'suid';
>       $mail_vacation_binary =
> /xampp/htdocs/mail/plugins/vacation_local/vacation_binary/squirrelmail_vacation_proxy';
>
> The rest I left as defaults, since as far as I can tell none of them exist
>
> 6)  Using cygwin interface, I changed directories to the vacation_binary
> directory and typed 'make'
>
> 7)  I got these errors:
> cc -c -g -D USESHADOW -D NOROOT -D WEBUSER=\"apache\"
> squirrelmail_vacation_proxy.c
> squirrelmail_vacation_proxy.c:40:20: shadow.h:  no such file or directory
> squirrelmail_vacation_proxy.c: In function 'my_system':
> squirrelmail_vacation_proxy.c:71: warning: assignment discards qualifiers
> from pointer target type
> squirrelmail_vacation_proxy.c:190: error: dereferencing pointer to
> incomplete type
> squirrelmail_vacation_proxy.c:191: error: dereferencing pointer to
> incomplete type
> make:  *** [squirrelmail_vacation_proxy.o] Error 1
>
> Ok, I do not have a shadow.h file.  So should I be making one?  If so, what
> do I need to do?  Completely confused.   Or am I missing something really
> BIG here, because that's what I feel like.
>
> 8)  When accessing Options > Vacation Message I get the autoreply screen,
> but along the top I get the 'error uploading file' message mentioned
> earlier.
>
> So, in conclusion, help please!  I don't know if there is something else I
> need to install to enable the messaging or whatnot...  Thanks!

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
--
squirrelmail-plugins mailing list
Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: [hidden email]
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.plugins
List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=3931
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins
Reply | Threaded
Open this post in threaded view
|

Re: Autoreply for Squirrelmail - Which should I use?

Tomas Kuliavas
In reply to this post by entropicsinkhole
>
> Hi!  I am using Squirrelmail v1.4.10a with Hmail as the mail server
> (v.1.4.3), on MS Server 2003.  Hmail uses MYSQL.  I've browsed through the
> list of autoreply plugins, but I'm a little confused ... it seems some
> (all?) of them need other software installed than is provided with
> squirrelmail.

You should use plugin provided by hMailServer.

In order to use it, you must configure plugin and loosen DCOM security
restrictions.

http://www.hmailserver.com/documentation/?page=howto_dcom_permissions

SquirrelMail site has some plugins that can be used to set vacations and
passwords on hmailserver, but these plugins will require more tweaking.
They are suitable for setups that don't have access to COM functions.

--
Tomas


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
--
squirrelmail-plugins mailing list
Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: [hidden email]
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.plugins
List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=3931
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins
Reply | Threaded
Open this post in threaded view
|

Re: Autoreply for Squirrelmail - Which should I use?

entropicsinkhole
Thanks for the response Tomas!

I have installed the hmailserver_vacation plugin (and edited the config.php file accordingly), but it does not work even after following the DCOM directions you sent the link to.  

Originally I ran Apache using the LocalSystem account rather than an Apache user account (because it's a test box at this point).  This account had Local/Remote Launch/Activation enabled under DCOM Config.  

Just to test out using a normal account, I created the 'apache' user locally and gave it appropriate permissions to the apache, squirrelmail etc folders and then changed the Apache2 service to run under the apache user instead.  I followed the howto for DCOM permissions and gave the 'apache' user local launch and local activation permissions.  

In both cases, I get the Vacation / Autoresponder under Options.  It opens fine and I can specify a message with out receiving errors.  When I send an email to myself from another account, I receive no autoreply.

Any ideas?  Is there a log somewhere that would helpful to look at?  I'm not getting any errors in either my php logs or my squirrelmail logger.  

Thanks again!  
 

Tomas Kuliavas wrote
You should use plugin provided by hMailServer.

In order to use it, you must configure plugin and loosen DCOM security
restrictions.

http://www.hmailserver.com/documentation/?page=howto_dcom_permissions

SquirrelMail site has some plugins that can be used to set vacations and
passwords on hmailserver, but these plugins will require more tweaking.
They are suitable for setups that don't have access to COM functions.

--
Tomas
Reply | Threaded
Open this post in threaded view
|

Re: Autoreply for Squirrelmail - Which should I use?

entropicsinkhole
In reply to this post by Paul Lesniewski
Hi Paul, thanks for replying!  
 Tomas suggested I try the hmailserver vacation plugin, so I'm going to give that a shot (as you can see my the other thread).  Setting up another autoresponse system seems like it would be a pain, especially if this other plugin is actually made to work with Windows... Of course, I can't seem to get the hmailserver one working either...Sigh...