[Dovecot] Problem with recompiling sieve scripts after migrating to Dovecot 2.0 from 1.2

2011-03-17 Thread Andrés Yacopino
I saw this in log file of dovecot:

Error: sieve: binary save: failed to create temporary file:
open(/usr/local/etc/sieve/after/after.dovecot.svbin.acamail.acasalud.com.ar.13528.)
failed: Permission denied (euid=40(vmail) egid=41(vmail) missing +w
perm: /usr/local/etc/sieve/after, euid is not dir owner)
acamail dovecot: lda(x@xx): Error: sieve: the lda sieve plugin
does not have permission to save global sieve script binaries; global
sieve scripts like /usr/local/etc/sieve/after/after.dovecot.sieve need
to be pre-compiled using the sievec tool

So i tried to recompile script using sievec like:

sievec /usr/lcaol/etc/sieve/after/after.dovecot.sieve but i get:

sievec(root): Error: user root: Initialization failed: Initializing mail
storage from mail_location setting failed: stat(/root/Maildir) failed:
Permission denied (euid=40(vmail) egid=41(vmail) missing +x perm: /root,
euid is not dir owner)
sievec(root): Fatal: Invalid user settings. Refer to server log for more
information.

What i must do to resolve this?

My dovecot configuration is:

# 2.0.11: /usr/local/etc/dovecot/dovecot.conf
# OS: Linux xx
auth_master_user_separator = *
auth_username_format = %Lu
disable_plaintext_auth = no
first_valid_gid = 40
first_valid_uid = 40
mail_gid = vmail
mail_location = maildir:~/Maildir
mail_uid = vmail
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope
encoded-character vacation subaddress comparator-i;ascii-numeric
relational regex imap4flags copy include variables body enotify
environment mailbox date
passdb {
  args = /usr/local/etc/passwd.masterusers
  driver = passwd-file
  master = yes
}
passdb {
  args = /usr/local/etc/dovecot-ldap.conf
  driver = ldap
}
plugin/quota = maildir
plugin/quota_rule = *:storage=614400
plugin/quota_rule2 = Trash:storage=+61440
plugin/sieve_after = /usr/local/etc/sieve/after/after.dovecot.sieve
plugin/sieve_before = /usr/local/etc/sieve/before/spam.dovecot.sieve
protocols = imap pop3 sieve
service auth {
  unix_listener auth-master {
group = vmail
mode = 0600
user = vmail
  }
  user = root
}
ssl_cert = 

[Dovecot] Deliver limit based of number of destination recipients and size of mails, any option to do that?

2010-12-23 Thread Andrés Yacopino
I have a mail server with postfix, dovecot (1.2.15) and deliver lda
(dovecot) with 350 users.
I have the problem that in this christmas the employees are sending some
big files (mainly powerpoints files) to a lot of recipients, because of
that the server get a lot of charge (is a Xeon quad core 5405 with 4GB
of Ram), i have four disks in Raid 5 configuration (HP E200 controller,
not very fast)
Is there any option to limit this type of delivery, the total size of
the mails delivered to each user (total recipients * size of mail), in
dovecot deliver.
I don't want to limit the concurrent delivery more lower than 350
recipients and the max size of the mail we can send is 15M.
Thanks a lot,


-- 

Andrés Fernando Yacopino


[Dovecot] Execution of external commands from Pigeonhole sieve

2010-09-16 Thread Andrés Yacopino
Does anybody knows if there are some method to call an externall command
from sieve? Is xexec plugin is what i am looking for? Is it avaiable for
Dovecot 1.2?

__ I am using dovecot 1.2 and
sieve 0.1.17.

I want to call ripmime from sieve to save attchments from mails in a
user account.

Thanks for your feedback,
Greetings,

-- 

Andrés Fernando Yacopino


Re: [Dovecot] Master Users

2010-07-13 Thread Andrés Yacopino
I have an ldap configuration but i have done the same as you.
In dovecot.conf:

 auth_master_user_separator=*
  passdb passwd-file {
args = /usr/local/etc/passwd.masterusers
master= yes
  }

I have used this to generate passwd.masterusers file:

htpasswd -b -c -s /usr/local/etc/passwd.masterusers user password


The passwd.masterusers :

admin:{SHA}gfdokoir9ewerre

Then i authenticate using:

user*admin
password of the administration.

Greetings,

Andrés Fernando Yacopino

Infraestructura - Dpto Sistemas

AcaSalud

Cooperativa de Prestaciones Médico Asistenciales Limitada

Tel: 0341-4208755

ayacop...@acasalud.com.ar



El 13/07/10 09:48, Ben Watts escribió:
> Greetings,
>
> My company is currently using dovecot with ldap, I am in the process of 
> migrating this over to Exchange. However, to make the process a lot 
> smoother I need to make use of the master user function of dovecot to 
> enable access to other users mailboxes without needing their password. 
> I've gone through the documentation but it looks like this might not be 
> possible with an ldap backend.
>
> The wiki isnt exactly crystal clear on where the master user config 
> needs to go. I've generated a passdb file with an admin user and password.
>
> Any information that would go to help would be very welcome.
>
> Cheers
>
>   


[Dovecot] Auto discard sieve vacation messages

2010-01-19 Thread Andrés Yacopino
I have deploy an environment with pigeon sieve, managesieve, dovecot,
squirrelmail and avelsieve plugin.
The vacation messages are working fine.
I am looking for a method to discard vacation messages in some date,
when the user returns.

Has somebody looked in this feature?

Thanks a lot,
-- 

Andrés Fernando Yacopino

Infraestructura - Dpto Sistemas

AcaSalud

Cooperativa de Prestaciones Médico Asistenciales Limitada

Tel: 0341-4208726

ayacop...@acasalud.com.ar


[Dovecot] Auto Discard Vacation Sieve in a date

2010-01-19 Thread Andrés Yacopino
I have deploy an environment with pigeon sieve, managesieve, dovecot,
squirrelmail and avelsieve plugin.
The vacation messages are working fine.
I am looking for a method to discard vacation messages in some date,
when the user returns.

¿Has somebody looked in this feature?

Thanks a lot,

-- 

Andrés Fernando Yacopino

Infraestructura - Dpto Sistemas

AcaSalud

Cooperativa de Prestaciones Médico Asistenciales Limitada

Tel: 0341-4208726

ayacop...@acasalud.com.ar



Re: [Dovecot] Redirecting mail gives 'mail forwarding loop' to the sender - calling for sieve help

2009-08-15 Thread Andrés Yacopino


Yes, the configuration seems odd or interesting as you said.
 The
idea behind this is:
 
 - Before scripts will be use for
filtering spam, when they have SPAM
 header. Not problem at it.


 - User scripts will be used for vacation messages. These are
created
 with Squirrelmail and avelsize plugin (user interaction)
 
 - After scripts will be used for doing redirections, such as
 forwarding mail to a blackberry account(not problem at it) or

forwarding to another user account (in the same domain, the problem is
 here).
 
 The reason not to put the redirections or
forwarding in users scripts
 is to avoid users deleting redirections
and have in one file all the
 redirections.
 
 I also try
to use redirections from avelsieve plugin (0.9.9.9) and it
 works the
forwarding but it didn't work the keep command, the mail is

forwarded but the user doesn't have a copy of it.
 
 I will
investigate your advice for envelope or try to use user's scripts.


 I didn't know about original headers, if this in RFC sieve
documents?
 
 Thanks Timo and thanks Stephan for the tips.


 Greetings,
 
 Andrés.


Andrés
Yacopino.
Dpto Sistemas
AcaSalud


Re: [Dovecot] Redirecting mail gives 'mail forwarding loop' to the sender - calling for sieve help

2009-08-14 Thread Andrés Yacopino

Yes, that is a global script.
Yes you are the right , the script is executed again but i thought that 
this line do the verification to avoid this:


if header :contains ["To","Cc"] "us...@acasalud.com.ar"

It seems it didnt' but why?, can you explain better?

Thanks a lot,

Andrés Fernando Yacopino



Timo Sirainen escribió:

On Fri, 2009-08-14 at 17:17 -0300, Andrés Yacopino wrote:
  

I am trying to use sieve_after to execute some redirection of mails.

I have put in the after script:

require "include";
require "fileinto";

if header :contains ["To","Cc"] "us...@acasalud.com.ar"
{
   keep;
   redirect "us...@acasalud.com.ar";
}



So that's a global script, right?

  

The redirection works but the sender user (userA) get the following error:


..
  

http://10.11.0.21/webmail/src/compose.php?send_to=ayacopino%40acasalud.com.ar>>: 
mail forwarding loop



I suppose it's because when usera sends to userb, userb executes the
global script again and the mail is redirected to userb again, which
triggers the loop detection. Either disable after script from userb or
add some check there so that it doesn't get redirected again.
  


Re: [Dovecot] Redirecting mail gives 'mail forwarding loop' to the sender - calling for sieve help

2009-08-14 Thread Andrés Yacopino
Well i delete the antispam and antivirus to make a more easy reading 
logfile:



Aug 14 21:40:23 acamail postfix/smtpd[11036]: 8849C6FEE9: 
client=acamail.acasalud.com.ar[127.0.0.1]
Aug 14 21:40:23 acamail postfix/cleanup[11038]: 8849C6FEE9: 
message-id=<921466190722c1dd536fd75de5756eb4.squir...@10.11.0.21>
Aug 14 21:40:23 acamail postfix/qmgr[10830]: 8849C6FEE9: 
from=, size=1011, nrcpt=1 (queue active)
Aug 14 21:40:23 acamail postfix/smtpd[11036]: disconnect from 
acamail.acasalud.com.ar[127.0.0.1]
Aug 14 21:40:23 acamail dovecot: imap-login: Login: 
user=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Aug 14 21:40:23 acamail dovecot: deliver(us...@acasalud.com.ar): 
sieve: msgid=<921466190722c1dd536fd75de5756eb4.squir...@10.11.0.21>: 
stored mail into mailbox 'INBOX'
Aug 14 21:40:23 acamail postfix/pickup[10831]: A9DA56FEED: uid=40 
from=
Aug 14 21:40:23 acamail postfix/cleanup[11038]: A9DA56FEED: 
message-id=<921466190722c1dd536fd75de5756eb4.squir...@10.11.0.21>
Aug 14 21:40:23 acamail dovecot: deliver(us...@acasalud.com.ar): 
sieve: msgid=<921466190722c1dd536fd75de5756eb4.squir...@10.11.0.21>: 
forwarded to 
Aug 14 21:40:23 acamail postfix/pipe[11039]: 8849C6FEE9: 
to=, relay=dovecot, delay=0.15, 
delays=0.07/0.03/0/0.06, dsn=2.0.0, status=sent (delivered via dovecot 
service)

Aug 14 21:40:23 acamail postfix/qmgr[10830]: 8849C6FEE9: removed
Aug 14 21:40:23 acamail postfix/qmgr[10830]: A9DA56FEED: 
from=, size=1198, nrcpt=1 (queue active)
Aug 14 21:40:23 acamail dovecot: IMAP(sender_user): Disconnected: 
Logged out bytes=887/438
Aug 14 21:40:23 acamail dovecot: imap-login: Login: 
user=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Aug 14 21:40:24 acamail dovecot: deliver(us...@acasalud.com.ar): 
sieve: msgid=<921466190722c1dd536fd75de5756eb4.squir...@10.11.0.21>: 
stored mail into mailbox 'INBOX'
Aug 14 21:40:24 acamail dovecot: IMAP(sender_user): Disconnected: 
Logged out bytes=139/1580
Aug 14 21:40:24 acamail dovecot: deliver(us...@acasalud.com.ar): 
sieve: msgid=<921466190722c1dd536fd75de5756eb4.squir...@10.11.0.21>: 
forwarded to 
Aug 14 21:40:24 acamail postfix/pipe[11039]: A9DA56FEED: 
to=, relay=dovecot, delay=0.44, 
delays=0.03/0.03/0/0.39, dsn=2.0.0, status=sent (delivered via dovecot 
service)

Aug 14 21:40:24 acamail postfix/qmgr[10830]: A9DA56FEED: removed
Aug 14 21:40:24 acamail postfix/pickup[10831]: 2064C6FEEC: uid=40 
from=
Aug 14 21:40:24 acamail postfix/cleanup[11038]: 2064C6FEEC: 
message-id=<921466190722c1dd536fd75de5756eb4.squir...@10.11.0.21>
Aug 14 21:40:24 acamail postfix/qmgr[10830]: 2064C6FEEC: 
from=, size=1354, nrcpt=1 (queue active)
Aug 14 21:40:24 acamail postfix/pipe[11039]: 2064C6FEEC: 
to=, relay=dovecot, delay=0.07, 
delays=0.06/0/0/0.01, dsn=5.4.6, status=bounced (mail forwarding loop 
for us...@acasalud.com.ar)
Aug 14 21:40:24 acamail postfix/cleanup[11038]: 262F06FEED: 
message-id=<20090815004024.262f06f...@acamail.acasalud.com.ar>
Aug 14 21:40:24 acamail postfix/qmgr[10830]: 262F06FEED: from=<>, 
size=3282, nrcpt=1 (queue active)
Aug 14 21:40:24 acamail postfix/bounce[11050]: 2064C6FEEC: sender 
non-delivery notification: 262F06FEED

Aug 14 21:40:24 acamail postfix/qmgr[10830]: 2064C6FEEC: removed
Aug 14 21:40:24 acamail dovecot: deliver(sender_u...@acasalud.com.ar): 
sieve: msgid=<20090815004024.262f06f...@acamail.acasalud.com.ar>: 
stored mail into mailbox 'INBOX'
Aug 14 21:40:24 acamail postfix/pipe[11039]: 262F06FEED: 
to=, relay=dovecot, delay=0.04, 
delays=0.01/0/0/0.03, dsn=2.0.0, status=sent (delivered via dovecot 
service)

Aug 14 21:40:24 acamail postfix/qmgr[10830]: 262F06FEED: removed

Andrés Fernando Yacopino

Infraestructura - Dpto Sistemas

AcaSalud

Cooperativa de Prestaciones Médico Asistenciales Limitada

Tel: 0341-4208726

ayacop...@acasalud.com.ar



Mauricio Tavares escribió:

Andrés Yacopino wrote:

Greetings, i am testing:

- dovecot-1.2-sieve-0.1.11
- dovecot 1.2.3
- dovecot-1.2-managesieve-0.11.8 (with patch)

I am trying to use sieve_after to execute some redirection of mails.

I have put in the after script:

require "include";
require "fileinto";

if header :contains ["To","Cc"] "us...@acasalud.com.ar"
{
  keep;
  redirect "us...@acasalud.com.ar";
}

The redirection works but the sender user (userA) get the following 
error:


This is the mail system at host acamail.acasalud.com.ar.

I'm sorry to have to inform you that your message
could not
be delivered to one or more recipients. It's
attached below.

  The mail system

<http://10.11.0.21/webmail/src/compose.php?send_to=ayacopino%40acasalud.com.ar>>: 
mail forwarding loop
for us...@acasalud.com.ar 
<http://10.11.0.21/webmail/src/compose.php?send_to=ayacopino%40acasalud.com.ar> 





Could somebody can help me.

Thanks,


What does your log file says?

Also, you could cheat and tell it to use copy instead of keep and 
redirect?




Re: [Dovecot] Redirecting mail gives 'mail forwarding loop' to the sender - calling for sieve help

2009-08-14 Thread Andrés Yacopino
Well i delete the antispam and antivirus to make a more easy reading 
logfile:



Aug 14 21:40:23 acamail postfix/smtpd[11036]: 8849C6FEE9: 
client=acamail.acasalud.com.ar[127.0.0.1]
Aug 14 21:40:23 acamail postfix/cleanup[11038]: 8849C6FEE9: 
message-id=<921466190722c1dd536fd75de5756eb4.squir...@10.11.0.21>
Aug 14 21:40:23 acamail postfix/qmgr[10830]: 8849C6FEE9: 
from=, size=1011, nrcpt=1 (queue active)
Aug 14 21:40:23 acamail postfix/smtpd[11036]: disconnect from 
acamail.acasalud.com.ar[127.0.0.1]
Aug 14 21:40:23 acamail dovecot: imap-login: Login: user=, 
method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Aug 14 21:40:23 acamail dovecot: deliver(us...@acasalud.com.ar): sieve: 
msgid=<921466190722c1dd536fd75de5756eb4.squir...@10.11.0.21>: stored 
mail into mailbox 'INBOX'
Aug 14 21:40:23 acamail postfix/pickup[10831]: A9DA56FEED: uid=40 
from=
Aug 14 21:40:23 acamail postfix/cleanup[11038]: A9DA56FEED: 
message-id=<921466190722c1dd536fd75de5756eb4.squir...@10.11.0.21>
Aug 14 21:40:23 acamail dovecot: deliver(us...@acasalud.com.ar): sieve: 
msgid=<921466190722c1dd536fd75de5756eb4.squir...@10.11.0.21>: forwarded 
to 
Aug 14 21:40:23 acamail postfix/pipe[11039]: 8849C6FEE9: 
to=, relay=dovecot, delay=0.15, 
delays=0.07/0.03/0/0.06, dsn=2.0.0, status=sent (delivered via dovecot 
service)

Aug 14 21:40:23 acamail postfix/qmgr[10830]: 8849C6FEE9: removed
Aug 14 21:40:23 acamail postfix/qmgr[10830]: A9DA56FEED: 
from=, size=1198, nrcpt=1 (queue active)
Aug 14 21:40:23 acamail dovecot: IMAP(sender_user): Disconnected: Logged 
out bytes=887/438
Aug 14 21:40:23 acamail dovecot: imap-login: Login: user=, 
method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Aug 14 21:40:24 acamail dovecot: deliver(us...@acasalud.com.ar): sieve: 
msgid=<921466190722c1dd536fd75de5756eb4.squir...@10.11.0.21>: stored 
mail into mailbox 'INBOX'
Aug 14 21:40:24 acamail dovecot: IMAP(sender_user): Disconnected: Logged 
out bytes=139/1580
Aug 14 21:40:24 acamail dovecot: deliver(us...@acasalud.com.ar): sieve: 
msgid=<921466190722c1dd536fd75de5756eb4.squir...@10.11.0.21>: forwarded 
to 
Aug 14 21:40:24 acamail postfix/pipe[11039]: A9DA56FEED: 
to=, relay=dovecot, delay=0.44, 
delays=0.03/0.03/0/0.39, dsn=2.0.0, status=sent (delivered via dovecot 
service)

Aug 14 21:40:24 acamail postfix/qmgr[10830]: A9DA56FEED: removed
Aug 14 21:40:24 acamail postfix/pickup[10831]: 2064C6FEEC: uid=40 
from=
Aug 14 21:40:24 acamail postfix/cleanup[11038]: 2064C6FEEC: 
message-id=<921466190722c1dd536fd75de5756eb4.squir...@10.11.0.21>
Aug 14 21:40:24 acamail postfix/qmgr[10830]: 2064C6FEEC: 
from=, size=1354, nrcpt=1 (queue active)
Aug 14 21:40:24 acamail postfix/pipe[11039]: 2064C6FEEC: 
to=, relay=dovecot, delay=0.07, 
delays=0.06/0/0/0.01, dsn=5.4.6, status=bounced (mail forwarding loop 
for us...@acasalud.com.ar)
Aug 14 21:40:24 acamail postfix/cleanup[11038]: 262F06FEED: 
message-id=<20090815004024.262f06f...@acamail.acasalud.com.ar>
Aug 14 21:40:24 acamail postfix/qmgr[10830]: 262F06FEED: from=<>, 
size=3282, nrcpt=1 (queue active)
Aug 14 21:40:24 acamail postfix/bounce[11050]: 2064C6FEEC: sender 
non-delivery notification: 262F06FEED

Aug 14 21:40:24 acamail postfix/qmgr[10830]: 2064C6FEEC: removed
Aug 14 21:40:24 acamail dovecot: deliver(sender_u...@acasalud.com.ar): 
sieve: msgid=<20090815004024.262f06f...@acamail.acasalud.com.ar>: stored 
mail into mailbox 'INBOX'
Aug 14 21:40:24 acamail postfix/pipe[11039]: 262F06FEED: 
to=, relay=dovecot, delay=0.04, 
delays=0.01/0/0/0.03, dsn=2.0.0, status=sent (delivered via dovecot service)

Aug 14 21:40:24 acamail postfix/qmgr[10830]: 262F06FEED: removed

Andrés Fernando Yacopino

Infraestructura - Dpto Sistemas

AcaSalud

Cooperativa de Prestaciones Médico Asistenciales Limitada

Tel: 0341-4208726

ayacop...@acasalud.com.ar



Mauricio Tavares escribió:

Andrés Yacopino wrote:

Greetings, i am testing:

- dovecot-1.2-sieve-0.1.11
- dovecot 1.2.3
- dovecot-1.2-managesieve-0.11.8 (with patch)

I am trying to use sieve_after to execute some redirection of mails.

I have put in the after script:

require "include";
require "fileinto";

if header :contains ["To","Cc"] "us...@acasalud.com.ar"
{
  keep;
  redirect "us...@acasalud.com.ar";
}

The redirection works but the sender user (userA) get the following 
error:


This is the mail system at host acamail.acasalud.com.ar.

I'm sorry to have to inform you that your message
could not
be delivered to one or more recipients. It's
attached below.

  The mail system

<http://10.11.0.21/webmail/src/compose.php?send_to=ayacopino%40acasalud.com.ar>>: 
mail forwarding loop
for us...@acasalud.com.ar 
<http://10.11.0.21/webmail/src/compose.php?send_to=ayacopino%40acasalud.com.ar> 





Could somebody can help me.

Thanks,


What does your log file says?

Also, you could cheat and tell it to use copy instead of keep and 
redirect?


Re: [Dovecot] Redirecting mail gives 'mail forwarding loop' to the sender - calling for sieve help

2009-08-14 Thread Andrés Yacopino
10576]: E06CF6FEE1: 
to=, relay=dovecot, delay=0.06, 
delays=0.04/0/0/0.02, dsn=5.4.6, status=bounced (mail forwarding loop 
for us...@acasalud.com.ar)
Aug 14 21:13:25 acamail postfix/cleanup[10564]: EC2A56FEE2: 
message-id=<20090815001325.ec2a56f...@acamail.acasalud.com.ar>
Aug 14 21:13:25 acamail postfix/qmgr[6886]: EC2A56FEE2: from=<>, 
size=4406, nrcpt=1 (queue active)
Aug 14 21:13:25 acamail postfix/bounce[10583]: E06CF6FEE1: sender 
non-delivery notification: EC2A56FEE2

Aug 14 21:13:25 acamail postfix/qmgr[6886]: E06CF6FEE1: removed
Aug 14 21:13:26 acamail dovecot: deliver(senderu...@acasalud.com.ar): 
sieve: msgid=<20090815001325.ec2a56f...@acamail.acasalud.com.ar>: stored 
mail into mailbox 'INBOX'
Aug 14 21:13:26 acamail postfix/pipe[10576]: EC2A56FEE2: 
to=, relay=dovecot, delay=0.05, 
delays=0.01/0/0/0.05, dsn=2.0.0, status=sent (delivered via dovecot service)

Aug 14 21:13:26 acamail postfix/qmgr[6886]: EC2A56FEE2: removed
Aug 14 21:13:28 acamail dovecot: imap-login: Login: user=, 
method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Aug 14 21:13:28 acamail dovecot: IMAP(senderuser): Disconnected: Logged 
out bytes=331/7019


Infraestructura - Dpto Sistemas

AcaSalud

Cooperativa de Prestaciones Médico Asistenciales Limitada

Tel: 0341-4208726

userB



Mauricio Tavares escribió:

Andrés Yacopino wrote:

Greetings, i am testing:

- dovecot-1.2-sieve-0.1.11
- dovecot 1.2.3
- dovecot-1.2-managesieve-0.11.8 (with patch)

I am trying to use sieve_after to execute some redirection of mails.

I have put in the after script:

require "include";
require "fileinto";

if header :contains ["To","Cc"] "us...@acasalud.com.ar"
{
  keep;
  redirect "us...@acasalud.com.ar";
}

The redirection works but the sender user (userA) get the following 
error:


This is the mail system at host acamail.acasalud.com.ar.

I'm sorry to have to inform you that your message
could not
be delivered to one or more recipients. It's
attached below.

  The mail system

<http://10.11.0.21/webmail/src/compose.php?send_to=ayacopino%40acasalud.com.ar>>: 
mail forwarding loop
for us...@acasalud.com.ar 
<http://10.11.0.21/webmail/src/compose.php?send_to=ayacopino%40acasalud.com.ar> 





Could somebody can help me.

Thanks,


What does your log file says?

Also, you could cheat and tell it to use copy instead of keep and 
redirect?


[Dovecot] Redirecting mail gives 'mail forwarding loop' to the sender - calling for sieve help

2009-08-14 Thread Andrés Yacopino

Greetings, i am testing:

- dovecot-1.2-sieve-0.1.11
- dovecot 1.2.3
- dovecot-1.2-managesieve-0.11.8 (with patch)

I am trying to use sieve_after to execute some redirection of mails.

I have put in the after script:

require "include";
require "fileinto";

if header :contains ["To","Cc"] "us...@acasalud.com.ar"
{
  keep;
  redirect "us...@acasalud.com.ar";
}

The redirection works but the sender user (userA) get the following error:

This is the mail system at host acamail.acasalud.com.ar.

I'm sorry to have to inform you that your message
could not
be delivered to one or more recipients. It's
attached below.

  The mail system

http://10.11.0.21/webmail/src/compose.php?send_to=ayacopino%40acasalud.com.ar>>: 
mail forwarding loop
for us...@acasalud.com.ar 




Could somebody can help me.

Thanks,

--

Andrés Fernando Yacopino


Re: [Dovecot] Global Sieve File

2009-04-08 Thread Andrés Yacopino

Yes, it works using your solution:

dovecot.conf:

sieve_global_path = /usr/local/etc/sieve/global/default.sieve

/usr/local/etc/sieve/global/default.sieve:

keep;

Thanks,


Andrés Fernando Yacopino

Infraestructura - Dpto Sistemas

AcaSalud

Cooperativa de Prestaciones Médico Asistenciales Limitada

Tel: 0341-4208726

ayacop...@acasalud.com.ar



Stephan Bosch escribió:

Andrés Yacopino wrote:

I am testing yet this version of sieve with dovecot  1.2 beta
I have done in dovecot.conf:

protocols = imap imaps pop3 pop3s managesieve
mail_plugins = quota sieve
sieve_before = /usr/local/etc/sieve/global/.global.dovecot.sieve

more /usr/local/etc/sieve/global/.global.dovecot.sieve:

require "fileinto";
if exists "X-Spam-Flag" { fileinto "spam"; }

I have found that i need a personal script in the home directory to 
execute this global script, if the user script isn't exists this 
before script is not run.


Personal script:

more .dovecot.sieve:

require "include";

I am planning to use this to filter spam in a global script and 
deploy managed sieve with avelsize plugin with squirrelmail to let 
users configure their vacation messages


I would prefer to have independent global scripts from personal scripts.

Yes, this problem was pointed out before. For now, you can work around 
this by setting a sieve_global_path= pointing to a script containing 
only 'keep;'. This makes sure the global script is executed, because 
then there is a default alternative for the personal script if it is 
missing for a particular user.


I'll fix this in the course of this week.

Regards,

Stephan.


Re: [Dovecot] Compiling v1.3 on different OSes

2009-04-08 Thread Andrés Yacopino

Timo, it is compiling well now in Solaris 10 for Sparc with gcc 3.4.3.

I was compiling the old version (i was downloading from a proxy with the 
old version), sorry.


Greetings,

Andrés Fernando Yacopino

Infraestructura - Dpto Sistemas

AcaSalud

Cooperativa de Prestaciones Médico Asistenciales Limitada

Tel: 0341-4208726

ayacop...@acasalud.com.ar



Andrés Yacopino escribió:

Timo:

I do it in  Solaris 10 8/07 s10s_u4wos_12b SPARC with gcc (GCC) 3.4.3:

CFLAGS='-mcpu=v9 -mtune=ultrasparc3 -O2 -pipe'

CPPFLAGS=' -I/usr/local/include -I/usr/local/apache/include 
-I/usr/local/BerkeleyDB.4.2/include -I/usr/local/ssl/include/openssl 
-I/usr/local/include/mutils -I/usr/sfw/include -I/usr/include'


LDFLAGS='-L/usr/local/lib -R/usr/local/lib -L/usr/local/apache/lib 
-R/usr/local/apache/lib -L/usr/local/BerkeleyDB.4.2/lib 
-L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib 
-R/usr/local/BerkeleyDB.4.2/lib -L/usr/local/ssl/lib 
-R/usr/local/ssl/lib -L/usr/local/lib -R/usr/local/lib -L/usr/sfw/lib 
-R/usr/sfw/lib -L/lib -R/lib -L/usr/lib -R/usr/lib'



./configure --with-ldap

make


I get:

Undefined   first referenced
symbol in file
libiconv_close  ../lib-dovecot/.libs/libdovecot.so
libiconv_open   ../lib-dovecot/.libs/libdovecot.so
libiconv../lib-dovecot/.libs/libdovecot.so
ld: fatal: Symbol referencing errors. No output written to 
.libs/dovecot-auth

collect2: ld returned 1 exit status
make[3]: *** [dovecot-auth] Error 1
make[3]: Leaving directory 
`/export/software/dovecot1.3/dovecot-1.3.UNSTABLE/src/auth'

make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/export/software/dovecot1.3/dovecot-1.3.UNSTABLE/src'

make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/export/software/dovecot1.3/dovecot-1.3.UNSTABLE'

make: *** [all] Error 2

Is this the version which has been repaired from iconv problems?
Look down your post, i downloaded it from there.

Andrés Fernando Yacopino

Infraestructura - Dpto Sistemas

AcaSalud

Cooperativa de Prestaciones Médico Asistenciales Limitada

Tel: 0341-4208726

ayacop...@acasalud.com.ar



Timo Sirainen escribió:

On Mon, 2009-04-06 at 14:08 -0400, Timo Sirainen wrote:
 

http://dovecot.org/tmp/dovecot-1.3.UNSTABLE.tar.gz



OK, updated the URL once more. Now iconv problems should be gone? And
everyone else is happy with it too? :)

  


[Dovecot] Global Sieve File

2009-04-08 Thread Andrés Yacopino

I am testing yet this version of sieve with dovecot  1.2 beta
I have done in dovecot.conf:

protocols = imap imaps pop3 pop3s managesieve
mail_plugins = quota sieve
sieve_before = /usr/local/etc/sieve/global/.global.dovecot.sieve

more /usr/local/etc/sieve/global/.global.dovecot.sieve:

require "fileinto";
if exists "X-Spam-Flag" { fileinto "spam"; }

I have found that i need a personal script in the home directory to 
execute this global script, if the user script isn't exists this before 
script is not run.


Personal script:

more .dovecot.sieve:

require "include";

I am planning to use this to filter spam in a global script and deploy 
managed sieve with avelsize plugin with squirrelmail to let users 
configure their vacation messages


I would prefer to have independent global scripts from personal scripts.

Greetings,

Andrés Fernando Yacopino

Infraestructura - Dpto Sistemas

AcaSalud

Cooperativa de Prestaciones Médico Asistenciales Limitada

Tel: 0341-4208726

ayacop...@acasalud.com.ar



James Butler escribió:

Is anyone here using a global Sieve file that handles messages for an
entire server with many users? I understand and use local Sieve files, but
I would like to learn more about how to set up Sieve to filter ALL
incoming messages using a single file. I would love to read about how you
managed to get it working.

I'm running Fedora 10 with Postfix 2.5.5 and Dovecot 1.2.rc2.

Thanks for any insight!

James
  


Re: [Dovecot] Compiling v1.3 on different OSes

2009-04-08 Thread Andrés Yacopino

Timo:

I do it in  Solaris 10 8/07 s10s_u4wos_12b SPARC with gcc (GCC) 3.4.3:

CFLAGS='-mcpu=v9 -mtune=ultrasparc3 -O2 -pipe'

CPPFLAGS=' -I/usr/local/include -I/usr/local/apache/include 
-I/usr/local/BerkeleyDB.4.2/include -I/usr/local/ssl/include/openssl 
-I/usr/local/include/mutils -I/usr/sfw/include -I/usr/include'


LDFLAGS='-L/usr/local/lib -R/usr/local/lib -L/usr/local/apache/lib 
-R/usr/local/apache/lib -L/usr/local/BerkeleyDB.4.2/lib 
-L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib 
-R/usr/local/BerkeleyDB.4.2/lib -L/usr/local/ssl/lib 
-R/usr/local/ssl/lib -L/usr/local/lib -R/usr/local/lib -L/usr/sfw/lib 
-R/usr/sfw/lib -L/lib -R/lib -L/usr/lib -R/usr/lib'



./configure --with-ldap

make


I get:

Undefined   first referenced
symbol in file
libiconv_close  ../lib-dovecot/.libs/libdovecot.so
libiconv_open   ../lib-dovecot/.libs/libdovecot.so
libiconv../lib-dovecot/.libs/libdovecot.so
ld: fatal: Symbol referencing errors. No output written to 
.libs/dovecot-auth

collect2: ld returned 1 exit status
make[3]: *** [dovecot-auth] Error 1
make[3]: Leaving directory 
`/export/software/dovecot1.3/dovecot-1.3.UNSTABLE/src/auth'

make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/export/software/dovecot1.3/dovecot-1.3.UNSTABLE/src'

make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/export/software/dovecot1.3/dovecot-1.3.UNSTABLE'

make: *** [all] Error 2

Is this the version which has been repaired from iconv problems?
Look down your post, i downloaded it from there.

Andrés Fernando Yacopino

Infraestructura - Dpto Sistemas

AcaSalud

Cooperativa de Prestaciones Médico Asistenciales Limitada

Tel: 0341-4208726

ayacop...@acasalud.com.ar



Timo Sirainen escribió:

On Mon, 2009-04-06 at 14:08 -0400, Timo Sirainen wrote:
  

http://dovecot.org/tmp/dovecot-1.3.UNSTABLE.tar.gz



OK, updated the URL once more. Now iconv problems should be gone? And
everyone else is happy with it too? :)

  


Re: [Dovecot] Dovecot 1.2 beta1 in Solaris 10 for sparc, error reading maildir format?

2009-03-26 Thread Andrés Yacopino

I have to say that i am using gccfss (Gcc for Solaris Sparc):

gcc --version
sparc-sun-solaris2.10-gcc (GCC) 4.2.0 (gccfss)
Copyright (C) 2007 Free Software Foundation, Inc.

Then i realized that i was missing some libraries for gccfss in my 
LDFLAGS like:


-L/usr/local/gccfs/gcc/lib/gcc/sparc-sun-solaris2.10/4.2.0 
-R/usr/local/gccfs/gcc/lib/gcc/sparc-sun-solaris2.10/4.2.0 
-L/usr/local/gccfss/SUNW0scgfss/4.2.0/prod/lib 
-R/usr/local/gccfss/SUNW0scgfss/4.2.0/prod/lib


And some enviroment variables:

SUNW_SCGFSS_PATH=/usr/local/gccfss/SUNW0scgfss
export SUNW_SCGFSS_PATH

After putting then, dovecot isn't compiling any more.

So i will stick with standard gcc.
Sorry for your time,
Greetings

Andrés Fernando Yacopino

Infraestructura - Dpto Sistemas

AcaSalud

Cooperativa de Prestaciones Médico Asistenciales Limitada

Tel: 0341-4208726

ayacop...@acasalud.com.ar



Timo Sirainen escribió:

On Mar 25, 2009, at 10:05 AM, Andrés Yacopino wrote:


Timo, well i have change this (to erase optimization flags):

CFLAGS='-xtarget=ultra3 -xarch=v8plusa -fast'
to this:
CFLAGS='-xtarget=ultra3 -xarch=v8plusa -pipe'

Then recompile everything (dovecot 1.2beta2 with 
dovecot-1.2.beta1-managesieve-0.11.3.diff.gz patch, 
dovecot-1.2-sieve-0.1.3 and dovecot-1.2-managesieve-0.11.3.(same 
versions as before)


Now it is working right, can it be something is this optimization 
flag (-fast) that it is breaking something.


It wouldn't be the first time when Sun CC's optimizer bug has broken 
Dovecot. I guess it might even be the same bug.


Re: [Dovecot] Dovecot 1.2 beta1 in Solaris 10 for sparc, error reading maildir format?

2009-03-25 Thread Andrés Yacopino

Timo, well i have change this (to erase optimization flags):

CFLAGS='-xtarget=ultra3 -xarch=v8plusa -fast'
to this:
CFLAGS='-xtarget=ultra3 -xarch=v8plusa -pipe'

Then recompile everything (dovecot 1.2beta2 with 
dovecot-1.2.beta1-managesieve-0.11.3.diff.gz patch, 
dovecot-1.2-sieve-0.1.3 and dovecot-1.2-managesieve-0.11.3.(same 
versions as before)


Now it is working right, can it be something is this optimization flag 
(-fast) that it is breaking something.


Thanks,

Andres.

Andrés Fernando Yacopino


Timo Sirainen escribió:

On Wed, 2009-03-18 at 13:38 -0300, Andrés Yacopino wrote:
  

I guess i have done well the debug, here it goes:



Almost.

  

#0  0x000a0384 in mail_index_map ()
(gdb) bt full
#0  0x000a0384 in mail_index_map ()



This gives some kind of an idea, but still there's a lot of code that
makes it difficult to guess where the problem is without debugging
symbols. Especially because I'm using Dovecot with Solaris 10 Sparc
without problems.

Could you compile Dovecot without -O2 (or whatever optimization flags if
you're using Sun CC) and without stripping debugging symbols from the
binaries? For example with gcc I'd do:

CFLAGS="-g" ./configure
  


Re: [Dovecot] Dovecot 1.2 beta1 in Solaris 10 for sparc, error reading maildir format?

2009-03-18 Thread Andrés Yacopino

I guess i have done well the debug, here it goes:

-bash-3.00# gdb /usr/local/libexec/dovecot/imap ./core
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>

This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.10"...
Reading symbols from /usr/local/lib/libiconv.so.2...done.
Loaded symbols for /usr/local/lib/libiconv.so.2
Reading symbols from /lib/librt.so.1...done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libsocket.so.1...done.
Loaded symbols for /lib/libsocket.so.1
Reading symbols from /lib/libsendfile.so.1...done.
Loaded symbols for /lib/libsendfile.so.1
Reading symbols from /lib/libc.so.1...done.
Loaded symbols for /lib/libc.so.1
Reading symbols from /usr/sfw/lib/libgcc_s.so.1...done.
Loaded symbols for /usr/sfw/lib/libgcc_s.so.1
Reading symbols from /lib/libaio.so.1...done.
Loaded symbols for /lib/libaio.so.1
Reading symbols from /lib/libmd.so.1...done.
Loaded symbols for /lib/libmd.so.1
Reading symbols from /platform/SUNW,Sun-Fire-280R/lib/libc_psr.so.1...done.
Loaded symbols for /platform/SUNW,Sun-Fire-280R/lib/libc_psr.so.1
Reading symbols from 
/usr/local/lib/dovecot/imap/lib10_quota_plugin.so...done.

Loaded symbols for /usr/local/lib/dovecot/imap/lib10_quota_plugin.so
Reading symbols from /lib/librpcsvc.so.1...done.
Loaded symbols for /lib/librpcsvc.so.1
Reading symbols from /platform/SUNW,Sun-Fire-280R/lib/libmd_psr.so.1...done.
Loaded symbols for /platform/SUNW,Sun-Fire-280R/lib/libmd_psr.so.1
Reading symbols from /lib/libscf.so.1...done.
Loaded symbols for /lib/libscf.so.1
Reading symbols from /lib/libdoor.so.1...done.
Loaded symbols for /lib/libdoor.so.1
Reading symbols from /lib/libuutil.so.1...done.
Loaded symbols for /lib/libuutil.so.1
Reading symbols from /lib/libgen.so.1...done.
Loaded symbols for /lib/libgen.so.1
Reading symbols from /lib/libmp.so.2...done.
Loaded symbols for /lib/libmp.so.2
Reading symbols from 
/usr/local/lib/dovecot/imap/lib11_imap_quota_plugin.so...done.

Loaded symbols for /usr/local/lib/dovecot/imap/lib11_imap_quota_plugin.so
Reading symbols from /lib/ld.so.1...done.
Loaded symbols for /lib/ld.so.1
Core was generated by `imap [ayacopino 127.0.0.1]'.
Program terminated with signal 10, Bus error.
[New process 88850]
#0  0x000a0384 in mail_index_map ()
(gdb) bt full
#0  0x000a0384 in mail_index_map ()
No symbol table info available.
#1  0x0009c07c in mail_index_try_open ()
No symbol table info available.
#2  0x0009c45c in mail_index_open ()
No symbol table info available.
#3  0x000819d0 in index_storage_mailbox_open ()
No symbol table info available.
#4  0x00081e9c in index_storage_mailbox_init ()
No symbol table info available.
#5  0x00042330 in maildir_open ()
No symbol table info available.
#6  0x00042654 in maildir_mailbox_open ()
No symbol table info available.
#7  0xfefbb06c in quota_mailbox_open ()
  from /usr/local/lib/dovecot/imap/lib10_quota_plugin.so
No symbol table info available.
#8  0x0008f710 in mailbox_open ()
No symbol table info available.
#9  0x0002a74c in cmd_select_full ()
No symbol table info available.
#10 0x0002ac70 in cmd_select ()
No symbol table info available.
---Type  to continue, or q  to quit---
#11 0x0002d744 in client_command_input ()
No symbol table info available.
#12 0x0002d9b4 in client_command_input ()
No symbol table info available.
#13 0x0002eae8 in client_handle_input ()
No symbol table info available.
#14 0x0002ecc4 in client_input ()
No symbol table info available.
#15 0x000efad0 in io_loop_handler_run ()
No symbol table info available.
#16 0x000eee20 in io_loop_run ()
No symbol table info available.
#17 0x0003a290 in main ()
No symbol table info available

Thanks, greetings,

Andrés Fernando Yacopino

Infraestructura - Dpto Sistemas

AcaSalud

Cooperativa de Prestaciones Médico Asistenciales Limitada

Tel: 0341-4208726

ayacop...@acasalud.com.ar



Timo Sirainen escribió:

On Mar 17, 2009, at 9:08 AM, Andrés Yacopino wrote:

acamail dovecot: [ID 583609 mail.error] child 3322 (imap) killed with 
signal 10


Can you get gdb (or dbx) backtrace? http://dovecot.org/bugreport.html


[Dovecot] Dovecot 1.2 beta1 in Solaris 10 for sparc, error reading maildir format?

2009-03-17 Thread Andrés Yacopino

Greetings, i have installed dovecot 1.2beta1.
I get an error like (in folders from squirrelmail):

-* ERROR: Connection terminated by IMAP SERVER".*Query: SELECT "INBOX"
-* ERROR: Connection terminated by IMAP SERVER** *Query: STATUS "INBOX" 
(MESSAGES UNSEEN RECENT)


in syslog i get:

acamail dovecot: [ID 583609 mail.error] child 3322 (imap) killed with 
signal 10


In happens with all mail (from dovecot 1.1 maildir) and with new mail.

For example, i have deleted all the maildirs folders, then i sent two 
mails, the first one, i am able to read the first one from Sent Folder, 
but when i sent the second one, the Sent Folder give me an error (and it 
can't be readed):


*-ERROR: Connection terminated by IMAP SERVER*
Query: SELECT "Enviados" 


(Sent Folder)

The problem is the same with outlook express.

Is there some bug related with this version?.

I will try 1.2 beta 2 and let you know how it goes.

Greetings,

--

Andrés Fernando Yacopino

Infraestructura - Dpto Sistemas

AcaSalud

Cooperativa de Prestaciones Médico Asistenciales Limitada

Tel: 0341-4208726

ayacop...@acasalud.com.ar


Re: [Dovecot] Compilation of dovecot-1.2-sieve-0.1.3 under Solaris 10 for Sparc

2009-03-11 Thread Andrés Yacopino

Andrés Yacopino escribió:

Well i managed to solve this doing:

Delete "-Wl,--start-group" from:
- src/sieve-tools/Makefile
- src/sieve-tools/Makefile.in
- src/testsuite/Makefile
- src/testsuite/Makefile.in

Delete Libraries (as you did) in:
 libs = \
- $(STORAGE_LIBS) \
- $(dovecot_incdir)/src/lib-storage/libstorage.a \
- $(dovecot_incdir)/src/lib-index/libindex.a \
- $(dovecot_incdir)/src/lib-imap/libimap.a \
- $(dovecot_incdir)/src/lib-mail/libmail.a \
- $(dovecot_incdir)/src/lib-charset/libcharset.a \
- $(dovecot_incdir)/src/lib/liblib.a
+ $(STORAGE_LIBS)
in files:

- src/sieve-tools/Makefile
- src/sieve-tools/Makefile.in
- src/testsuite/Makefile
- src/testsuite/Makefile.in

Of course replacing Makefile.am with your versions previously.

Thanks a lot,

Andrés Fernando Yacopino

Infraestructura - Dpto Sistemas

AcaSalud

Cooperativa de Prestaciones Médico Asistenciales Limitada

Tel: 0341-4208726

ayacop...@acasalud.com.ar



Andrés Yacopino escribió:

I have put your two files but i got the same error:

/usr/ccs/bin/ld: illegal option -- start-group

I search in directories and i found this option in:

src/sieve-tools:

Makefile:sievec_LDFLAGS = -export-dynamic -Wl,--start-group
Makefile:sieved_LDFLAGS = -export-dynamic -Wl,--start-group
Makefile:sieve_test_LDFLAGS = -export-dynamic -Wl,--start-group
Makefile.in:sievec_LDFLAGS = -export-dynamic -Wl,--start-group
Makefile.in:sieved_LDFLAGS = -export-dynamic -Wl,--start-group
Makefile.in:sieve_test_LDFLAGS = -export-dynamic -Wl,--start-group

src/testsuite:

Makefile:testsuite_LDFLAGS = -export-dynamic -Wl,--start-group
Makefile.in:testsuite_LDFLAGS = -export-dynamic -Wl,--start-group

I am doing something wrong?

I compile with:

make clean

./configure --with-dovecot=/export/software/dovecot1.2/dovecot-1.2

make


Thanks

Andrés Fernando Yacopino



Stephan Bosch escribió:

Andrés Yacopino wrote:
 
I am trying to compile Dovecot Sieve, when i execute the command 
make i

get this error:

/usr/ccs/bin/ld: illegal option -- start-group


This flag is useless when libraries are offered in the correct order. I
thought I removed all of these, but apparently I didn't.

This should fix it:

http://hg.rename-it.nl/dovecot-libsieve/rev/45c04b2fe529

If you confirm I can make a new release. I may not get around to doing
that until the 15th when I return from another time zone. All 
depends on

whether I have proper internet access there.

Regards,

Stephan.
  


Re: [Dovecot] Compilation of dovecot-1.2-sieve-0.1.3 under Solaris 10 for Sparc

2009-03-11 Thread Andrés Yacopino

I have put your two files but i got the same error:

/usr/ccs/bin/ld: illegal option -- start-group

I search in directories and i found this option in:

src/sieve-tools:

Makefile:sievec_LDFLAGS = -export-dynamic -Wl,--start-group
Makefile:sieved_LDFLAGS = -export-dynamic -Wl,--start-group
Makefile:sieve_test_LDFLAGS = -export-dynamic -Wl,--start-group
Makefile.in:sievec_LDFLAGS = -export-dynamic -Wl,--start-group
Makefile.in:sieved_LDFLAGS = -export-dynamic -Wl,--start-group
Makefile.in:sieve_test_LDFLAGS = -export-dynamic -Wl,--start-group

src/testsuite:

Makefile:testsuite_LDFLAGS = -export-dynamic -Wl,--start-group
Makefile.in:testsuite_LDFLAGS = -export-dynamic -Wl,--start-group

I am doing something wrong?

I compile with:

make clean

./configure --with-dovecot=/export/software/dovecot1.2/dovecot-1.2

make


Thanks

Andrés Fernando Yacopino



Stephan Bosch escribió:

Andrés Yacopino wrote:
  

I am trying to compile Dovecot Sieve, when i execute the command make i
get this error:

/usr/ccs/bin/ld: illegal option -- start-group


This flag is useless when libraries are offered in the correct order. I
thought I removed all of these, but apparently I didn't.

This should fix it:

http://hg.rename-it.nl/dovecot-libsieve/rev/45c04b2fe529

If you confirm I can make a new release. I may not get around to doing
that until the 15th when I return from another time zone. All depends on
whether I have proper internet access there.

Regards,

Stephan.
  


[Dovecot] Compilation of dovecot-1.2-sieve-0.1.3 under Solaris 10 for Sparc

2009-03-05 Thread Andrés Yacopino
I am trying to compile Dovecot Sieve, when i execute the command make i 
get this error:


/usr/ccs/bin/ld: illegal option -- start-group

The configure sentence was :

./configure --with-dovecot=/export/software/dovecot1.2/dovecot-1.2

And it finishes right.

I have succesfully compile dovecot 1.2 beta 1 source with 
dovecot-1.2-managesieve-0.11.3 patch.


Thanks,
--

Andrés Fernando Yacopino

Infraestructura - Dpto Sistemas

AcaSalud

Cooperativa de Prestaciones Médico Asistenciales Limitada

Tel: 0341-4208726

ayacop...@acasalud.com.ar


Re: [Dovecot] Sieve and global scripts

2008-11-28 Thread Andrés Yacopino

Hi Stephan I will love this feature too.

Allan, could you give some example of your wrapper.
Thanks,

Andres

Allan Cassaro escribió:

Hi Stephan Bosch,

there's any way to make the dovecot deliver agent (with sieve) load a
"global sieve script" before load the user sieve file?
I want to create some rules for every one, like: "if header contais:
IS SPAM, move to SPAM BOX"...
I made this today with a couple of "sed + awk" and a wraper for
managesieve-login... but, this is definily not the best way to do
this...

This is possible to do? (Even with change in the code)

Regards.

  


[Dovecot] Global Script to filter Spam

2008-07-08 Thread Andrés Yacopino

Dovecot Version: 1.1.1 with sieve and managesieve configured.

I want to filter spam with the subject *SPAM* to a spam folder for all 
users, and i also want users to have personal sieve scripts (like vacation).


I have configured Squirrelmail, dovecot manage sieve and avelsieve 
plugin in squirrelmail to do that.


The problem is that the user home 's scripts are replaced with the 
avelsieve plugin script did it in the web interface and the 
configuration of .dovecot.sieve calling the global script is lost.


Is there any other way to call a global script for all users not 
depending in the user script?



Thanks

Andrés Fernando Yacopino