Re: cyrus super user -- able to login in as any user with a superuser password

2014-06-18 Thread mayak
On 06/18/2014 11:24 AM, Michael Menge wrote:
 Hi,

 Quoting Simon Matter simon.mat...@invoca.ch:

 hi all,

 i have a cyrus instance with an ldap backend -- works beautifully ...

 i was wondering if there is a way to be able to login as any user with a
 `superuser` password without messing with the users `real` password.

 i am assuming this would have to involve some saslauthd magic ...

 Not really saslauthd magic, just check the proxyservers option in
 imapd.conf.

 Regards,
 Simon


 To uses SASL proxy Authentication you need to use a mech that
 supports porxy auth. PLAIN does support it, LOGIN does not.
hi all,

thanks! the proxyservers option is working great -- with one login, i am able 
to use imapfilter to groom all account/folders of old messages ...

cheers

m



Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


cyrus super user -- able to login in as any user with a superuser password

2014-06-17 Thread mayak
hi all,

i have a cyrus instance with an ldap backend -- works beautifully ...

i was wondering if there is a way to be able to login as any user with a 
`superuser` password without messing with the users `real` password.

i am assuming this would have to involve some saslauthd magic ...

many thanks

m


Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


Re: Help on quota usage.

2014-02-14 Thread mayak
On 02/14/2014 12:41 PM, Anant Athavale wrote:
 Dear List,

 for one user, the lq user.xx is showing 1.6 GB, where as actual usage
 on file system is less than 1 GB.  I want to know, how can get where
 is the additional quota sitting in /var/spool/imap partition for user xxx.

 Thanks in advance.

 -- 
 anant athavale.
 bangalore
hi anant

try:

su - cyrus
/usr/lib/cyrus-imapd/quota -f

to fix quota calculation

cheers

mayak

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


mail archiving -- large mail stores

2014-02-04 Thread mayak
hi all,

i just ran across this project: http://www.mailpiler.org

is there an argument to do that, or just create an archive user in cyrus
that  has a multi-multi gigabyte mail drop?

many thanks

m

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


Re: large mailbox -- best practices

2013-04-12 Thread mayak-cq
On Fri, 2013-04-05 at 14:39 +0200, Kaiser Martin wrote:
 hi,
 
 same situation here,
 I sort my mails with Imapfilter and a lua script, the Mailbox look like 
 this example.
 
 Inbox
-2013
  - 01_January
  - 02_February
  - 03_March
 
 and so on.

snip

guten tag meinherr,

i am now digging deep into this issue -- could you be kind enough to
share your lua script? the is quite daunting ...

thanks

m


Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


Re: large mailbox -- best practices

2013-04-09 Thread mayak-cq
On Tue, 2013-04-09 at 11:27 +0930, Daniel O'Connor wrote:

 On 05/04/2013, at 22:08, mayak-cq ma...@australsat.com wrote:
  it works -- mail consulted from sogo web mail client and i am running 
  2.4.17 on x64, but i am wondering what is the best way to split this up, 
  or, move it to a new directory and start a new archive ...
 
 I wrote a script which moves messages into a new subfolder each month for 
 this sort of account.#!/usr/local/bin/python
 
 import imaplib, datetime, re

snip

Oh man -- this is perfect!

thanks

m

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

large mailbox -- best practices

2013-04-05 Thread mayak-cq
hi all, 

just a quick note that i have a small law firm receiving copies of all
incoming mail to an arch...@domain.com account.

drum roll -- the single mailbox is 65GB; the index file is 1.5GB

wow. 

it works -- mail consulted from sogo web mail client and i am running
2.4.17 on x64, but i am wondering what is the best way to split this up,
or, move it to a new directory and start a new archive ...

thanks

m

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

symbolic links for spool directory

2013-02-27 Thread mayak-cq
hi all,

will cyrus behave properly if i create a symbolic link in the following
case:

before:

/var/spool/imap/domain/abc.com

where abc is a real directory

after:

/var/spool/imap/domain/abc.com

where abc.com is a symbolic to a directory on another mounted filesystem

many thanks


m


Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

2.4.16 strangeness on centos-5x64

2012-10-25 Thread mayak-cq
hi all,

i have centos5-x64 box running cyrus 2.4.16 ...

i have several user that have experienced their mail showing up in other
users boxes -- a...@domain.com mail arrives in b...@domain.com box.

wow.

then, i noticed that the quota report was showing an account as being
nearly over quota (2G) but when i inspect
the /var/spool/imap/domain/ directory, there's hardly any mail - a
`du -hs` shows 500k

so --

- i rebooted the machine and did an e2fsc on the /var partition -- no
problems
- create a shell script and did a reconstruct -rG on all the boxes

but, i'm still seeing an erroneous quota report ...

this is a pretty small setup -- about 16G of mail with  everyone gone at
night -- is there something that i can run to really rebuild the entire
mail store?

thanks

m

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

Re: 2.4.16 strangeness on centos-5x64

2012-10-25 Thread mayak-cq
hi dan

On Thu, 2012-10-25 at 13:11 -0500, Dan White wrote:

 On 10/25/12 18:32 +0200, mayak-cq wrote:
 hi all,
 
 i have centos5-x64 box running cyrus 2.4.16 ...
 
 i have several user that have experienced their mail showing up in other
 users boxes -- a...@domain.com mail arrives in b...@domain.com box.
 
 Check your mail logs. See if this is an issue where the message envelope
 mismatched the message headers, which is common with spam messages, and
 with BCC'd recipients.

these were real mails -- that is -- coming from known clients -- i'll be
curious to hear if this happens again after rebuilding the db's


 
 wow.
 
 then, i noticed that the quota report was showing an account as being
 nearly over quota (2G) but when i inspect
 the /var/spool/imap/domain/ directory, there's hardly any mail - a
 `du -hs` shows 500k
 
 so --
 
 - i rebooted the machine and did an e2fsc on the /var partition -- no
 problems
 - create a shell script and did a reconstruct -rG on all the boxes
 
 but, i'm still seeing an erroneous quota report ...
 
 this is a pretty small setup -- about 16G of mail with  everyone gone at
 night -- is there something that i can run to really rebuild the entire
 mail store?
 
 Use cyrus's quota utility to fix quota usage. reconstruct does not do so.

ah -- thanks -- i missed the -f


worked like a champ

thanks

m




Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

Re: ldap auth through saslauthd through cyrus

2012-01-03 Thread mayak-cq
On Tue, 2012-01-03 at 22:22 +0100, Marten Lehmann wrote:
snip

 
 But logging in through POP3 results in this line in syslog:
 
 cyrus/pop3[20085]: badlogin: [10.0.1.71] plaintext userp...@domain.com 
 SASL(-13): authentication failure: checkpass failed

hi marten,

i am assuming that you are running saslauthd with the -r argument --
something like:

saslauthd -a ldap -O/etc/saslauthd.conf -r

i usually saslauthd in the foreground so i can watch what is going
on ...

cheers

m

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

Deleted Items folder unavailable for subscription

2011-10-18 Thread mayak-cq
hi all,

i have a strange situation of two user who each have a Deleted Items
folder in their imap directory.

the folder shows itself in cyradm and access rights are correct (full
for each user).

neither in outlook nor in sogo can the contents be viewed.

i've run a reconstruct on each user and it terminates without any error.

i'm obviously brain dead as i cannot figure out why these wont show.

many thanks

m



Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/


Re: Migration using imapsync

2011-09-15 Thread mayak-cq
On Thu, 2011-09-15 at 11:38 -0400, Adam Tauno Williams wrote:

 Quoting Aleksander Machniak machn...@kolabsys.com:
 
  On 15.09.2011 15:49, Mogens Melander wrote:
  Suggestions to other cool imap migration tools, up to the task, are  
  also welcome ;^)
 
 imapsync is the only automated tool I'm aware of.  The documentation  
 is *terrible*.  Would be an excellent topic for a BLOG post by someone  
 who pulls it off cough/.
 
  My suggestion is: don't use Squirrelmail, use Roundcube ;)
 
 My suggestion is: use neither Squirrelmail or Roundcube, use Horde!   
 H4 is sweet.

i prefer sogo (super nice ajax interface, and it will be the web
interface of choice when openchange is finally completed i.e activeSync
support +++). http://sogo.nu

btw, i also migrated using imap sync and had a HUGE headache with
subfolders. what a drag ...

cheers

m

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

Re: [OT] offline mail user and syncing

2011-05-12 Thread mayak-cq
On Thu, 2011-05-12 at 18:45 +0200, Lars Kristiansen wrote:

 Den 10.05.2011 08:30, skrev mayak-cq: 
 
  hi all,
  
  i have a rather peculiar case involving an offline user, who has no
  possibility of internet given his location (satellite is too
  expensive).
  
  there is power, and he has computer, and there is a proxy -- i.e.
  someone who passes once a day in the late afternoon, and picks up a
  usb key and takes it back into town to send contents as e-mails.
 
 
 Hi!
 Installing thunderbird on the usb key could do the trick.
 Changing online/offline mode.
 http://portableapps.com/
 
 Regards, Lars

lars,

duude -- pure magic!!!

thanks :-)

m

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

[OT] offline mail user and syncing

2011-05-10 Thread mayak-cq
hi all,

i have a rather peculiar case involving an offline user, who has no
possibility of internet given his location (satellite is too expensive).

there is power, and he has computer, and there is a proxy -- i.e.
someone who passes once a day in the late afternoon, and picks up a usb
key and takes it back into town to send contents as e-mails.

ideally, the proxy's computer would somehow sync with the usb disk, as
well as the user's.

has anyone dealt with something similar?

with my sincerest thanks

m






Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

Re: [OT] offline mail user and syncing

2011-05-10 Thread mayak-cq
On Tue, 2011-05-10 at 09:34 +0100, Andy Bennett wrote:

 Hi,
 
  i have a rather peculiar case involving an offline user, who has no
  possibility of internet given his location (satellite is too expensive).
  
  there is power, and he has computer, and there is a proxy -- i.e.
  someone who passes once a day in the late afternoon, and picks up a usb
  key and takes it back into town to send contents as e-mails.
  
  ideally, the proxy's computer would somehow sync with the usb disk, as
  well as the user's.
  
  has anyone dealt with something similar?
  
  with my sincerest thanks
 
 How about moving a UUCP spool on the USB stick? ;-)
 
 You could use something like rsync on incoming and outgoing folder.
 Is it just for eMail? What format are the messages in?


hi andy,

the user is running windows, and has a preference for using lookout. i
suppose that i could ask that he run thunderbird instead -- lookout uses
a single file pst, so concurrency is really difficult unless the pst
file is not the main/default one. at least thunderbird uses file based
message store, but alas, windblows doesn't run rsync (iirc).

maybe a secondary pst is the solution ... user would have drag all the
contents from secondary pst to primary pst. whatta drag!

thanks

m


Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

Re: [OT] offline mail user and syncing

2011-05-10 Thread mayak-cq
On Tue, 2011-05-10 at 06:28 -0400, Adam Tauno Williams wrote:

 On Tue, 2011-05-10 at 11:56 +0200, mayak-cq wrote:
  On Tue, 2011-05-10 at 09:34 +0100, Andy Bennett wrote: 
i have a rather peculiar case involving an offline user, who has no
possibility of internet given his location (satellite is too expensive).
there is power, and he has computer, and there is a proxy -- i.e.
someone who passes once a day in the late afternoon, and picks up a usb
key and takes it back into town to send contents as e-mails.
ideally, the proxy's computer would somehow sync with the usb disk, as
well as the user's.
has anyone dealt with something similar?
with my sincerest thanks
   How about moving a UUCP spool on the USB stick? ;-)
   You could use something like rsync on incoming and outgoing folder.
   Is it just for eMail? What format are the messages in?
  the user is running windows, and has a preference for using lookout. i
  suppose that i could ask that he run thunderbird instead -- lookout
  uses a single file pst, so concurrency is really difficult unless the
  pst file is not the main/default one. at least thunderbird uses file
  based message store, but alas, windblows doesn't run rsync (iirc).
  maybe a secondary pst is the solution ... user would have drag all the
  contents from secondary pst to primary pst. whatta drag!
 
 rsync is useless for this use-case.  The PST is just a single binary
 BLOB.  I don't believe it would solve the issue for TB either; just
 swapping out file contents underneath applications leads to an entire
 host of issues [cache coherency, etc...].
 
 You need to find an 'intelligent' solution; such as UUCP
 store-and-forward that 'understands' the message level unit-of-work.

thanks everyone for the help :-)

regrettably, both the proxy and the user are technically weak, and are
only windows fluent.

i'm going to take a look at some connectors (bynari and so forth) to see
if i can sync the message store to the usb disk. if it works, it would
be more simplistic and clean.

my thought about thunderbird and rsync may be possible as well --
thunderbird stores messages in files and would therefore be a candidate
for rsync ...

will report back

thanks

m


Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

Re: LMTP bounces with invalid chars in MAIL FROM adress

2011-02-15 Thread mayak-cq
On Mon, 2011-02-14 at 17:11 +0100, Simon Matter wrote:
  On Mon, 2011-02-14 at 16:09 +0100, Simon Matter wrote:
 
snip

 
  i have also seen this lately -- coming from LMTP as well -- running your
  2.3.16 rpm ...
 
  is this related?
 
 Your mail contains another error but the problem is the same in the end,
 your MTA accepts a mail which is later refused by Cyrus-IMAPd.
 
 Both cases are bad because it creates backscatter.
 
 Would be nice to know what exactly is wrong with the mail in your case.

hi simon,

i never found the mail anywhere -- it passed amavis, so no traces there,
and the mail couldn't be delivered via LMTP, so i think it just got
discarded -- postfix didn't have an address to send a bounce to.

the source of the mail (in my logging) is real -- it's HP's licensing
department. i am going to tcpdump -s0 and capture to a file so as to
watch the entire conversation. i'll send you a copy off list.

thanks

m




Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/


Re: LMTP bounces with invalid chars in MAIL FROM adress

2011-02-14 Thread mayak-cq
On Mon, 2011-02-14 at 16:09 +0100, Simon Matter wrote:

 Hi,
 
 I've seen a growing number of bounced mails from Cyrus LMTP where Postfix
 logs 501 5.5.4 Syntax error in parameters (in reply to MAIL FROM
 command))
 
 The problem is that those messages really have invalid from adresses, like
 RosaSánc...@something.com, but Postfix still accepts them. Later, Cyrus
 runs parseaddr() on it ans correctly refuses to accept the mail.
 
 Now, I'm interested to hear how others handle this case, if possible how
 they handle it with postfix. I know that enabling strict_rfc821_envelopes
 would possibly help but that seem to be a bad idea.

good day my lord,

i have also seen this lately -- coming from LMTP as well -- running your
2.3.16 rpm ...

is this related?

thanks

m


Feb  3 15:03:25 DOMAIN postfix/qmgr[7263]: 906EE110F38:
from=webware_lice...@ocs.com, size=13232, nrcpt=1 (queue active)
Feb  3 15:03:26 DOMAIN postfix/smtpd[26815]: disconnect from
ocsdcfw1-pat.ocs.com[66.151.185.166]
Feb  3 15:03:31 DOMAIN postfix/smtpd[2949]: connect from
DOMAIN.com[82.103.143.139]
Feb  3 15:03:31 DOMAIN postfix/smtpd[2949]: 348A9110F39:
client=DOMAIN.com[xxx.xxx.xxx.xxx]
Feb  3 15:03:31 DOMAIN postfix/cleanup[2945]: 348A9110F39: message-id=
Feb  3 15:03:31 DOMAIN postfix/qmgr[7263]: 348A9110F39:
from=webware_lice...@ocs.com, size=13898, nrcpt=1 (queue active)
Feb  3 15:03:31 DOMAIN postfix/smtpd[2949]: disconnect from
DOMAIN.com[xxx.xxx.xxx.xxx]
Feb  3 15:03:31 DOMAIN lmtp[6430]: accepted connection
Feb  3 15:03:31 DOMAIN lmtp[6430]: connection from DOMAIN.com
[xxx.xxx.xxx.xxx] preauth'd as postman
Feb  3 15:03:31 DOMAIN amavis[30491]: (30491-06) Passed CLEAN,
[66.151.185.166] [66.151.185.166] webware_lice...@ocs.com -
u...@domain.com, mail_id: xu-j3SOEehs8, Hits: -1.186, size: 13221,
queued_as: 348A9110F39, 5337 ms
Feb  3 15:03:31 DOMAIN amavis[30491]: (30491-06) Passed CLEAN,
webware_lice...@ocs.com - u...@domain.com, Hits: -1.186, tag=-99,
tag2=4, kill=6, queued_as: 348A9110F39, L/Y/0/0
Feb  3 15:03:31 DOMAIN postfix/smtp[2946]: 906EE110F38:
to=u...@domain.com, orig_to=cc...@radius.fr,
relay=amavis.DOMAIN.com[xxx.xxx.xxx.xxx]:10025, delay=5.9,
delays=0.53/0/0/5.3, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=30491-06,
from MTA([xxx.xxx.xxx.xxx]:10045): 250 2.0.0 Ok: queued as 348A9110F39)
Feb  3 15:03:31 DOMAIN postfix/qmgr[7263]: 906EE110F38: removed
Feb  3 15:03:31 DOMAIN postfix/lmtp[3017]: 348A9110F39:
to=u...@domain.com, relay=imap.DOMAIN.com[xxx.xxx.xxx.xxx]:24,
delay=0.06, delays=0.01/0.01/0/0.04, dsn=5.6.0, status=bounced (host
imap.DOMAIN.com[xxx.xxx.xxx.xxx] said: 554 5.6.0 Message contains
invalid header (in reply to end of DATA command))
Feb  3 15:03:31 DOMAIN postfix/cleanup[2945]: 47D3E110F3A:
message-id=20110203140331.47d3e110...@domain.com
Feb  3 15:03:31 DOMAIN postfix/qmgr[7263]: 47D3E110F3A: from=,
size=15842, nrcpt=1 (queue active)
Feb  3 15:03:31 DOMAIN postfix/bounce[3018]: 348A9110F39: sender
non-delivery notification: 47D3E110F3A
Feb  3 15:03:31 DOMAIN postfix/qmgr[7263]: 348A9110F39: removed

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

Re: OT: webfrontend for cyrus

2011-02-08 Thread mayak-cq
On Tue, 2011-02-08 at 12:24 +0100, Günther J. Niederwimmer wrote: 

 Hello,
 
 can any tell me a nice and not so complicated Webfrontend for cyrus-imapd?
 


hi gunter,

for web administration of cyrus users and mail:
https://oss.gonicus.de/labs/gosa/
for web mail (send/receive, calendar, etc):
http://www.sogo.nu/english.html

cheers

m





Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

Cyrus IMAPd 2.3.16 Released -- auto create patch available?

2010-01-04 Thread mayak-cq
hi simon,

thanks for your fantastic rpms :-)

is there an autocreate patch that applies cleanly against this version?

thanks

m


Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Cyrus IMAPd 2.3.16 Released -- auto create patch available?

2010-01-04 Thread mayak-cq
On Mon, 2010-01-04 at 11:35 +0100, Simon Matter wrote:
  hi simon,
 
  thanks for your fantastic rpms :-)
 
  is there an autocreate patch that applies cleanly against this version?
 
 I've updated the patch from UoA for 2.3.16. It's in my rpms.
 
 Regards,
 Simon

Hi Simon,


H ... I've just installed roundcube web mail and am running it
against my cyrus with no joy -- i.e., create a new user, login to that
user's account, and no boxes are being created.

Relevant bits from imapd.conf:

autocreateinboxfolders: Sent|Drafts|Deleted Items|Junk
autocreatequota: 204800
autosubscribeinboxfolders: Sent|Drafts|Deleted Items|Junk
createonpost: yes

I am now noticing that these are subfolders of Inbox -- does this patch
work when 

altnamespace: yes

is set?

Cheers

M


Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Cyrus IMAPd 2.3.16 Released -- auto create patch available? [SOLVED]

2010-01-04 Thread mayak-cq
On Mon, 2010-01-04 at 11:35 +0100, Simon Matter wrote:
  hi simon,
 
  thanks for your fantastic rpms :-)
 
  is there an autocreate patch that applies cleanly against this version?
 
 I've updated the patch from UoA for 2.3.16. It's in my rpms.
 
 Regards,
 Simon

Turns out that the ldap management tool was creating just the Inbox,
therefore, when logging into imap, the autocreate procedure was not
firing.

Thanks

M



Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


loginrealms -- fetching from ldap

2009-12-07 Thread mayak-cq
hi all,

i have a site that is collecting mail for a large number of domains and
each of these domains serves as a login realm.

my imapd.conf is becoming a bit unmanageable with all the domains.

is there a lookup for 'loginrealms:' that can be used to fetch these
from my ldap?

thanks

m


Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


loginrealms -- fetching from ldap [SOLVED]

2009-12-07 Thread mayak-cq
hi all,

why bother fetching realms if you don't need them!

found an older kolab thread that dealt with this issue. in fact, the
solution is to ignore realms and just authenticate. 

i removed loginrealms: from imapd.conf and tweaked my saslauthd.conf and
remove any mention of realms:

/etc/saslauthd.conf
ldap_servers: ldap://ldap.domain.com/
ldap_search_base: dc=domain,dc=com
ldap_version: 3

ldap_filter:  ( (mail=%u) (objectClass=gosaMailAccount))


i the started saslauthd as below, still using the -r so that the whole
user n...@domain.com gets passed to sasl:

saslauthd -m /var/run/saslauthd -a ldap -O/etc/saslauthd.conf -r

works like a charm

m


Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


DELETED mailboxes in directory tree and mailboxed.db

2009-11-26 Thread mayak-cq
hi all,

i'm running cyrus 2.3.14-9 on centos-5 (thanks simon!)

i've been doing a lot of work on the mailboxes, reorganizing, etc, and I
noticed in cyradm a bunch of DELETED entries in the mailbox.db as well
DELETED directories in the mailstore.

is there a way to purge these?

thanks

mcq


Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


moving a cyrus folder and reconstruct?

2009-11-18 Thread mayak-cq
hi all,

i've been migrating from smartermail to cyrus using imapsync

that has worked, yet, i end up with an Inbox child of Inbox.

i'd like to goto the file system and just move the folders around and
delete the 2nd Inbox, however, cyrus barfs.

is there a way to move the mail folders using a script?

many thanks

mcq


Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: shared folders permissions from ldap

2009-05-14 Thread mayak chunder-qwern
Hi Jure,

Never played with those flags, but for everything else you're doing, you
should definitely have a look at Gosa -- best ldap tool I've ever seen.

https://oss.gonicus.de/labs/gosa/

You could certainly code what you're looking for in a plugin 

Cheers

Mayak


On Thu, 2009-05-14 at 12:21 +0200, Jure Pečar wrote:
 Hello,
 
 I find myself playing with cyrus again after a few years, this time in a bit 
 different role. 
 
 I'm setting up a company internal mail system with a central point of 
 management. I chose ldap for auth, mail routing and antispam info. Now I'm 
 looking at shared folders and find them very useful for what I want to do. My 
 only problem is that their permissions need to be set within cyrus (as they 
 are basically imap permissions), which means another admin interface for that.
 
 So I'm looking for ideas on how to integrate the two. Does anyone know a web 
 ui of some sort that would integrate editing ldap and imap flags? Before we 
 start writing our own ...
 
 
 -- 
 
 Jure Pečar
 http://jure.pecar.org
 
 Cyrus Home Page: http://cyrusimap.web.cmu.edu/
 Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
 List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Re: limit tcp sessions opened by an IMAP client

2009-04-14 Thread mayak chunder-qwern
bonjour dominique,

iptables is well suited to do this. google rate limiting and maximum
connections.

cheers

mayak

On Tue, 2009-04-14 at 10:32 +0200, LALOT Dominique wrote:
 Hello,
 
 I've looked at google before asking, but I didn't find something.
 Some imap clients are using many tcp connexions. I would like to know
 if there is a way to limit them?
 
 Thanks
 
 Dom
 
 -- 
 Dominique LALOT
 Ingénieur Systèmes et Réseaux
 http://annuaire.univmed.fr/showuser.php?uid=lalot
 
 Cyrus Home Page: http://cyrusimap.web.cmu.edu/
 Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
 List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html