Re: Ingo and vacation

Claudio Prono <[email protected]>
Newsgroups gmane.comp.horde.sork
Message-ID <[email protected]>

Gerard Breiner ha scritto:
> Claudio Prono a écrit :
>> Hello to all,
>>
>> I use Postfix with Dovecot (Dovecot for the deliver, and also for imap
>> and pop3). I have installed Ingo with Horde, to try the vacation system.
>> I have read sork can be used for the vacation (autoresponder), so i have
>> installed it and configured. It starts correctly, i can see the web
>> interface inside horde, but...no vacation. Where is the vacation?
>>
>> My goal is to find a vacation program working with this configuration...
>> any help or howto is very useful to me..
>>
>> Any help?
>>
>> Thank u,
>>
>> Claudio Prono.
>>
>>   
> If I can help.... Ingo vacation works very fine for me in the
> environmentI (ldap postfix dovecot) .  My users are virtuals and the
> authentication on the imap server is done by the ldap server .
> In the below backend.php file I use  the imap serveur's login and
> password so that to establish the connection via "ssh2". I named the
> mailfilter created by ingo ".mailfilter.ingo" and included in the imap
> server's .mailfilter. Here is below  my backend.php and my .mailfilter .
>
> [backend.php]
> <?php
> $backends['maildrop'] = array(
>    'driver' => 'vfs',
>    'preferred' => 'domain',
>    'hordeauth' => false,
>    'params' => array(
>        // Hostname of the VFS server
>        'hostspec' => 'your_cyrus-server.domain',
>        // Name of the maildrop config file to write
>        'filename' => '.mailfilter.ingo',
>        // The VFS username to use, defaults to current user. If you
> want to
>        // use a different user, you also need to disable 'hordeauth'
> above.
>         'username' => 'vmail',
>        // The VFS password to use, defaults to current user's password
>       'password' => 'my vmail password',
>        // The path to the .mailfilter filter file, defaults to the
> filters'
>        // owner's home directory.
>        // You can use the following variables:
>        //   %u = name of the filters' owner
>        //   %U = the 'username' from above
>        // Example:
>        '/home/%u',
>        //   This would be translated into:
>        //  '/home/<filter_owners_username>/.mailfilter'
>        'vfs_path' => '/home/%u',
>
>         // VFS: SSH2 example
>        // The VFS driver to use
>        'vfstype' => 'ssh2',
>        // Port of the VFS server
>        'port' => 22,
>         ),
>    'script' => 'maildrop',
>    'scriptparams' => array(
>        // What path style does the IMAP server use ['mbox'|'maildir']?
>        'path_style' => 'maildir',
>        // Strip 'INBOX.' from the beginning of folder names in generated
>        // scripts?
>        'strip_inbox' => false,
>        // An array of variables to append to every generated script.
>        // Use if you need to set up specific environment variables.
>        'variables' => array(
>            // Example for the $PATH variable
>            // 'PATH' => '/usr/bin'
>        )
>    ),
>    'shares' => false
> );
> ?>
>
> [/backend.php]
>
> My .mailfilter in which my .mailfilter.ingo is include.
> ------------------------------------------------
> [.mailfilter]
> MAILDIR=$HOME/Maildir/ # Default mail directory
> LOGFILE=$HOME/maildrop.log
> exception {
>        include "$HOME/.mailfilter.perso"
> }
> if (/^Received: from smtp..yourdomain/)
> {
>   if ( $SIZE < 256000 )
>   {
>        xfilter "/usr/local/shell/spam-filter.pl $FROM"
>   }
> }
>
> if (/^X-Spam-Status: Yes/)
> {
> to $MAILDIR/.SPAMS.spam
> }
> else
> {
> if (!/^Precedence: list/)
> if (!/^Precedence: bulk/)
> if (!/^Precedence: junk/)
> if (!/^From: MAILER-DEAMON/)
> {
>        exception {
>                include "$HOME/.mailfilter.ingo"
>        }
> }
>        to "$MAILDIR"
> }
> [/.mailfilter]
> Gerard
> !DSPAM:70,4978daa1249248466089651! 

Thank u, but my config is postfix - mysql for user database, dovecot and
Horde/Ingo. Anyone have a configuration working with this setup?

Thanks again,

Claudio.

-- 
------------
Claudio Prono
Systems Development @ PSS Srl, Divisione Implementazione Sistemi
Via San Bernardino, 17 - 10137 Torino (TO) - IT
Tel +39-011.32.72.100  Fax +39-011.32.46.497
PGP Fingerprint: 75C2 4049 E23D 2FBF A65F  40DB EA5C 11AC C2B0 3647
Disclaimer: http://atpss.net/disclaimer
------------ 

--
Sork mailing list - Join the hunt: http://horde.org/bounties/#sork
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.