Re: RESOLVED: LMTP delivery problem Cyrus 2.2.3

2004-02-16 Thread Stephan Buys
After checking the lmtp log and doing some strace work I was able to determine
the problem. We used partial virtual domain support in the past. I just updated
the configuration to proper 2.2.3 virtual domain support and it seems to work
now



On Friday 13 February 2004 21:50, Stephan Buys wrote:
> Hi all,
> 
> How does one trace problems with message delivery with LMTP? There seems
> to be something wrong with message delivery, or some kind of configuration 
> error..
> --
> I have a mailbox, as displayed in cyradm output below:
> --
> cyradm> connect --noauthenticate 127.0.0.1
> localhost> auth manager
> IMAP Password:
>   localhost> lm
> user/[EMAIL PROTECTED] (\HasNoChildren)
> 
> Authentication for this user works fine, as shown below:
> 
> Connected to 127.0.0.1.
> Escape character is '^]'.
> * OK baronny.internal.codefusion.co.za Cyrus IMAP4 v2.2.3 server ready
> ? login [EMAIL PROTECTED] password
> ? OK User logged in
> ? NAMESPACE
> * NAMESPACE (("INBOX/" "/")) (("user/" "/")) (("" "/"))
> ? OK Completed
> --
> But delivery to this mailbox does not work...
> --
> Connected to 127.0.0.1.
> Escape character is '^]'.
> 220 baronny.internal.codefusion.co.za LMTP Cyrus v2.2.3 ready
> LHLO localhost
> 250-baronny.internal.codefusion.co.za
> 250-8BITMIME
> 250-ENHANCEDSTATUSCODES
> 250-PIPELINING
> 250-SIZE
> 250-AUTH EXTERNAL
> 250 IGNOREQUOTA
> MAIL FROM:<[EMAIL PROTECTED]>
> 250 2.1.0 ok
> RCPT TO:<[EMAIL PROTECTED]>
> 550-Mailbox unknown.  Either there is no mailbox associated with this
> 550-name or you do not have authorization to see it.
> 550 5.1.1 User unknown
> quit
> 221 2.0.0 bye
> Connection closed by foreign host.
> --
> Any ideas? My imapd.conf configuration is as follows:
> --
> configdirectory:/kolab/var/imapd
> partition-default:  /kolab/var/imapd/spool
> 
> admins: manager
> sasl_pwcheck_method:saslauthd
> sasl_mech_list: plain
> sendmail:   /kolab/sbin/sendmail
> allowanonymouslogin:no
> allowplaintext: yes
> servername: baronny.internal.codefusion.co.za
> autocreatequota:10
> reject8bit: no
> munge8bit:  no
> quotawarn:  90
> timeout:30
> sievedir:   /kolab/var/imapd/sieve
> lmtpsocket: /kolab/var/kolab/lmtp
> 
> #tls_ca_file:   /kolab/etc/kolab/server.pem
> tls_cert_file:  /kolab/etc/kolab/cert.pem
> tls_key_file:   /kolab/etc/kolab/key.pem
> 
> #altnamespace
> unixhierarchysep:   yes
> lmtp_downcase_rcpt: yes
> #virtdomains: yes
> 
> loginrealms:internal.codefusion.co.za
> defaultdomain:  internal.codefusion.co.za
> 
> Regards,

-- 
Stephan  Buys
Code Fusion cc.
Tel: +27 11 391 1412
Mobile: +27 83 294 1876
Email: [EMAIL PROTECTED]
---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


µÚ95½ì¹ã½»»á

2004-02-16 Thread ¾«²Ê¹ã½»»á




 中国出口商品交易会会刊

 ---出口产品最直接最有效的宣传媒体--- 

★ 广  交  会-中国第一展,第95届精彩扩容,规模达世界第三,每届
  到会外商超过15万人,来自200多个国家和地区;
★ 广交会会刊-大会唯一定点、大量免费派发的权威性刊物;会刊全面
  刊登中国经贸政策和广交会官方权威信息。
★《广交会会刊》全力推介中国产品走出国门、走向世界。会刊在交易会期
   间,大量免费发放,将中国企业的出口产品信息强烈地传递给参会10几万
   国外采购商。
★ 在《广交会会刊》上发布出口产品信息,其效果是最直接最有效的,也是看
   得见的!书刊、光盘、网络立体宣传,全球多渠道推广,突破时空限制,
   直接面对国际买家。

★★ 1.广交会会刊截稿时间:春交会04年3月25日,秋交会9月25日;
    2.请即联系,索取详细资料:
   广州市流花路117号交易大厦10楼  510014
  中国出口商品交易会会刊编辑部:何辉先生
  Tel:020-85638911 85546764(Fax)  13660215545
mailto: [EMAIL PROTECTED]
  (请留下联系信息、传真号码索取详细资料)
 3.北京、上海、台州、香港地区的新客户请与当地代理商联系;
    4.2003年度广交会会刊广告客户,请仍与原联系人联系;
 5.点击这里,可清楚看到所有外商均能免费领取到《会刊》。

*** 如果你要通过email回复,请回复至上面联系信箱,不要直接回复。
*** 如果你不需要广交会信息,请回信至: mailto:[EMAIL PROTECTED]




lmtpd reporting faulty parse errors

2004-02-16 Thread Henk . Roose
Hi,

I'm using cyrus 2.1.16 on Solaris 8 with sendmail delivering to unix
sockets.  I've had this experience before and more often when I was
running 2.1.14 but every now and then lmtpd starts reporting these kind
of errors with syntactically correct sieve scripts -- from my logs:

Feb 15 04:26:00 host.cwi.nl lmtpd[28106]: [ID 358100 local6.info] sieve parse 
error for user: line 7: fileinto not required
Feb 15 04:26:00 host.cwi.nl lmtpd[28106]: [ID 358100 local6.info] sieve parse 
error for user: line 12: fileinto not required
[...]

This goes on and on until some high line number is reached (and that's very
odd because there aren't even that many lines in the user's sieve script:

[...]
Feb 15 04:26:00 host.cwi.nl lmtpd[28106]: [ID 358100 local6.info] sieve parse 
error for user: line 343: fileinto not required

The annoying part, of course, is that the filtering for that particular
user doesn't work and all mail goes to the inbox unfiltered.

Did anyone experience this before? Does anybody have any idea why this
is happening?

TIA
Henk.

P.S.  I'll include the relevant setup information below.


- from sendmail.cf:
Mcyrus, P=[IPC], F=lsDFMnPqA5@/:|SmXz, S=EnvFromL, R=EnvToL/HdrToL,
U=cyrus:mail, T=DNS/RFC822/X-Unix,
A=FILE /var/run/lmtp

- from cyrus.conf:
  lmtpunix  cmd="lmtpd" listen="/var/run/lmtp" prefork=1

- version output
name   : Cyrus IMAPD
version: v2.1.16 2003/11/19 16:45:28
vendor : Project Cyrus
support-url: http://asg.web.cmu.edu/cyrus
os : SunOS
os-version : 5.8
environment: Cyrus SASL 2.1.17
 Sleepycat Software: Berkeley DB 4.0.14: (November 18, 2001)
 Built w/OpenSSL 0.9.7c 30 Sep 2003
 Running w/OpenSSL 0.9.7c 30 Sep 2003
 CMU Sieve 2.2
 mmap = shared
 lock = fcntl
 nonblock = fcntl
 auth = unix
 idle = idled
 mailboxes.db = skiplist
 seen.db = skiplist
 subs.db = flat
 deliver.db = db3-nosync
 tls_sessions.db = db3-nosync

-- 
Henk Roose - [EMAIL PROTECTED]
CWI - Centrum voor Wiskunde en Informatica
Centre for Mathematics and Computer Science
Amsterdam (NL)
---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Outlook problems with long UIDL's

2004-02-16 Thread Gregor Bruhin
Hi Etienne,

Indeed.  UIDL at the site I am responsible for are in the range of 10 
to
15 characters.  Even then, Outlook 2k2 choke when a mailbox contain 
UIDL
of varying length.

I am now unable to reproduce the problem at least with recent 
versions
of outlook !
They fixed it!  Great!  Which Service Pack / Hotfix ?
I don't know, I am just unable to reproduce the problem with some test 
mailboxes and different recent outlooks...

Has someone here still this problem ? If yes with which version of
outlook/outlook express ?
I'll have to check with my client, but all the problematic client had
been migrated to IMAP instead of waiting for this issue to resolve
(which the correct solution, BTW).  They may not be aware of the 
current
status of this issue, and probably don't care either.
We had the same approach here...

CU Greg

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


Migration from UW-imap

2004-02-16 Thread Jordi Pallares
Hy,

I've tryed to migrate from an UW-Imap to a Cyrus Imap.
To transport the users mailboxes i use ImapCopy script, but i have a lot 
of errors like this:
  Getting List of messages in "" Failed (SELECT)- copy aborted for 
this folder
 where xxx are the mailbox name.

What can i do to sove this.
I can use another program like this to make our migration?
Thanks a lot

/Jordi

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


Virtual domains, user@domain.com: Mailbox unknown

2004-02-16 Thread Henrik Troeng








Hi all,

 

I have a problem, I use multiple domains but for users
I create with the domain specified, for example [EMAIL PROTECTED] it can’t
receive mail. When I try to send to this user I get back a reply from
Mailer-Daemon that says “550-Mailbox Unknown”. Either there is no mailbox
associated 550-name or you don’t have authorization to see it”.

 

If I create the user “user.postmaster” it
works fine, but the user “[EMAIL PROTECTED]”
wont accept any mail.

 

Here is my imapd.conf:

 

configdirectory: /var/imap

partition-default: /var/spool/imap

admins: cyrus root Henrik

sasl_pwcheck_method: saslauthd

sasl_mech_list: PLAIN LOGIN

sendmail: /usr/sbin/sendmail

servername: htc.troeng.com

virtdomains: yes

defaultdomain: troeng.com

 

I have set up the domain in the local-host-names
config file for sendmail. 

 

Here is the error message:

 

“

The original message was received at Mon, 16 Feb 2004
12:47:04 +0100

from lmdeliver01.st1.spray.net [212.78.202.210]

 

   - The following addresses had
permanent fatal errors -

root

    (reason: 550-Mailbox
unknown.  Either there is no mailbox associated

with this)

    (expanded from:
<[EMAIL PROTECTED]>)

 

   - Transcript of session follows
-

... while talking to localhost:

>>> DATA

<<< 550-Mailbox unknown.  Either there
is no mailbox associated

with this

<<< 550-name or you do not have
authorization to see it.

<<< 550 5.1.1 User unknown

550 5.1.1 root... User unknown

<<< 503 5.5.1 No recipients

“

 

 

 

Regards

 

Henrik








Re: Migration from UW-imap

2004-02-16 Thread Andrew J Caird
On Mon, 16 Feb 2004, Jordi Pallares wrote:

> Hy,
>
> I've tryed to migrate from an UW-Imap to a Cyrus Imap.
> To transport the users mailboxes i use ImapCopy script, but i have a lot
> of errors like this:
>Getting List of messages in "" Failed (SELECT)- copy aborted for this folder
> where xxx are the mailbox name.
>
> What can i do to sove this.
> I can use another program like this to make our migration?

Jordi,
  I strongly suggest you search the recent archives of this list.  There
have been at least two very informative threads on the topic of migrating
IMAP mailboxes to and from Cyrus.

   http://asg.web.cmu.edu/archive/index.php?mailbox=archive.info-cyrus

  One keyword that should find at least one message in the thread to get
you started is "mailutil".

  Best of luck.
--
Andrew Caird

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


Re: SOLVED Re: Trying to troubleshoot Murder problem

2004-02-16 Thread Rob Siemborski
On Fri, 13 Feb 2004, Etienne Goyer wrote:

> Hi,
>
> I solved my problem.  On the MUPDATE master, in /etc/cyrus.conf we had :
>
> mupdate cmd="/usr/cyrus/bin/mupdate -m" listen=2004 prefork=10
>
> Setting prefork=1, then restarting the Murder solved it.

This is pretty clearly documented in the documentation that ships with the
distribution, actually.

> This beg an entry in the Wiki, if only I could figure out how to use it

It should be pretty straightforward.  Just click on the "Edit" link for
any page you want to change.  To create a new page, click on the "?" next
to a link to it, or jump to the name of the page you want to create and it
will offer to create it for you.

-Rob

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper

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


Murder problem on RHEL 3.0

2004-02-16 Thread Jim Levie
I'd be most grateful if someone could point out what I'm doing wrong or
haven't done. I'm attempting to set up a simple Murder to play with and
not having any luck at all. The environment looks like:

OS - RedHat Enterprise Linux 3.0 ES (up to date)
Cyrus-imap-2.2.3 built with:
   CPPFLAGS=-I/usr/kerberos/include ./configure --prefix=/usr \
   --with-auth=unix --without-ucdsnmp --enable-murder
Authentication stored in sasldb2 (sasl-2.1.15-3)

At the moment I'm stuck on trying to get the mupdate master to work.
Based on the instructions in "Installing The Cyrus Murder" my imapd.conf
file looks like:

configdirectory:/var/imap/conf
partition-default:  /tmp
sasl_pwcheck_method:auxprop
admins: cyrus dunno
mupdate_port:   3905

I've added:

mupdate   cmd="mupdate" -m listen=3905 prefork=1

to SERVICES in a copy of normal.conf. The "cyrus" and "dunno" users
exist in sasldb2 and it is readable by the cyrus user.

Cyrus appears to start/run and I have a running mupdate process that is
listening on 3905 (per lsof). However, if I attempt to test with
'mupdatetest -p 3905 -u cyrus host.domain.tld' I get no response. I can
see that a connection was made with a sniffer but see no data from the
mupdate server after the connection is established.

A backend server, not yet configured to talk to the mupdate server,
works fine using the same build of Cyrus. Obviously there's no point in
proceeding further with the configuration if I can't get the mupdate
server to work.
-- 
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
The instructions said to use Windows 98 or better, so I installed RedHat
   Jim Levie email:[EMAIL PROTECTED]



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


Re: Virtual domains, user@domain.com: Mailbox unknown

2004-02-16 Thread Christopher Paluch
I to am having the same problem.I have a user called [EMAIL PROTECTED]  and when I 
do a cyradm lm command it is listed.
In my imapd.conf file, I have specified the following parameters:
unixhierarchysep:  yes
virtdomains:  yes
defaultdomain:  nottest.com
loginrealms:   nottest.com   test.com

I have also modifed my sendmail.cf so the cyrusv2 listing has the following parameters:
S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP

When I send an email to that user, it gets through Sendmail okay, who sends it on to 
cyrusv2 - who rejects it for the same errors as below.

Does anyone have any suggestions to what I've forgotten to do, that would be causing 
this problem?  Also does anyone know what the proper way is to specify the cyrusv2 
options in sendmail.mc is?

Thanks for any assistance!

-Chris Paluch


-Original Message-
From: Henrik Troeng <[EMAIL PROTECTED]>
Sent: Feb 16, 2004 6:17 AM
To: [EMAIL PROTECTED]
Subject: Virtual domains, [EMAIL PROTECTED]: Mailbox unknown

Hi all,

 

I have a problem, I use multiple domains but for users I create with the
domain specified, for example [EMAIL PROTECTED] it can't receive
mail. When I try to send to this user I get back a reply from Mailer-Daemon
that says "550-Mailbox Unknown". Either there is no mailbox associated
550-name or you don't have authorization to see it".

 

If I create the user "user.postmaster" it works fine, but the user
"[EMAIL PROTECTED]" wont accept any mail.

 

Here is my imapd.conf:

 

configdirectory: /var/imap

partition-default: /var/spool/imap

admins: cyrus root Henrik

sasl_pwcheck_method: saslauthd

sasl_mech_list: PLAIN LOGIN

sendmail: /usr/sbin/sendmail

servername: htc.troeng.com

virtdomains: yes

defaultdomain: troeng.com

 

I have set up the domain in the local-host-names config file for sendmail. 

 

Here is the error message:

 

"

The original message was received at Mon, 16 Feb 2004 12:47:04 +0100

from lmdeliver01.st1.spray.net [212.78.202.210]

 

   - The following addresses had permanent fatal errors -

root

(reason: 550-Mailbox unknown.  Either there is no mailbox associated

with this)

(expanded from: <[EMAIL PROTECTED]>)

 

   - Transcript of session follows -

... while talking to localhost:

>>> DATA

<<< 550-Mailbox unknown.  Either there is no mailbox associated

with this

<<< 550-name or you do not have authorization to see it.

<<< 550 5.1.1 User unknown

550 5.1.1 root... User unknown

<<< 503 5.5.1 No recipients

"

 

 

 

Regards

 

Henrik




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


Re: Virtual domains, user@domain.com: Mailbox unknown

2004-02-16 Thread Mike O'Rourke
>From: Henrik Troeng <[EMAIL PROTECTED]>
>Sent: Feb 16, 2004 6:17 AM
>To: [EMAIL PROTECTED] 
>Subject: Virtual domains, [EMAIL PROTECTED]: Mailbox unknown
>
>Hi all,
>
>I have a problem, I use multiple domains but for users I create with
the
>domain specified, for example [EMAIL PROTECTED] it can't
receive
>mail. When I try to send to this user I get back a reply from
Mailer-Daemon
>that says "550-Mailbox Unknown". Either there is no mailbox
associated
>550-name or you don't have authorization to see it".
>
>If I create the user "user.postmaster" it works fine, but the user
>"[EMAIL PROTECTED]" wont accept any mail.
>
>Here is my imapd.conf:
>
>configdirectory: /var/imap
>partition-default: /var/spool/imap
>admins: cyrus root Henrik
>sasl_pwcheck_method: saslauthd
>sasl_mech_list: PLAIN LOGIN
>sendmail: /usr/sbin/sendmail
>servername: htc.troeng.com
>virtdomains: yes
>defaultdomain: troeng.com
>
>I have set up the domain in the local-host-names config file for
sendmail. 
>
>Here is the error message:
>
>"The original message was received at Mon, 16 Feb 2004 12:47:04 +0100
>from lmdeliver01.st1.spray.net [212.78.202.210]
>
>   - The following addresses had permanent fatal errors -
>
>root
>
>(reason: 550-Mailbox unknown.  Either there is no mailbox
associated with this)
>
>(expanded from: <[EMAIL PROTECTED]>)
>
>   - Transcript of session follows -
>
>... while talking to localhost:
>
 DATA
>
><<< 550-Mailbox unknown.  Either there is no mailbox associated
>
>with this
>
><<< 550-name or you do not have authorization to see it.
>
><<< 550 5.1.1 User unknown
>
>550 5.1.1 root... User unknown
>
><<< 503 5.5.1 No recipients
>
>"
>Henrik

Hi Henrik,

You evidently have postmaster aliased to root in /etc/mail/aliases (a
common; nay default alias in sendmail), so sendmail will never try to
deliver to postmaster, but only to root (as evidenced by the "(expanded
from: <[EMAIL PROTECTED]>)" line).

Either change the alias to send it to the correct user (don't forget to
re-build the aliases database!), or delete it (ditto on the "don't
forget") and let it go to the postmaster mailbox you have created.

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


Re: Virtual domains, user@domain.com: Mailbox unknown

2004-02-16 Thread Mike O'Rourke
>>> Christopher Paluch <[EMAIL PROTECTED]> 02/16/04 05:04pm >>>
>I to am having the same problem.I have a user called
[EMAIL PROTECTED]  and when I do a cyradm lm 
>command it is listed.
>In my imapd.conf file, I have specified the following parameters:
>unixhierarchysep:  yes
>virtdomains:  yes
>defaultdomain:  nottest.com
>loginrealms:   nottest.com   test.com
>
>I have also modifed my sendmail.cf so the cyrusv2 listing has the
following parameters:
>S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP
>
>When I send an email to that user, it gets through Sendmail okay, who
sends it on to cyrusv2 - who rejects it 
>for the same errors as below.
>
>Does anyone have any suggestions to what I've forgotten to do, that
would be causing this problem?  Also 
>does anyone know what the proper way is to specify the cyrusv2 options
in sendmail.mc is?
>
>Thanks for any assistance!
>
>-Chris Paluch
>

Hi Chris,

Can you provide some further info, such as extracts of /var/log/mail,
/var/log/imapd.log, your sendmail.mc file, your /etc/imapd.conf
(esecially the lines that deal with lmtp),your /etc/cyrus.conf (the lmtp
lines) and the results of an "lam" command in cyradm?

In your sendmail.mc file, you need two things: a line that says:
"define(`confLOCAL_MAILER', `cyrusv2')dnl" and the contents of
"cf/mailer/cyrusv2.m4" put at the end of your sendmail.mc file (in that
definition, you can change the S=... line so that when you regenerate a
new sendmail.cf file, you will not have to remember to change that
again.)

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


SV: Virtual domains, user@domain.com: Mailbox unknown

2004-02-16 Thread Henrik Troeng

>Hi all,
>
>I have a problem, I use multiple domains but for users I create with
the
>domain specified, for example [EMAIL PROTECTED] it can't
receive
>mail. When I try to send to this user I get back a reply from
Mailer-Daemon
>that says "550-Mailbox Unknown". Either there is no mailbox
associated
>550-name or you don't have authorization to see it".
>
>If I create the user "user.postmaster" it works fine, but the user
>"[EMAIL PROTECTED]" wont accept any mail.
>
>Here is my imapd.conf:
>
>configdirectory: /var/imap
>partition-default: /var/spool/imap
>admins: cyrus root Henrik
>sasl_pwcheck_method: saslauthd
>sasl_mech_list: PLAIN LOGIN
>sendmail: /usr/sbin/sendmail
>servername: htc.troeng.com
>virtdomains: yes
>defaultdomain: troeng.com
>
>I have set up the domain in the local-host-names config file for
sendmail. 
>
>Here is the error message:
>
>"The original message was received at Mon, 16 Feb 2004 12:47:04 +0100
>from lmdeliver01.st1.spray.net [212.78.202.210]
>
>   - The following addresses had permanent fatal errors -
>
>root
>
>(reason: 550-Mailbox unknown.  Either there is no mailbox
associated with this)
>
>(expanded from: <[EMAIL PROTECTED]>)
>
>   - Transcript of session follows -
>
>... while talking to localhost:
>
 DATA
>
><<< 550-Mailbox unknown.  Either there is no mailbox associated
>
>with this
>
><<< 550-name or you do not have authorization to see it.
>
><<< 550 5.1.1 User unknown
>
>550 5.1.1 root... User unknown
>
><<< 503 5.5.1 No recipients
>
>"
>Henrik

Hi Henrik,

You evidently have postmaster aliased to root in /etc/mail/aliases (a
common; nay default alias in sendmail), so sendmail will never try to
deliver to postmaster, but only to root (as evidenced by the "(expanded
from: <[EMAIL PROTECTED]>)" line).

Either change the alias to send it to the correct user (don't forget to
re-build the aliases database!), or delete it (ditto on the "don't
forget") and let it go to the postmaster mailbox you have created.

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


I'm sorry to say, but this has nothing to do with my problem. I have the
same problem with other usernames also.. So this is not just a postmaster
problem. 
To be sure, I did test what you wrote, it made no difference...

What can be wrong? 

I did check the imapd.log file and got some output:

about to exec /usr/cyrus/bin/lmtpd
executed
accepted  connection
lmtp connection preauth'd as postman
append_check() of 'user.postmaster' failed (Mailbox does not exist)

//Henrik


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


Re: Virtual domains, user@domain.com: Mailbox unknown

2004-02-16 Thread Christopher Paluch
Here is an excerpt from my mail.log:
Feb 13 14:51:17 ecnsrc01 sendmail[16007]: i1DKpHVa016007: from=<[EMAIL PROTECTED]>, 
size=757, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, proto=ESMTP, daemon=MTA, 
relay=[68.248.99.56]
Feb 13 14:51:17 ecnsrc01 sendmail[16009]: i1DKpHVa016007: to=<[EMAIL PROTECTED]>, 
delay=00:00:00, xdelay=00:00:00, mailer=cyrusv2, pri=30577, relay=localhost, 
dsn=5.1.1, stat=User unknown
Feb 13 14:51:17 ecnsrc01 sendmail[16009]: i1DKpHVa016007: i1DKpHVa016009: DSN: User 
unknown
Feb 13 14:51:23 ecnsrc01 sendmail[16009]: i1DKpHVa016009: to=<[EMAIL PROTECTED]>, 
delay=00:00:06, xdelay=00:00:06, mailer=esmtp, pri=31781, relay=mx1.mail.yahoo.com. 
[64.156.215.6], dsn=2.0.0, stat=Sent (ok dirdel)

Here is the corresponding imapd.log:
Feb 13 14:42:24 ecnsrc01 master[16001]: about to exec /usr/cyrus/bin/ctl_cyrusdbFeb 13 
14:42:24 ecnsrc01 ctl_cyrusdb[16001]: checkpointing cyrus databases
Feb 13 14:42:25 ecnsrc01 ctl_cyrusdb[16001]: archiving log file: 
/var/imap/db/log.01
Feb 13 14:42:27 ecnsrc01 ctl_cyrusdb[16001]: archiving database file: 
/var/imap/mailboxes.db
Feb 13 14:42:27 ecnsrc01 ctl_cyrusdb[16001]: archiving log file: 
/var/imap/db/log.01
Feb 13 14:42:28 ecnsrc01 ctl_cyrusdb[16001]: done checkpointing cyrus databases
Feb 13 14:42:28 ecnsrc01 master[15527]: process 16001 exited, status 0
Feb 13 14:51:17 ecnsrc01 master[16010]: about to exec /usr/cyrus/bin/lmtpd
Feb 13 14:51:17 ecnsrc01 lmtpunix[16010]: executed
Feb 13 14:51:17 ecnsrc01 lmtpd[16010]: accepted connection
Feb 13 14:51:17 ecnsrc01 lmtpd[16010]: lmtp connection preauth'd as postman
Feb 13 14:52:22 ecnsrc01 master[15527]: process 16010 exited, status 0

My imapd.conf doesn't contain any parameters having to do with lmtp.  Here is a copy 
of my cyrus.conf (which I haven't changed):
# standard standalone server implementation

START {
  # do not delete this entry!
  recover   cmd="ctl_cyrusdb -r"

  # this is only necessary if using idled for IMAP IDLE
#  idledcmd="idled"
}

# UNIX sockets start with a slash and are put into /var/imap/socket
SERVICES {
  # add or remove based on preferences
  imap  cmd="imapd" listen="imap" prefork=0
  imaps cmd="imapd -s" listen="imaps" prefork=0
  pop3  cmd="pop3d" listen="pop3" prefork=0
  pop3s cmd="pop3d -s" listen="pop3s" prefork=0
  sieve cmd="timsieved" listen="sieve" prefork=0

  # at least one LMTP is required for delivery
#  lmtp cmd="lmtpd" listen="lmtp" prefork=0
  lmtpunix  cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=0

  # this is only necessary if using notifications
#  notify   cmd="notifyd" listen="/var/imap/socket/notify" proto="udp" prefork=1
}

EVENTS {
  # this is required
  checkpointcmd="ctl_cyrusdb -c" period=30

  # this is only necessary if using duplicate delivery suppression
  delprune  cmd="ctl_deliver -E 3" at=0400

  # this is only necessary if caching TLS sessions
  tlsprune  cmd="tls_prune" at=0400
}


lam user/[EMAIL PROTECTED]
[EMAIL PROTECTED] lrswipcda
cyrus lrswipcda


Thanks,
Chris Paluch
-Original Message-
From: Mike O'Rourke <[EMAIL PROTECTED]>
Sent: Feb 16, 2004 12:42 PM
To: [EMAIL PROTECTED]
Subject: Re: Virtual domains, [EMAIL PROTECTED]: Mailbox unknown

>>> Christopher Paluch <[EMAIL PROTECTED]> 02/16/04 05:04pm >>>
>I to am having the same problem.I have a user called
[EMAIL PROTECTED]  and when I do a cyradm lm 
>command it is listed.
>In my imapd.conf file, I have specified the following parameters:
>unixhierarchysep:  yes
>virtdomains:  yes
>defaultdomain:  nottest.com
>loginrealms:   nottest.com   test.com
>
>I have also modifed my sendmail.cf so the cyrusv2 listing has the
following parameters:
>S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP
>
>When I send an email to that user, it gets through Sendmail okay, who
sends it on to cyrusv2 - who rejects it 
>for the same errors as below.
>
>Does anyone have any suggestions to what I've forgotten to do, that
would be causing this problem?  Also 
>does anyone know what the proper way is to specify the cyrusv2 options
in sendmail.mc is?
>
>Thanks for any assistance!
>
>-Chris Paluch
>

Hi Chris,

Can you provide some further info, such as extracts of /var/log/mail,
/var/log/imapd.log, your sendmail.mc file, your /etc/imapd.conf
(esecially the lines that deal with lmtp),your /etc/cyrus.conf (the lmtp
lines) and the results of an "lam" command in cyradm?

In your sendmail.mc file, you need two things: a line that says:
"define(`confLOCAL_MAILER', `cyrusv2')dnl" and the contents of
"cf/mailer/cyrusv2.m4" put at the end of your sendmail.mc file (in that
definition, you can change the S=... line so that when you regenerate a
new sendmail.cf file, you will not have to remember to change that
again.)

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

Re: lmtpd reporting faulty parse errors

2004-02-16 Thread Simon Brady
On Mon, 16 Feb 2004 [EMAIL PROTECTED] wrote:

> Feb 15 04:26:00 host.cwi.nl lmtpd[28106]: [ID 358100 local6.info] sieve parse 
> error for user: line 7: fileinto not required
>  [...] 
> Did anyone experience this before? Does anybody have any idea why this
> is happening?

If the script includes a fileinto action it needs to begin with the line

  require "fileinto";

This is because fileinto is an optional capability for Sieve
implementations (see RFC 3028 sections 2.10.5, 3.2 and 4.2). Admittedly 
the error message is ambiguous to someone who doesn't already know the 
special meaning being given to the verb "require": perhaps something like

  "require" statement missing for fileinto capability

would be clearer?

--
Simon Brady mailto:[EMAIL PROTECTED]
ITS Technical Services
University of Otago, Dunedin, New Zealand

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


Questions on entries in my /var/log/messages

2004-02-16 Thread Jason Williams
Hello everyone.

I had a couple of questions regarding a few entries I see pop up in my 
/var/log/messages when users log in via imap.

Here is a snip of my log after a reboot.

Feb 16 11:58:17 scarydaemons master[105]: process started
Feb 16 11:58:18 scarydaemons ctl_cyrusdb[108]: recovering cyrus databases
Feb 16 11:58:18 scarydaemons ctl_cyrusdb[108]: skiplist: recovered 
/var/imap/mailboxes.db (3 records, 876 bytes) in 0 seconds
Feb 16 11:58:18 scarydaemons ctl_cyrusdb[108]: done recovering cyrus databases
Feb 16 11:58:18 scarydaemons master[105]: ready for work
Feb 16 11:58:18 scarydaemons ctl_cyrusdb[117]: checkpointing cyrus databases
Feb 16 11:58:18 scarydaemons ctl_cyrusdb[117]: done checkpointing cyrus 
databases
Feb 16 12:03:42 scarydaemons imaps[124]: skiplist: recovered 
/var/imap/annotations.db (0 records, 144 bytes) in 0 seconds
Feb 16 12:03:42 scarydaemons imaps[124]: TLS server engine: cannot load CA data
Feb 16 12:03:42 scarydaemons imaps[124]: starttls: TLSv1 with cipher 
AES256-SHA (256/256 bits reused) no authentication
Feb 16 12:03:42 scarydaemons imaps[124]: login: [192.168.1.90] jwilliams 
CRAM-MD5+TLS User logged in
Feb 16 12:03:42 scarydaemons imaps[124]: skiplist: recovered 
/var/imap/user/j/jwilliams.seen (1 record, 428 bytes) in 0 seconds

Granted, this is still a work in progress so bear with me.

The line(s) im most concerned with are the skiplist line, specifically the 
very last line in the entry.
Is that normal for that to appear everytime someone logs in via IMAP to 
check mail?

Im using:

FreeBSD 4.9
Cyrus-Imapd-2.2.3
Cyrus-Sasl-2.1.17
Sendmail-8.12.11
I appreciate the help.

Jason

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


Re: Questions on entries in my /var/log/messages

2004-02-16 Thread Jason Williams
Forgot the DB version. :whack!:

DB-4.1.25 is what im running

Jason
At 12:16 PM 2/16/2004 -0800, you wrote:
Hello everyone.

I had a couple of questions regarding a few entries I see pop up in my 
/var/log/messages when users log in via imap.

Here is a snip of my log after a reboot.

Feb 16 11:58:17 scarydaemons master[105]: process started
Feb 16 11:58:18 scarydaemons ctl_cyrusdb[108]: recovering cyrus databases
Feb 16 11:58:18 scarydaemons ctl_cyrusdb[108]: skiplist: recovered 
/var/imap/mailboxes.db (3 records, 876 bytes) in 0 seconds
Feb 16 11:58:18 scarydaemons ctl_cyrusdb[108]: done recovering cyrus databases
Feb 16 11:58:18 scarydaemons master[105]: ready for work
Feb 16 11:58:18 scarydaemons ctl_cyrusdb[117]: checkpointing cyrus databases
Feb 16 11:58:18 scarydaemons ctl_cyrusdb[117]: done checkpointing cyrus 
databases
Feb 16 12:03:42 scarydaemons imaps[124]: skiplist: recovered 
/var/imap/annotations.db (0 records, 144 bytes) in 0 seconds
Feb 16 12:03:42 scarydaemons imaps[124]: TLS server engine: cannot load CA 
data
Feb 16 12:03:42 scarydaemons imaps[124]: starttls: TLSv1 with cipher 
AES256-SHA (256/256 bits reused) no authentication
Feb 16 12:03:42 scarydaemons imaps[124]: login: [192.168.1.90] jwilliams 
CRAM-MD5+TLS User logged in
Feb 16 12:03:42 scarydaemons imaps[124]: skiplist: recovered 
/var/imap/user/j/jwilliams.seen (1 record, 428 bytes) in 0 seconds

Granted, this is still a work in progress so bear with me.

The line(s) im most concerned with are the skiplist line, specifically the 
very last line in the entry.
Is that normal for that to appear everytime someone logs in via IMAP to 
check mail?

Im using:

FreeBSD 4.9
Cyrus-Imapd-2.2.3
Cyrus-Sasl-2.1.17
Sendmail-8.12.11
I appreciate the help.

Jason

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


RE: [Web-cyradm] Verification errors

2004-02-16 Thread Anders Norrbring
I don't even know where to look for my problem, can anyone please give me a
hint?


hulda:~ # telnet localhost 110
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK hulda.the-server.net Cyrus POP3 v2.1.15 server ready
<[EMAIL PROTECTED]>
USER tsnet0001
+OK Name is a valid mailbox
PASS notshown
-ERR [AUTH] Invalid login


There it is.. 

And then the log:

Feb 16 16:52:10 hulda pop3[1660]: executed
Feb 16 16:52:10 hulda pop3d[1660]: accepted connection
Feb 16 16:52:26 hulda pop3d[1660]: badlogin: localhost[127.0.0.1] plaintext
tsnet0001 SASL(-1): generic failure: checkpass failed




>Have you tried it via telnet? 
>telnet yourdomain.de 110 

>try to log in with 
>USER username 
>PASS password 

>does the mailbox of your user exist? 

>>Anders Norrbring 
>>Feb 16 16:33:42 hulda imapd[1572]: badlogin:
>>selma.the-server.net[192.168.111.30] plaintext tsnet0001 SASL(-1): generic
>>failure: checkpass failed


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


Re: Questions on entries in my /var/log/messages

2004-02-16 Thread Ken Murchison
Jason Williams wrote:

Hello everyone.

I had a couple of questions regarding a few entries I see pop up in my 
/var/log/messages when users log in via imap.

Here is a snip of my log after a reboot.

Feb 16 11:58:17 scarydaemons master[105]: process started
Feb 16 11:58:18 scarydaemons ctl_cyrusdb[108]: recovering cyrus databases
Feb 16 11:58:18 scarydaemons ctl_cyrusdb[108]: skiplist: recovered 
/var/imap/mailboxes.db (3 records, 876 bytes) in 0 seconds
Feb 16 11:58:18 scarydaemons ctl_cyrusdb[108]: done recovering cyrus 
databases
Feb 16 11:58:18 scarydaemons master[105]: ready for work
Feb 16 11:58:18 scarydaemons ctl_cyrusdb[117]: checkpointing cyrus 
databases
Feb 16 11:58:18 scarydaemons ctl_cyrusdb[117]: done checkpointing cyrus 
databases
Feb 16 12:03:42 scarydaemons imaps[124]: skiplist: recovered 
/var/imap/annotations.db (0 records, 144 bytes) in 0 seconds
Feb 16 12:03:42 scarydaemons imaps[124]: TLS server engine: cannot load 
CA data
Feb 16 12:03:42 scarydaemons imaps[124]: starttls: TLSv1 with cipher 
AES256-SHA (256/256 bits reused) no authentication
Feb 16 12:03:42 scarydaemons imaps[124]: login: [192.168.1.90] jwilliams 
CRAM-MD5+TLS User logged in
Feb 16 12:03:42 scarydaemons imaps[124]: skiplist: recovered 
/var/imap/user/j/jwilliams.seen (1 record, 428 bytes) in 0 seconds

Granted, this is still a work in progress so bear with me.

The line(s) im most concerned with are the skiplist line, specifically 
the very last line in the entry.
Is that normal for that to appear everytime someone logs in via IMAP to 
check mail?
It is normal for this to happen the first time a skiplist db is accessed 
after db recovery (ctl_cyrusdb -r).

--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp
---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


maildrop error...

2004-02-16 Thread Anders Norrbring

I managed to solve the login problem, now I get another error when trying to
verify the install.  And just as before, I don't even know where to start
looking, I'm totally new to Cyrus.


hulda:~ # telnet localhost 110
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK hulda.the-server.net Cyrus POP3 v2.1.15 server ready
<[EMAIL PROTECTED]>
user tsnet0001
+OK Name is a valid mailbox
pass NOTSHOWN
-ERR [SYS/PERM] Unable to open maildrop


Where is this "maildrop" configured, and how do I locate the error?

Anders.


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


starttls: TLSv1 with cipher RC4-MD5 (128/128 bits reused) no auth

2004-02-16 Thread Sundaram Ramasamy
Hi,

I am using Cyrus IMAP service to access E-mails using Outlook Express 6.
Its giving TLS error message while accessing E-mails.

Any help to fix this problem


Here is my configuration:

Sun Solaris 8.0
postfix-2.0.16
cyrus-imapd-2.2.3
cyrus-sasl-2.1.17


bash-2.03# cat /etc/imapd.conf
virtdomains: yes
defaultdomain: example.com
configdirectory: /var/imap
partition-default: /var/spool/imap
allowplaintext: yes
admins: root cyrus
singleinstancestore: yes
duplicatesuppression: yes
sieveusehomedir: false
sievedir: /usr/local/var/imap/sieve
sendmail: /usr/sbin/sendmail
sasl_pwcheck_method: saslauthd
postmaster: postmaster
allowanonymouslogin: no
sasl_mech_list: PLAIN
servername: earth.example.com
autocreatequota: 1
reject8bit: no
quotawarn: 90
timeout: 30
poptimeout: 10
dracinterval: 0
drachost: localhost
sieve_maxscriptsize: 32
sieve_maxscripts: 5
createonpost: yes
autocreateinboxfolders: sent|drafts|spam|templates


imap.log

Feb 11 20:08:04 earth master[8675]: [ID 392559 local6.debug] about to exec
/usr/cyrus/bin/imapd
Feb 11 20:08:04 earth imaps[8675]: [ID 518349 local6.debug] executed
Feb 11 20:08:04 earth imaps[8675]: [ID 921384 local6.debug] accepted
connection
Feb 11 20:08:04 earth imaps[8675]: [ID 379946 local6.notice] starttls:
TLSv1 with cipher RC4-MD5 (128/128 bits reused) no auth
entication
Feb 11 20:08:05 earth imaps[8675]: [ID 237943 local6.notice] login:
rsundaram.1.168.192.in-addr.arpa [192.168.1.140] testuser
plaintext+TLS
Feb 11 20:08:05 earth imaps[8675]: [ID 677757 local6.debug] seen_db: user
testuser opened /var/imap/user/t/testuser.seen
Feb 11 20:08:05 earth imaps[8675]: [ID 191084 local6.warning] Connection
reset by peer, closing connection
Feb 11 20:08:05 earth imaps[8675]: [ID 921384 local6.debug] accepted
connection
Feb 11 20:08:05 earth imaps[8675]: [ID 379946 local6.notice] starttls:
TLSv1 with cipher RC4-MD5 (128/128 bits reused) no auth
entication
Feb 11 20:08:05 earth imaps[8675]: [ID 237943 local6.notice] login:
rsundaram.1.168.192.in-addr.arpa [192.168.1.140] testuser
plaintext+TLS
Feb 11 20:08:05 earth imaps[8675]: [ID 736213 local6.debug] open: user
testuser opened INBOX
Feb 11 20:08:05 earth imaps[8675]: [ID 191084 local6.warning] Connection
reset by peer, closing connection
Feb 11 20:09:05 earth master[8365]: [ID 310780 local6.debug] process 8675
exited, status 0


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


Re: maildrop error...

2004-02-16 Thread Lindner
Anders Norrbring wrote:

I managed to solve the login problem, now I get another error when trying to
verify the install.  And just as before, I don't even know where to start
looking, I'm totally new to Cyrus.
hulda:~ # telnet localhost 110
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK hulda.the-server.net Cyrus POP3 v2.1.15 server ready
<[EMAIL PROTECTED]>
user tsnet0001
+OK Name is a valid mailbox
pass NOTSHOWN
-ERR [SYS/PERM] Unable to open maildrop
Where is this "maildrop" configured, and how do I locate the error?

Anders.

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

Cyrus is logging everything to local6 syslog facility. You could 
reconfigure your syslogd: "local6.*  /var/log/imapd.log". While keeping 
on eye on /var/log/imapd.log, you should have a look at /var/log/mail as 
well.

AFAIK, maildrop belongs to postfix not to cyrus ?!
If this is the case you can't configure maildrop directly but you could 
start postfix.   ;-)

I you want more help please post a "egrep '(panic|error|failure)' 
/var/log/mail" first.

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


Re: maildrop error...

2004-02-16 Thread Rob Siemborski
On Mon, 16 Feb 2004, Anders Norrbring wrote:

> pass NOTSHOWN
> -ERR [SYS/PERM] Unable to open maildrop
>
>
> Where is this "maildrop" configured, and how do I locate the error?

Did you ever create the user's inbox using cyradm (or some other IMAP
client's CREATE command?)

e.g. (as admin)

cyrus.andrew.cmu.edu> cm user.foo

-Rob

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper

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


RE: maildrop error...

2004-02-16 Thread Anders Norrbring


> 
> Anders Norrbring wrote:
> 
> >I managed to solve the login problem, now I get another error when trying
> to
> >verify the install.  And just as before, I don't even know where to start
> >looking, I'm totally new to Cyrus.
> >
> >
> >hulda:~ # telnet localhost 110
> >Trying ::1...
> >telnet: connect to address ::1: Connection refused
> >Trying 127.0.0.1...
> >Connected to localhost.
> >Escape character is '^]'.
> >+OK hulda.the-server.net Cyrus POP3 v2.1.15 server ready
> ><[EMAIL PROTECTED]>
> >user tsnet0001
> >+OK Name is a valid mailbox
> >pass NOTSHOWN
> >-ERR [SYS/PERM] Unable to open maildrop
> >
> >
> >Where is this "maildrop" configured, and how do I locate the error?
> >
> >Anders.
> >
> >
> >---
> >Home Page: http://asg.web.cmu.edu/cyrus
> >Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
> >List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
> >
> >
> Cyrus is logging everything to local6 syslog facility. You could
> reconfigure your syslogd: "local6.*  /var/log/imapd.log". While keeping
> on eye on /var/log/imapd.log, you should have a look at /var/log/mail as
> well.
> 
> AFAIK, maildrop belongs to postfix not to cyrus ?!
> If this is the case you can't configure maildrop directly but you could
> start postfix.   ;-)
> 
> I you want more help please post a "egrep '(panic|error|failure)'
> /var/log/mail" first.
> 
> Regards,
> Marek


Well, postfix IS running.. And it really isn't involved in a telnet to port
110, is it?  It should only be cyrus if I understand correctly?

Anyway, the only thing in the mail.log is; 

Feb 16 22:27:35 hulda postfix/postfix-script: starting the Postfix mail system
Feb 16 22:27:35 hulda postfix/master[1148]: daemon started -- version 2.0.18

No errors, nothing.

Anders.

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


Re: maildrop error...

2004-02-16 Thread Dwight Tovey

Lindner said:
> Cyrus is logging everything to local6 syslog facility. You could
> reconfigure your syslogd: "local6.*  /var/log/imapd.log". While keeping
> on eye on /var/log/imapd.log, you should have a look at /var/log/mail as
> well.

Actually, this brings up something that I've been meaning to look into,
but haven't gotten around to yet.

I installed Cyrus on my RedHat 7.3 box using Simon Matter's source RPMs. 
I have syslog configured as above for local6.*.  However, I don't see
anything being logged to imapd.log.  Instead everything is going into
maillog.

Simon: did you modify the code to use the mail facility instead of local6?
 Or was it a build configuration option that I missed?

/dwight
-- 
Dwight N. Tovey
email: [EMAIL PROTECTED]
web: http://www.dtovey.net/~dwight
---
Hard reality has a way of cramping your style.

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


RE: maildrop error...

2004-02-16 Thread Anders Norrbring
On Mon, 16 Feb 2004, Anders Norrbring wrote:
> 
> > pass NOTSHOWN
> > -ERR [SYS/PERM] Unable to open maildrop
> >
> >
> > Where is this "maildrop" configured, and how do I locate the error?
> 
> Did you ever create the user's inbox using cyradm (or some other IMAP
> client's CREATE command?)
> 
> e.g. (as admin)
> 
> cyrus.andrew.cmu.edu> cm user.foo
> 
> -Rob

I used Web-cyradm for that, yes.

Anders Norrbring

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


RE: maildrop error...

2004-02-16 Thread Anders Norrbring
> 
> Anders Norrbring wrote:
> 
> >I managed to solve the login problem, now I get another error when trying
> to
> >verify the install.  And just as before, I don't even know where to start
> >looking, I'm totally new to Cyrus.
> >
> >
> >hulda:~ # telnet localhost 110
> >Trying ::1...
> >telnet: connect to address ::1: Connection refused
> >Trying 127.0.0.1...
> >Connected to localhost.
> >Escape character is '^]'.
> >+OK hulda.the-server.net Cyrus POP3 v2.1.15 server ready
> ><[EMAIL PROTECTED]>
> >user tsnet0001
> >+OK Name is a valid mailbox
> >pass NOTSHOWN
> >-ERR [SYS/PERM] Unable to open maildrop
> >
> >
> >Where is this "maildrop" configured, and how do I locate the error?
> >
> >Anders.
> >
> >
> >---
> >Home Page: http://asg.web.cmu.edu/cyrus
> >Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
> >List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
> >
> >
> Cyrus is logging everything to local6 syslog facility. You could
> reconfigure your syslogd: "local6.*  /var/log/imapd.log". While keeping
> on eye on /var/log/imapd.log, you should have a look at /var/log/mail as
> well.
> 
> AFAIK, maildrop belongs to postfix not to cyrus ?!
> If this is the case you can't configure maildrop directly but you could
> start postfix.   ;-)
> 
> I you want more help please post a "egrep '(panic|error|failure)'
> /var/log/mail" first.
> 
> Regards,
> Marek


I did a restart of the system and tried again, now this shows up in the
"warn.log":

Feb 17 00:32:59 hulda pop(pam_unix)[773]: could not identify user (from
getpwnam(tsnet0001))

Anders.


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


Re: maildrop error...

2004-02-16 Thread Lindner




Anders Norrbring wrote:

  
  
  
Anders Norrbring wrote:



  I managed to solve the login problem, now I get another error when trying
  

to


  verify the install.  And just as before, I don't even know where to start
looking, I'm totally new to Cyrus.


hulda:~ # telnet localhost 110
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK hulda.the-server.net Cyrus POP3 v2.1.15 server ready
<[EMAIL PROTECTED]>
user tsnet0001
+OK Name is a valid mailbox
pass NOTSHOWN
-ERR [SYS/PERM] Unable to open maildrop


Where is this "maildrop" configured, and how do I locate the error?

Anders.


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


  

Cyrus is logging everything to local6 syslog facility. You could
reconfigure your syslogd: "local6.*  /var/log/imapd.log". While keeping
on eye on /var/log/imapd.log, you should have a look at /var/log/mail as
well.

AFAIK, maildrop belongs to postfix not to cyrus ?!
If this is the case you can't configure maildrop directly but you could
start postfix.   ;-)

I you want more help please post a "egrep '(panic|error|failure)'
/var/log/mail" first.

Regards,
Marek

  
  

Well, postfix IS running.. And it really isn't involved in a telnet to port
110, is it?  It should only be cyrus if I understand correctly?

Anyway, the only thing in the mail.log is; 

Feb 16 22:27:35 hulda postfix/postfix-script: starting the Postfix mail system
Feb 16 22:27:35 hulda postfix/master[1148]: daemon started -- version 2.0.18

No errors, nothing.

Anders.
  


Rob is right (as usual  ;).
You probably created a mailbox named "username" instead of
"user.username" which is the correct cyrus syntax.
I created such a mailbox and I got the same error message.

Unfortunately, there is no log message at all ?! No hint, no warning,
nothing ...  May be I have an too old version ??

Question: What is the task of maildrop then ?


Greetings,
Marek




Re: maildrop error...

2004-02-16 Thread Ken Murchison
Lindner wrote:
Anders Norrbring wrote:

 

Anders Norrbring wrote:

   

I managed to solve the login problem, now I get another error when trying
 

to
   

verify the install.  And just as before, I don't even know where to start
looking, I'm totally new to Cyrus.
hulda:~ # telnet localhost 110
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK hulda.the-server.net Cyrus POP3 v2.1.15 server ready
<[EMAIL PROTECTED]>
user tsnet0001
+OK Name is a valid mailbox
pass NOTSHOWN
-ERR [SYS/PERM] Unable to open maildrop
Where is this "maildrop" configured, and how do I locate the error?

Anders.

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

Cyrus is logging everything to local6 syslog facility. You could
reconfigure your syslogd: "local6.*  /var/log/imapd.log". While keeping
on eye on /var/log/imapd.log, you should have a look at /var/log/mail as
well.
AFAIK, maildrop belongs to postfix not to cyrus ?!
If this is the case you can't configure maildrop directly but you could
start postfix.   ;-)
I you want more help please post a "egrep '(panic|error|failure)'
/var/log/mail" first.
Regards,
Marek
   



Well, postfix IS running.. And it really isn't involved in a telnet to port
110, is it?  It should only be cyrus if I understand correctly?
Anyway, the only thing in the mail.log is; 

Feb 16 22:27:35 hulda postfix/postfix-script: starting the Postfix mail system
Feb 16 22:27:35 hulda postfix/master[1148]: daemon started -- version 2.0.18
No errors, nothing.

Anders.
 

Rob is right (as usual  ;).
You probably created a mailbox named "username" instead of 
"user.username" which is the correct cyrus syntax.
I created such a mailbox and I got the same error message.

Unfortunately, there is no log message at all ?! No hint, no warning, 
nothing ...  May be I have an too old version ??
I just added syslog() entries for any failures to open the maildrop in 
pop3d.c (CVS).

Question: What is the task of maildrop then ?
The POP maildrop is analogous to the IMAP Inbox.

--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp
---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


imap 2.3.3 on solaris?

2004-02-16 Thread sjh
Hello, I have:
cyrus-imapd-2.2.3  
db-4.2.52  
cyrus-sasl-2.1.17  
gcc-3.3.2  
openldap-2.2.5

On a:
SunOS 5.9 Generic_112233-11 sun4u sparc

system, and when I run master:
# /pkg/cyrus-imapd-2.2.3/bin/master  
zsh: segmentation fault  /pkg/cyrus-imapd-2.2.3/bin/master


truss shows:
[...]
chmod("/var/lib/imap/socket/lmtp", 0777)= 0
listen(19, 32, 1)   = 0
pipe()  = 20 [21]
fcntl(20, F_GETFL, 0x)  = 2
fcntl(20, F_SETFL, 0x0082)  = 0
fcntl(20, F_GETFD, 0x)  = 0
fcntl(20, F_SETFD, 0x0001)  = 0
open64("/var/run/name_service_door", O_RDONLY)  = 22
fcntl(22, F_SETFD, 0x0001)  = 0
door_info(22, 0xFF0C2660)   = 0
door_call(22, 0xFFBFF660)   = 0
sysconfig(_CONFIG_NGROUPS)  = 16
open("/etc/default/nss", O_RDONLY|O_LARGEFILE)  = 23
fcntl(23, F_DUPFD, 0x0100)  = 256
close(23)   = 0
read(256, " #   i d e n t\t " @ ( #".., 1024)   = 749
read(256, 0x0003D6B8, 1024) = 0
close(256)  = 0
stat("/usr/lib/nss_files.so.1", 0xFFBFEE7C) = 0
open("/etc/group", O_RDONLY)= 23
fstat64(23, 0xFFBFF420) = 0
fstat64(23, 0xFFBFF2C8) = 0
ioctl(23, TCGETA, 0xFFBFF3AC)   Err#25 ENOTTY
read(23, " r o o t : : 0 : r o o t".., 8192)= 331
brk(0x00040DF8) = 0
brk(0x00042DF8) = 0
read(23, 0x0003E724, 8192)  = 0
llseek(23, 0, SEEK_CUR) = 331
close(23)   = 0
setgroups(2, 0x00039080)= 0
setgid(1)   = 0
setuid(103) = 0
time()  = 1076979721
fstat(6, 0xFFBFF948)= 0
time()  = 1076979721
Incurred fault #6, FLTBOUNDS  %pc = 0xFF0445A8
  siginfo: SIGSEGV SEGV_MAPERR addr=0xFFC00608
Received signal #11, SIGSEGV [default]
  siginfo: SIGSEGV SEGV_MAPERR addr=0xFFC00608

I have a pretty standard cyrus.conf (I think):
START {
  # do not delete this entry!
  recover   cmd="ctl_cyrusdb -r"

  # this is only necessary if using idled for IMAP IDLE
#  idledcmd="idled"
}

# UNIX sockets start with a slash and are put into /var/imap/sockets
SERVICES {
  # add or remove based on preferences
  imap  cmd="imapd" listen="imap" prefork=0
  pop3  cmd="pop3d" listen="pop3" prefork=0

  # LMTP is required for delivery
  lmtpunix  cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=0

  # this is only necessary if using notifications
#  notify   cmd="notifyd" listen="/var/lib/imap/socket/notify" proto="udp" p
refork=1
}

EVENTS {
  # this is required
  checkpointcmd="ctl_cyrusdb -c" period=30

  # this is only necessary if using duplicate delivery suppression
  delprune  cmd="ctl_deliver -E 3" at=0400

  # this is only necessary if caching TLS sessions
  tlsprune  cmd="tls_prune" at=0400
}

Any ideas?  Does anyone have this config working?

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


Re: imap 2.3.3 on solaris?

2004-02-16 Thread Gary Mills
On Mon, Feb 16, 2004 at 05:29:04PM -0800, [EMAIL PROTECTED] wrote:
> 
> On a:
> SunOS 5.9 Generic_112233-11 sun4u sparc
> 
> system, and when I run master:
> # /pkg/cyrus-imapd-2.2.3/bin/master  
> zsh: segmentation fault  /pkg/cyrus-imapd-2.2.3/bin/master

Can you get a backtrace on the core file?  You can use `coreadm' to
enable the core dump.  `pstack' will do the backtrace, but a debugger
may give you more details.  There have been reports that Solaris
patch 112874-22 causes this problem.  It may be time zone related.

If the backtrace looks like this:

 feec45a8 set_zone_context (40211f52, 78474, 0, 0, 0, 0) + 8c
 feec3ba8 localtime_r (ffbff27c, ffbfed9c, 0, 0, 0, 0) + 20
 feeb996c ctime_r  (ffbff27c, ffbff260, 1a, 0, 0, 0) + c

that's the problem.

-- 
-Gary Mills--Unix Support--U of M Academic Computing and Networking-
---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: imap 2.3.3 on solaris?

2004-02-16 Thread Seth Hettich
On Monday February 16, Gary Mills wrote:
> On Mon, Feb 16, 2004 at 05:29:04PM -0800, [EMAIL PROTECTED] wrote:
> > 
> > On a:
> > SunOS 5.9 Generic_112233-11 sun4u sparc
> > 
> > system, and when I run master:
> > # /pkg/cyrus-imapd-2.2.3/bin/master  
> > zsh: segmentation fault  /pkg/cyrus-imapd-2.2.3/bin/master
> 
> Can you get a backtrace on the core file?  You can use `coreadm' to
> enable the core dump.  `pstack' will do the backtrace, but a debugger
> may give you more details.  There have been reports that Solaris
> patch 112874-22 causes this problem.  It may be time zone related.
> 
> If the backtrace looks like this:
> 
>  feec45a8 set_zone_context (40211f52, 78474, 0, 0, 0, 0) + 8c
>  feec3ba8 localtime_r (ffbff27c, ffbfed9c, 0, 0, 0, 0) + 20
>  feeb996c ctime_r  (ffbff27c, ffbff260, 1a, 0, 0, 0) + c
> 
> that's the problem.

Yep, that's it.  Any workaround?  (other then backing out the patch)

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


Re: imap 2.3.3 on solaris?

2004-02-16 Thread Gary Mills
On Mon, Feb 16, 2004 at 06:24:40PM -0800, Seth Hettich wrote:
> On Monday February 16, Gary Mills wrote:
> > 
> > If the backtrace looks like this:
> > 
> >  feec45a8 set_zone_context (40211f52, 78474, 0, 0, 0, 0) + 8c
> >  feec3ba8 localtime_r (ffbff27c, ffbfed9c, 0, 0, 0, 0) + 20
> >  feeb996c ctime_r  (ffbff27c, ffbff260, 1a, 0, 0, 0) + c
> > 
> > that's the problem.
> 
> Yep, that's it.  Any workaround?  (other then backing out the patch)

Backing out the patch reportedly does fix it.  The patch also causes
trouble with the gnome desktop, by revealing bugs in gnome.

Somebody should report this problem to Sun.

-- 
-Gary Mills--Unix Support--U of M Academic Computing and Networking-
---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Cannot run cyradm....problem with perl.

2004-02-16 Thread trichard
Jim Levie wrote:
Cyrus should work fine on that. I suspect you've run into the problem of
the perl modules being placed in /usr/local/lib.. and Perl is looking
for them in /usr/lib One fix for that is to do:
# perllib= lib/perl5/site_perl/5.8.0/i386-linux-thread-multi 
# cd /usr/$perllib
# ln -s /usr/local/$perllib/Cyrus /usr/$perllib/Cyrus
# ln -s /usr/local/$perllib/auto/Cyrus /usr/$perllib/auto/Cyrus
Thank you Jim!  That worked!  Now I have to work through a few more 
issues.   :)

-t

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


Re: maildrop error...

2004-02-16 Thread Simon Matter
>
> Lindner said:
>> Cyrus is logging everything to local6 syslog facility. You could
>> reconfigure your syslogd: "local6.*  /var/log/imapd.log". While keeping
>> on eye on /var/log/imapd.log, you should have a look at /var/log/mail as
>> well.
>
> Actually, this brings up something that I've been meaning to look into,
> but haven't gotten around to yet.
>
> I installed Cyrus on my RedHat 7.3 box using Simon Matter's source RPMs.
> I have syslog configured as above for local6.*.  However, I don't see
> anything being logged to imapd.log.  Instead everything is going into
> maillog.
>
> Simon: did you modify the code to use the mail facility instead of local6?
>  Or was it a build configuration option that I missed?

Yes, I did change it. The logging facility in the rpm is MAIL.
And yes, it's a build time option, check doc/README.buildoptions.

HTH
Simon

Simon

>
> /dwight
> --
> Dwight N. Tovey
> email: [EMAIL PROTECTED]
> web: http://www.dtovey.net/~dwight
> ---
> Hard reality has a way of cramping your style.
>
> ---
> Home Page: http://asg.web.cmu.edu/cyrus
> Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>


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