Re: umlaut/8bit chars in sieve vacations?

2004-07-20 Thread Simon Matter
> Hi!
>
> I just updated a cyrus-imapd from 2.0.x to 2.2.6, and realized that the
> sievec compiler does not eat 8bit characters. Perhaps it shouldn't do it

You have to encode the scripts with UTF-8.
In my rpms I use a bash function like this on upgrade:

# cvt_to_utf8 [file]
cvt_to_utf8() {
  target="$1"
  if [ -s "$target" ]; then
if ! $sievec "$target" "${target}.sievec"; then
  iconv --from-code=ISO-8859-1 --to-code=UTF-8
--output="${target}.UTF-8" "$target"
  if [ -s "${target}.UTF-8" ]; then
# preserve timestamp
touch --reference="$target" "${target}.UTF-8"
mv -f "${target}.UTF-8" "$target"
  else
ERRVAL=$[ $ERRVAL + 1 ]
  fi
fi
rm -f "${target}.sievec"
  fi
}


Regards,
Simon

> without knowing the character set, but I really need to enter 8bit
> characters in the vacation messages... Before sievec, it worked fine,
> albeit there was perhaps no charset info in the mail...
>
> Ideas?
>
> /Palle
>
> ---
> Cyrus Home Page: http://asg.web.cmu.edu/cyrus
> Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>
>


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


Re: sasl problem (sigh)

2004-07-20 Thread Simon Matter
> I was utterly convinced this was a postfix issue, but now I'm utterly
> convinced this is a saslauthd issue.
>
> Oh, go ahead and flame away if this is not an appropriate forum for
> saslauthd config problems, but after you've torched me, refer me to the
> right place :)

You are close, I guess cyrus-sasl would be correct, not info-cyrus :)

>
> I am running Redhat 9 with cyrus-sasl-2.1.18-5 that I installed from an
> RPM.

Which rpm from where? The one I provide from here
http://www.invoca.ch/pub/packages/cyrus-sasl/ ?

> I can make testsaslauthd work every time, hence my prior belief that this
> was a postfix issue.  My problem is that when the postfix smtpd daemon
> makes
> to call to the sasl library and and it connects to the saslauthd socket at
> /var/run/saslauthd/mux, and submits correct authentication parameters, it
> gets a "NO" when testsaslauthd from the command line gets an "OK."
>
> As I said, testsaslauthd from the command line is working peachy, and the
> way I know so much about the connections on behalf of the postfix smtpd
> daemon is I ran an strace, and got this stuff:
>
> First, happy stuff:
>
> [EMAIL PROTECTED] root]# testsaslauthd -u ihunter -p noyb -f
> /var/run/saslauthd/mux
> 0: OK "Success."
>
> Now, unhappy stuff:
>
> Jul 20 14:57:29 charlie logger: connect(15, {sa_family=AF_UNIX,
> path="/var/run/saslauthd/mux"}, 110) = 0
> Jul 20 14:57:29 charlie logger: write(15, "ihunter\0noyb\0", 17)= 17
> Jul 20 14:57:29 charlie logger: read(15, "\0\3NO ", 1023)   =
> 5

Isn't the above postfix code? Are you sure you have a correct postfix
installed?

Simon

>
> (if you're checking the lengths of strings, I changed my password to "none
> of your business" above)
>
> Help?
>
> ---
> Cyrus Home Page: http://asg.web.cmu.edu/cyrus
> Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>
>


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


umlaut/8bit chars in sieve vacations?

2004-07-20 Thread Palle Girgensohn
Hi!
I just updated a cyrus-imapd from 2.0.x to 2.2.6, and realized that the 
sievec compiler does not eat 8bit characters. Perhaps it shouldn't do it 
without knowing the character set, but I really need to enter 8bit 
characters in the vacation messages... Before sievec, it worked fine, 
albeit there was perhaps no charset info in the mail...

Ideas?
/Palle
---
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


patch, bad manual page

2004-07-20 Thread Palle Girgensohn
Hi,
A badly formatted row in a man page made man go kinda berzerk. Can't find 
the CVS to see if it is fixed, here is a patch anyway...

Cheers,
Palle
--- man/imapd.conf.5.orig   Thu Jun 17 20:55:50 2004
+++ man/imapd.conf.5Wed Jul 21 03:20:23 2004
@@ -187,7 +187,7 @@
If enabled, uses an improved directory hashing scheme which hashes
the entire username instead of using just the first letter.  This
changes hash algorithm used for quota and user directories and if
-\fIhashimapspool\rR is enabled, the entire mail spool.
+\fIhashimapspool\fR is enabled, the entire mail spool.
.PP
Note that this option can NOT be changed on a live system.  The
server must be quiesced and then the directories moved with the
---
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


using pine with cyrus and heirarchy separation

2004-07-20 Thread Robin M.
I recently moved my imap server from courier to cyrus with unix heirarchy
separation.

Everything work well except for pine.

Does anyone have an example of a .pinerc which they use with a cyrus
server with the unix heirarchy separation.

---
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: libwrap compiled into Cyrus IMAPd

2004-07-20 Thread Igor Brezac

On Tue, 20 Jul 2004, Ken Murchison wrote:

> ML mail wrote:
>
> > Hi,
> >
> > Sorry for posting my message again but I still didn't
> > find any solutions on how to get libwrap compiled in
> > Cyrus IMAPd and didn't have any answers.
> >
> > The problem is still the same: I am trying in vain to
> > get libwrap activated in Cyrus IMAPd. I am using Cyrus
> > IMAPd 2.2.6, Cyrus SASL 2.1.18 on OpenBSD 3.5. And
> > here is my configure command:
> >
> > ./configure --prefix=/usr/local/cyrus-imapd
> > --with-cyrus-prefix=/usr/local/cyrus-imapd
> > --with-openssl --with-sasl=/usr/local/sasl2
> > --with-bdb-libdir=/usr/local/lib/db4
> > --with-bdb-incdir=/usr/local/include/db4
> > --with-libwrap
> >
> > configure then simply reports that it didn't find
> > libwrap and if I have a look in the generated
> > config.log I can see the following error:
> >
> > /usr/lib/libwrap.so.3.0: undefined reference to
> > `allow_severity'
> > /usr/lib/libwrap.so.3.0: undefined reference to
> > `deny_severity'
>
> Looks like your TCPwrappers build on OpenBSD is either broken or has a
> dependency which configure doesn't know about.  This works fine on my
> RH9 box.

cyrus configure is broken for systems that have a shared tcpwrapper
library.

Try
ac_cv_lib_wrap_request_init=yes ./configure --with-libwrap ...

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


Re: Problem getting email posted to a virtual mailbox domain

2004-07-20 Thread Martin Haywood
Actually this morning I realise that what I've written isn't right, I 
was getting confused by some old test files from one of many previous 
attempts.  So here goes:
  -- Mail to default domain user 'myuid' gets stored in 
/var/spool/imap/user/myuid and is correctly picked up by a pop login.
  -- Mail to [EMAIL PROTECTED] doesn't get stored in 
/var/spool/imap/domain/myvdomain/user/otheruid although the dir exists. 
I don't know where if anywhere it ends up.

So I guess that's the problem. What should I set postfix's 
virtual_mailbox_base to, and what should I set cyrus's 
partition-default to?  What owners should these dirs have? It seems 
obvious postfix shouldn't point to /var/mail although that's what all 
the documentation seems to say. I've gone around and around this, which 
is why my previous message was so confused (and posted 2.30am local 
time).

Thanks in advance
On 21/07/2004, at 2:19, Martin Haywood wrote:
I am using cyrus on freeBSD 5.2 with postfix.
Mail to default domain seems to work ok. Mail to virtual mailbox user 
'[EMAIL PROTECTED]' gets put in '/var/mail/foo.bar/example', but logging 
in with pop or imap doesn't retrieve the mail.  There's no error 
messages during delivery or pop login.

I have postfix with virtual_mailbox_maps showing [EMAIL PROTECTED]  as 
mapping to /var/mail/foo.bar/example so I can see how the mail reaches 
that place, but no combination of imapd.conf settings that I've tried 
seems to let cyrus find it there. Maybe it's a stupid question, but I 
somehow don't understand how to set partition-default so that it works 
without permission errors -- it was set to /var/spool/imap which 
contained user/ and domain/ but I can't see how to mesh these with 
/var/mail/

It may be rather dumb of me but I've spent a lot of hours trying a lot 
of permutations of directories etc. without getting this to work, so 
even if it's obvious I'd appreciate any suggestions.

---
Martin <[EMAIL PROTECTED]>
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

---
Martin <[EMAIL PROTECTED]>
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Cyrus-imapd virtual domains

2004-07-20 Thread Sleepy Chanterelle
Good day,
i am using cyrus sasl 2.2.6 with postfix , mysql, pam-mysql, cyrus sasl
I would like to ask you how is it possible to store the user's imap folder with the 
full email address like [EMAIL PROTECTED] and not just test. in my mysql db i have the 
usernames to be like that. i also set at imapd.conf the virtdomains: userid  Any ideas 
?
thank you in advance

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


signaled to death by 6

2004-07-20 Thread Etienne Goyer
Hi fellows,
I am installing Cyrus imapd 2.2.6 on RHEL.  It's compiled with the 
distribution-provided Cyrus SASL 2.1.15 rpm.  It was configured with

/configure --enable-murder --with-auth=unix \ 
--with-openssl=/usr/include/openssl --enable-gssapi=/usr/kerberos \ 
--without-snmp

I have various compiling errors unless I use "--enable-gssapi" and 
"--without-snmp".  I ran mkimap as the cyrus users, no problem here.

When I start Cyrus-imapd, I have the following error in the log :
Jul 20 16:42:32 mupdate-dev master[18239]: about to exec 
/usr/cyrus/bin/ctl_cyrusdb
Jul 20 16:42:32 mupdate-dev master[18240]: about to exec 
/usr/cyrus/bin/mupdate
Jul 20 16:42:32 mupdate-dev master[18234]: process 18239 exited, 
signaled to death by 6
Jul 20 16:42:32 mupdate-dev master[18234]: process 18240 exited, 
signaled to death by 6
Jul 20 16:42:32 mupdate-dev master[18234]: service mupdate pid 18240 in 
READY state: terminated abnormally
Jul 20 16:42:32 mupdate-dev master[18241]: about to exec 
/usr/cyrus/bin/mupdate
Jul 20 16:42:32 mupdate-dev master[18234]: process 18241 exited, 
signaled to death by 6
Jul 20 16:42:32 mupdate-dev master[18234]: service mupdate pid 18241 in 
READY state: terminated abnormally
Jul 20 16:42:32 mupdate-dev master[18242]: about to exec 
/usr/cyrus/bin/mupdate
Jul 20 16:42:32 mupdate-dev master[18234]: process 18242 exited, 
signaled to death by 6

It continue like that forever until I stop the service.  Any idea what 
could be causing the signal 6 ?  From what I can gather, this is caused 
by abort(), but how can I figure out what is making an assertion fail ?

Thanks for your insights !


signature.asc
Description: OpenPGP digital signature


sasl problem (sigh)

2004-07-20 Thread Ian Hunter
I was utterly convinced this was a postfix issue, but now I'm utterly
convinced this is a saslauthd issue.

Oh, go ahead and flame away if this is not an appropriate forum for
saslauthd config problems, but after you've torched me, refer me to the
right place :)

I am running Redhat 9 with cyrus-sasl-2.1.18-5 that I installed from an RPM.
I can make testsaslauthd work every time, hence my prior belief that this
was a postfix issue.  My problem is that when the postfix smtpd daemon makes
to call to the sasl library and and it connects to the saslauthd socket at
/var/run/saslauthd/mux, and submits correct authentication parameters, it
gets a "NO" when testsaslauthd from the command line gets an "OK."

As I said, testsaslauthd from the command line is working peachy, and the
way I know so much about the connections on behalf of the postfix smtpd
daemon is I ran an strace, and got this stuff:

First, happy stuff:

[EMAIL PROTECTED] root]# testsaslauthd -u ihunter -p noyb -f
/var/run/saslauthd/mux
0: OK "Success."

Now, unhappy stuff:

Jul 20 14:57:29 charlie logger: connect(15, {sa_family=AF_UNIX,
path="/var/run/saslauthd/mux"}, 110) = 0
Jul 20 14:57:29 charlie logger: write(15, "ihunter\0noyb\0", 17)= 17
Jul 20 14:57:29 charlie logger: read(15, "\0\3NO ", 1023)   = 5

(if you're checking the lengths of strings, I changed my password to "none
of your business" above)

Help?

---
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: Virtual Memory Consumption of Cyrus IMAPd

2004-07-20 Thread Mohamed Magdi Abbas
Rob Siemborski wrote:
On Tue, 20 Jul 2004, Mohamed Magdi Abbas wrote:
Rob Siemborski wrote:
On Mon, 19 Jul 2004, Andrew Brink wrote:
I have also seen this sasauthd memory leak on a Debian box.  A 
simple restart always fixes the problem for me too.

When we get reports like this it inevitably turns out to be the PAM 
module leaking memory, not saslauthd itself.

But then why would a restart of saslauthd itself fix things, i.e. 
release the swap space (it or someother piece down the line) used up?

PAM modules are used as libraries by the running process. If they leak 
memory as part of the saslauthd process, then killing saslauthd will 
release the leaked memory.
Ah, that's right... thanks for the reminder...

-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
---
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: Imap mailbox aliases (two names for the same box)

2004-07-20 Thread Ghislain ADNET
Scott Adkins wrote:
The solution we opted for was to patch Sendmail to make it work :)
I have an "lmtp" patch that doesn't drop the stuff after the + in the
address, and it also does not mess with the case with anything after
the +.  I implemented as a mailer flag, so including a 'W' in the
cyrus mailer flags triggers the code to work.
I can post it if you are interested...
I am glad i am not the only one to have the issue !
Sure i am interested by the patch  ! :)
best regards,
Ghislain.
---
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: Imap mailbox aliases (two names for the same box)

2004-07-20 Thread Scott Adkins
The solution we opted for was to patch Sendmail to make it work :)
I have an "lmtp" patch that doesn't drop the stuff after the + in the
address, and it also does not mess with the case with anything after
the +.  I implemented as a mailer flag, so including a 'W' in the
cyrus mailer flags triggers the code to work.
I can post it if you are interested...
I have tried working with the m4 code in the sendmail.cf file to make
that same functionality work without having to patch sendmail.  I have
yet been able to succeed.
Does anyone have a sample config file (other than CMU :->) that works?
CMU's code was so complex I couldn't figure it out.  Basically, I got all
of their config files, and they do a lot in their environment, so it was
like looking for a needle in a hay stack :)
Scott
--On Tuesday, July 20, 2004 6:39 PM +0200 Ghislain ADNET <[EMAIL PROTECTED]> 
wrote:

Hello,
   I know some of you had the problem of the mailbox with an upper case
that are not recognized when goign through sendmail.
   For exemple writing to [EMAIL PROTECTED] is translated
[EMAIL PROTECTED]
   My problem is Thunderbird use Junk, Trash Sent name boxes etc... and
have special icons to show those folders that permit easy identification
of the folder by mundane users. But i cannot forward to uppercase adress
folders so i have to choose between :
1/ use sent instead of Sent and forget about the special icon in
thunderbird and mozilla
2/ find a way to create an alias at the server level between Sent and
sent (so basicaly only one folder for two names)
   Do any of you have a solution for the second solution ?
best regards,
Ghislain.
---
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

--
+---+
 Scott W. Adkinshttp://www.cns.ohiou.edu/~sadkins/
  UNIX Systems Engineer  mailto:[EMAIL PROTECTED]
   ICQ 7626282 Work (740)593-9478 Fax (740)593-1944
+---+
PGP Public Key available at http://www.cns.ohiou.edu/~sadkins/pgp/

pgpcH0DYR34IY.pgp
Description: PGP signature


Re: Virtual Memory Consumption of Cyrus IMAPd

2004-07-20 Thread Wil Cooley
On Tue, 2004-07-20 at 10:58, Mohamed Magdi Abbas wrote:
> Rob Siemborski wrote:
> > On Mon, 19 Jul 2004, Andrew Brink wrote:
> > 
> >> I have also seen this sasauthd memory leak on a Debian box.  A simple 
> >> restart always fixes the problem for me too.
> > 
> > 
> > When we get reports like this it inevitably turns out to be the PAM 
> > module leaking memory, not saslauthd itself.
> 
> But then why would a restart of saslauthd itself fix things, i.e. 
> release the swap space (it or someother piece down the line) used up?

Because the PAM modules are dynamically loaded, like libraries, which
saslauthd calls into.  These modules are part of the saslauthd process,
so when they leak memory, the whole process space grows.

Wil
-- 
Wil Cooley [EMAIL PROTECTED]
Naked Ape Consultinghttp://nakedape.cc



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


Re: Virtual Memory Consumption of Cyrus IMAPd

2004-07-20 Thread Rob Siemborski
On Tue, 20 Jul 2004, Mohamed Magdi Abbas wrote:
Rob Siemborski wrote:
On Mon, 19 Jul 2004, Andrew Brink wrote:
I have also seen this sasauthd memory leak on a Debian box.  A simple 
restart always fixes the problem for me too.

When we get reports like this it inevitably turns out to be the PAM module 
leaking memory, not saslauthd itself.
But then why would a restart of saslauthd itself fix things, i.e. release the 
swap space (it or someother piece down the line) used up?
PAM modules are used as libraries by the running process. If they leak 
memory as part of the saslauthd process, then killing saslauthd will 
release the leaked memory.

-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: Virtual Memory Consumption of Cyrus IMAPd

2004-07-20 Thread Mohamed Magdi Abbas
Rob Siemborski wrote:
On Mon, 19 Jul 2004, Andrew Brink wrote:
I have also seen this sasauthd memory leak on a Debian box.  A simple 
restart always fixes the problem for me too.

When we get reports like this it inevitably turns out to be the PAM 
module leaking memory, not saslauthd itself.
But then why would a restart of saslauthd itself fix things, i.e. 
release the swap space (it or someother piece down the line) used up?

-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: Virtual Memory Consumption of Cyrus IMAPd

2004-07-20 Thread Rob Siemborski
On Mon, 19 Jul 2004, Andrew Brink wrote:
I have also seen this sasauthd memory leak on a Debian box.  A simple 
restart always fixes the problem for me too.
When we get reports like this it inevitably turns out to be the PAM module 
leaking memory, not saslauthd itself.

-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: libwrap compiled into Cyrus IMAPd

2004-07-20 Thread ML mail
--- Ken Murchison <[EMAIL PROTECTED]> wrote:

> Looks like your TCPwrappers build on OpenBSD is
> either broken or has a 
> dependency which configure doesn't know about.  This
> works fine on my 
> RH9 box.

I can't imagine that TCPwrappers on OpenBSD is broken
as OpenBSD is the OS that by default secure is and
TCPwrappers is part of OpenBSD's security. Are there
maybe any OpenBSD experts on this mailing list who
would have an idea ?

Regards





__
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
http://advision.webevents.yahoo.com/yahoo/votelifeengine/
---
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: libwrap compiled into Cyrus IMAPd

2004-07-20 Thread ML mail
--- Olaf Zaplinski
<[EMAIL PROTECTED]> wrote:
> Hmm, have you installed libwrap-devel?

There are no such packages libwrap-devel on OpenBSD, I
think you are mixing up with GNU/Debian. TCPwrappers
and it's libraries/headers are installed per default
with the OS.

Regards




__
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
http://advision.webevents.yahoo.com/yahoo/votelifeengine/
---
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


Imap mailbox aliases (two names for the same box)

2004-07-20 Thread Ghislain ADNET
Hello,
  I know some of you had the problem of the mailbox with an upper case that are not 
recognized when goign through sendmail.
  For exemple writing to [EMAIL PROTECTED] is translated [EMAIL PROTECTED]
  My problem is Thunderbird use Junk, Trash Sent name boxes etc... and have special icons to show those folders that 
permit easy identification of the folder by mundane users. But i cannot forward to uppercase adress folders so i have to 
choose between :

1/ use sent instead of Sent and forget about the special icon in thunderbird and 
mozilla
2/ find a way to create an alias at the server level between Sent and sent (so 
basicaly only one folder for two names)
  Do any of you have a solution for the second solution ?
best regards,
Ghislain.
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Problem getting email posted to a virtual mailbox domain

2004-07-20 Thread Martin Haywood
I am using cyrus on freeBSD 5.2 with postfix.
Mail to default domain seems to work ok. Mail to virtual mailbox user 
'[EMAIL PROTECTED]' gets put in '/var/mail/foo.bar/example', but logging 
in with pop or imap doesn't retrieve the mail.  There's no error 
messages during delivery or pop login.

I have postfix with virtual_mailbox_maps showing [EMAIL PROTECTED]  as 
mapping to /var/mail/foo.bar/example so I can see how the mail reaches 
that place, but no combination of imapd.conf settings that I've tried 
seems to let cyrus find it there. Maybe it's a stupid question, but I 
somehow don't understand how to set partition-default so that it works 
without permission errors -- it was set to /var/spool/imap which 
contained user/ and domain/ but I can't see how to mesh these with 
/var/mail/

It may be rather dumb of me but I've spent a lot of hours trying a lot 
of permutations of directories etc. without getting this to work, so 
even if it's obvious I'd appreciate any suggestions.

---
Martin <[EMAIL PROTECTED]>
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


lists2.andrew.cmu.edu vs Sendmail 8.13 `greet_pause'

2004-07-20 Thread Ian G Batten
I've put in an exception, but it may be worth someone looking at why the
Cyrus list trips over the Sendmail greet_pause code.

1090338598.297 Jul 20 16:49:58 i6KFntRU028281: rejecting commands from 
LISTS2.andrew.cmu.edu [128.2.10.216] due to pre-greeting traffic

This implies that LISTS2 is sending traffic to me before it's seen the
initial SMTP banner.

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


Missing Attachment Icon (The Paperclip)

2004-07-20 Thread Java Rockx
Hello All.

I'm using SuSE OpenExchange Server 4.1 with cyrus-imapd-2.1.9-92

When I use an IMAP client such as Mozilla Mail, Thunderbird, Outlook, Outlook
Express, etc, all messages with attachments do not show the "paperclip" icon on
messages that have attachments.

When I highlight a message in my inbox (that has an attachment) the paperclip
icon appears.

How can I fix this so that the paperclip attachment icon shows automatically
when refreshing an IMAP folder?

Regards,
Paul




__
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
http://advision.webevents.yahoo.com/yahoo/votelifeengine/
---
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: libwrap compiled into Cyrus IMAPd

2004-07-20 Thread Olaf Zaplinski
Hmm, have you installed libwrap-devel?
---
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: Please Help Me Fix My Goofy Problem

2004-07-20 Thread Paul Gargan
Hi again,
You have several, possibly related, error messages here.
As far as I can see, Cyrus is returning an error in response to an 
Append operation that the imapsync tool is attempting.

You're also getting errors from the Perl interpreter itself -
It sounds like either imapsync, or perhaps the Perl module 
Mail::IMAPClient on which it depends, is transmitting malformed IMAP 
commands.

What version of Mail::IMAPSync are you using?
Paul.
Java Rockx wrote:
Paul,
Thank You!! When I did the imapsync I did not include the --syncinternaldate
option.
Anyhow, when I include that option I get the following messages returned from
imapsync and messages are not actually transferred.
Any clues?
Paul
+ Copying msg #1332:2501 to folder INBOX.INBOX
flags from : [\Seen]["29-Apr-2004 16:17:32 -0400" UID 1332)
4298 OK FETCH completed.
"]
Error trying to append string: 539 BAD Missing required argument to Append
command
 at /opt/software/imapsync-1.96/imapsync line 708
subject is all lower-case. May conflict with future methods. Change method name
to be mixed case or all upper case to ensure upward compatability at
/opt/software/imapsync-1.96/imapsync line 709
Use of uninitialized value in concatenation (.) or string at
/opt/software/imapsync-1.96/imapsync line 709.
Couldn't append msg #1332 (Subject:[]) to folder INBOX.INBOX: Error trying to
append string: 539 BAD Missing required argument to Append command
---
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: Please Help Me Fix My Goofy Problem

2004-07-20 Thread Java Rockx
I see that.

I'm using perl-Mail-IMAPClient-2.1.4-1

--- Paul Gargan <[EMAIL PROTECTED]> wrote:
> Hi again,
> 
> You have several, possibly related, error messages here.
> 
> As far as I can see, Cyrus is returning an error in response to an 
> Append operation that the imapsync tool is attempting.
> 
> You're also getting errors from the Perl interpreter itself -
> 
> It sounds like either imapsync, or perhaps the Perl module 
> Mail::IMAPClient on which it depends, is transmitting malformed IMAP 
> commands.
> 
> What version of Mail::IMAPSync are you using?
> 
> Paul.
> 
> Java Rockx wrote:
> > Paul,
> > 
> > Thank You!! When I did the imapsync I did not include the
> --syncinternaldate
> > option.
> > 
> > Anyhow, when I include that option I get the following messages returned
> from
> > imapsync and messages are not actually transferred.
> > 
> > Any clues?
> > Paul
> > 
> > + Copying msg #1332:2501 to folder INBOX.INBOX
> > flags from : [\Seen]["29-Apr-2004 16:17:32 -0400" UID 1332)
> > 4298 OK FETCH completed.
> > "]
> > Error trying to append string: 539 BAD Missing required argument to Append
> > command
> >  at /opt/software/imapsync-1.96/imapsync line 708
> > subject is all lower-case. May conflict with future methods. Change method
> name
> > to be mixed case or all upper case to ensure upward compatability at
> > /opt/software/imapsync-1.96/imapsync line 709
> > Use of uninitialized value in concatenation (.) or string at
> > /opt/software/imapsync-1.96/imapsync line 709.
> > Couldn't append msg #1332 (Subject:[]) to folder INBOX.INBOX: Error trying
> to
> > append string: 539 BAD Missing required argument to Append command
> 





__
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
http://advision.webevents.yahoo.com/yahoo/votelifeengine/
---
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: libwrap compiled into Cyrus IMAPd

2004-07-20 Thread Ken Murchison
ML mail wrote:
Hi,
Sorry for posting my message again but I still didn't
find any solutions on how to get libwrap compiled in
Cyrus IMAPd and didn't have any answers. 

The problem is still the same: I am trying in vain to
get libwrap activated in Cyrus IMAPd. I am using Cyrus
IMAPd 2.2.6, Cyrus SASL 2.1.18 on OpenBSD 3.5. And
here is my configure command:
./configure --prefix=/usr/local/cyrus-imapd
--with-cyrus-prefix=/usr/local/cyrus-imapd
--with-openssl --with-sasl=/usr/local/sasl2
--with-bdb-libdir=/usr/local/lib/db4
--with-bdb-incdir=/usr/local/include/db4
--with-libwrap
configure then simply reports that it didn't find
libwrap and if I have a look in the generated
config.log I can see the following error:
/usr/lib/libwrap.so.3.0: undefined reference to
`allow_severity'
/usr/lib/libwrap.so.3.0: undefined reference to
`deny_severity'
Looks like your TCPwrappers build on OpenBSD is either broken or has a 
dependency which configure doesn't know about.  This works fine on my 
RH9 box.

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


libwrap compiled into Cyrus IMAPd

2004-07-20 Thread ML mail
Hi,

Sorry for posting my message again but I still didn't
find any solutions on how to get libwrap compiled in
Cyrus IMAPd and didn't have any answers. 

The problem is still the same: I am trying in vain to
get libwrap activated in Cyrus IMAPd. I am using Cyrus
IMAPd 2.2.6, Cyrus SASL 2.1.18 on OpenBSD 3.5. And
here is my configure command:

./configure --prefix=/usr/local/cyrus-imapd
--with-cyrus-prefix=/usr/local/cyrus-imapd
--with-openssl --with-sasl=/usr/local/sasl2
--with-bdb-libdir=/usr/local/lib/db4
--with-bdb-incdir=/usr/local/include/db4
--with-libwrap

configure then simply reports that it didn't find
libwrap and if I have a look in the generated
config.log I can see the following error:

/usr/lib/libwrap.so.3.0: undefined reference to
`allow_severity'
/usr/lib/libwrap.so.3.0: undefined reference to
`deny_severity'

I searched on google and try to set some env variables
but nothing still this error... I can't imagine it's
NOT possible to compile Cyrus IMAPd with libwrap, or
is there a bug or something ? Can anyone help please ?

Many thanks
Regards





__
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
http://advision.webevents.yahoo.com/yahoo/votelifeengine/
---
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: Please Help Me Fix My Goofy Problem

2004-07-20 Thread Java Rockx
Paul,

Thank You!! When I did the imapsync I did not include the --syncinternaldate
option.

Anyhow, when I include that option I get the following messages returned from
imapsync and messages are not actually transferred.

Any clues?
Paul

+ Copying msg #1332:2501 to folder INBOX.INBOX
flags from : [\Seen]["29-Apr-2004 16:17:32 -0400" UID 1332)
4298 OK FETCH completed.
"]
Error trying to append string: 539 BAD Missing required argument to Append
command
 at /opt/software/imapsync-1.96/imapsync line 708
subject is all lower-case. May conflict with future methods. Change method name
to be mixed case or all upper case to ensure upward compatability at
/opt/software/imapsync-1.96/imapsync line 709
Use of uninitialized value in concatenation (.) or string at
/opt/software/imapsync-1.96/imapsync line 709.
Couldn't append msg #1332 (Subject:[]) to folder INBOX.INBOX: Error trying to
append string: 539 BAD Missing required argument to Append command




--- Paul Gargan <[EMAIL PROTECTED]> wrote:
> Java Rockx wrote:
> > It does not work when using Outlook or Outlook
> > Express. When using either of these mail clients, the
> > "recieved date" never seems to match the message
> > headers, but rather shows when the actual mail message
> > was migrated.
> 
> Hi,
> 
> We had a similar problem (same sync tool, same issue) at our site recently.
> 
> Outlook apparantly displays the "Received" date, which in turn is 
> calculated by the IMAP server based on when the mail arrived.
> Thus all mails moved during your sync appear to be only recently 
> arrived, and thus there received dates are messed up.
> 
> You have two options.
> 
> One is to change Outlook to dsplay the "Sent" field, and sort by this 
> date. Unfortunately, you have to do it for every folder view, and the 
> Sent columns will initially be null until you force Outlook to 
> redownload all the message headers.
> 
> An easier option is to re-run the sync, but ask imapsync to preserve 
> Received ("internal") dates via the --syncinternaldates command line switch.
> 
> Hope this helps.
> Paul.
> ---
> 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
> 




__
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail
---
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: Please Help Me Fix My Goofy Problem

2004-07-20 Thread Paul Gargan
Java Rockx wrote:
It does not work when using Outlook or Outlook
Express. When using either of these mail clients, the
"recieved date" never seems to match the message
headers, but rather shows when the actual mail message
was migrated.
Hi,
We had a similar problem (same sync tool, same issue) at our site recently.
Outlook apparantly displays the "Received" date, which in turn is 
calculated by the IMAP server based on when the mail arrived.
Thus all mails moved during your sync appear to be only recently 
arrived, and thus there received dates are messed up.

You have two options.
One is to change Outlook to dsplay the "Sent" field, and sort by this 
date. Unfortunately, you have to do it for every folder view, and the 
Sent columns will initially be null until you force Outlook to 
redownload all the message headers.

An easier option is to re-run the sync, but ask imapsync to preserve 
Received ("internal") dates via the --syncinternaldates command line switch.

Hope this helps.
Paul.
---
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