Hi,
first, if I did not get all mails in the last days it's because  
Telekom had major issues. So if you already answered, please forward  
to me again. Many thanks.

----- Nachricht von Arjen de Korte <build+horde@de-korte.org> ---------
   Datum: Mon, 11 Jun 2018 20:44:23 +0200
     Von: Arjen de Korte <build+horde@de-korte.org>
Betreff: Re: [horde] Horde and Sieve
      An: horde@lists.horde.org


> Citeren Andreas Mauser <andreas@mauser.info>:
>
>> Hi,
>>
>> does Sieve work with dovecot under Fedora?
>
> I wouldn't know why it shouldn't work.
>
>> I tried but failed.
>
> *What* did you try? Please post your  
> 'ingo/config/backends.local.php' file here. If you don't have one,  
> there is (part of) your problem.
>
>> Is there a docu somwhere I did not find till today? I cannot get it to work.
>
> Did you manage to setup Sieve on Dovecot? Usually that is the hard  
> part, the Horde part is easy.

Summary


At the moment I can activate scripts, but they dont do anything.


I have in postfix/master.cf

dovecot   unix  -       n       n       -       -       pipe
  flags=DRhu user=mail:mail argv=/usr/libexec/dovecot/dovecot-lda -f  
${sender} -d ${recipient}


In postfix/main.cf

virtual_transport = dovecot
virtual_mailbox_domains = mauser.info
dovecot_destination_recipient_limit = 1
mailbox_command = /usr/libexec/dovecot/dovecot-lda -f "$SENDER" -a  
"$RECIPIENT"


In dovecot/conf.d/20-managesieve

service managesieve-login {
   inet_listener sieve {
     port = 4190
   }
And a firewall port opened.


In dovecot/conf.d/90-sieve

sieve_extensions = +imapflags


I can see the script alter on the file system, when I alter it in the GUI.


This is the backends.local.conf:

/* Sieve Example */
$backends['sieve'] = array(
     // Disabled by default
     'disabled' => false,
     'transport' => array(
         Ingo::RULE_ALL => array(
             'driver' => 'timsieved',
             'params' => array(
                 // NOTE: Ingo by default sends only the bare Horde username
                 // for authentication. Sieve servers generally need both the
                 // username and domain. See the 'transport_auth' hook for
                 // an example on how to change the Ingo default behavior.

                 // Hostname of the timsieved server
                 'hostspec' => '10.0.24.2',
                 // Login type of the server
                 'logintype' => 'PLAIN',
                 // Enable/disable TLS encryption
                 'usetls' => false,
                 // Port number of the timsieved server
                 'port' => 4190,
                 // Name of the sieve script
                 'scriptname' => 'ingo',
                 // Enable debugging. The sieve protocol communication is
                 // logged with the DEBUG level.
                 'debug' => false,
             ),
	),
     ),


The maillog shows:

Jun 13 22:04:06 mauser dovecot[9647]: lda(andreas):  
msgid=<20180613200400.GB5147@web.info>: saved mail to INBOX
Jun 13 22:04:06 mauser postfix/local[9646]: A5A1F31473EE:  
to=<me@mauser.info>, orig_to=<me@mauser.info>, relay=local,  
delay=0.05, delays=0.01/0.01/0/0.02, dsn=2.0.0, status=sent (delivered  
to command: /usr/libexec/dovecot/dovecot-lda -f "$SENDER" -a  
"$RECIPIENT")


Can you see whats missing so that Ingo using the script? Mails get all  
deilvered to INBOX.

Best regards,
Andreas



----- Ende der Nachricht von Arjen de Korte <build+horde@de-korte.org> -----


