Re: cyrus-imapd virtual domains

2005-08-22 Thread Ondrej Sury
On Fri, 2005-08-19 at 12:52 -0400, Etienne Goyer wrote:
> Ondrej Sury wrote:
> > Don't enable virtual domain support in cyrus.  Just create map in your
> > MTA which will map email addresses to cyrus names.
> 
> The downside being that all the domains share the same namespace, thus 
> there could not be two mailbox named "info", for example.

Yeah, but that was already in requirements:
-- cut here --
I have several mail customers with their own domain. I wonder
if there is a way to make cyrus authenticate all the users from any
domain only with their username not using [EMAIL PROTECTED]
-- cut here --

And anyway, he can have [EMAIL PROTECTED] a [EMAIL PROTECTED] email addresses, 
but not
two info mailboxes.  It's important to pinpoint this difference.

O.

-- 
Ondrej Sury <[EMAIL PROTECTED]>


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

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

Master process exited, status 0

2005-08-22 Thread Forrest Aldrich




I just brought up a new system (FreeBSD_6) with Cyrus IMAP 2.2.12.

The system has been on for a while prior to today, and things seem to
be working fine; however, I'm noticing the below in the logs:


Aug 22 03:41:12 forrie master[18392]: process 86622
exited, status 0
  Aug 22 03:41:13 forrie master[18392]: process 86623 exited,
status 0
  Aug 22 03:41:14 forrie master[18392]: process 86624 exited,
status 0
  Aug 22 03:41:14 forrie master[18392]: process 86625 exited,
status 0


I'm not sure what this implies, but it doesn't appear to be normal.




Thanks.




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

Re: [exim] HOWTO exim 4.5 + cyrus 2.1 on debian

2005-08-22 Thread Dennis Davis
On Sun, 21 Aug 2005, Derek Stevenson wrote:

> From: Derek Stevenson <[EMAIL PROTECTED]>
> To: exim-users@exim.org, Cyrus List 
> Date: Sun, 21 Aug 2005 09:51:07 -0700
> Subject: [exim] HOWTO exim 4.5 + cyrus 2.1 on debian
> 
> I've put together this little howto after having received some
> nice help from people on these lists.  I hope some newbies will
> find it useful.  I realize it's a simplistic setup; my goal is to
> provide instructions to get up and running as quickly as possible
> from a new debian install.  Please comment, suggest improvements,
> etc.
>
> I hope it's not too much trouble to post to both lists, I thought
> it would be useful to people in both groups.  If this offends
> sensibilities, I apologize ahead of time.
>
> If this seems like a useful exercise, I'd be happy to post it to
> the exim wiki; is there a cyrus wiki out there too?

...

> local_delivery_cyrus:
>  driver = lmtp
>  command = "/usr/sbin/cyrdeliver -l -m user.$local_part"
>  user = cyrus


See:

http://anfi.homeunix.net/exim/rtvcyrus.html

for an alternative.  It suggests delivering to an LMTP daemon
listening on the loopback address.  The advantage of this
is that you can then use exim's verification options to
check the sender and/or recipient.
-- 
Dennis Davis, BUCS, University of Bath, Bath, BA2 7AY, UK
[EMAIL PROTECTED]   Phone: +44 1225 386101

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


Re: Ximian Evolution client / local imapd

2005-08-22 Thread Ondrej Sury
On Fri, 2005-08-19 at 21:18 +, Brian Huffman wrote:
> All,
> 
> Evolution has an option to remotely connect to an imap server that you 
> otherwise
> can not connect to by using means such as ssh.  It allows a "custom command" 
> to
> connect to the imap server.  The default is:  
> 
> "ssh -C -l %u %h exec /usr/sbin/imapd"

Why would you want to do that instead of using IMAP SSL (or TLS)?

Cyrus servers are ment not to be accessible by ordinary users (ie. more
secure to local attacks).

O.
-- 
Ondrej Sury <[EMAIL PROTECTED]>


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

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

saslauthd auth failure PAM auth error

2005-08-22 Thread Gobbledegeek
Hello
   I reinstalled cyrus-imapd, after deleting spool/imap and
lib/imap folders.  Now again I'm struggling with getting saslauthd to
work with cyrus. I managed to get root and cyrus user successfully
login with testsaslauthd - but they are local users. cyradm is also
working for cyrus user.  I'm unable to get cyrus imap only users to
authenticate from mail client or testsaslauthd. I've created
"saslpasswd2 -c ", and  "saslpasswd -c  "  for each user
but to no avail. I had got it working yesterday but today is a
different day... (duh! maybe thats it...!! ) . Pls help.

-- 
Nonchalantly yours
GobbledeGeek
[Every thing but Gobbledegook.. !!]

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


Re: Ximian Evolution client / local imapd

2005-08-22 Thread Simon Matter
> On Fri, 2005-08-19 at 21:18 +, Brian Huffman wrote:
>> All,
>>
>> Evolution has an option to remotely connect to an imap server that you
>> otherwise
>> can not connect to by using means such as ssh.  It allows a "custom
>> command" to
>> connect to the imap server.  The default is:
>>
>> "ssh -C -l %u %h exec /usr/sbin/imapd"

Don't even think about running imapd by hand, only cyrus master can do it.
It simply won't work.

Simon

>
> Why would you want to do that instead of using IMAP SSL (or TLS)?
>
> Cyrus servers are ment not to be accessible by ordinary users (ie. more
> secure to local attacks).
>
> O.
> --
> Ondrej Sury <[EMAIL PROTECTED]>
> 
> Cyrus Home Page: http://asg.web.cmu.edu/cyrus
> Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


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


Re: Ximian Evolution client / local imapd

2005-08-22 Thread Earl Shannon

Hello,

Such a connection might be useful if the imap server expected to
have the client running locally. I think the UW Imap server does that,
but I'm only guessing. As others have already pointed out, doing it
with Cyrus is not only a bad idea, it probably won't work.

Regards,
Earl Shannon

Simon Matter wrote:


On Fri, 2005-08-19 at 21:18 +, Brian Huffman wrote:
   


All,

Evolution has an option to remotely connect to an imap server that you
otherwise
can not connect to by using means such as ssh.  It allows a "custom
command" to
connect to the imap server.  The default is:

"ssh -C -l %u %h exec /usr/sbin/imapd"
 



Don't even think about running imapd by hand, only cyrus master can do it.
It simply won't work.

Simon

 


Why would you want to do that instead of using IMAP SSL (or TLS)?

Cyrus servers are ment not to be accessible by ordinary users (ie. more
secure to local attacks).

O.
--
Ondrej Sury <[EMAIL PROTECTED]>

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




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




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


Re: saslauthd auth failure PAM auth error

2005-08-22 Thread Ondrej Sury
On Mon, 2005-08-22 at 16:57 +0530, Gobbledegeek wrote:
> Hello
>I reinstalled cyrus-imapd, after deleting spool/imap and
> lib/imap folders.  Now again I'm struggling with getting saslauthd to
> work with cyrus. I managed to get root and cyrus user successfully
> login with testsaslauthd - but they are local users. cyradm is also
> working for cyrus user.  I'm unable to get cyrus imap only users to
> authenticate from mail client or testsaslauthd. I've created
> "saslpasswd2 -c ", and  "saslpasswd -c  "  for each user
> but to no avail. I had got it working yesterday but today is a
> different day... (duh! maybe thats it...!! ) . Pls help.

You are mixing auxprop and saslauthd methods.  It looks like your
saslauthd is using pam database, which is really different
from /etc/sasldb2

I recommend you to read carefully documentation to Cyrus IMAP and Cyrus
SASL (which are two different things).

Ondrej.
-- 
Ondrej Sury <[EMAIL PROTECTED]>


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

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

Re: Ximian Evolution client / local imapd

2005-08-22 Thread Ondrej Sury
On Mon, 2005-08-22 at 08:27 -0400, Earl Shannon wrote:
> Hello,
> 
> Such a connection might be useful if the imap server expected to
> have the client running locally. I think the UW Imap server does that,
> but I'm only guessing. As others have already pointed out, doing it
> with Cyrus is not only a bad idea, it probably won't work.
Hi,

you can setup SSH tunnel in this case.  (See -L option to ssh).

Ondrej.
-- 
Ondrej Sury <[EMAIL PROTECTED]>


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

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

Re: Setup Instruction for NNTP on Cyrus

2005-08-22 Thread Ken Murchison

Dawid van Wyngaard wrote:


Ken

Taking a couple of steps back.. I have setup a News Server (leafnode) with
shared folders. I can now see the news grousp as folders. I then subscribe
to these folders, but for some reason can't see any articles in these
folders. I can see the articles in a normal news readers...


I'm confused as to what you're trying to accomplish.  If you already 
have Leafnode setup to handle newsgroups, what do you need Cyrus' NNTP 
support for.  The purpose of the Cyrus NNTP support is to replace 
something like Leafnode.


--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 2495 Main St. - Suite 401
716-604-0088 x26  Buffalo, NY 14214
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp

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


Re: Master process exited, status 0

2005-08-22 Thread Ken Murchison

Forrest Aldrich wrote:


I just brought up a new system (FreeBSD_6) with Cyrus IMAP 2.2.12.

The system has been on for a while prior to today, and things seem to be 
working fine; however, I'm noticing the below in the logs:


Aug 22 03:41:12 forrie master[18392]: process 86622 exited, status 0
Aug 22 03:41:13 forrie master[18392]: process 86623 exited, status 0
Aug 22 03:41:14 forrie master[18392]: process 86624 exited, status 0
Aug 22 03:41:14 forrie master[18392]: process 86625 exited, status 0


What Cyrus processes do those pids relate to?  If you're logging in 
DEBUG mode, those messages could be something as simple as an idle imapd 
timing out.


--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 2495 Main St. - Suite 401
716-604-0088 x26  Buffalo, NY 14214
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp

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


Re: Setup Instruction for NNTP on Cyrus

2005-08-22 Thread Dawid van Wyngaard
Ken,

Thanks for the help, but don't worry, mate. I think between a couple of
parties trying to resolve it, it got a bit confusing.

Thanks,

Dawid

> Dawid van Wyngaard wrote:
>
>> Ken
>>
>> Taking a couple of steps back.. I have setup a News Server (leafnode)
>> with
>> shared folders. I can now see the news grousp as folders. I then
>> subscribe
>> to these folders, but for some reason can't see any articles in these
>> folders. I can see the articles in a normal news readers...
>
> I'm confused as to what you're trying to accomplish.  If you already
> have Leafnode setup to handle newsgroups, what do you need Cyrus' NNTP
> support for.  The purpose of the Cyrus NNTP support is to replace
> something like Leafnode.
>
> --
> Kenneth Murchison Oceana Matrix Ltd.
> Software Engineer 2495 Main St. - Suite 401
> 716-604-0088 x26  Buffalo, NY 14214
> --PGP Public Key--http://www.oceana.com/~ken/ksm.pgp
>
>
> 
> This email was sent from the hosting services of e-Services. If you
> need >FREE< email hosting with a 100mb disk space goto
> http://e-services.homelinux.net/web_eservices/ click on the register
> link or email: [EMAIL PROTECTED]
> 
>
>
> ***
>   This email has been ClamScanned !
>   www.clamav.net
> ***
>
>
> 
>   PLEASE NOTE
>
>   This email and any files transmitted with it are confidential and
>   intended solely for the use of the individual or entity to whom they
>   are addressed. If you have received this email in error please notify
>   the system manager. Please note that any views or opinions presented
>   in this email are solely those of the author and do not necessarily
>   represent those of e-Services. Finally, while e-Services
>   attempts to ensure that all email is virus-free, e-Services
>   accepts no liability for any damage caused by any virus
>   transmitted by this email.
> 
>
>


Dawid van Wyngaard
EMC2 Consulting / e-Services
Tel: +27-11-704 0396
Fax: +27-088 011 704 0123
Web1: http://www.emc2sa.com/
Web2: http://e-services.homelinux.net/web_eservices/



This email was sent from the hosting services of e-Services. If you
need >FREE< email hosting with a 100mb disk space goto
http://e-services.homelinux.net/web_eservices/ click on the register 
link or email: [EMAIL PROTECTED]



***
  This email has been ClamScanned !
  www.clamav.net   
***



  PLEASE NOTE   
   
  This email and any files transmitted with it are confidential and 
  intended solely for the use of the individual or entity to whom they  
  are addressed. If you have received this email in error please notify 
  the system manager. Please note that any views or opinions presented   
  in this email are solely those of the author and do not necessarily   
  represent those of e-Services. Finally, while e-Services   
  attempts to ensure that all email is virus-free, e-Services   
  accepts no liability for any damage caused by any virus   
  transmitted by this email.



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


Problem with direct delivery to cyrus subfolder...

2005-08-22 Thread Sylvain MEDEOT

Hi,

I am running Postfix+ldap+cyrus on Debian sarge. All is working well 
excepted the fact that when I send an email to a subfolder (adressed to
[EMAIL PROTECTED]) directly to a folder named partage, the 
message is delivered directly to the inbox folder as usual...


In the logs, I get the following :

Aug 20 10:23:40 aldebaran postfix/smtpd[10766]: connect from ...
Aug 20 10:23:40 aldebaran postfix/cleanup[10769]: 5B811FC: hold: header 
Received: from [192.168.10.14] ??by mpontoise.ath.cx (Postfix) with

ESMTP id 5B811FC??for <[EMAIL PROTECTED]>;
Sat, 20 Aug 2005 10:23:40  from ... from=<[EMAIL PROTECTED]> 
to=<[EMAIL PROTECTED]> proto=ESMTP helo=<[192.168.10.14]>
Aug 20 10:23:40 aldebaran postfix/cleanup[10769]: 5B811FC: 
message-id=<[EMAIL PROTECTED]>

Aug 20 10:23:40 aldebaran postfix/smtpd[10766]: disconnect from ...
Aug 20 10:23:49 aldebaran MailScanner[10654]: New Batch: Scanning 1 
messages, 954 bytes
Aug 20 10:23:49 aldebaran MailScanner[10654]: Spam Checks: Starting Aug 
20 10:24:00 aldebaran MailScanner[10654]: Message 5B811FC.8EB42 from 
130.0.10.233 ([EMAIL PROTECTED]) to mpontoise.ath.cx NOT SPAN, 
SpamAssassin (score=0.516, requis 6, FROM_ENDS_IN_NUMS 0.52)
Aug 20 10:24:00 aldebaran MailScanner[10654]: Virus and Content 
Scanning: Starting
Aug 20 10:24:01 aldebaran MailScanner[10654]: Filename Checks: Allowing 
5B811FC.8EB42 msg-10654-1.txt
Aug 20 10:24:01 aldebaran MailScanner[10654]: Requeue: 5B811FC.8EB42 to 
46005137
Aug 20 10:24:01 aldebaran MailScanner[10654]: Uninfected: Delivered 1 
messages
Aug 20 10:24:01 aldebaran postfix/qmgr[10696]: 46005137: 
from=<[EMAIL PROTECTED]>, size=855, nrcpt=1 (queue active)
Aug 20 10:24:01 aldebaran postfix/lmtp[10784]: 46005137: 
to=<[EMAIL PROTECTED]>, orig_to=<[EMAIL PROTECTED]>,
relay=/var/spool/postfix/public/lmtp[/var/spool/postfix/public/lmtp], 
delay=21, status=sent (250 2.1.5 Ok)

Aug 20 10:24:01 aldebaran postfix/qmgr[10696]: 46005137: removed
Aug 20 10:34:58 aldebaran postfix/qmgr[10696]: 5E87019BF: 
from=<[EMAIL PROTECTED]>, size=873, nrcpt=1 (queue active)
Aug 20 10:34:58 aldebaran postfix/lmtp[10792]: 5E87019BF: 
to=<[EMAIL PROTECTED]>, orig_to=<[EMAIL PROTECTED]>,
relay=/var/spool/postfix/public/lmtp[/var/spool/postfix/public/lmtp], 
delay=1176, status=sent (250 2.1.5 Ok)

Aug 20 10:34:58 aldebaran postfix/qmgr[10696]: 5E87019BF: removed

The strange thing is that the orig_to is not kept and changed : 
to=<[EMAIL PROTECTED]>, orig_to=<[EMAIL PROTECTED]>


Cyrus rights seems ok and I can move message to and from this folder...

lm
partage (\HasNoChildren)

lq partage
STORAGE 0/1000 (0%)

listacl partage
anyone lrswipcda

Postfix master.cf
cyrus unix  -   n   n   -   -   pipe
flags=R user=cyrus argv=/usr/sbin/cyrdeliver -e -m ${extension} ${user}
lmtp  unix  -   -   n   -   -   lmtp

Postfix main.cf
virtual_transport=lmtp:unix:/var/spool/postfix/public/lmtp
mailbox_transport=lmtp:unix:/var/spool/postfix/public/lmtp
lmtp_cache_connection = no
unknown_local_recipient_reject_code = 450
recipient_delimiter = +

Any help welcome,

Kind regards,

Sylvain






___ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com


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


Re: Problem with direct delivery to cyrus subfolder...

2005-08-22 Thread Ondrej Sury
On Mon, 2005-08-22 at 17:18 +0200, Sylvain MEDEOT wrote:
Hi,

this question has nothing to do with Cyrus, it's more related to Postfix
(and maybe Mailscanner).

> In the logs, I get the following :
> 
> [...]
> Aug 20 10:24:01 aldebaran MailScanner[10654]: Uninfected: Delivered 1 
> messages
> Aug 20 10:24:01 aldebaran postfix/qmgr[10696]: 46005137: 
> from=<[EMAIL PROTECTED]>, size=855, nrcpt=1 (queue active)
> Aug 20 10:24:01 aldebaran postfix/lmtp[10784]: 46005137: 
> to=<[EMAIL PROTECTED]>, orig_to=<[EMAIL PROTECTED]>,
> relay=/var/spool/postfix/public/lmtp[/var/spool/postfix/public/lmtp], 
> delay=21, status=sent (250 2.1.5 Ok)
> [...]

Looks like postfix strips +partage extension before delivering it to
Postfix.  Have you tried asking on postfix-users list?

But anyway, try to disable Mailscanner first (for testing time) and see
what happens, Well, at least your logs will be much simpler :-)

Ondrej.
-- 
Ondrej Sury <[EMAIL PROTECTED]>


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

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