Re: [Dovecot] Sieve problem: No vacation message when mail is addressed to an alias of the mailbox.

2009-07-15 Thread M. Bobkiewicz

Pascal Volk schrieb:

On 07/13/2009 10:06 AM M. Bobkiewicz wrote:

Hi,
I?m facing here a wierd problem: We have a vacation messaging system 
using sieve. When activated the system forwards incomming messages to a 
given address and sents an out of office reply to the sender. This works 
like a charm when the mail is addressed to mail...@domain. When the 
incomming mail ist addressed to alias.to.mail...@domain the mail is 
delivered to the mailbox, it is forwarded to the given reciepient but 
there is no auto reply going out to the sender!
Our setup: CentOS 5.2 + postfix 2.5.6 + dovecot 1.1.11 with domain and 
accounts stored in a mysql database.

The script:

require ["fileinto", "vacation"];
redirect "mailb...@domain";
keep;
vacation
 :days 1
 :subject "Out of Office reply"
"
The auto reply text.

";

Any advice is welcome,



You have to add the alias addresses to the :addresses list. For example:

require ["fileinto", "vacation"];
redirect "mailb...@domain";
keep;
vacation
 :days 1
 :subject "Out of Office reply"
 :addresses ["1st.al...@domain", "2nd.al...@domain"]
"
The auto reply text.

";

See also: <http://wiki.dovecot.org/LDA/Sieve#Vacation_auto-reply-1>




First of all thanks for the hint, it works. Second, nice to see the 
discussion, we did have the same here at my location when I told my boss 
about the reason for the error...


Regards,

  Mike


[Dovecot] Sieve problem: No vacation message when mail is addressed to an alias of the mailbox.

2009-07-13 Thread M. Bobkiewicz

Hi,
I?m facing here a wierd problem: We have a vacation messaging system 
using sieve. When activated the system forwards incomming messages to a 
given address and sents an out of office reply to the sender. This works 
like a charm when the mail is addressed to mail...@domain. When the 
incomming mail ist addressed to alias.to.mail...@domain the mail is 
delivered to the mailbox, it is forwarded to the given reciepient but 
there is no auto reply going out to the sender!
Our setup: CentOS 5.2 + postfix 2.5.6 + dovecot 1.1.11 with domain and 
accounts stored in a mysql database.

The script:

require ["fileinto", "vacation"];
redirect "mailb...@domain";
keep;
vacation
:days 1
:subject "Out of Office reply"
"
The auto reply text.

";

Any advice is welcome,

Best regards,

 Mike


[Dovecot] Problem with sieve and german umlauts

2009-06-29 Thread M. Bobkiewicz

Dear list,
I?m running a postfix (2.5.6) / Dovecot (1.1.11) on a Centos 5.2 box. 
I?ve written a small gui application to simply create Out of Office 
replys with sieve. The resulting code did work with maildrop without any 
problems. Now sieve fails when it meets any german umlauts like ä or ü. 
It just stops compiling the scripts and complains about the missing 
"};". A simple fix is to just replace the umlauts, but that doesn?t meet 
the expectations of my users. Is there any escape code I could use or 
any way to place the mail text outside the script?


Best regards,

 Mike


Re: [Dovecot] Outlook cant connect to POP server.

2008-04-01 Thread M. Bobkiewicz

Hi,
Fábio M. Catunda schrieb:

Hi,

I'm having a weir situation with MS Outlook and dovecot. I'm using POP 
for some users, some can connect, others cant.



have you tried to telnet to the mail server from the client machine?


With tcpdump I got this packet coming from client to server:

2008-03-31 18:30:20.913718 IP (tos 0x0, ttl 128, id 1082, offset 0, 
flags [DF], proto: TCP (6), length: 48) 192.168.12.9.1072 > 
192.168.5.124.110: S, cksum 0x90db (correct), 2564735473:2564735473(0) 
win 65535 

E..0.:@...c ...|.0.np...

But the server never give an answer.

Looks to me as the client and the server are on different sub nets. Have 
you checked the routing table of the server? Does your server have more 
than one network interface and sends its answer on the other interface?


I don't have any idea why the server do not answer, in error.log and 
info.log I got nothing.


Dovecot version: 1.0.rc15-2etch3 (Debian package)

And those are the workarrounds that I enabled:
 pop3_client_workarounds = outlook-no-nuls oe-ns-eoh

I'm kind of lost, any tip is appreciated!

Thanks!


Greetings,

 Mike


Re: [Dovecot] outlook2007 shows frequent imap disconnect no matter what outlook-idle setting in dovecot.conf

2008-03-28 Thread M. Bobkiewicz

Hi Sam,

Samuel HAMEAU schrieb:

Scott Silva a écrit :

on 3-26-2008 1:33 AM Kielbasiewicz, Peter spake the following:

Hello,
I saw the problem quite often in various posts but could not find a 
real solution .
Problem is that I frequently get annoying popups from outlook 2007 
about imap idle timeouts which block working with outlook until the 
popup is acknowledged.


The popup says:
 Your IMAP server closed the connection. This can occur if you leave 
the connection idle for too long.

 Protocol: IMAP
 Server: testhost
 Port: 143
 Error Code: 0x800CCCDD

I tried to run dovecot with or without  "imap_client_workarounds = 
outlook-idle" but do not see any difference.
I am running dovecot on Red Hat Enterprise Linux Client release 5.1 
(Tikanga).

Below is the output of some commands to get a clue about my config.

Background info:
Our primary mailboxes are on exchange servers.
As there is a size limit on the server mailboxes I am evaluating a 
local storage solution for our users.

Thus  I set up an additional mailbox in outlook using IMAP.
Local .pst files can not be backuped easily (especially when outlook 
is running) and I am investigating a local IMAP server where users 
can move their mails to. This server can easily be backuped (even 
incrementally when using Maildir) and users do  always have access to 
their mails.
The drawbacks are that users must have an extra login to the imap 
server because I have no ldap access to the company AD server from 
our local site domain.
The solution will not be accepted though if I can not prevent the 
frequent disconnect popups.


Peter


#dovecot --version
1.0.rc15
First try upgrading to a more current version. 1.0.rc15 has got to be 
a year old by now. You can get a newer rpm at atrpms.net.




I do have the same problem with dovecot 1.0.10 : disconnection popups 
with Outlook 2003/2007 with this kind of line in the logs:
dovecot: 2008-03-26 15:16:01 Info: IMAP(user): Connection closed: 
Connection reset by peer


sam


in my experience it´s a general Outlook problem, no matter which 
version. I´ve seen this with uw and courier imap. I think it is related 
to the way how MS handles idle timeouts...


Greetings,

 Mike



Re: [Dovecot] Missing folders after converting from Courier imap to dovecot

2008-03-19 Thread M. Bobkiewicz

Abhijit Hoskeri schrieb:

On Wed, Mar 19, 2008 at 12:21:52PM +0100, M. Bobkiewicz wrote:

Any help and suggestion would be welcome.


Please refer to this page. It has the script you need.

http://wiki.dovecot.org/Migration/Courier


Thx a lot for the quick reply, had overlooked the link.

Best regards,

 Mike


-Abhijit




[Dovecot] Missing folders after converting from Courier imap to dovecot

2008-03-19 Thread M. Bobkiewicz

Hi,
I?ve searched around for my problem but couldn?t find a solution. My 
setup: Centos 5.1 with postfix 2.5.1 (from source) and dovecot 1.0.10 
(from source). I?m coming from an old Trustix 2.2 box with postfix 2.2.x 
and Courier imap with Maildir format mailboxes. For testing I?ve copied 
over some of the mailboxes from the old machine. After logging in to the 
new machine with Thunderbird only the incoming and trash folders appear 
in the Thunderbird sidebar all the rest are not showing up. When you 
send an email the sent folder appears with all mails this account has 
sent from the old machine, same with drafts etc. Access a folder 
directly and it will appear with all it?s content. This is some kind of 
nasty if you have to do this for several hundred folders.
I?ve tried to fix the problem by changing the namespace private 
parameter "prefix" to ".". Also tried to rename courierimapuiddb to 
dovecot-uidlist. Both tricks don?t work. Unfortunately I can?t find the 
mentioned courier-dovecot-migrate.pl, maybe this would help...

Any help and suggestion would be welcome.

Best regards,

Mike