[Dovecot] Trash Plugin

2011-08-09 Thread Aydın Demirel

ReHi;

I have a question about trash plugin. I added following lines into 
dovecot.conf:


  quota_rule  = *:storage=2048000
  quota_rule2 = Trash:storage=1MB
  quota_rule3 = SPAM:ignore

When I set *:storage line as default quota_rule ,  There is no problem..

But when I removed this line and set Trash:storage as default 
quota_rule, plugin is not working..


That I said, Do I have to add *:storage line as first default line in 
config line?


Regards..
--

*Aydın Demirel
Endersys Ltd.
Sistem Destek Mühendisi/ System Support Engineer*

*
*>
Phone : +90 216 470 9423 | GSM : +90 530 401 8203
Fax : +90 216 470 9508 | Web : http://www.endersys.com 



Blog : http://blog.endersys.com 
Twitter : http://www.twitter.com/endersys
LPI : The #1 Linux Certification for IT Professionals
LPI (Linux Professional Institute) Turkey http://www.lpi-turkey.com 





Re: [Dovecot] authentication via LDAP

2011-08-09 Thread Gerardo Herzig
El mar, 09-08-2011 a las 00:47 +0300, da...@apollo.lv escribió:
> in principle possible:
> 
> pass auth:
> auth_bind = yes
> auth_bind_userdn = uid=%u,ou=Person,o=Work
> 
> filter by group:
> user_filter = 
> (&(&(&(objectclass=user)(objectclass=person))(memberOf=*MailUsers.*))(uid=%n))
> pass_filter = 
> (&(&(&(objectclass=user)(objectclass=person))(memberOf=*MailUsers.*))(uid=%u))
> 
> but need to configure ldap for memberOf 
> Gerardo Herzig wrote:
> > Hi all. I have a couple of questions. ANY of those will solve mi
> > situation.
> >
> > 1) 'Complex' LDAP validation:
> > I need to validate a user in the 2 step authentication / authorizacion
> > mech.
> >
> > The 'users' (with the password) are in
> > ou=Person,o=Work
> >
> > the group which contains the mail users is in
> > cn=MailUsers,ou=Groups,o=Work
> >
> >
> 

Thanks for the guidance, i will try it!

Gerardo




Re: [Dovecot] Dovecot quota dict

2011-08-09 Thread Juan Bernhard
Hi Nikita, thanks for the help, but I don't have any problem with 
bouncing the mail after the deliver (in fact, the mail pass two MTAs 
servers before reaching the final storage)
I will try (with my limited english) to explain it better. Now I m 
working with a single quota rule for everyone. What I need is a 
mechanism to give a custom quota to each user. I thought that a flat 
file will be the simple and easy option to implement, and then use 
"quota=${lookup {$local_part} lsearch .}" in the exim transport. I 
need a way to configure dovecot to follow the same file (or at least a 
modified copy). I've been told on this list that I can't rely on the 
maildirsize file, because it can be deleted under some conditions... so 
i neet to stablish quotas to dovecot somewhere else.
My question is: can dovecot get a custon quota for a user from a file 
(not sql or ldap) and use at the same time pam as userdb?



Thanks, Juan.

El 09/08/2011 03:29 a.m., Nikita Koshikov escribió:

On Mon, 08 Aug 2011 16:35:53 -0300
Juan Bernhard wrote:


Hi, Im using dovecot with maildir++ quota and I have this problem, maybe
some of you already solve this and can helpme.
I want to use some flat file to tell exim and dovecot the quota limit
for each user, i tried to work with exim and maildirsize file, but exim
just ignores the limits there.
I need a way (a really simple one, i dont want to create a database or
an ldap server just for this) to tell exim and dovecot to lookup some
file to get the quota limits. I know how to doit with exim, now i need
to know how to tell dovecot to read the quota limits from this file. I
know that dovecot can read the quota limit from the userdb, but im using
pam and i dont want to change the entire auth schema.
Can I configure dovecot to get the quota limit from a file using pam as
userdb?

Thanks, Juan.

pd: here is my doveconf -n

# 2.0.13: /usr/local/etc/dovecot/dovecot.conf
# OS: Linux 2.6.18-238.9.1.el5 x86_64 CentOS release 5.6 (Final) ext3
auth_cache_size = 10 M
auth_debug = yes
auth_verbose = yes
base_dir = /var/run/dovecot/
default_client_limit = 5000
default_process_limit = 1000
disable_plaintext_auth = no
listen = *
login_greeting = Server ready.
mail_debug = yes
mail_location = maildir:/var/mail/%u:INDEX=~/
mail_plugins = quota
maildir_very_dirty_syncs = yes
passdb {
args = failure_show_msg=yes %s
driver = pam
}
plugin {
mail_log_events = delete undelete expunge copy mailbox_delete
mailbox_rename
mail_log_fields = uid box msgid size subject
quota = maildir:Cuota de correo
quota_rule = *:storage=1G
quota_rule2 = Trash:storage=+100M
}
protocols = imap pop3
service auth {
client_limit = 12000
}
service imap {
process_limit = 5000
}
service pop3 {
process_limit = 5000
}
ssl = no
ssl_cert =
Try to google "exim smtp-time quota bounce". This is what you need.
Exim can't do rcpt acl quota checks from the box, thus you need:
1)Some external script which will periodically create overquota file\database 
of users and reject them at smtp-time using lookup
2)Or write perl-script and exec it in router stage. Script will open 
maildirsize file, count quota and gives you 'yes\no'.

Also you need to deliver via dovecot deliver. This scheme will work.



Re: [Dovecot] Clients can't retrieve new emails

2011-08-09 Thread Jeff Van Epps
Apologies for the repeat post. I just want to take one more try to find
someone who can help or point me in a direction on this. Anyone?

-- Forwarded message --
From: Jeff Van Epps 
Date: Mon, Aug 1, 2011 at 8:59 AM
Subject: Clients can't retrieve new emails
To: dovecot@dovecot.org


In a formerly working environment suddenly clients aren't notified of
new emails and can't retrieve new emails. Server is Ubuntu 11.04 dovecot
1.2.15. Clients which fail are a Pre2 webOS 2.1 and TouchPad webOS 3.0
(those are OS versions, I don't know which particular flavor/version the
IMAP clients are); there is also a Thunderbird 3.1.11 client on the same
system as the server which works properly. The clients never report an
error. I got as far as configuring rawlog:

in:
~A2 NAMESPACE
~A3 SELECT "INBOX"
~A4 LIST "" *
~A5 UID STORE 0 +FLAGS.SILENT (\Seen)
~A6 UID STORE 0 +FLAGS.SILENT (\Seen)

out:
* OK [RAWLOG TIMESTAMP] 2011-08-01 08:28:33
~A1 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT
IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE
QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS] Logged in
* NAMESPACE (("" "/")) NIL NIL
~A2 OK Namespace completed.
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft NonJunk Junk)
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft NonJunk
Junk \*)] Flags permitted.
* 101 EXISTS
* 0 RECENT
* OK [UNSEEN 63] First unseen.
* OK [UIDVALIDITY 1222650706] UIDs valid
* OK [UIDNEXT 863] Predicted next UID
* OK [HIGHESTMODSEQ 1903] Highest
~A3 OK [READ-WRITE] Select completed.
* LIST (\NoInferiors \UnMarked) "/" "Trash"
* LIST (\NoInferiors \UnMarked) "/" "Sent"
* LIST (\NoInferiors \UnMarked) "/" "INBOX"
~A4 OK List completed.
~A5 BAD Error in IMAP command UID STORE: Invalid uidset
~A6 BAD Error in IMAP command UID STORE: Invalid uidset


I've searched and read messages saying that there is no such thing as
UID 0. Okay. Why are the clients suddenly trying to use it? Why doesn't
the server just ignore it? (it seems like it may be terminating the
connection)

What can I do about it? (I'll nag HP about the client side but I don't
expect quick action. The server on the other hand is in my house.)


dovecot -n output:
# 1.2.15: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.38-11-generic i686 Ubuntu 11.04
log_timestamp: %Y-%m-%d %H:%M:%S
ssl_cert_file: /etc/ssl/certs/lordbah.com.crt
ssl_key_file: /etc/ssl/private/lordbah.com.key
ssl_key_password: --redacted--
disable_plaintext_auth: no
verbose_ssl: yes
login_dir: /var/run/dovecot/login
login_executable: /usr/lib/dovecot/imap-login
login_process_per_connection: no
login_processes_count: 5
login_max_processes_count: 20
verbose_proctitle: yes
mail_privileged_group: mail
mail_location: mbox:~*/mail:INBOX=/var/mail/*%u
mail_debug: yes
mbox_write_locks: fcntl dotlock
mail_executable: /usr/lib/dovecot/rawlog /usr/lib/dovecot/imap
imap_client_workarounds: tb-extra-mailbox-sep
auth default:
  verbose: yes
  debug: yes
  passdb:
driver: pam
  userdb:
driver: passwd

-- 
Jeff Van Epps


[Dovecot] LMTP over STDIN/STDOUT (non root user)

2011-08-09 Thread Andrzej Adam Filip
Is it possible to get LMTP session over STDIN/STDOUT (for non root user)?

I have configured dovecot to allow "server less" access to my mailbox
using IMAP over STDIN/STDOUT. I would like to complete the setup by
making fetchmail deliver fetched messages via LMTP over STDIN/STDOUT.

-- 
[pl>en: Andrew] Andrzej Adam Filip : a...@onet.eu
There is only one way to kill capitalism -- by taxes, taxes, and more taxes.
  -- Karl Marx


Re: [Dovecot] How to make dovecot-lda/deliver mark a message as seen

2011-08-09 Thread Stefan Piegsa

On 08/08/2011 11:46 AM, Andrzej Adam Filip wrote:

On 08/08/2011 09:43 AM, Stefan Piegsa wrote:

Thanks for your reply!

On 08/08/2011 08:36 AM, Andrzej Adam Filip wrote:

Have you considered using sieve for the task?
[Using imap4flags extension]

Yes, but I think it's not the optimal solution for what I want to do:

Basically, I don't want emails to be sent first to the MTA and then
again to dovecot to be stored in "Sent Messages".
So I made a script that puts an email received from the MTA by an
authenticated user into his local Maildir/Sent folder, using:
dovecot-lda -d $user -m Sent. Such emails should be marked as seen.

Sieve would be an option if it were possible to have a global sieve
script that is always executed, not only when there's no user script.

Best Regards,
Stefan


Could not you use sieve_before?
http://wiki.dovecot.org/LDA/Sieve

You may consider using sieve_after if you want to allow users to
overwrite your choice of "self copy" handling.



sieve_after sounds interesting!

Is there a way to match the destination mailbox in a sieve script?
The email comes in by dovecot-lda -d $user -m Sent
Now the sieve script should somehow match the mailbox "Sent".




Re: [Dovecot] Clients can't retrieve new emails

2011-08-09 Thread Willie Gillespie

On 08/09/2011 08:23 AM, Jeff Van Epps wrote:

Apologies for the repeat post. I just want to take one more try to find
someone who can help or point me in a direction on this. Anyone?

-- Forwarded message --
From: Jeff Van Epps
Date: Mon, Aug 1, 2011 at 8:59 AM
Subject: Clients can't retrieve new emails
To: dovecot@dovecot.org


In a formerly working environment suddenly clients aren't notified of
new emails and can't retrieve new emails. Server is Ubuntu 11.04 dovecot
1.2.15. Clients which fail are a Pre2 webOS 2.1 and TouchPad webOS 3.0
(those are OS versions, I don't know which particular flavor/version the
IMAP clients are); there is also a Thunderbird 3.1.11 client on the same
system as the server which works properly. The clients never report an
error. I got as far as configuring rawlog:

in:
~A2 NAMESPACE
~A3 SELECT "INBOX"
~A4 LIST "" *
~A5 UID STORE 0 +FLAGS.SILENT (\Seen)
~A6 UID STORE 0 +FLAGS.SILENT (\Seen)


So the client never requests any mail.  Just the list of folders.


out:
* OK [RAWLOG TIMESTAMP] 2011-08-01 08:28:33
~A1 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT
IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE
QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS] Logged in
* NAMESPACE (("" "/")) NIL NIL
~A2 OK Namespace completed.
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft NonJunk Junk)
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft NonJunk
Junk \*)] Flags permitted.
* 101 EXISTS
* 0 RECENT
* OK [UNSEEN 63] First unseen.
* OK [UIDVALIDITY 1222650706] UIDs valid
* OK [UIDNEXT 863] Predicted next UID
* OK [HIGHESTMODSEQ 1903] Highest
~A3 OK [READ-WRITE] Select completed.
* LIST (\NoInferiors \UnMarked) "/" "Trash"
* LIST (\NoInferiors \UnMarked) "/" "Sent"
* LIST (\NoInferiors \UnMarked) "/" "INBOX"
~A4 OK List completed.
~A5 BAD Error in IMAP command UID STORE: Invalid uidset
~A6 BAD Error in IMAP command UID STORE: Invalid uidset


I've searched and read messages saying that there is no such thing as
UID 0. Okay. Why are the clients suddenly trying to use it? Why doesn't
the server just ignore it? (it seems like it may be terminating the
connection)


I tried the same commands against my Dovecot server and it did not 
terminate the connection.  I may be running a different version than you 
though.



What can I do about it? (I'll nag HP about the client side but I don't
expect quick action. The server on the other hand is in my house.)


That's the real question.  I'd be curious to see what Thunderbird does 
since you say it has the same problem.  Do you have rawlogs from that?





dovecot -n output:
# 1.2.15: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.38-11-generic i686 Ubuntu 11.04
log_timestamp: %Y-%m-%d %H:%M:%S
ssl_cert_file: /etc/ssl/certs/lordbah.com.crt
ssl_key_file: /etc/ssl/private/lordbah.com.key
ssl_key_password: --redacted--
disable_plaintext_auth: no
verbose_ssl: yes
login_dir: /var/run/dovecot/login
login_executable: /usr/lib/dovecot/imap-login
login_process_per_connection: no
login_processes_count: 5
login_max_processes_count: 20
verbose_proctitle: yes
mail_privileged_group: mail
mail_location: mbox:~*/mail:INBOX=/var/mail/*%u
mail_debug: yes
mbox_write_locks: fcntl dotlock
mail_executable: /usr/lib/dovecot/rawlog /usr/lib/dovecot/imap
imap_client_workarounds: tb-extra-mailbox-sep
auth default:
   verbose: yes
   debug: yes
   passdb:
 driver: pam
   userdb:
 driver: passwd



Re: [Dovecot] Clients can't retrieve new emails

2011-08-09 Thread Jeff Van Epps
On Tue, Aug 9, 2011 at 1:03 PM, Willie Gillespie <
wgillespie+dove...@es2eng.com> wrote:

> On 08/09/2011 08:23 AM, Jeff Van Epps wrote:
>
>> Apologies for the repeat post. I just want to take one more try to find
>> someone who can help or point me in a direction on this. Anyone?
>>
>> -- Forwarded message --
>> From: Jeff Van Epps
>> Date: Mon, Aug 1, 2011 at 8:59 AM
>> Subject: Clients can't retrieve new emails
>> To: dovecot@dovecot.org
>>
>>
>> In a formerly working environment suddenly clients aren't notified of
>> new emails and can't retrieve new emails. Server is Ubuntu 11.04 dovecot
>> 1.2.15. Clients which fail are a Pre2 webOS 2.1 and TouchPad webOS 3.0
>> (those are OS versions, I don't know which particular flavor/version the
>> IMAP clients are); there is also a Thunderbird 3.1.11 client on the same
>> system as the server which works properly. The clients never report an
>> error. I got as far as configuring rawlog:
>>
>> in:
>> ~A2 NAMESPACE
>> ~A3 SELECT "INBOX"
>> ~A4 LIST "" *
>> ~A5 UID STORE 0 +FLAGS.SILENT (\Seen)
>> ~A6 UID STORE 0 +FLAGS.SILENT (\Seen)
>>
>
> So the client never requests any mail.  Just the list of folders.
>
>
>  out:
>> * OK [RAWLOG TIMESTAMP] 2011-08-01 08:28:33
>> ~A1 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
>> SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT
>> IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE
>> QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS] Logged
>> in
>> * NAMESPACE (("" "/")) NIL NIL
>> ~A2 OK Namespace completed.
>> * FLAGS (\Answered \Flagged \Deleted \Seen \Draft NonJunk Junk)
>> * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft NonJunk
>> Junk \*)] Flags permitted.
>> * 101 EXISTS
>> * 0 RECENT
>> * OK [UNSEEN 63] First unseen.
>> * OK [UIDVALIDITY 1222650706] UIDs valid
>> * OK [UIDNEXT 863] Predicted next UID
>> * OK [HIGHESTMODSEQ 1903] Highest
>> ~A3 OK [READ-WRITE] Select completed.
>> * LIST (\NoInferiors \UnMarked) "/" "Trash"
>> * LIST (\NoInferiors \UnMarked) "/" "Sent"
>> * LIST (\NoInferiors \UnMarked) "/" "INBOX"
>> ~A4 OK List completed.
>> ~A5 BAD Error in IMAP command UID STORE: Invalid uidset
>> ~A6 BAD Error in IMAP command UID STORE: Invalid uidset
>>
>>
>> I've searched and read messages saying that there is no such thing as
>> UID 0. Okay. Why are the clients suddenly trying to use it? Why doesn't
>> the server just ignore it? (it seems like it may be terminating the
>> connection)
>>
>
> I tried the same commands against my Dovecot server and it did not
> terminate the connection.  I may be running a different version than you
> though.
>
>
>  What can I do about it? (I'll nag HP about the client side but I don't
>> expect quick action. The server on the other hand is in my house.)
>>
>
> That's the real question.  I'd be curious to see what Thunderbird does
> since you say it has the same problem.  Do you have rawlogs from that?
>
> Thunderbird works properly, i.e. it succeeds in retrieving new emails. I
don't have the rawlog at the moment but I recall that it did not do any "UID
STORE 0". I wonder what the clients think they are accomplishing with that
command.

I'll start searching for an Ubuntu PPA for version 2 Dovecot so I can see
whether the same thing still happens.

>
>>
>> dovecot -n output:
>> # 1.2.15: /etc/dovecot/dovecot.conf
>> # OS: Linux 2.6.38-11-generic i686 Ubuntu 11.04
>> log_timestamp: %Y-%m-%d %H:%M:%S
>> ssl_cert_file: /etc/ssl/certs/lordbah.com.crt
>> ssl_key_file: /etc/ssl/private/lordbah.com.**key
>> ssl_key_password: --redacted--
>> disable_plaintext_auth: no
>> verbose_ssl: yes
>> login_dir: /var/run/dovecot/login
>> login_executable: /usr/lib/dovecot/imap-login
>> login_process_per_connection: no
>> login_processes_count: 5
>> login_max_processes_count: 20
>> verbose_proctitle: yes
>> mail_privileged_group: mail
>> mail_location: mbox:~*/mail:INBOX=/var/mail/***%u
>> mail_debug: yes
>> mbox_write_locks: fcntl dotlock
>> mail_executable: /usr/lib/dovecot/rawlog /usr/lib/dovecot/imap
>> imap_client_workarounds: tb-extra-mailbox-sep
>> auth default:
>>   verbose: yes
>>   debug: yes
>>   passdb:
>> driver: pam
>>   userdb:
>> driver: passwd
>>
>>


[Dovecot] [i...@shaw.ca: Repeat mails. INC000023456674]

2011-08-09 Thread The Doctor
Anyone seen this before?

- Forwarded message from i...@shaw.ca -

X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on doctor.nl2k.ab.ca
X-Spam-Level: *
X-Spam-Status: No, score=1.0 required=5.0 tests=RCVD_IN_BACKSCATTER
autolearn=no version=3.3.2
X-Original-To: r...@doctor.nl2k.ab.ca
Delivered-To: r...@doctor.nl2k.ab.ca
X-Virus-Scanned: amavisd-new at doctor.nl2k.ab.ca
X-rim-org-msg-ref-id: 1378293038
Reply-To: i...@shaw.ca
X-Priority: Normal
Sensitivity: Normal
Importance: Normal
To: "Dr. Inder P Singh" ,
"Dave Shariff Yadallee -  System Administrator a.k.a. The Root of the
Problem" 
Subject: Repeat mails. INC23456674
From: i...@shaw.ca
Date: Tue, 9 Aug 2011 19:17:34 +
X-Sanitizer: This message has been sanitized!
X-Sanitizer-URL: http://mailtools.anomy.net/
X-Sanitizer-Rev: $Id: Sanitizer.pm,v 1.94 2006/01/02 16:43:10 bre Exp $

Dave,
According to RIM your server is probably changing the assigned serial number or 
code to mails frequently and because of that Blackberry server takes the same 
mail as new one and draws again. 
Read attached link. 
Inder
Sent wirelessly from my BlackBerry device on the Bell network.
Envoyé sans fil par mon terminal mobile BlackBerry sur le réseau de Bell.

-Original Message-
From: BlackBerry Customer Support 
Date: Tue, 09 Aug 2011 19:07:30 
To: 
Reply-to: BlackBerry Customer Support 
Subject: INC23456674

Hello Dr. Inder,

Thank you for contacting BlackBerry Customer Support. 

Here is a link to a relevant article in our BlackBerry Technical Solution 
Center:

Article Title: Duplicate e-mail messages are received on the BlackBerry 
smartphone
Article Number: KB13528
Link: http://www.blackberry.com/btsc/KB13528

I have included below the pieces of information relating to the duplicate or 
changing IDs of the emails.

Cause 8
The BlackBerry Internet Service downloads any email message with an email 
message UID that it did not find during the previous connection. If the email 
message UIDs are changed by the messaging server, duplicate email messages are 
received. This behavior also applies to any email message that has a blank UID.

Resolution 8
To resolve this issue, complete one of the following procedures.

Make sure that the message UIDs of email messages on the integrated account 
messaging server do not change or that email messages are not added back to the 
inbox of the associated account. Ask your administrator if the message UIDs are 
changing. In the case of an email message that has a blank UID, have your 
administrator remove the email message from the email server to prevent it from 
being delivered repeatedly.
Delete email messages from the BlackBerry smartphone using the Mailbox & 
Handheld setting (email messages will be deleted from the associated email 
account messaging server and will not be retrieved again by the BlackBerry 
Internet Service). For instructions, see KB11830.

Should you require further information on this subject, please don't hesitate 
to contact us. Thank you again for contacting us Dr.. Inder.

Sincerely,

Jennifer
BlackBerry Customer Support
Research In Motion Limited 
Tel:
 NA Toll Free: 1-877-255-2377 
 UK Toll Free: 0808 100 7466
 Europe: +44 1753 558400 
 Worldwide: +1-519-888-6181 
Email: h...@blackberry.com
Web: www.blackberry.com

***Now Available - BlackBerry Training for BlackBerry Enterprise Server 
software administrators. For information about current course offerings, please 
visit www.blackberry.com/go/training.


BLACKBERRY® PLAYBOOK??? - WORK SMARTER. PLAY HARDER.
Introducing the world???s first professional-grade tablet.
www.blackberry.com/playbook

- End forwarded message -

-- 
Member - Liberal International  This is doc...@nl2k.ab.ca Ici doc...@nl2k.ab.ca
God, Queen and country! Never Satan President Republic! Beware AntiChrist 
rising! 
http://twitter.com/rootnl2k http://www.facebook.com/dyadallee
IT is done!  http://groups.google.com/group/rec.arts.drwho/about


[Dovecot] list archive

2011-08-09 Thread Postmaster
I'm not able to access the mailing list archives following the 
instructions here...


  http://www.dovecot.org/mailinglists.html

using either IMAP or by downloading the mbox file.


Re: [Dovecot] [i...@shaw.ca: Repeat mails. INC000023456674]

2011-08-09 Thread Patrick Domack

Was this using imap or pop3?

I haven't looked at how imap works.

But if your using pop3, set pop3_uidl_format correctly.
If your deleting or purging the index files and have it set to
anything other than %f or %Mf it probably won't work so well.


Quoting The Doctor :


Anyone seen this before?

- Forwarded message from i...@shaw.ca -

X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on doctor.nl2k.ab.ca
X-Spam-Level: *
X-Spam-Status: No, score=1.0 required=5.0 tests=RCVD_IN_BACKSCATTER
autolearn=no version=3.3.2
X-Original-To: r...@doctor.nl2k.ab.ca
Delivered-To: r...@doctor.nl2k.ab.ca
X-Virus-Scanned: amavisd-new at doctor.nl2k.ab.ca
X-rim-org-msg-ref-id: 1378293038
Reply-To: i...@shaw.ca
X-Priority: Normal
Sensitivity: Normal
Importance: Normal
To: "Dr. Inder P Singh" ,
"Dave Shariff Yadallee -  System Administrator a.k.a. The Root of the
Problem" 
Subject: Repeat mails. INC23456674
From: i...@shaw.ca
Date: Tue, 9 Aug 2011 19:17:34 +
X-Sanitizer: This message has been sanitized!
X-Sanitizer-URL: http://mailtools.anomy.net/
X-Sanitizer-Rev: $Id: Sanitizer.pm,v 1.94 2006/01/02 16:43:10 bre Exp $

Dave,
According to RIM your server is probably changing the assigned
serial number or code to mails frequently and because of that
Blackberry server takes the same mail as new one and draws again.
Read attached link.
Inder
Sent wirelessly from my BlackBerry device on the Bell network.
Envoyé sans fil par mon terminal mobile BlackBerry sur le réseau de Bell.

-Original Message-
From: BlackBerry Customer Support 
Date: Tue, 09 Aug 2011 19:07:30
To: 
Reply-to: BlackBerry Customer Support 
Subject: INC23456674

Hello Dr. Inder,

Thank you for contacting BlackBerry Customer Support.

Here is a link to a relevant article in our BlackBerry Technical
Solution Center:

Article Title: Duplicate e-mail messages are received on the
BlackBerry smartphone
Article Number: KB13528
Link: http://www.blackberry.com/btsc/KB13528

I have included below the pieces of information relating to the
duplicate or changing IDs of the emails.

Cause 8
The BlackBerry Internet Service downloads any email message with an
email message UID that it did not find during the previous
connection. If the email message UIDs are changed by the messaging
server, duplicate email messages are received. This behavior also
applies to any email message that has a blank UID.

Resolution 8
To resolve this issue, complete one of the following procedures.

Make sure that the message UIDs of email messages on the integrated
account messaging server do not change or that email messages are
not added back to the inbox of the associated account. Ask your
administrator if the message UIDs are changing. In the case of an
email message that has a blank UID, have your administrator remove
the email message from the email server to prevent it from being
delivered repeatedly.
Delete email messages from the BlackBerry smartphone using the
Mailbox & Handheld setting (email messages will be deleted from the
associated email account messaging server and will not be retrieved
again by the BlackBerry Internet Service). For instructions, see
KB11830.

Should you require further information on this subject, please don't
hesitate to contact us. Thank you again for contacting us Dr.. Inder.

Sincerely,

Jennifer
BlackBerry Customer Support
Research In Motion Limited
Tel:
 NA Toll Free: 1-877-255-2377
 UK Toll Free: 0808 100 7466
 Europe: +44 1753 558400
 Worldwide: +1-519-888-6181
Email: h...@blackberry.com
Web: www.blackberry.com

***Now Available - BlackBerry Training for BlackBerry Enterprise
Server software administrators. For information about current course
offerings, please visit www.blackberry.com/go/training.


BLACKBERRY® PLAYBOOK??? - WORK SMARTER. PLAY HARDER.
Introducing the world???s first professional-grade tablet.
www.blackberry.com/playbook

- End forwarded message -

--
Member - Liberal International  This is doc...@nl2k.ab.ca Ici
doc...@nl2k.ab.ca
God, Queen and country! Never Satan President Republic! Beware
AntiChrist rising!
http://twitter.com/rootnl2k http://www.facebook.com/dyadallee
IT is done!  http://groups.google.com/group/rec.arts.drwho/about






Re: [Dovecot] list archive

2011-08-09 Thread Noel Butler
On Tue, 2011-08-09 at 17:12 -0400, Postmaster wrote:

> I'm not able to access the mailing list archives following the 
> instructions here...
> 
>http://www.dovecot.org/mailinglists.html
> 
> using either IMAP or by downloading the mbox file.


 replace www.dovecot.org with dovecot.org
the mirror at trollweb is broken


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


Re: [Dovecot] Dovecot quota dict

2011-08-09 Thread Nikita Koshikov
On Tue, 09 Aug 2011 11:18:55 -0300
Juan Bernhard wrote:

> Hi Nikita, thanks for the help, but I don't have any problem with 
> bouncing the mail after the deliver (in fact, the mail pass two MTAs 
> servers before reaching the final storage)
> I will try (with my limited english) to explain it better. Now I m 
> working with a single quota rule for everyone. What I need is a 
> mechanism to give a custom quota to each user. I thought that a flat 
> file will be the simple and easy option to implement, and then use 
> "quota=${lookup {$local_part} lsearch .}" in the exim transport. I 
> need a way to configure dovecot to follow the same file (or at least a 
> modified copy). I've been told on this list that I can't rely on the 
> maildirsize file, because it can be deleted under some conditions... so 
> i neet to stablish quotas to dovecot somewhere else.
> My question is: can dovecot get a custon quota for a user from a file 
> (not sql or ldap) and use at the same time pam as userdb?
> 
> 
> Thanks, Juan.

So, you need customizable userdb lookup without ldap or sql. You can try too 
use checkpassword as userdb and then, in the script - parse quota-file, make 
pam lookup and return userdb_quota* values for specific user. More on 
http://wiki2.dovecot.org/AuthDatabase/CheckPassword . I don't have experience 
with this authdatabase method, but seems that it suitable for you. 
But in general - it's better to prevent editing maildirsize file from 2 
instances.