Re: [Dovecot] multiple password schemes and sql?

2008-08-26 Thread Timo Sirainen
On Tue, 2008-08-26 at 13:42 +0800, R A wrote:
 Is there any variable I can use in the sql query to use an extra field
 that contains the password type?

You could use %m which expands to the used mechanism name.



signature.asc
Description: This is a digitally signed message part


[Dovecot] Multiple network interface question

2008-08-26 Thread Mike Henry

Hi all,

Sorry if this question has been posted before. I have dug through the  
archives but haven't found any relevant answers to this question.


I am running Dovecot on a server that serves a number of (virtual)  
domains each with a number of (virtual) users.


To read mail I am providing a webmail client and have configured HTTPS  
connections using reverse DNS so that each domain has its own IP  
address and that each IP address gets mapped to a different virtual  
host. Each virtual host presents and HTTPS connection particular to  
their own domain using the SSL certificate for that domain so that  
each user only sees his or her own domain throughout.


Is it possible to configure Dovecot so that mail-clients like  
Thunderbird or Outlook can connect via the default port using their  
own domain (maybe also using reverse DNS) and be presented with an SSL  
connection particular to that domain (i.e. using that domains  
certificate)?


Any comments welcome.

Thanks in advance,

-Mike


Re: [Dovecot] namespaces...

2008-08-26 Thread John Doe
 The SEPARATOR should just refer to the storage structure and the PREFIX 
 should refer to the hierarchy. So if you use / as your SEPARATOR, then 
 your storage structure will be user-directory/folder/sub-folder and if 
 you use . as your storage structure (the default), then your storage 
 structure will be user-directory/.folder.sub-folder . A PREFIX of INBOX. 
 should cause all of the folders  sub-folders to appear under the inbox; 
 a PREFIX of . should cause all of the folders to appear at the top 
 level; and a PREFIX of Mail. will should all of the folders to appear 
 under Mail with the exception of the INBOX.

Thx for your long post!  ^_^
I understood that it was something like 
.prefixseparatorfolder1separatorfolder2
But, from my tests, it seems not to work as expected...  At least not with 
thunderbird.
By default, Tbird has allow server to override namespaces
prefix=INBOX. and separator=.  = no prefix and Trash system not working.
prefix= and separator=.  = INBOX. prefix (from tbird) and Trash system working.
'/' in prefix and separator seems to be ignored (converted to '.').
I guess I will leave it to prefix= and separator=. but one user who uses apple 
mail complained about some prefix problems...

Thx,
JD


  



Re: [Dovecot] Dovecot 1.1.2

2008-08-26 Thread Lauri Jesmin
Ühel kenal päeval, E, 2008-08-25 kell 10:59, kirjutas CJ Keist:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Lauri,
This is a known bug. You can search the dovecot mailing list for
 assertion.  I'm running on Solaris 10 and see the same errors.  So far
 it doesn't look to be causing my users any problems.  I also did apply
 the patch:
 
 
 http://hg.dovecot.org/dovecot-1.1/rev/d674c05d725d
 

I am not sure if this patch helped, but i downgraded dovecot to 1.0.15,
this does not generate new problems. 

It seems that UID-s break in mailboxes and then thunderbird is starting
to show wrong information - UID-s in it's cache do not match those which
are in real mailbox and e-mail get wrong information about user and
subject. 

-- 
Lauri Jesmin [EMAIL PROTECTED]
Tartu Ülikool



[Dovecot] Custom Debian package bulding

2008-08-26 Thread Juan Asensio Sánchez
Hi

I am using Debian source packages from http://xi.rename-it.nl/debian/.
When downloading dependencies, I have seen that the package requires
MySQL, that I don't use. How could I remove this dependency or chanage
them? Is that defined in any file?

However, I would like to use SQLite or Postgres to store dict data for
the Expire plugin. Where should I enable these flags?

Thanks.


[Dovecot] unclear alias behaviour

2008-08-26 Thread andel
Hi all

In /etc/aliases I have set up an alias for root pointing to david which
is a unix account.
Other email accounts are virtual dovecot accounts, one of them is andel.
They all work fine using /etc/postfix/virtual when used with the domain
name which is defined in /etc/postfix/virtual.domains.
But the alias david andel in /etc/postfix/virtual does work only when
sending to [EMAIL PROTECTED] but not for the local mails sent to root.

And then there is another behaviour I don't understand. In my virtual mail
folder /srv/vmail/domain.com dovecot made a new directory structure david
which I didn't intend, for postfix should rewrite it to andel.

Where is the error?
Thanks for any hints, David


[Dovecot] vacation replies

2008-08-26 Thread CJ Keist
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,
   Another wrinkle with vacation replies. I have user forwarding their
mail from one domain to our mail server with the vacation reply set.
Here is the dovecot script file:

require [fileinto, vacation];

# BEGIN VACATION
vacation
:days 30
:from [EMAIL PROTECTED]
:addresses [[EMAIL PROTECTED], [EMAIL PROTECTED]]
** OUT OF THE OFFICE ***

I am on research cruise and will be out of office till Sept. 8th.
I will respond to your email when I return. If you need to
contact me before then, please send short (10kB) email to
[EMAIL PROTECTED]  This email is sent by automated responder.

Dr. Joe

*;

domainA would be my server with dovecot installed. Sending to
[EMAIL PROTECTED] works fine and the vacation reply is sent. But if I send to
[EMAIL PROTECTED] there is no vacation reply sent.  It doesn't even create the
.dovecot.lda-dupes file.
The log files shows that it is running the sieve script but nothing
else.  I thought the addresses line allowed you to state that these
addresses are good source email addresses to send the reply to.

Running dovecot 1.1.2 with Sieve 1.1.5


- --
C. J. Keist Email: [EMAIL PROTECTED]
UNIX/Network ManagerPhone: 970-491-0630
Engineering Network ServicesFax:   970-491-5569
College of Engineering, CSU
Ft. Collins, CO 80523-1301

All I want is a chance to prove 'Money can't buy happiness'
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFItElZA29OFr7C6jcRAtFhAJ9RQHVihxBBG71A6aaYPmCSYj6KHACfVchs
3NBx0Br0YnIO0uhjbss+/xc=
=ZCSO
-END PGP SIGNATURE-


Re: [Dovecot] vacation replies

2008-08-26 Thread CJ Keist
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Disregard this.

The user had a type-o in his email address for the domainB part!!

Sorry for the noise.


CJ Keist wrote:
 Hello,
Another wrinkle with vacation replies. I have user forwarding their
 mail from one domain to our mail server with the vacation reply set.
 Here is the dovecot script file:
 
 require [fileinto, vacation];
 
 # BEGIN VACATION
 vacation
 :days 30
 :from [EMAIL PROTECTED]
 :addresses [[EMAIL PROTECTED], [EMAIL PROTECTED]]
 ** OUT OF THE OFFICE ***
 
 I am on research cruise and will be out of office till Sept. 8th.
 I will respond to your email when I return. If you need to
 contact me before then, please send short (10kB) email to
 [EMAIL PROTECTED]  This email is sent by automated responder.
 
 Dr. Joe
 
 *;
 
 domainA would be my server with dovecot installed. Sending to
 [EMAIL PROTECTED] works fine and the vacation reply is sent. But if I send to
 [EMAIL PROTECTED] there is no vacation reply sent.  It doesn't even create the
 .dovecot.lda-dupes file.
 The log files shows that it is running the sieve script but nothing
 else.  I thought the addresses line allowed you to state that these
 addresses are good source email addresses to send the reply to.
 
 Running dovecot 1.1.2 with Sieve 1.1.5
 
 

- --
C. J. Keist Email: [EMAIL PROTECTED]
UNIX/Network ManagerPhone: 970-491-0630
Engineering Network ServicesFax:   970-491-5569
College of Engineering, CSU
Ft. Collins, CO 80523-1301

All I want is a chance to prove 'Money can't buy happiness'
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFItEozA29OFr7C6jcRAgo4AJwMQxPJIrNzOCzGFxraWYmsRdOwkACfVOVp
rSBsJ08x4fL9aIUV5zNiBQ4=
=gulT
-END PGP SIGNATURE-


[Dovecot] Dovecot - T-Bird - RETR command failed

2008-08-26 Thread Calvin Gordon
I have recently installed new untangle firewalls ( untangle.com) in 
Bridge mode at two office locations. Both offices collect mail from a 
Fedora 9, postfix,dovecot server at location #1. Since the install of 
the untangles i have been plagued by Thunderbird Errors while trying to 
POP email.


The error says RETR command failed. If the user logs into the webmail 
(Squirrelmail) on the mail server and cleans out his inbox by deleting 
all existing mail, T-Bird starts operating again. This error has 
repeated itself without a pattern i can identify dozens of time over the 
last few weeks.


No other email client displays errors.

T-Bird = 2.0.0.16 on XP or Vista OS
UT = 5.3.0~svn20080624r1690release5.3-1sarge
Dovecot = Version: 1.0.15, Release: 10.fc9
Postfix = Version: 2.5.1, Release: 2.fc9

Dovecot
tail -f maillog | grep 'username'

Aug 6 13:37:06 mailserver1 dovecot: pop3-login: Login: user=username, 
method=PLAIN, rip=:::128.1.1.5, lip=:::128.1.1.10
Aug 6 13:37:07 mailserver1 dovecot: POP3(username): Disconnected 
top=0/0, retr=1/2287, del=0/1, size=2270


Has anyone else seen this issue with T-Bird ?




Cal G


Re: [Dovecot] Dovecot - T-Bird - RETR command failed

2008-08-26 Thread Calvin Gordon

Update
My mailog post was from an older box, probbaly the same info anyways, 
but here's a new one.
Aug 26 13:58:41 mailserver dovecot: pop3-login: Login: user=username, 
method=PLAIN, rip=:::128.1.1.5, lip=:::128.1.1.10
Aug 26 13:58:41 mailserver dovecot: POP3(username): Connection closed 
top=0/0, retr=1/6987, del=0/1, size=6970



Calvin Gordon wrote:
I have recently installed new untangle firewalls ( untangle.com) in 
Bridge mode at two office locations. Both offices collect mail from a 
Fedora 9, postfix,dovecot server at location #1. Since the install of 
the untangles i have been plagued by Thunderbird Errors while trying 
to POP email.


The error says RETR command failed. If the user logs into the 
webmail (Squirrelmail) on the mail server and cleans out his inbox by 
deleting all existing mail, T-Bird starts operating again. This error 
has repeated itself without a pattern i can identify dozens of time 
over the last few weeks.


No other email client displays errors.

T-Bird = 2.0.0.16 on XP or Vista OS
UT = 5.3.0~svn20080624r1690release5.3-1sarge
Dovecot = Version: 1.0.15, Release: 10.fc9
Postfix = Version: 2.5.1, Release: 2.fc9

Dovecot
tail -f maillog | grep 'username'

Aug 6 13:37:06 mailserver1 dovecot: pop3-login: Login: 
user=username, method=PLAIN, rip=:::128.1.1.5, 
lip=:::128.1.1.10
Aug 6 13:37:07 mailserver1 dovecot: POP3(username): Disconnected 
top=0/0, retr=1/2287, del=0/1, size=2270


Has anyone else seen this issue with T-Bird ?




Cal G



[Dovecot] syncml with server push email

2008-08-26 Thread Harondel J. Sibble
Any recommendations for server push email using syncml and dovecot?

I am familiar with Funambol for syncing pim info, but not used it for email.

Are there any recommended opensource or commercial syncml servers that are 
known to integrate nicely with Dovecot 1.x?  Googling hasn't really turned up 
much in the way of useful info.

To mix it up a little, I was using Funambol for the Pim stuff, but ran into a 
bunch of issues and switched to eGroupWare which has it's own syncml ability 
which works quite nicely with my pda. I stopped using Funambol as the server 
didn't properly deal with the conversion from vcal to ical and as a result 
appointments synced on the pda end, always ended up 8 hours early :-( This 
was going from ThunderBird to Windows Mobile, so I am hoping to avoid this 
happening again.
-- 
Harondel J. Sibble 
Sibble Computer Consulting
Creating solutions for the small business and home computer user.
[EMAIL PROTECTED] (use pgp keyid 0x3AD5C11D) http://www.pdscc.com
(604) 739-3709 (voice/fax)  (604) 686-2253 (pager)



Re: [Dovecot] Dovecot - T-Bird - RETR command failed

2008-08-26 Thread Timo Sirainen
On Tue, 2008-08-26 at 13:42 -0600, Calvin Gordon wrote:
 I have recently installed new untangle firewalls ( untangle.com) in 
 Bridge mode at two office locations. Both offices collect mail from a 
 Fedora 9, postfix,dovecot server at location #1. Since the install of 
 the untangles i have been plagued by Thunderbird Errors while trying to 
 POP email.

That strongly implies the problem is with the new firewalls.

 Aug 26 13:58:41 mailserver dovecot: POP3(username): Connection closed 
 top=0/0, retr=1/6987, del=0/1, size=6970

Dovecot sees that the connection gets closed unexpectedly. Most likely
by the firewall that was inspecting the POP3 traffic and found something
it didn't like (or caused it to hit a bug or something).

The problem probably goes away if you enable SSL. Or maybe you could
configure the firewalls not to look inside the POP3 traffic.



signature.asc
Description: This is a digitally signed message part