Re: [courier-users] non-ascii characters in from-header

2007-03-06 Thread Gordon Messmer
[EMAIL PROTECTED] wrote:
> 
> I'm not sure who adds the full name (MUA? courier?) but I suspect it
> is done inside courier-mta, because in the logfile I see a line like:

No, your mail client sends a "MAIL FROM:" command with your email 
address, which you see in your logs.  It later sends the message, 
including the headers, with your name improperly encoded.

> What can be done about it?

Ask the vendor for your mail client about the problem.  Perhaps it is 
simply misconfigured.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] non-ascii characters in from-header

2007-03-06 Thread courierusers . 10 . ace130
Hi!

When I send mail from my box with courier-mta, it is received with the 
"CORRUPTED MESSAGE" wrapper with reference to RFC 2047.

This is because my full name contains non-ascii characters and at some point in 
sending the message the From: header is set to 'My Fullname <[EMAIL 
PROTECTED]>'. The non-ascii-chars in my full name should be encoded according 
to RFC 2047, but they aren't.

I'm not sure who adds the full name (MUA? courier?) but I suspect it is done 
inside courier-mta, because in the logfile I see a line like:

courierd: 
started,id=53F5.45EDB6E6.3A55,from=,module=esmtp,host=recipient
 host,addr=

without the full name included.

What can be done about it?

Thanks,

Murx

What can be done about it?
-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Kolab article.

2007-03-06 Thread Otto Solares
On Tue, Mar 06, 2007 at 10:55:25AM +0100, Pawel Tecza wrote:
> Is your filesystem mounted via NFS?  What's the biggest number
> of files in your user's folder?  Do you know how long he has
> to wait to open that folder, for example in your webmail?
> Did you tried also another journalling filesystems, for example
> Reiser4 or JFS?

We have both aproaches, NFS and direct.
We have tell courier to limit messages to 16M.
We have users which never delete mail (we force the INBOX
to have messages not older than 1 year, 1 day for Trash)
and I have seen like 15,000+ files in some folders for users
who never delete mail.

The speed is directly proportional to the number of files
in the Maildir, specially when IMAP threadsort and the
likes are enabled.  We have IMP v3 and v4 and v4 is 10x
slower than v3 when accessing large maildirs with equivalent
settings, so client matters too.

We tried ext3 and reiserfs and after some benchmarks and
torture testing decided for XFS, 2.5 years ago ext3 have some
problems with heavy concurrency and some kind of superblock
mismatchs after long usage, I must say all those problems
no longer are the case for recent 2.6 kernels.

-otto

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] IMAP IDLE works?

2007-03-06 Thread Jay Lee
[EMAIL PROTECTED] wrote:
> Hi!
>
> I've running last version of Courier IMAP and Courier Authlib. I've not
> FAM, but when I connect to IMAP it says:
>
> [EMAIL PROTECTED]:~/# telnet XXX.XXX.XXX.XXX 143
> Trying XXX.XXX.XXX.XXX...
> Connected to XXX.XXX.XXX.XXX.
> Escape character is '^]'.
> * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
> THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION
> STARTTLS] Courier-IMAP ready. Copyright 1998-2005 Double Precision, Inc. 
> See COPYING for distribution information.
> . logout
> * BYE Courier-IMAP server shutting down
> . OK LOGOUT completed
> Connection closed by foreign host.
>
> IDLE extension capability appears as active, but I'm testing it with
> Thunderbird and it doesn't seem to work...
>
>   
This is the standard IDLE.  Try telnetting in again and before the 
logout doing:

a02 SELECT INBOX
a03 IDLE

You should get back a response of:

+ entering idle mode

If you had FAM/Gamin installed (and recompiled against them) you would 
instead see something like:

+ entering ENHANCED idle mode

Thunderbird needs to be told to use IDLE commands (Account Settings, 
Server Settings, Advanced, "Use IDLE command if server supports it).

In the standard idle mode which your using, the imapd server will "poll" 
your selected Maildir every now and then and update the client if there 
have been any changes (new mail, deleted mail, changed read status, etc).

In the enhanced idle mode, which you need FAM or Gamin installed and 
compiled against to use.  The FAM/Gamin process will hook in to the 
Linux kernel which will tell it when there is a change to your Maildir 
and let you know immediately.

Enhanced IDLE is both faster (since you get the notifications 
instantaneously) and more efficient for your server (since the client 
isn't asking it 5,000 times if there's any changes).

The comparison I like to make is your typically family vacation trip.  
It's very inefficient (and annoying) for the kids to sit in the back 
seat asking "Are we there yet, are we there yet, are we there yet?".  
It's much more efficient for Dad to offer regular status updates, "The 
sign says we're 60 miles away...The sign says we're 13 miles away..."
> Do I need FAM to get it works? Anything else?
>
>   
I would recommend Gamin over FAM as it's maintained where SGI has let 
FAM die a quiet death, it also depends on much less in terms of services.

Jay

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Public Whitelist

2007-03-06 Thread Aldisa Admin
Initially, I was not thinking of a DNS-based whitelist, but more along 
the lines of a published trusted IP list that could copied into an 
access file.  This would mimic the whitelisting technique used in for 
the Greylisting pythonfilter.

I have found that there is a DNS whitelist published by Sender Score:
http://www.senderscorecertified.org/senderscorecertified/technical.php

Furthermore, I was reading the documentation on DNS ACCESS LIST in << 
couriertcpd(8) >>.  It seems that one can initialize environment 
variables using Access Lists.  Specifically, the docs state:

/var/[//n.n.n.n/] can be optionally followed by a comma and a text 
message, which will be used instead of the TXT record. The text message 
may include a single @ character somewhere in it, which will be replaced 
by the listed IP address.

With this in mind, if one were to specify

-block=allow.example.org,BOFHCHECKHELO/127.0.0.10,0

Wouldn't this result in a zero in the that variable, which should then 
be (theoretically) treated by couriertcpd in a similar manner as having 
that IP address listed in an access list with BOFHCHECKHELO=0 in front 
of it.

Look forward to feedback on both the viability of this method for 
whitelisting, and also about experience anyone has with Sender Score 
Certified.

Gordon Messmer wrote:
> Aldisa Admin wrote:
>   
>> I am wondering whether someone can point me to a public whitelist
>> that I can use to minimize blockage of legitimate emails due to HELO
>> checking.
>> 
>
> I don't think BOFHCHECKHELO could be overridden by a DNS whitelist, even 
> if one were available.
>
>   


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] IMAP IDLE works?

2007-03-06 Thread lista_exim
Hi!

I've running last version of Courier IMAP and Courier Authlib. I've not
FAM, but when I connect to IMAP it says:

[EMAIL PROTECTED]:~/# telnet XXX.XXX.XXX.XXX 143
Trying XXX.XXX.XXX.XXX...
Connected to XXX.XXX.XXX.XXX.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION
STARTTLS] Courier-IMAP ready. Copyright 1998-2005 Double Precision, Inc. 
See COPYING for distribution information.
. logout
* BYE Courier-IMAP server shutting down
. OK LOGOUT completed
Connection closed by foreign host.

IDLE extension capability appears as active, but I'm testing it with
Thunderbird and it doesn't seem to work...

Do I need FAM to get it works? Anything else?

Thanks!



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Kolab article.

2007-03-06 Thread Frederik Dannemare
On Tuesday 06 March 2007 12:02, Pawel Tecza wrote:
> Frederik Dannemare <[EMAIL PROTECTED]> writes:
[...]
> > Yeah, I would probably go with XFS as well. At my former workplace,
> > we had more than 32000 customer mail boxes for a particular mail
> > domain and with a typical mail directory structure (e.g.
> > example.org/peter, example.org/john, example.org/jane, etc), one
> > will run into a subdir limitation with ext3.
>
> What's the subdir limitation for XFS?  Isn't the same like for ext3?

It is higher, but I'm not sure how high, though. Just tested with 64000 
subdirs on an XFS filesystem and it didn't complain.

> You can easy work-around a problem with the limitation adding subdirs
> for all your domains, e.g. example.org/001/peter,
> example.org/002/john, example.org/003/jane, etc.
>
> I agree that it seems a little more complicated, but if you store
> a path to users Maildir in a data base, that it's no problem.

True.

--
B/R,
Frederik Dannemare

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Kolab article.

2007-03-06 Thread Pawel Tecza
Otto Solares <[EMAIL PROTECTED]> writes:

> On Mon, Mar 05, 2007 at 02:42:40PM +0100, Pawel Tecza wrote:
[...]
>> So, it's a question to the admins of big mail systems with
>> tens of thousands of users.  What filesystem do you use?
>> 
>> Have a nice day,
>> 
>> Pawel
>
> Pawel:
>
> We have 60,000+ Maildirs with XFS.

Hello Otto,

Thank you very much for your reply!

Is your filesystem mounted via NFS?  What's the biggest number
of files in your user's folder?  Do you know how long he has
to wait to open that folder, for example in your webmail?
Did you tried also another journalling filesystems, for example
Reiser4 or JFS?

My best regards,

Pawel

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Kolab article.

2007-03-06 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Pawel Tecza wrote:
> You can easy work-around a problem with the limitation adding subdirs
> for all your domains, e.g. example.org/001/peter, example.org/002/john,
> example.org/003/jane, etc.

Better yet:

$DOMAIN/$USERNAME[0]/$USERNAME

So:

example.com/u/user
example.com/b/buanzo
example.com/w/willy

- --
Arturo "Buanzo" Busleiman - Consultor Independiente en Seguridad Informatica
Mail Hosting Seguro y Consultoria - http://www.buanzo.com.ar/pro/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF7VJAAlpOsGhXcE0RAtdyAJsGS+rduolJNJU7AebMxF5lKyYMQgCePwae
hDl4OGBytPo3U9cR48dh4ig=
=tnPI
-END PGP SIGNATURE-

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Kolab article.

2007-03-06 Thread Pawel Tecza
Frederik Dannemare <[EMAIL PROTECTED]> writes:

> On Monday 05 March 2007 18:27, Otto Solares wrote:
>> On Mon, Mar 05, 2007 at 02:42:40PM +0100, Pawel Tecza wrote:
>> > Sam Varshavchik <[EMAIL PROTECTED]> writes:
>> > > Pawel Tecza writes:
> [...]
>> Pawel:
>>
>> We have 60,000+ Maildirs with XFS.
>
> Yeah, I would probably go with XFS as well. At my former workplace, we 
> had more than 32000 customer mail boxes for a particular mail domain 
> and with a typical mail directory structure (e.g. example.org/peter, 
> example.org/john, example.org/jane, etc), one will run into a subdir 
> limitation with ext3.

Hi Frederik,

What's the subdir limitation for XFS?  Isn't the same like for ext3?

You can easy work-around a problem with the limitation adding subdirs
for all your domains, e.g. example.org/001/peter, example.org/002/john,
example.org/003/jane, etc.

I agree that it seems a little more complicated, but if you store
a path to users Maildir in a data base, that it's no problem.

Have a nice day,

Pawel

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Server side sorting

2007-03-06 Thread Arne Schmitz
Hi!

I am using courier-imap 4.1.x and I am having problems with server side 
sorting. In squirrelmail mails are sorted wrong if I sort them by date. If 
squirrelmail sorts the mails by itself, it works, but server side sorting 
fails. What could be the problem? 

Arne

-- 
Dipl.-Inform. Arne Schmitz  Phone   +49 (0)241 80-21817
Computer Graphics Group Fax +49 (0)241 80-22899
RWTH Aachen University  http://www.rwth-graphics.de
Ahornstrasse 55, 52074 Aachen, Germany


pgpJRhj27bisY.pgp
Description: PGP signature
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Kolab article.

2007-03-06 Thread Frederik Dannemare
On Monday 05 March 2007 18:27, Otto Solares wrote:
> On Mon, Mar 05, 2007 at 02:42:40PM +0100, Pawel Tecza wrote:
> > Sam Varshavchik <[EMAIL PROTECTED]> writes:
> > > Pawel Tecza writes:
[...]
> Pawel:
>
> We have 60,000+ Maildirs with XFS.

Yeah, I would probably go with XFS as well. At my former workplace, we 
had more than 32000 customer mail boxes for a particular mail domain 
and with a typical mail directory structure (e.g. example.org/peter, 
example.org/john, example.org/jane, etc), one will run into a subdir 
limitation with ext3.

For example, try this on an ext3 filesystem:

mkdir /tmp/foo; cd /tmp/foo; for x in $(seq 1 32005); do mkdir $x; done

You should see output similar to this:

mkdir: cannot create directory `31999': Too many links
mkdir: cannot create directory `32000': Too many links
mkdir: cannot create directory `32001': Too many links
mkdir: cannot create directory `32002': Too many links
mkdir: cannot create directory `32003': Too many links
mkdir: cannot create directory `32004': Too many links
mkdir: cannot create directory `32005': Too many links

--
B/R,
Frederik Dannemare

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users