Postfix+Cyrus_imapd virtual alias failed----could not change the destination address.

2004-06-18 Thread Wang Penghui
Hi, all:
I have a mail server which built with Cyrus-imapd2.2.3 Postfix 2.0.19 
OpenLDAP.
It have several virtual domains, and runs well.

The address "[EMAIL PROTECTED]" is a virtual account. and "[EMAIL PROTECTED]" is a 
none-existed account. I have to make all the messages sent to 
[EMAIL PROTECTED] to be sent to [EMAIL PROTECTED]

I change the main.cf of postfix.
Added virtual_maps = ldap:ldapaliases
(   .
   .
   the ldap query setting
   .
   .)
Then try to sent a message to [EMAIL PROTECTED] I have received the failed 
message.
It said that:

<[EMAIL PROTECTED]>: host /var/imap/socket/lmtp[/var/imap/socket/lmtp]
   said: 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
   (in reply to RCPT TO command)
Then i changed mailbox_transport = lmtp:unix:/var/imap/socket/lmtp to 
mailbox_transport = cyrus.
And try again.
And also received a failed message:
<[EMAIL PROTECTED]>: data format error. Command output: sales: Mailbox
   does not exist
I have checked the log. found that the MDA even not query the LDAP.
It's the postfix or cyrus-imapd's problem or any other thing?
I am blind with it now.
Any suggestion?


---
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


MBAÔ¤¿Æ°à¿ª¿Î£¬²»¸Ï½ôÐж¯ÓֵõÈÒ»Ä꣡

2004-06-18 Thread ¹â»ª¹ÜÀí




报考MBA(工商管理硕士),成就卓越经理人,改变人生!
报名条件:大专2000年前毕业,本科2002年前毕业,研究生2003年前毕业,年龄专业不限。

北京光华管理科学研究院
第五届(2005)MBA预科班,
全国唯一连续五年坚持精品班战略,联考上线保证!
社会公认MBA辅导精品班第一专业品牌!
小班上课、文理兼顾、全程强化、名师辅导、超值服务、上线保证。

开课时间:2004年5月29日(可插班)
上课地点:北京大学
报名热线:010-62758999
详情浏览:www.mba-edu.cn





RE: NO Login failed: can't request info until later in exchange

2004-06-18 Thread Rob MacGregor
From: "Michael F. Sprague" <[EMAIL PROTECTED]>
I searched google and the archives for this list and it seemed that the
fix was to upgrade sasl to v2.1.15 (I'm currently running v2.1.10).  This
is running on Redhat9  and I was unable to find an rpm for anything better
than 2.1.10 so I downloaded the source and compiled 2.1.18.
Yet I get the same error.  Strace shows sasl sending back OK but imapd
keeps give the above error message.  Can anyone point me in the right
direction here?  I cannot decide if this is a sasl or cyrus problem.
At a random guess - the RPM installed the libraries in /usr/lib and you 
installed the update into /usr/local/lib.

 Please DO NOT send me ANY email directly unless it's a privacy issue.
  Reply-to mangled to assist those who don't read the above.
--
Rob  |  What part of "no" was it you didn't understand?
---
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


Crypted mail storage

2004-06-18 Thread Jonas Jacobsson
Is there a way to make the mail storage crypted on disk in Cyrus?
Maybe with a third party solution?


/jonas
---
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-sasl-2.1.17 and 2.1.15 [%u@%r] ?

2004-06-18 Thread Patrick T. Tsang
Hello ,

I have just upgraded the cyrus-sasl 2.1.15 to 2.1.17 with several patch.
the usual switch %u  on /etc/saslauthd.conf is no longer working !
The latest 2.1.17 changes it to be [EMAIL PROTECTED] if I want the full email address 
as
the login name.
(I use LDAP backend)

It's fine for general use but it makes not possible to login as local user
(eg. mymailuser, no domain name)
Is there any workaround for this?

Regards
Patrick



---
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: Crypted mail storage

2004-06-18 Thread Craig Ringer
On Fri, 2004-06-18 at 16:37, Jonas Jacobsson wrote:
> Is there a way to make the mail storage crypted on disk in Cyrus?
> Maybe with a third party solution?

If I needed to do that, I'd probably use an encrypted filesystem and run
Cyrus off it normally. I'd also seriously consider storing the
configdirectory on non-encrypted space (it depends on what you need to
protect, I guess).

Of course, that doesn't solve the issue of data getting swapped out.

--
Craig Ringer

---
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


strange behaviour of quota with one user

2004-06-18 Thread Nicolas Schmitz
Hello,
one of my user, who use 700Meg on the server,  has a strange problem : 
when I increase his quota (over 4,2gig), Mozilla display the quota warn 
popup (saying 85% is used) whereas if I display the property of a 
folder, the value is correct (15%) (the value is also correct with 
/usr/cyrus/bin/quota.)

If the quota is under 4,2Gig, no quota warn popup, and value is correct.

Nothing similar with other account.
I use cyrus-imapd-2.2.3
Thanks for your help.
--
Nicolas Schmitz
Centre de Ressources Informatiques|  tel  : 02 40 37 68 06
Ecole Centrale de Nantes  |  fax  : 02 40 37 25 78
1 rue de la Noe - BP 92101
44321 NANTES CEDEX 03
---
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: Storage and backup for large IMAP servers?

2004-06-18 Thread Sebastian Hagedorn
Hi,
--On Donnerstag, 17. Juni 2004 14:42 Uhr -0500 Gary Mills 
<[EMAIL PROTECTED]> wrote:

We have people who are asking for unreasonable amounts of e-mail
space.
what's reasonable lies in the eye of the beholder ... ;-)
 I'd like to estimate a configuration that would supply that
amount of space, just to see what it might cost, and how it could
be managed.
Let's say we have 3000 employees, and want to give them 1 GB each.
That's 3 TB of space.
We currently have lower quotas (500 MB for employees, 20 MB for students), 
but more users.

What are people using for that amount of IMAP
storage, with reasonable performance?
A SAN. Currently we're using a SCSI RAID (internally there are IDE hard 
drives) of 1.5 TB, but we've recently installed a 40 TB SAN that we will be 
using (not only for mail).

 How do you provide backup and
restore capability for it?
Tivoli Storage Manager.
Would a storage system that provides
on-line snapshots simplify the backup requirements?
I suppose.
Cheers, Sebastian Hagedorn
--
Sebastian Hagedorn M.A. - RZKR-R1 (Gebäude 52), Zimmer 18
Zentrum für angewandte Informatik - Universitätsweiter Service RRZK
Universität zu Köln / Cologne University - Tel. +49-221-478-5587

pgpkgtcHUkDUf.pgp
Description: PGP signature


Re: how to prevent user from removing INBOX messages from server?

2004-06-18 Thread Ken Murchison
Sam wrote:
> 
> Hi,
> 
> I have tried to set defaultacl to lsp to anyone, but user not in admins
> group still can remove messages from the INBOX from the server.
> 
> Is there any tricky bit I missed?

defaultacl is for *newly* created shared mailboxes.  You need to cyradm
and actually change the ACL on user.

-- 
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
---
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: strange behaviour of quota with one user

2004-06-18 Thread Ken Murchison
Nicolas Schmitz wrote:
Hello,
one of my user, who use 700Meg on the server,  has a strange problem : 
when I increase his quota (over 4,2gig), Mozilla display the quota warn 
popup (saying 85% is used) whereas if I display the property of a 
folder, the value is correct (15%) (the value is also correct with 
/usr/cyrus/bin/quota.)

If the quota is under 4,2Gig, no quota warn popup, and value is correct.
Cyrus uses an unsigned 32-bit value for the quota, which limits it to 
4294967295.

--
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
---
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: NO Login failed: can't request info until later in exchange

2004-06-18 Thread Michael F. Sprague
Rob MacGregor said:
>>From: "Michael F. Sprague" <[EMAIL PROTECTED]>
>>I searched google and the archives for this list and it seemed that the
>>fix was to upgrade sasl to v2.1.15 (I'm currently running v2.1.10).  This
>>is running on Redhat9  and I was unable to find an rpm for anything
>> better
>>than 2.1.10 so I downloaded the source and compiled 2.1.18.
>>
>>Yet I get the same error.  Strace shows sasl sending back OK but imapd
>>keeps give the above error message.  Can anyone point me in the right
>>direction here?  I cannot decide if this is a sasl or cyrus problem.
>
> At a random guess - the RPM installed the libraries in /usr/lib and you
> installed the update into /usr/local/lib.

You are correct that I installed sasl 2.1.8 in /usr/local, but when I
stared saslauthd I started the new one and not the RPM one.

mikeS

---
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


System-wide sieve filter

2004-06-18 Thread Tore Anderson

  Hi.  I need to make SpamAssassin-tagged messages to be by default
 filtered into a spam-folder.  I figured I could do this either by
 a global sieve script, or some default script that was copied in place
 whenever a new user mailbox was created.

  I couldn't find a way to do either, so here's a patch that does the
 makes sieve_find_script() check to see if the script it finds actually
 exist, and if not, falls back on "defaultbc" directly in the sieve dir.
 Works for me, at least - perhaps someone else will find it useful.

  Perhaps this patch (or another which achieves the same thing) be added
 to the Cyrus sources in a future version?  (hint, hint. :-)

Kind regards,
-- 
Tore Anderson
diff -ruN cyrus-imapd-2.2.5/imap/lmtp_sieve.c cyrus-imapd-2.2.5-globalsieve/imap/lmtp_sieve.c
--- cyrus-imapd-2.2.5/imap/lmtp_sieve.c	2004-05-22 05:45:51.0 +0200
+++ cyrus-imapd-2.2.5-globalsieve/imap/lmtp_sieve.c	2004-06-18 15:41:56.0 +0200
@@ -55,6 +55,7 @@
 #include 
 #include 
 #include 
+#include 
 
 #include "append.h"
 #include "auth.h"
@@ -806,6 +807,7 @@
 	/* check ~USERNAME/.sieve */
 	snprintf(fname, size, "%s/%s", pent->pw_dir, ".sieve");
 } else { /* look in sieve_dir */
+	struct stat sbuf;
 	char hash = (char) dir_hash_c(user);
 
 	if (domain) {
@@ -815,6 +817,12 @@
 	} else {
 	snprintf(fname, size, "%s/%c/%s/defaultbc", sieve_dir, hash, user);
 	}
+	/* does this file exist at all?  if not, fall back on a global one */
+	if (stat(fname, &sbuf) == -1) {
+	syslog(LOG_DEBUG, "IOERROR: fstating sieve script %s (falling"
+			  "back on system wide default): %m", fname);
+	snprintf(fname, size, "%s/defaultbc", sieve_dir);
+	}
 }
 	
 return 0;


Re: System-wide sieve filter

2004-06-18 Thread Luca Olivetti
Tore Anderson wrote:
  Hi.  I need to make SpamAssassin-tagged messages to be by default
 filtered into a spam-folder.  I figured I could do this either by
 a global sieve script, or some default script that was copied in place
 whenever a new user mailbox was created.
in /etc/amavisd.conf
$addr_extension_spam   = 'spam';
then when I create an user, I create a "spam" folder and give it an 
"anonymous p" acl.

Bye
--
Luca Olivetti
Wetron Automatización S.A. http://www.wetron.es/
Tel. +34 93 5883004  Fax +34 93 5883007
---
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: System-wide sieve filter

2004-06-18 Thread Eddy Beliveau
> Tore Anderson wrote:
> >   Hi.  I need to make SpamAssassin-tagged messages to be by default
> >  filtered into a spam-folder.  I figured I could do this either by
> >  a global sieve script, or some default script that was copied in place
> >  whenever a new user mailbox was created.
> 
> in /etc/amavisd.conf
> 
> $addr_extension_spam   = 'spam';
> 
> then when I create an user, I create a "spam" folder and give it an 
> "anonymous p" acl.

Hi!  Luca,

I like your solution  ;-)

Do you know if it work with the following environment:
cyrus 2.1.16, amavisd-new 20030616-p9 and spamassassin 2.60-1

Thanks,
Eddy


---
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: System-wide sieve filter

2004-06-18 Thread Edward Rudd
On Fri, 2004-06-18 at 11:01, Eddy Beliveau wrote:
> Hi!  Luca,
> 
> I like your solution  ;-)
> 
> Do you know if it work with the following environment:
> cyrus 2.1.16, amavisd-new 20030616-p9 and spamassassin 2.60-1
> 
It will work in that environment perfectly. You just have to make sure
correct permissions are on the spam folder in the users account in cyrus
(the anonymous p) as messages are delivered as anonymous. Also you need
to make sure that your MTA doesn't strip the + address extension.
Postfix by default does this and you need to add "recipient_delimiter =
+" to the main.cf. I'm not sure about other MTAs

-- 
Edward Rudd <[EMAIL PROTECTED]>
Website http://www.outoforder.cc/

---
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: System-wide sieve filter

2004-06-18 Thread Tore Anderson
* Tore Anderson

 >   Hi.  I need to make SpamAssassin-tagged messages to be by
 > default filtered into a spam-folder.  I figured I could do this
 > either by a global sieve script, or some default script that was
 > copied in place whenever a new user mailbox was created.

* Luca Olivetti

 > in /etc/amavisd.conf
 >
 > $addr_extension_spam   = 'spam';
 >
 > then when I create an user, I create a "spam" folder and give it an
 > "anonymous p" acl.

  Hm, amavis, did I post to the wrong list?  :-)  I don't use amavis, so
 I'm don't really know what this does..  Does it mean you can tell Cyrus
 to filter a message into a folder, by adding a extension to the RCPT TO
 address?  Like <[EMAIL PROTECTED]>?

  I use the autocreate patch, so a folder named "Spam" is automatically
 created when the user is.  But I didn't figure out how I could make the
 suspected spam messages be automatically filed into that folder,
 without patching Cyrus.  Could you elaborate on how your method works?

-- 
Tore Anderson
---
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


lmtp via unix socket and user+mbox@domain syntax

2004-06-18 Thread Andreas
I'm using postfix 2.0.19 and cyrus-imapd-2.2.4 (+patches from CVS)
and delivery is happening via lmtp unix socket. I'm trying to make
the [EMAIL PROTECTED] syntax to work, but to no avail: all messages
end up in INBOX (I have set "recipient_delimiter = +" in postfix's main.cf).

Is it at all possible with this delivery method? Or only when using cyrus' 
deliver program?

Can I somehow bump up the debug level in lmtp to see what is going on?
---
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: lmtp via unix socket and user+mbox@domain syntax

2004-06-18 Thread Andreas
On Fri, Jun 18, 2004 at 03:01:41PM -0300, Andreas wrote:
> the [EMAIL PROTECTED] syntax to work, but to no avail: all messages
> end up in INBOX (I have set "recipient_delimiter = +" in postfix's main.cf).

Hmm, answering to myself... Adding the "p" right to "anyone" fixed it. But
"anyone" is a bit too broad... What is the user that the lmtp unix socket
is seeing and using for delivery?

---
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: System-wide sieve filter

2004-06-18 Thread Edward Rudd
On Fri, 2004-06-18 at 12:05, Tore Anderson wrote:
> * Tore Anderson
> 
>  >   Hi.  I need to make SpamAssassin-tagged messages to be by
>  > default filtered into a spam-folder.  I figured I could do this
>  > either by a global sieve script, or some default script that was
>  > copied in place whenever a new user mailbox was created.
> 
> * Luca Olivetti
> 
>  > in /etc/amavisd.conf
>  >
>  > $addr_extension_spam   = 'spam';
>  >
>  > then when I create an user, I create a "spam" folder and give it an
>  > "anonymous p" acl.
> 
>   Hm, amavis, did I post to the wrong list?  :-)  I don't use amavis, so
>  I'm don't really know what this does..  Does it mean you can tell Cyrus
>  to filter a message into a folder, by adding a extension to the RCPT TO
>  address?  Like <[EMAIL PROTECTED]>?
amavisd-new  => http://www.ijs.si/software/amavisd/
amavisd is a perl daemon that runs as a filter for an MTA. In my setup I
have postfix configured to use amavisd as a content filter and amavisd
then runs all the messages through spamassassin and through clamav (or
any number of about 20 antivirus programs it supports)

What are you currently using to have spamassassin tag messages?

>   I use the autocreate patch, so a folder named "Spam" is automatically
>  created when the user is.  But I didn't figure out how I could make the
>  suspected spam messages be automatically filed into that folder,
>  without patching Cyrus.  Could you elaborate on how your method works?

Cyrus currently does not support any global sieve filter rule sets.. So
the options you have it to have the filter add an "address extension" to
the e-mail.. ([EMAIL PROTECTED]). and make sure that the folder has
the anonymous p ACLs on it. the +folder is case sensitive.

-- 
Edward Rudd <[EMAIL PROTECTED]>
Website http://www.outoforder.cc/

---
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: System-wide sieve filter

2004-06-18 Thread Earl R Shannon
Hello,
Amavis is a milter and is not part of the Cyrus package.
What it would do with the extension listed is change the
deliver to address by suffixing it with "+spam".
The "+" address indicates to the final delivery agent,
usually lmtpd for cyrus, to put the message in the
specified folder.
So a message sent to [EMAIL PROTECTED] would get
delivered to a subfolder of my inbox named spam, should
such a folder exist and the ACL on that folder was
appropriately set.
Regards,
Earl Shannon
Tore Anderson wrote:
* Tore Anderson
 >   Hi.  I need to make SpamAssassin-tagged messages to be by
 > default filtered into a spam-folder.  I figured I could do this
 > either by a global sieve script, or some default script that was
 > copied in place whenever a new user mailbox was created.
* Luca Olivetti
 > in /etc/amavisd.conf
 >
 > $addr_extension_spam   = 'spam';
 >
 > then when I create an user, I create a "spam" folder and give it an
 > "anonymous p" acl.
  Hm, amavis, did I post to the wrong list?  :-)  I don't use amavis, so
 I'm don't really know what this does..  Does it mean you can tell Cyrus
 to filter a message into a folder, by adding a extension to the RCPT TO
 address?  Like <[EMAIL PROTECTED]>?
  I use the autocreate patch, so a folder named "Spam" is automatically
 created when the user is.  But I didn't figure out how I could make the
 suspected spam messages be automatically filed into that folder,
 without patching Cyrus.  Could you elaborate on how your method works?
---
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: lmtp via unix socket and user+mbox@domain syntax

2004-06-18 Thread Christoph Moench-Tegeder
## Andreas ([EMAIL PROTECTED]):

> I'm using postfix 2.0.19 and cyrus-imapd-2.2.4 (+patches from CVS)
> and delivery is happening via lmtp unix socket. I'm trying to make
> the [EMAIL PROTECTED] syntax to work, but to no avail: all messages
> end up in INBOX (I have set "recipient_delimiter = +" in postfix's main.cf).
> Is it at all possible with this delivery method? Or only when using cyrus' 
> deliver program?

postfix needs this patch:
http://archives.neohapsis.com/archives/postfix/2003-01/att-0857/01-postfix-lmtpauth-patch.txt
(which itself needs some work to fit recent versions of postfix).

Regards,
Christoph

-- 
Spare Space
---
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 IMAPd 2.2.6 Released

2004-06-18 Thread Rob Siemborski
I'm pleased to announce the release of Cyrus IMAPd 2.2.6.  This release 
implements a large number of bugfixes and massively improves the stability 
of the server.  It contains no new features.

A full list of changes is available in doc/changes.html in the 
distribution.

Download the release at:
ftp://ftp.andrew.cmu.edu/pub/cyrus/cyrus-imapd-2.2.6.tar.gz
or
http://ftp.andrew.cmu.edu/pub/cyrus/cyrus-imapd-2.2.6.tar.gz
Thanks for all those who offered assistance in tracking down these issues,
-Rob
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper
---
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: lmtp via unix socket and user+mbox@domain syntax

2004-06-18 Thread Edward Rudd
On Fri, 2004-06-18 at 13:32, Andreas wrote:
> On Fri, Jun 18, 2004 at 03:01:41PM -0300, Andreas wrote:
> > the [EMAIL PROTECTED] syntax to work, but to no avail: all messages
> > end up in INBOX (I have set "recipient_delimiter = +" in postfix's main.cf).
> 
> Hmm, answering to myself... Adding the "p" right to "anyone" fixed it. But
> "anyone" is a bit too broad... What is the user that the lmtp unix socket
> is seeing and using for delivery?
> 
anonymous p
> ---
> 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
-- 
Edward Rudd <[EMAIL PROTECTED]>
Website http://www.outoforder.cc/

---
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: lmtp via unix socket and user+mbox@domain syntax

2004-06-18 Thread Andreas
On Fri, Jun 18, 2004 at 02:18:06PM -0500, Edward Rudd wrote:
> > "anyone" is a bit too broad... What is the user that the lmtp unix socket
> > is seeing and using for delivery?
> > 
> anonymous p

Ah, that fixed it, 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: Problems with idle pop3 connections locking mailboxes

2004-06-18 Thread Michael Sims
Michael Sims wrote:
> I'm having a strange problem with pop3d connections hanging that I
> was hoping to get some feedback on (system vitals are at the bottom
> of this message).
[...]
> [EMAIL PROTECTED] root]# strace -p23604
> Process 23604 attached - interrupt to quit
> write(1, "/mYYyaenY9KvRwAahzCYCiPwGiWHtz7A"..., 584

Sorry to followup to my own message, but I have more information, and a much simpler
question to ask this time. :)  This exact same user caused another pop process to
hang up, downloading the same message as before.  strace again revealed it was stuck
in the middle of a write.  My question is, is there any way I can via a script
determine if a pop3 process has been stuck in this state for a while?  If I can I
suppose I could just write a script to check for this every hour or so and restart
cyrus if necessary.  Does anyone have any suggestions/ideas towards this end?  Also,
has the behavior of the pop3 daemon changed significantly between the 2.1 series and
2.2?  I'd upgrade to 2.2 if I knew it'd help this situation.  Thanks very much...

---
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: System-wide sieve filter

2004-06-18 Thread Tore Anderson
* Edward Rudd

 > amavisd-new  => http://www.ijs.si/software/amavisd/
 > amavisd is a perl daemon that runs as a filter for an MTA. In my
 > setup I have postfix configured to use amavisd as a content filter
 > and amavisd then runs all the messages through spamassassin and
 > through clamav (or any number of about 20 antivirus programs it
 > supports)

  Ah, yes - I am aware of what Amavis -is-.  I was merely curious -how-
 it was telling Cyrus what folder to save the incoming message
 into.  :-)

 > What are you currently using to have spamassassin tag messages?

  Well, SpamAssassin.  To be more precise:  Exim pipes the message
 through the "spamc" binary as a "transport_filter" just before it sends
 it on to the Cyrus using LMTP.  "spamc" classifies the message arriving
 on stdin, adds some headers, then finally dumps the result on stdout.

 > Cyrus currently does not support any global sieve filter rule sets..

  With my patch applied, does too!  ;-)

 > So the options you have it to have the filter add an "address
 > extension" to the e-mail.. ([EMAIL PROTECTED]). and make sure that
 > the folder has the anonymous p ACLs on it. the +folder is case
 > sensitive.

  Aha!  That is the answer I was looking for.  Thanks (applies to you
 too, Earl R Shannon)!  I will see if I can make use of this
 functionality.

-- 
Tore Anderson
---
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: signaled to death by 11

2004-06-18 Thread Günter Zimmermann
Hi people,

The problem is solved.

It was because of different versions od berkley-db in sasl and imapd.

It found this information in the trace.

Another Point is that its only works with berkley-db version 4.1.25.

Version 4.2.52 did not work.

thx for your help.

strace was a really good hint:-)

mfg
Günter Zimmermann
[EMAIL PROTECTED]
mobil: +43 (699) 110 95620


Zitat von Günter Zimmermann <[EMAIL PROTECTED]>:

 Hi,

 Here are the informations:

 I am using db-4.2.52.

 # diff /etc/imapd.conf /etc/cyrus-imapd-2.2.5/imapd.conf
 # cat imap_conf.diff
 25a26,31
  > mboxlist_db: skiplist
  > seenstate_db: skiplist
  > ptscache_db: skiplist
  > subscription_db: flat
  > tlscache_db: skiplist
  > duplicate_db: skiplist

 The trace comes as gziped attatchment because its size.

 The startcommand was:
 /opt/strace-4.5.1/bin/strace -fF -o /tmp/cyrus.out
 /opt/cyrus-imapd-2.2.5/service/master -C
 /etc/cyrus-imapd-2.2.5/imapd.conf -M /etc/cyrus-imapd-2.2.5/cyrus.conf &

 best regards
 Günter

 The same error happens with cyrus imapd 2.2.3


 Simon Matter schrieb:

 >> Hi,
 >>
 >> I have an cyrus imapd 2.2.2 Beta running.
 >>
 >> Now i  tried to update to 2.2.5.
 >>
 >> Startcommand:
 >> /opt/cyrus-imapd-2.2.5/service/master -C
 >> /etc/cyrus-imapd-2.2.5/imapd.conf -M /etc/cyrus-imapd-2.2.5/cyrus.conf
 >> If try to logon i get this error and the master process dies
 >>
 >
 >
 > What your database backends configuration? you could provide us a diff
 > between your 2.2.2beta imapd.conf and the 2.2.5 imapd.conf.
 > Then, you could try starting master with something like strace -f or
 > whatever is apropriate for your OS.
 >
 > Simon
 >
 >
 >
 >> Error:
 >> Jun 17 20:12:30 andromeda master[31404]: process 31410 exited, signaled
 >> to death by 11
 >> Jun 17 20:12:30 andromeda master[31404]: service imap pid 31410 in BUSY
 >> state: terminated abnormally
 >>
 >> I compiled with this command:
 >> make clean;
 >> ./configure \
 >> --prefix=/opt/cyrus-imapd-2.2.5 \
 >> --sysconfdir=/etc/cyrus-imapd-2.2.5 \
 >> --localstatedir=/var/cyrus-imapd-2.2.5 \
 >> --with-cyrus-prefix=/opt/cyrus-2.2.5 \
 >> --with-service-path=/opt/cyrus-imapd-2.2.5/service \
 >> --infodir=/usr/share/info \
 >> --mandir=/usr/share/man \
 >> --with-auth=unix \
 >> --with-openssl=/opt/openssl \
 >> --with-dbdir=/opt/db \
 >> --with-bdb-libdir=/opt/db/lib \
 >> --with-bdb-incdir=/opt/db/include \
 >> --with-sasl=/opt/sasl2 \
 >> --with-perl=/opt/perl/bin/perl \
 >> --with-cyrus-user=wwwrun \
 >> --with-cyrus-group=nogroup \
 >> --enable-listext \
 >> --enable-netscapehack \
 >> --enable-nntp \
 >> --with-ldap=/opt/openldap \
 >> --with-gss_impl=heimdal \
 >> --without-snmp \
 >> --enable-murder  && make && make install
 >>
 >> thx for every help
 >>
 >> Günter Zimmermann
 >>
 >> ---
 >> 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
 >>
 >>
 >>
 >
 >
 >
 >
 >


 Simon Matter schrieb:

 >>Hi,
 >>
 >>I have an cyrus imapd 2.2.2 Beta running.
 >>
 >>Now i  tried to update to 2.2.5.
 >>
 >>Startcommand:
 >>/opt/cyrus-imapd-2.2.5/service/master -C
 >>/etc/cyrus-imapd-2.2.5/imapd.conf -M /etc/cyrus-imapd-2.2.5/cyrus.conf
 >>If try to logon i get this error and the master process dies
 >>
 >>
 >
 >What your database backends configuration? you could provide us a diff
 >between your 2.2.2beta imapd.conf and the 2.2.5 imapd.conf.
 >Then, you could try starting master with something like strace -f or
 >whatever is apropriate for your OS.
 >
 >Simon
 >
 >
 >
 >>Error:
 >>Jun 17 20:12:30 andromeda master[31404]: process 31410 exited, signaled
 >>to death by 11
 >>Jun 17 20:12:30 andromeda master[31404]: service imap pid 31410 in BUSY
 >>state: terminated abnormally
 >>
 >>I compiled with this command:
 >>make clean;
 >>./configure \
 >>--prefix=/opt/cyrus-imapd-2.2.5 \
 >>--sysconfdir=/etc/cyrus-imapd-2.2.5 \
 >>--localstatedir=/var/cyrus-imapd-2.2.5 \
 >>--with-cyrus-prefix=/opt/cyrus-2.2.5 \
 >>--with-service-path=/opt/cyrus-imapd-2.2.5/service \
 >>--infodir=/usr/share/info \
 >>--mandir=/usr/share/man \
 >>--with-auth=unix \
 >>--with-openssl=/opt/openssl \
 >>--with-dbdir=/opt/db \
 >>--with-bdb-libdir=/opt/db/lib \
 >>--with-bdb-incdir=/opt/db/include \
 >>--with-sasl=/opt/sasl2 \
 >>--with-perl=/opt/perl/bin/perl \
 >>--with-cyrus-user=wwwrun \
 >>--with-cyrus-group=nogroup \
 >>--enable-listext \
 >>--enable-netscapehack \
 >>--enable-nntp \
 >>--with-ldap=/opt/openldap \
 >>--with-gss_impl=heimdal \
 >>--without-snmp \
 >>--enable-murder  && make && make install
 >>
 >>thx for every help
 >>
 >>Günter Zimmermann
 >>
 >>---
 >>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
 >>
 >>
 >>
 >>
 >
 >
 >
 >




This message was sent using IMP, the Internet Messa

Fri, 18 Jun 2004 17:52:15 -0600

2004-06-18 Thread Sasl-cvs
Here is a casino giving away $25 Free when you sign up an account.
No credit card required
http://secret.cls2.org/iwin.html


Marylou


Re: signaled to death by 11

2004-06-18 Thread Patrick Boutilier

Günter Zimmermann wrote:
Hi people,
The problem is solved.
It was because of different versions od berkley-db in sasl and imapd.
It found this information in the trace.
Another Point is that its only works with berkley-db version 4.1.25.
Version 4.2.52 did not work.
We use 4.2.52. Had major slowdown/load problems with 4.1.25
thx for your help.
strace was a really good hint:-)
Used to be able to tell using ldd on imapd and libsasl.so but I now see 
that ldd on libsasl2.so doesn't show libdb anymore.

[EMAIL PROTECTED] lib]# ldd libsasl2.so.2.0.17
libdl.so.2 => /lib/libdl.so.2 (0x40021000)
libresolv.so.2 => /lib/libresolv.so.2 (0x40024000)
libc.so.6 => /lib/libc.so.6 (0x40034000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x8000)
mfg
Günter Zimmermann
[EMAIL PROTECTED]
mobil: +43 (699) 110 95620

---
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


³¬¼¶Îݶ¥¸ôÈȲÄÁÏ

2004-06-18 Thread ׿¹¤³Ìʦ




科技改变您的生存环境  
.
采用与冰箱、高温消毒碗柜同步的保温和隔热技术,产品外形、结构均为专利技术。应用于冷库、屋面、墙体,起隔离恶劣环境,直接节约能源的作用。
.
【塑化防水型节能瓷砖】是隔热、保温、隔音、防水、装饰的集成体,每项科技含量都很高,能真正做到一次投资,百年受益。是新建屋面或屋面改造最理想的选择。
. 
高超的保温隔热性能使顶层楼房变得:冬暖夏凉。为用户节省了大量的因制冷或采暖而产生的电费;它美观耐用,使宝贵的楼面观光天台得到了真正的长期利用,同时也美化了城市的环境;以往投诉最多的楼面漏水问题也从根本上得到了解决。
.
详情请点击登陆网站: www.suwa-china.com
.
中文名称和网络实名: 塑化防水型节能瓷砖
.  
节能瓷砖  
. 
 塑化   
.
即时通讯QQ号码:  207 36818
.
咨询请进入网站留言;或致电:020-87065258  
020-88306650
.
-- 
. 
◆ 科技新建筑 节约能源 利国利民 ◆
. 
以上为【国家节能产品】推广内容,新技术新产品,欢迎业务合作,互相转告,推广应用,共同发展!

. 
【防水隔热保温的新突破】 欢迎来信来电咨询!卓工程师
.
. 
.1、为什么您的空调用电比别人多几倍?
.2、您的屋面漏水吗?
.3、您的屋顶可以上去玩吗?
.4、您的屋面影响市容吗?
.5、
.?
.?
.
. 
. 
. 
. 
邮件如给您带来不便,敬请原谅!
如果您已经知道,不想再收到以上的推广内容,请在下面选择退订。

 邮件退定:http://remove.6456.com