[courier-users] Re: IMAP shared folders ACLs

2004-12-03 Thread Jörg Schaible
Sam Varshavchik wrote:

 Jörg Schaible writes:
 
 and are properly shown in the mail clients. It is possible to store mails
 in these folders, but I cannot create subfolders. OE at least reports
 
 Correct.  You cannot create or delete filesystem permissions-based shared
 folders.  You can only do that with virtual shared folders.  This is
 explained, in detail, in the README.  That's because, well, the
 permissions to do so are set in the filesystem, and IMAP has no provision
 for managing
 UNIX-style filesystem permissions.  That's why you need to use maildirmake
 to create the shared folders, by hand.
 
 The IMAP ACL model does not translate well to rwxrwxrwx-type permissions.

OK. I'm running xfs and this has in fact ACL support. Still no possibility
to use the email clients to create subolders of shared folders?

- Jörg



---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: IMAP shared folders ACLs

2004-12-03 Thread Sam Varshavchik
Jrg Schaible writes:
Sam Varshavchik wrote:
Jrg Schaible writes:
and are properly shown in the mail clients. It is possible to store mails
in these folders, but I cannot create subfolders. OE at least reports
Correct.  You cannot create or delete filesystem permissions-based shared
folders.  You can only do that with virtual shared folders.  This is
explained, in detail, in the README.  That's because, well, the
permissions to do so are set in the filesystem, and IMAP has no provision
for managing
UNIX-style filesystem permissions.  That's why you need to use maildirmake
to create the shared folders, by hand.
The IMAP ACL model does not translate well to rwxrwxrwx-type permissions.
OK. I'm running xfs and this has in fact ACL support. Still no possibility
to use the email clients to create subolders of shared folders?
Right.  Filesystem ACLs are still rwxrwxrwx, which does not map to IMAP
ACLs.



pgp9Z6utJEz1b.pgp
Description: PGP signature


[courier-users] Re: IMAP outbox/sent mail folders

2004-07-30 Thread m
Sam Varshavchik writes: 

Warren Konkel writes: 


 I read somewhere that there's a setting somewhere in
the imap config file that will turn on auto-sending of anything placed
in the Outbox, but will courier then move it to a Sent Items box
when it's done or something?
No.
Although the Outbox is a great feature, you can do a lot yourself using 
cronjobs. It takes some thinking to get it right, but once it works, it 
works great. One can implement an outbox this way that does move the item to 
sent items. 

I use this myself to process the occasionally misidentified spam or ham. By 
placing it in the right folder, a cronjob picks it up, feeds it through 
spamassassin, if spam sends it to spamcop, and files the message in the 
appropriate folder. 

This is very easy to do when one user is involved. When multiple users are 
involved it is actually not that much harder, something like (I have real 
users and virtual domains): 

for d in /home/*/Maildir/.Outbox/cur/ `find /var/vmail \
 -path /var/vmail/*/.Outbox/cur/`
do
 # process outbox
done 

Processing of a mailbox should ofcourse be done in a manner that is 
resilient to multiple invocations of the script, I leave that up to your 
imagination. 

HTH,
M4
--
Courier-mta rocks! 


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: IMAP outbox/sent mail folders

2004-07-29 Thread Sam Varshavchik
Warren Konkel writes:
What is the proper way to configure an IMAP server's folders?  I'd
like for an IMAP client (such as Outlook) to use Deleted Items,
Drafts, Outbox, and Sent Items as it would normally.  Is this type of
setup possible?
The server doesn't care, the client can use the folders in whatever manner 
it wishes.

 I read somewhere that there's a setting somewhere in
the imap config file that will turn on auto-sending of anything placed
in the Outbox, but will courier then move it to a Sent Items box
when it's done or something?
No.
 I don't quite understand quite how it is
all supposed to work.
There's nothing to understand.  When enabled, any message that's added to 
the designated folder is automatically mailed to all addresses listed in the 
To:, Cc: and Bcc headers.  There's really nothing more to say about it.



pgprgYZGnEcvz.pgp
Description: PGP signature


Re: [courier-users] Re: IMAP and POP authentication

2004-05-20 Thread Andre Correa
Tks for the info Sam, but I couldn't find any reference in the source 
neither on Google about: MYSQL_AUXOPTIONS. Are you sure this is the 
right options?

I've searched sources and found at authlib/README.authmysql.myownquery a 
TODO for a new query called MYSQL_PRESELECT_CLAUSE that looks 
interresting for my needs, but it is not implemented yet.

Anybody see other options or ways to go!?
tks for any information
Andre

Sam Varshavchik wrote:
Andre Correa writes:
This is because I have to permit some users to have access to IMAP and 
POP and others just to POP. I've created a new field in the database 
but I don't know how to make the two daemons use diferent SQL queries.

See the MYSQL_AUXOPTIONS setting in the authmysqlrc configuration file.
See INSTALL for additional information on how to use this option.

---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: IMAP and POP authentication

2004-05-20 Thread Tim Hunter
Andre Correa wrote:
 Tks for the info Sam, but I couldn't find any reference in the source
 neither on Google about: MYSQL_AUXOPTIONS. Are you sure this is the
 right options?

http://www.courier-mta.org/install.html#options

 
 I've searched sources and found at
 authlib/README.authmysql.myownquery a TODO for a new query called
 MYSQL_PRESELECT_CLAUSE that looks interresting for my needs, but it
 is not implemented yet. 
 
 Anybody see other options or ways to go!?
 
 tks for any information
 
 Andre
 
 
 
 Sam Varshavchik wrote:
 Andre Correa writes:
 
 This is because I have to permit some users to have access to IMAP
 and POP and others just to POP. I've created a new field in the
 database but I don't know how to make the two daemons use diferent
 SQL queries. 
 
 
 See the MYSQL_AUXOPTIONS setting in the authmysqlrc configuration
 file. 
 
 See INSTALL for additional information on how to use this option.
 
 
 
 



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: IMAP and POP authentication

2004-05-20 Thread Andre Correa
Sam, I would like to apologise. I've checked an old source and that is 
why I couldn't find MYSQL_AUXOPTIONS. I found it on 3.0.4. I'll try 
disableimap and report back to the list when I have it working.

Sorry again for the mistake.
Andre

Andre Correa wrote:
Tks for the info Sam, but I couldn't find any reference in the source 
neither on Google about: MYSQL_AUXOPTIONS. Are you sure this is the 
right options?

I've searched sources and found at authlib/README.authmysql.myownquery a 
TODO for a new query called MYSQL_PRESELECT_CLAUSE that looks 
interresting for my needs, but it is not implemented yet.

Anybody see other options or ways to go!?
tks for any information
Andre

Sam Varshavchik wrote:
Andre Correa writes:
This is because I have to permit some users to have access to IMAP 
and POP and others just to POP. I've created a new field in the 
database but I don't know how to make the two daemons use diferent 
SQL queries.

See the MYSQL_AUXOPTIONS setting in the authmysqlrc configuration file.
See INSTALL for additional information on how to use this option.

---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: IMAP and POP authentication

2004-05-19 Thread Sam Varshavchik
Andre Correa writes:
This is because I have to permit some users to have access to IMAP and 
POP and others just to POP. I've created a new field in the database but 
I don't know how to make the two daemons use diferent SQL queries.
See the MYSQL_AUXOPTIONS setting in the authmysqlrc configuration file.
See INSTALL for additional information on how to use this option.


pgphK4MHgayUH.pgp
Description: PGP signature


[courier-users] Re: IMAP AUTH Problems

2004-03-11 Thread Sam Varshavchik
Tech writes:

   LOGIN username password
This is not a valid IMAP command.

I am not too sure what is wrong but I can tell you that my 
AUTHMODULES=authdaemon authpwd .
This is wrong, too.  You need to review the description of the authdaemon 
authentication module.



pgp0.pgp
Description: PGP signature


Re: [courier-users] Re: IMAP/POP-SSL and Comodo Certificates

2004-02-13 Thread Stefan Hornburg
On Thu, 12 Feb 2004 19:24:47 -0500
Sam Varshavchik [EMAIL PROTECTED] wrote:

 Stefan Hornburg writes:
 
  Hello,
  
  I would like to know how to use Comodo SSL certificates with Courier
  POP/IMAP etc. Setting up Apache to recognize this is a no-brainer ...
  
  For Courier I did the following steps:
  
  - put the Comodo root certificates into /usr/lib/courier/rootcerts alongside
with the shipped one
  - run c_rehash on this directory
  - put the certificate and the private key for the mail domain into 
  /etc/courier/imapd.pem
  - restart courier-imap-ssl
 
 Try converting Comodo's cert to PEM, and appending it to imapd.pem

Well, that works like a charm. No conversion needed, just append to imapd.pem does the 
trick.
Thanks, Sam

Racke



-- 
LinuXia Systems = http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP = http://www.icdevgroup.org/
Interchange Development Team



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: IMAP/POP-SSL and Comodo Certificates

2004-02-12 Thread Sam Varshavchik
Stefan Hornburg writes:

Hello,

I would like to know how to use Comodo SSL certificates with Courier
POP/IMAP etc. Setting up Apache to recognize this is a no-brainer ...
For Courier I did the following steps:

- put the Comodo root certificates into /usr/lib/courier/rootcerts alongside
  with the shipped one
- run c_rehash on this directory
- put the certificate and the private key for the mail domain into 
/etc/courier/imapd.pem
- restart courier-imap-ssl
Try converting Comodo's cert to PEM, and appending it to imapd.pem



pgp0.pgp
Description: PGP signature


[courier-users] Re: imap part help needed

2004-01-20 Thread Sam Varshavchik
Guntha Aravind babu writes:

hi all,

I want to concentrate only Imap srever source files. i
am trying to replace The UID with a hash-based message
identification.
This is not going to work.  IMAP UIDs cannot be replaced with any kind of 
a hash.  The result will not be IMAP.

Can any one give me some suggestiions please.
You need to stop doing whatever you're doing, and don't resume until you 
understand IMAP a little bit better.  IMAP UIDs, by definition, is a 
monotonically increasing counter.  Which means that you cannot use any kind 
of a cockamamime hash function to generate IMAP UIDs.





pgp0.pgp
Description: PGP signature


[courier-users] Re: IMAP account sharing

2003-10-07 Thread Sam Varshavchik
Mitch (WebCob) writes:

Hey Sam.

What makes FreeBSD miss the preferred list?
FAM.

I'm behind in the versions, and have to look into this FAM thing - but is it
possible?
There's some conflicting documentation whether or not FAM supports FreeBSD's 
native kqueue kernel interface.  If not, FAM will still run on FreeBSD, but 
in fallback polling mode.  In the worst case, clients will not receive 
changes made by other clients in real time, but after some delay.



pgp0.pgp
Description: PGP signature


Re: [courier-users] Re: IMAP account sharing

2003-10-07 Thread Stefan Kaltenbrunner
Sam Varshavchik wrote:
For best results, you should be running Linux or IRIX on the server, 
with FAM enabled, and using an IMAP client that supports the IDLE IMAP 
extension.
speaking of FAM - has anybody ever used FAM together with courier-imap 
(on linux) in a larger environment? - we have never been successful in 
deploying it on our production system (~60k mailboxes) due to lots of 
crashes.

Stefan



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


RE: [courier-users] Re: IMAP account sharing

2003-10-07 Thread Carey Jung

 Certainly.  Multiple logins to the same account are allowed.

 For best results, you should be running Linux or IRIX on the server, with
 FAM enabled, and using an IMAP client that supports the IDLE IMAP
 extension.

 When these requirements are met, changes made to the folder's contents by
 one login are immediately shown by the other login, in realtime.


cool, thanks.  Does Outlook (2000) support IDLE IMAP?



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: IMAP account sharing

2003-10-07 Thread Jerry Amundson
Carey Jung wrote:

Certainly.  Multiple logins to the same account are allowed.

For best results, you should be running Linux or IRIX on the server, with
FAM enabled, and using an IMAP client that supports the IDLE IMAP
extension.
When these requirements are met, changes made to the folder's contents by
one login are immediately shown by the other login, in realtime.


cool, thanks.  Does Outlook (2000) support IDLE IMAP?
Yes.



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: IMAP account sharing

2003-10-06 Thread Sam Varshavchik
Carey Jung writes:

Hi,

I want to set up an 'hr' mailbox that two IMAP users will share, using the
same login credentials.  In other words, it's as if the same person may be
logged in from two different clients at the same time.  Is this supported by
courier-imap?
Certainly.  Multiple logins to the same account are allowed.

For best results, you should be running Linux or IRIX on the server, with 
FAM enabled, and using an IMAP client that supports the IDLE IMAP 
extension.

When these requirements are met, changes made to the folder's contents by 
one login are immediately shown by the other login, in realtime.



pgp0.pgp
Description: PGP signature


RE: [courier-users] Re: IMAP account sharing

2003-10-06 Thread Mitch \(WebCob\)
Hey Sam.

What makes FreeBSD miss the preferred list?

I'm behind in the versions, and have to look into this FAM thing - but is it
possible?

Thanks.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Sam
Varshavchik
Sent: Monday, October 06, 2003 3:08 PM
To: Courier Users
Subject: [courier-users] Re: IMAP account sharing


Carey Jung writes:

 Hi,

 I want to set up an 'hr' mailbox that two IMAP users will share, using the
 same login credentials.  In other words, it's as if the same person may be
 logged in from two different clients at the same time.  Is this supported
by
 courier-imap?

Certainly.  Multiple logins to the same account are allowed.

For best results, you should be running Linux or IRIX on the server, with
FAM enabled, and using an IMAP client that supports the IDLE IMAP
extension.

When these requirements are met, changes made to the folder's contents by
one login are immediately shown by the other login, in realtime.




---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: IMap Synchronization

2003-10-02 Thread David Corbin
On Wednesday 01 October 2003 17:39, Sam Varshavchik wrote:
 David Corbin writes:
  Messages in certain folders in my IMAP implementation get processed by
  external scripts (not going through IMAP).  This seems to cause
  Courier-IMap

 Define get processed.

  to provide erroneous information.

 This can only occur if the external process made changes to the actual
 message file.

 Is there a way I can tell the daemon
  discard you in memory view of the world, and re-read the raw-data? 
  It's possible tht the courierimapuiddb files are also wrong.

 courierimapuiddb gets automatically rebuild, when necessary.

 If your external application needs to change the messages' contents, it
 should do that by removing the original message, and adding a new message
 to the maildir, with a new name.


In this case, process generally means remove.  Certain folders get processed 
automatically to improve bayesian spam filtering.  The messages are then 
removed.
-- 
David Corbin [EMAIL PROTECTED]



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: IMap Synchronization

2003-10-02 Thread Sam Varshavchik
David Corbin writes:

In the IMAP protocol the server cannot unilaterally inform the client that
a message has been removed.  The server can inform the client only when the
client explicitly requests a folder status update.  It's true that some
clients crash, or are otherwise unable to gracefully handle the situation
where the requested message is not available.  There's nothing that the
server can do about that.
I'm not asking for the server to tell the client that a message is removed.  
The problem is that when the client polls the server a minute later, the 
server still says it has X messages, where X  0, when X is in fact 0.
That's how IMAP works.  If the server previously told the client there are X 
messages in the folder, the server can't suddenly tell the client that there 
are now X-1 messages in the folder, unless the server first notifies the 
client that a message was removed.

And the server cannot notify the client that the message is removed until 
the client asks whether or not messages were removed.

I'm not worried at all about the client trying to access the email that is now 
gone.  I want the client to accurately reflect the number of total and unread 
messages, which it is not doing.  And, as near as I can tell, this is a 
server problem and not a client problem.
This behavior is required by the IMAP protocol.

Additionally, the client has no business whatsoever asking the server how 
many messages there are in the current folder.  The client already knows 
that, as part of the IMAP protocol exchange.  Such a request indicates that 
the client is poorly designed.



pgp0.pgp
Description: PGP signature


[courier-users] Re: IMap Synchronization

2003-10-01 Thread Sam Varshavchik
David Corbin writes:

Messages in certain folders in my IMAP implementation get processed by 
external scripts (not going through IMAP).  This seems to cause Courier-IMap 
Define get processed.

to provide erroneous information.
This can only occur if the external process made changes to the actual 
message file.

   Is there a way I can tell the daemon 
discard you in memory view of the world, and re-read the raw-data?  It's 
possible tht the courierimapuiddb files are also wrong.
courierimapuiddb gets automatically rebuild, when necessary.

If your external application needs to change the messages' contents, it 
should do that by removing the original message, and adding a new message to 
the maildir, with a new name.




pgp0.pgp
Description: PGP signature


Re: [courier-users] Re: imap+ldap login failed [SOLVED]

2003-08-11 Thread Matteo Mancini
The problem was in authldaprc, in this config file there was some hide 
charatters that I din't saw,  I've removed and now worknot 
fine...but work...courier lookup on ldap db, but I always recive login 
failed...



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: IMAP Install Error

2003-06-02 Thread Sam Varshavchik
Tony L Cooper writes:

Using latest version 1.7.3
Getting error about a missing autoresponsequota.h file on Install.
Make and Make check run without errors.
The file is simply not there.
Any ideas?
Verify that you actually ran 'make'.

Running 'make check' immediately after './configure', without running 
'make', will result in this error.



---
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: imap - pop3 coexistence.

2003-03-06 Thread Sam Varshavchik
Tom Stockton writes:

Hi

I am looking to implement a webmail system (squirrelmail) which is an
imap client, however I have an issue in that the users mail spools are
currently only accessed by pop3 clients (outlook / eudora etc).
The main point I'm trying to figure out is, if a user creates folders
from the webmail, can the pop3 server be configured to retrieve messages
from all folders ?
No.  The POP3 server, essentially, reads only INBOX.



---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: IMAP err with auth

2003-03-04 Thread Christoph Puppe
Salve all,

documententing my own stupidity on the list to help others to not fall 
into the same hole:

If you activate authpam in authdeamonrc, be sure u have a 
/etc/pam.d/imap ... (banging-of-head-against-hard-surface ...)

Christoph Puppe wrote:
Salve Sam,
--
Mit freundlichen Grüßen
Christoph Puppe
Security Consultant
We secure your business.(TM)
___
HiSolutions AG Phone:+49 30 533289-0
Bouchéstrasse 12   Fax:  +49 30 533289-99
D-12435 Berlin Internet: http://www.hisolutions.com
___


---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: IMAP err with auth

2003-02-28 Thread Christoph Puppe
Salve Sam,

that didn't help :(

=
[EMAIL PROTECTED] courier]# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK Courier-IMAP ready. Copyright 1998-2002 Double Precision, Inc.  See 
COPYING for distribution information.
A001 LOGIN firma1 test
A001 NO Login failed.
A002 LOGOUT
* BYE Courier-IMAP server shutting down
A002 OK LOGOUT completed
Connection closed by foreign host.
[EMAIL PROTECTED] courier]# /root/authtest firma1 test
Authenticated: module authdaemon
Home directory: /home/firma1
UID/GID: 504/504
AUTHADDR=firma1
AUTHFULLNAME=none
==

Checked with Moz 1.2.1 as well. Same result:
Feb 28 11:25:14 ana imapd: Connection, ip=[127.0.0.1]
Feb 28 11:25:24 ana imapd: LOGIN: DEBUG: ip=[127.0.0.1], command=LOGIN
Feb 28 11:25:24 ana imapd: LOGIN: DEBUG: ip=[127.0.0.1], username=firma1
Feb 28 11:25:30 ana imapd: LOGIN FAILED, ip=[127.0.0.1]
Feb 28 11:25:43 ana imapd: LOGIN: DEBUG: ip=[127.0.0.1], command=LOGOUT
Feb 28 11:25:43 ana imapd: LOGOUT, ip=[127.0.0.1]
Feb 28 11:27:44 ana imapd: Connection, ip=[10.23.5.175]
Feb 28 11:27:44 ana imapd: LOGIN: DEBUG: ip=[10.23.5.175], 
command=CAPABILITY
Feb 28 11:27:48 ana imapd: LOGIN: DEBUG: ip=[10.23.5.175], command=LOGIN
Feb 28 11:27:48 ana imapd: LOGIN: DEBUG: ip=[10.23.5.175], username=firma1
Feb 28 11:27:53 ana imapd: LOGIN FAILED, ip=[10.23.5.175]
Feb 28 11:27:55 ana imapd: LOGIN: DEBUG: ip=[10.23.5.175], command=LOGOUT
Feb 28 11:27:55 ana imapd: LOGOUT, ip=[10.23.5.175]

Sam Varshavchik wrote:
Christoph Puppe writes:

Salve,

when I try authtest name pass it says OK and returns 
uid/gid/homedir. When I connect to the 143 and write A001 LOGIN user 
pass it fails.

Config:
/etc/courier/imap: AUTHMODULES=authdaemon
/etc/courier/authdeamonrc: authmodulelist=authpam authmysql
Any pointers?


Reverse the list order of authmysql and authpam.



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
--
Mit freundlichen Grüßen
Christoph Puppe
Security Consultant
We secure your business.(TM)
___
HiSolutions AG Phone:+49 30 533289-0
Bouchéstrasse 12   Fax:  +49 30 533289-99
D-12435 Berlin Internet: http://www.hisolutions.com
___


_
E-Mail Disclaimer
Der Inhalt dieser E-Mail ist ausschliesslich fuer den bezeichneten
Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat
dieser E-Mail oder dessen Vertreter sein sollten, so beachten Sie
bitte, dass jede Form der Kenntnisnahme, Veroeffentlichung,
Vervielfaeltigung oder Weitergabe des Inhalts dieser E-Mail
unzulaessig ist. Wir bitten Sie, sich in diesem Fall mit dem Absender
der E-Mail in Verbindung zu setzen.
The information contained in this email is intended solely
for the addressee. Access to this email by anyone else is
unauthorized. If you are not the intended recipient, any form
of disclosure, reproduction, distribution or any action taken
or refrained from in reliance on it, is prohibited and may be
unlawful. Please notify the sender immediately.
---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: IMAP err with auth

2003-02-27 Thread Sam Varshavchik
Christoph Puppe writes:

Salve,

when I try authtest name pass it says OK and returns uid/gid/homedir. 
When I connect to the 143 and write A001 LOGIN user pass it fails.

Config:
/etc/courier/imap: AUTHMODULES=authdaemon
/etc/courier/authdeamonrc: authmodulelist=authpam authmysql
Any pointers?
Reverse the list order of authmysql and authpam.



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: imap/pop over ssl

2003-02-21 Thread Sam Varshavchik
Bret Lewis Sherman writes:

Basically i start up imapd-ssl.rc and pop3-ssl.rc and when i try to access 
my mail via pop3-ssl or imap-ssl in a ssl client, the client returns an 
error code: 0x800ccc0e. This seems to be true with several different mail 
clients. The main one i am using is Outlook (because my clients will need 
it). 
The usual explanation for a completely uninformative error diagnostic from 
Microsoft software when SSL is involved is either:

A) Wrong protocol version (SSL2/SSL3/TLS1), or

B) The client does not like unsigned or self-signed certificates.

The protocol version can be adjusted in imapd-ssl configuration file.  The 
client's configuration must be adjusted to indicate that your server 
certificate is trusted.  Someone once said that you do that by actually 
firing up Internet Explorer, and telling it to open the certificate file.  
The resulting dialog should have an option to import and mark the 
certificate as trusted.



---
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: imap/pop over ssl

2003-02-21 Thread Barley
I'd tend to think option A is more likely. I have been
playing with pop and imap over ssl with Outlook for a
while and have not found it to do anything other than
throw warnings that you can then accept or decline
(this is with newer versions of Outlook and Express).

Specifically, if the CN on the certificate is not
exactly the same as the server name entered in Outlook
config, Outlook throws an warning. It throws a
different warning if the cert is self-signed (but
either way you can still accept it).

To install a self-signed cert on your client computers,
save the certificate as mycert.crt and then double
click it in Windows. Click Install Certificate and
pretty much accept the defaults. It should then let you
use a self-signed cert with no warnings.

You can view the certs you have installed or add/remove
them from within IE's ToolsInternet Options or from
the certificate manager in XP.

Hope that helps.

Gregg


 Bret Lewis Sherman writes:

  Basically i start up imapd-ssl.rc and pop3-ssl.rc
and when i try to access
  my mail via pop3-ssl or imap-ssl in a ssl client,
the client returns an
  error code: 0x800ccc0e. This seems to be true with
several different mail
  clients. The main one i am using is Outlook
(because my clients will need
  it).

 The usual explanation for a completely uninformative
error diagnostic from
 Microsoft software when SSL is involved is either:

 A) Wrong protocol version (SSL2/SSL3/TLS1), or

 B) The client does not like unsigned or self-signed
certificates.

 The protocol version can be adjusted in imapd-ssl
configuration file.  The
 client's configuration must be adjusted to indicate
that your server
 certificate is trusted.  Someone once said that you
do that by actually
 firing up Internet Explorer, and telling it to open
the certificate file.
 The resulting dialog should have an option to import
and mark the
 certificate as trusted.




 -
--
 This SF.net email is sponsored by: SlickEdit Inc.
Develop an edge.
 The most comprehensive and flexible code editor you
can use.
 Code faster. C/C++, C#, Java, HTML, XML, many more.
FREE 30-Day Trial.
 www.slickedit.com/sourceforge
 ___
 courier-users mailing list
 [EMAIL PROTECTED]
 Unsubscribe:
https://lists.sourceforge.net/lists/listinfo/courier-us
ers





---
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: IMAP Problem - verbose debug

2003-02-20 Thread Sam Varshavchik
[EMAIL PROTECTED] writes:


Can someone who knows a lot more about IMAP than I do help me with this. 
I am trying get Evolution to work with one of my IMAP accounts, and I have
been told that the server is not working correctly?  However, I have used
other mail clients with that server without any problem?
 Original Message 
Subject: Re: [Evolution] IMAP Problem - verbose debug
From: Not Zed [EMAIL PROTECTED]
Date: Thu, February 20, 2003 9:44 am
To: [EMAIL PROTECTED]

Well, according to that, its sending the * CAPABLITY response on two
lines - which is invalid.

Edit etc/imapd, and remove the spurious linefeeds from the CAPABILITY 
setting.



---
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: IMAP LOGIN

2003-02-18 Thread Sam Varshavchik
Luigi Bai writes:


I'm having a strange problem with IMAP LOGIN. I can run both the IMAP 
and POP3 servers, and both are using authdaemon/authuserdb. I can log 
into the POP3 server just fine, but whenever I try to LOGIN to the IMAP 
server I get the NO reply. This has been tested from various MUAs and by 
hand.

And your userdb record is...?


authdaemon for authentication? Why is it saying command=user instead 
of command=LOGIN??

Because you did not send a valid IMAP command.



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: IMAP TROUBLE WITH MS-OUTLOOK (PLEASE SOME HELP)

2003-02-17 Thread Bill Michell
Raynald de Lahondes writes: 

It is the third message I send to the list and I did not get any answer,
so I am even wondering if I sent my messages in a wrong way, or I did
some mistake that anger some people against me. In this case, I beg your
pardon. 

You are successfully sending messages to the list. The reason that I did not 
repoly to your earlier messages is that I don't know the answer.

It is also possible that I do not send enough information, in which
case, I can send more. It is also possible you find Outlook is a too bad
imap client and is not worth courier-imap. In either case, feel free to
answer this mail.  

Outlook is barely adequate as an IMAP client. Depending on exactly which 
version of Outlook you have, and which operating system, and which set of 
updates for each you have currently got installed, Outlook will display a 
bunch of different odd behaviours. 

The IMAP RFC, as written, also has a number of interesting features. It is 
not surprising that clients and servers all differ in their interpretation 
of the RFC. 

As for the specific problem you mention, well, I'm afraid that, as I said, I 
don't know the answer. 

--
Bill Michell
[EMAIL PROTECTED] 


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: imap over ssl and starttls question

2003-02-08 Thread Sam Varshavchik
Andrew writes:


I'm a little confused as to why my setup is working the way it is.

In my imap-ssl configuration file, I have these lines:

SSLPORT=993
SSLADDRESS=0
IMAPDSSLSTART=NO
IMAPDSTARTTLS=YES
IMAP_TLS_REQUIRED=0

As I understand things, IMAPDSSLSTART tells Courier to use SSL for IMAP 
connections on port 993 and the IMAPDSTARTTLS line tells Courier to use 
the TLS protocol on port 143.

I'm using the imapd-ssl.rc file to start Courier and Courier is only 
listening on port 993. I've configured my mail clients to use SSL when 

imapd-ssl.rc starts imap-over-ssl on port 993 no matter what the 
configuration file says.  Similar for imapd.rc.  They do not use these 
variables.  They are for a higher level script, such as an initscript, that 
checks these variables, and runs or doesn't run imapd.rc/imapd-ssl.rc 
accordingly.

What I want to know is, why don't I have to set IMAPDSSLSTART to yes in 
the configuration file? What settings would I need to use if I wanted to 
use the starttls protocol on port 143?

No settings need to be changed.  Run imapd.rc instead of imapd-ssl.rc



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: IMAP with POP question

2003-02-01 Thread Sam Varshavchik
Kurt Bigler writes:


Under courrier-imap can IMAP and POP3 accounts coexist under the same domain
in a qmail+vpopmail situation?


Certainly.  Either IMAP or POP3 can be used with any account.  Basically, a 
POP3 login sees only the INBOX, and not any folders.

   And do qmailadmin and vqadmin handle this
ok?


To find the corresponding mailing lists for this issue, take the downtown 
local train two stops, and take the exit in the rear of the platform.




---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: imap mysql authentication problem

2003-01-14 Thread Onno
I tried this, but didn't work. I still can't
authenticate users via mysql. In this case I can't
even authenticate users from the local machine
anymore.
Any more suggestions?

grz,
Onno

--- Sam Varshavchik [EMAIL PROTECTED] wrote:
 Onno writes:
 
  AUTHDAEMONRC:
  authmodulelist=authcustom authcram authuserdb
  authldap authpam authmysql
 
 List authmysql and authldap first.
 


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
This SF.NET email is sponsored by: Take your first step towards giving 
your online business a competitive advantage. Test-drive a Thawte SSL 
certificate - our easy online guide will show you how. Click here to get 
started: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0027en
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: imap mysql authentication problem

2003-01-13 Thread Sam Varshavchik
Onno writes:


AUTHDAEMONRC:
authmodulelist=authcustom authcram authuserdb
authldap authpam authmysql


List authmysql and authldap first.



---
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: imap configuration

2003-01-09 Thread Sam Varshavchik
Dmitry Volodkovich writes:


Hi All,

Please, help me with the courier-imap setup.

Running the starting script I get this:
{
AUTHFAILURE


Follow the procedure in INSTALL, instead of running some script.



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Re: IMAP using palm treo and iambic mail

2003-01-08 Thread Scott
Tim Hunter wrote:

Scott wrote:


Sam Varshavchik wrote:


Scott writes:



I got a new toy, a Handspring Treo 300.  There are a few email
clients available which claim to be able to connect to IMAP
servers.  So far the only one that has even come close to working
is Iambic Mail.  I can connect to a qmail imap server,



There's no such thing as a qmail imap server.



Uhh, good point.  Don't know why I said that.  I just checked and the
server I WAS able to connect to is in fact a courier mail server
(mail.speakeasy.net).  (Nice to see my favorite ISP using Courier.)
Nevertheless I can connect to speakeasy's Courier IMAP server, but not
my own.  Now that that little bit of confusion is out of the way, are
there any know tricks or settings that would allow me to make my
server work with my TREO as it does with mail.speakeasy.net's server?




Its possible that they compiled with enable-imap-workarounds or whatever
that option is (check the install docs) and you didn't.  Beyond that im sure
that they were compiled with different options, im sure it wouldn't hurt to
send an email to speakeasy's support and see if they could tell you the
options.
Check the docs for the crappy client workarounds, I think that is what you
are looking for.


After recompiling courier imap with 
--enable-workarounds-for-imap-client-bugs I have the same problem.  The 
test I did before with mail.speakeasy.net worked because my inbox 
happened to be empty when I checked.  My own server worked with an empty 
inbox as well.  I'm guessing it's an issue with either sprint's network 
or the imap client.  Thanks for the suggestions anyway.

-Scott



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: IMAP using palm treo and iambic mail

2003-01-07 Thread Tim Hunter
Scott wrote:
 Sam Varshavchik wrote:
 Scott writes:

 I got a new toy, a Handspring Treo 300.  There are a few email
 clients available which claim to be able to connect to IMAP
 servers.  So far the only one that has even come close to working
 is Iambic Mail.  I can connect to a qmail imap server,


 There's no such thing as a qmail imap server.


 Uhh, good point.  Don't know why I said that.  I just checked and the
 server I WAS able to connect to is in fact a courier mail server
 (mail.speakeasy.net).  (Nice to see my favorite ISP using Courier.)
 Nevertheless I can connect to speakeasy's Courier IMAP server, but not
 my own.  Now that that little bit of confusion is out of the way, are
 there any know tricks or settings that would allow me to make my
 server work with my TREO as it does with mail.speakeasy.net's server?


Its possible that they compiled with enable-imap-workarounds or whatever
that option is (check the install docs) and you didn't.  Beyond that im sure
that they were compiled with different options, im sure it wouldn't hurt to
send an email to speakeasy's support and see if they could tell you the
options.
Check the docs for the crappy client workarounds, I think that is what you
are looking for.

 ---
 This SF.NET email is sponsored by:
 SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
 http://www.vasoftware.com
 ___
 courier-users mailing list
 [EMAIL PROTECTED]
 Unsubscribe:
 https://lists.sourceforge.net/lists/listinfo/courier-users



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: IMAP using palm treo and iambic mail

2003-01-06 Thread Sam Varshavchik
Scott writes:


I got a new toy, a Handspring Treo 300.  There are a few email clients 
available which claim to be able to connect to IMAP servers.  So far the 
only one that has even come close to working is Iambic Mail.  I can 
connect to a qmail imap server,

There's no such thing as a qmail imap server.




---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Re: IMAP using palm treo and iambic mail

2003-01-06 Thread Scott
Sam Varshavchik wrote:

Scott writes:


I got a new toy, a Handspring Treo 300.  There are a few email clients 
available which claim to be able to connect to IMAP servers.  So far 
the only one that has even come close to working is Iambic Mail.  I 
can connect to a qmail imap server,


There's no such thing as a qmail imap server.



Uhh, good point.  Don't know why I said that.  I just checked and the 
server I WAS able to connect to is in fact a courier mail server 
(mail.speakeasy.net).  (Nice to see my favorite ISP using Courier.) 
Nevertheless I can connect to speakeasy's Courier IMAP server, but not 
my own.  Now that that little bit of confusion is out of the way, are 
there any know tricks or settings that would allow me to make my server 
work with my TREO as it does with mail.speakeasy.net's server?



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: IMAP Install Problem ..... Heeeelp Pleeeeease

2003-01-01 Thread Sam Varshavchik
Dave Ansell writes:


   However, when trying to start the service the files
/usr/bin/courier-imap/etc/imapd and /usr/bin/courier-imap/etc/imapd-ssl are
missing so the startup script fails.   I am not sure what else might be
missing also.


You forgot to run 'make install-configure'.



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: IMAP Folders

2002-12-23 Thread Sam Varshavchik
Brenda Bell writes:


Can anyone give me some advcie on IMAP clients that will let me create new 
shared folders?  I have Courier-IMAP installed.  I have a shared mailbox 
Shared with several shared folders.  I'd like to be able to create new 
shared folders from a client... but everything I've tried returns an error 
(Invalid mailbox name).

There is no facility to create shared mailboxes via IMAP.  Shared mailboxes 
must be created using maildirmake, as described in the README.



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: imap authentication fails SOMETIMES with authvchkpw (vpopmail)

2002-12-16 Thread Sam Varshavchik
Rett Consulting writes:


_Except:_ randomly when using (say outlook express) my imap client, the
server authentication fails.

It seems that when I restart the authdaemon, it cures the problem, though
temporarily.

It also seems to affect only certain users.

Versions:

vpopmail-5.2.1


Known vpopmail bug.  The vpopmail mailing list is down the hall, last door 
on your right.



---
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: imap login problems...

2002-12-13 Thread Sam Varshavchik
David Mutterer writes:



I just installed a QMAIL/Courier-IMAP setup and, in general, everything 
works fine. 

BUT, I have this problem when a user logs into IMAP, they get rejected as 
invalid username/password. 

This is complicated by the fact it SOMETIMES works, and SOMETIMES doesn't. 

Has anyone else seen this? 

Yes.  A known vpopmail bug.



---
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: IMAP connection disconnects if no domain is specified

2002-12-02 Thread Sam Varshavchik
Garrett Mead writes:



Good day,
 I just installed Vpopmail 5.2 and Courier-IMAP 1.3.10. When I telnet to 
the imap port to test, all logins (valid or invalid) result in a 
disconnection. 

Questions regarding vpopmail are better answered on the vpopmail list.



---
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power  Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: IMAP connection disconnects if no domain is specified

2002-12-02 Thread Garrett Mead
Sam, 
If you think that this is clearly a vpopmail issue, I will ask elsewhere. 
I was unsure however, since qmail's pop daemon behaves properly when the 
domain is left off. In other words, [EMAIL PROTECTED] and user1 both work 
with the qmail pop daemon using vpopmail's password library. Courier-Imap does 
not. Does this still sounds like a vpopmail problem?

  -- Garrett



Quoting Sam Varshavchik [EMAIL PROTECTED]:

 Garrett Mead writes:
 
 
  Good day,
   I just installed Vpopmail 5.2 and Courier-IMAP 1.3.10. When I telnet
 to
  the imap port to test, all logins (valid or invalid) result in a
  disconnection.
 
 Questions regarding vpopmail are better answered on the vpopmail list.
 
 
 
 ---
 This SF.net email is sponsored by: Get the new Palm Tungsten T
 handheld. Power  Color in a compact size!
 http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
 ___
 courier-users mailing list
 [EMAIL PROTECTED]
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


  -- Garrett


msg08583/bin0.bin
Description: PGP Public Key


[courier-users] Re: IMAP folders...

2002-11-28 Thread Sam Varshavchik
Patrick Drouin writes:


Hello everyone,

 I just installed courrier 1.6.1 on my box and I'm faced with a strange
behavior. When I connect to the server using Outlook via and IMAP account
and I want to see the IMAP folders, I see every single file in the users
directory. Any idea what could be causing that?


You are not using Courier-IMAP.



---
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power  Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: imap authdaemon process and memory behavior

2002-11-23 Thread jerry-sourceforge
Brian Candler writes:


Um, practically speaking, what does that mean for the client?  My
experience/bias with http makes me want to lower this 30 minutes
to something more like two minutes.  If I could do this, what
would the user experience? 

Bad things. RFC2060: 

5.4.Autologout Timer 

   If a server has an inactivity autologout timer, that timer MUST be of
   at least 30 minutes' duration.  The receipt of ANY command from the
   client during that interval SHOULD suffice to reset the autologout
   timer. 

IMAP is a remote message store which you browse interactively - and many
mails take longer to read than 2 minutes. The burden on the server of
maintaining an inactive process is minimal; the burden of doing additional
authentications and re-scanning mailboxes is not.

My basic concern is that if, as in the case of Courier,
it is one process per user, for thirty minutes, than how many users can
your typical 1U web server support? 

I have never used an IMAP MUA, so I have no notion of how users normally
interact with one.  What happens after thirty minutes?  Does the user
have to login again?  That is not what happened to me today when testing
with Outlook Express and Eudora.  They had my password cached (I gather)
and I was seemingly able to kill the backend processes willy nilly
without seeming to hurt anything. 

So if the timeout is shortened, what might the user experience? 

Thanks for your insights, 


Jerry 



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: imap and ssl

2002-10-28 Thread Sam Varshavchik
Rickard Eriksson writes:


I got a problem, when i try to use ssl to connect to my imap server i 
get this in the log and a error in the imap client.

What do i need to do to fix it?

Oct 28 12:51:56 test imapd-ssl: Connection, ip=[:::xxx.xxx.xxx.xxx]
Oct 28 12:51:58 test imapd-ssl: couriertls: accept: error:1408F071:SSL 
routines:SSL3_GET_RECORD:bad mac decode
Oct 28 12:51:58 test imapd-ssl: couriertls: accept: error:1408E098:SSL 
routines:SSL3_GET_MESSAGE:excessive message size

This error occurs with Netscape/Mozilla clients when you're using self-made 
certs, and you've installed a new server cert.

Go into the 'security' menu and manually delete the old cert.




---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: imap not detecting MAILDIR setting.

2002-07-17 Thread Andrew Watkins

  mrsam This is mostly for developers of custom authentication modules.  Some of 
  mrsam the stock authentication modules in Courier-IMAP are also capable of 
  mrsam setting MAILDIR: authldap, authmysql, authpgsql, and authuserdb.  That is, 
  mrsam when using LDAP, MySQL, Postgres, or userdb authentication a non-default 
  mrsam maildir location may be specified.  There is no equivalent information 
  mrsam available in /etc/passwd, hence modules that use the system password file 
  mrsam (authpwd, authshadow, authpam), cannot set MAILDIR. 

Thank you sir.  That is the explanation I needed.  Updating the imap manpage with
that paragraph above, in my opinion, would be a good thing.

Andrew


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Re: imap not detecting MAILDIR setting.

2002-07-16 Thread Andrew Watkins

Sam Varshavchik was overheard saying:
  mrsam Andrew Watkins writes: 
  mrsam 
  mrsam courier-imap isn't picking up my  $MAILDIR env.
  mrsam i've got it set when I login, but when I imap, it defaults to
  mrsam ~/.Maildir.  not /var/mail/$user, as set by $MAILDIR.
  mrsam 
  mrsam ... as set by who? 
as set by ~/.profile, in the users' homedir.

Andrew


---
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: imap not detecting MAILDIR setting.

2002-07-16 Thread Sam Varshavchik

Andrew Watkins writes: 

 Sam Varshavchik was overheard saying:
   mrsam Andrew Watkins writes: 
   mrsam 
   mrsam courier-imap isn't picking up my  $MAILDIR env.
   mrsam i've got it set when I login, but when I imap, it defaults to
   mrsam ~/.Maildir.  not /var/mail/$user, as set by $MAILDIR.
   mrsam 
   mrsam ... as set by who? 
 as set by ~/.profile, in the users' homedir.

Logging in via IMAP does not run any shell that reads $HOME/.profile.  Just 
because this is what happens when you log in to a shell account, via telnet 
or ssh, doesn't mean that the same thing is going to happen with an IMAP 
login.  In fact, most of the time IMAP mail accounts are mail-only accounts, 
and have no corresponding system account, with a .profile, to log into. 

-- 
Sam 



---
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Re: imap not detecting MAILDIR setting.

2002-07-16 Thread Andrew Watkins

  aqw courier-imap isn't picking up my  $MAILDIR env.
  aqw i've got it set when I login, but when I imap, it defaults to
  aqw ~/.Maildir.  not /var/mail/$user, as set by $MAILDIR.

  mrsam ... as set by who? 

  aqwas set by ~/.profile, in the users' homedir.

  mrsam Logging in via IMAP does not run any shell that reads
  mrsam $HOME/.profile.  Just because this is what happens when you
  mrsam log in to a shell account, via telnet or ssh, doesn't mean
  mrsam that the same thing is going to happen with an IMAP login.  In
  mrsam fact, most of the time IMAP mail accounts are mail-only 
  mrsam accounts, and have no corresponding system account, with a
  mrsam .profile, to log into. 

Yes, this is what I have found.  So I know misconfiguration is afoot.
I'm writing because the docs have not been clear enough to tell me in
which file I need to set MAILDIR, and what syntax it should be so
courier-imap knows to use /var/mail/$user, instead of
/home/$user/Maildir.

probably repetition I know, but here is the relevant snippet from imapd
manpage that I've been referring to, and alas, is not helping me:

[...]
The last daisy-chained command  is  imapd,  which  is  the
actual  IMAP  server,  which is started from the logged-in
account's home directory.  The sole argument to  imapd  is the
pathname to the default IMAP mailbox, which is usually Some
authentication modules are capable  of  specifying  a
different  filename,  by  setting  the MAILDIR environment
variable.
[...]
FILES AND ENVIRONMENT VARIABLES
   AUTH*  imapd examines several environment variables  whose
  names start with AUTH - these environment variables
  are set by imaplogin and  the  authentication  mod-
  ules.   Their absence tells imapd that it's running
  from the command line.

   MAILDIR
  MAILDIR - if defined, imapd changes  its  directory
  to  the one specified by this environment variable.
  Otherwise imapd changes its directory  to  the  one
  specified on the command line.
[...]

If you know the syntax for changing the setting of $MAILDIR, I would very much
like to know.

Thanks in Advance,
Andrew


---
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: imap not detecting MAILDIR setting.

2002-07-16 Thread Sam Varshavchik

Andrew Watkins writes: 

 Yes, this is what I have found.  So I know misconfiguration is afoot.
 I'm writing because the docs have not been clear enough to tell me in
 which file I need to set MAILDIR, and what syntax it should be so
 courier-imap knows to use /var/mail/$user, instead of
 /home/$user/Maildir.

This is mostly for developers of custom authentication modules.  Some of the 
stock authentication modules in Courier-IMAP are also capable of setting 
MAILDIR: authldap, authmysql, authpgsql, and authuserdb.  That is, when 
using LDAP, MySQL, Postgres, or userdb authentication a non-default maildir 
location may be specified.  There is no equivalent information available in 
/etc/passwd, hence modules that use the system password file (authpwd, 
authshadow, authpam), cannot set MAILDIR. 

-- 
Sam 



---
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: imap not detecting MAILDIR setting.

2002-07-15 Thread Sam Varshavchik

Andrew Watkins writes: 

 courier-imap isn't picking up my  $MAILDIR env.
 i've got it set when I login, but when I imap, it defaults to
 ~/.Maildir.  not /var/mail/$user, as set by $MAILDIR.

... as set by who? 

-- 
Sam 



---
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: Imap Install Problem

2002-07-10 Thread Sam Varshavchik

Mulianto writes: 


 when running error occurs and this message is like this:
 cpd'
 gcc -DHAVE_CONFIG_H -I. -I. -I.  -I./..  -I..  -Wall -g -02 -c
 libcouriertls.c
 In file included from libcouriertls.c:8:
 libcouriertls.h:23: openssl/ssl.h: No Such file or directory
 libcouriertls.h:23: openssl/err.h: No Such file or directory
 make[1: ***  [libcouriertls.o] Error 1
 make[1]: Leaving directory
 `/home/mulianto/source/courier-imap-1.5.1.20020709/tcpd`
 mkae: *** [all-recursive] Error 1 
 
 And the process is stopping.
 What is the problem? anybody can help me?

Install OpenSSL. 

 
 Thank you in advanced. 
 
 Mulianto 
 
  
 
 
 ---
 This sf.net email is sponsored by:ThinkGeek
 Two, two, TWO treats in one.
 http://thinkgeek.com/sf
 ___
 courier-users mailing list
 [EMAIL PROTECTED]
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
 


-- 
Sam 



---
This sf.net email is sponsored by:ThinkGeek
Two, two, TWO treats in one.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: imap install problem

2002-07-10 Thread brij_singh


regarding ssl problem

while configuring include the path of ssl header files:

such as follwoing:

enc CC=gcc CPPFLAGS=-I/usr/local/ssl/include ./configure -with-db=db or
gdbm


/usr/local/ssl/include: this has to be the path of openssl header
libs.that u can search finding those .h files where make fails.


regard
bps



On Wed, 10 Jul 2002 [EMAIL PROTECTED] wrote:

 Send courier-users mailing list submissions to
   [EMAIL PROTECTED]
 
 To subscribe or unsubscribe via the World Wide Web, visit
   https://lists.sourceforge.net/lists/listinfo/courier-users
 or, via email, send a message with subject or body 'help' to
   [EMAIL PROTECTED]
 
 You can reach the person managing the list at
   [EMAIL PROTECTED]
 
 When replying, please edit your Subject line so it is more specific
 than Re: Contents of courier-users digest...
 
 



---
This sf.net email is sponsored by:ThinkGeek
PC Mods, Computing goodies, cases  more
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: imap-ssl vs. Outlook Express

2002-07-07 Thread Alexander Skwar

So sprach [EMAIL PROTECTED] am 2002-07-07 um 11:06:24 +0300 :
 This just means that OE 6 don't like certificate that Courier IMAP gives
 him. OE 6 by default accept only trusted certificates.

Ah!

Do I need to copy the whole imapd.pem file to Windows, or should I first
remove the -BEGIN RSA PRIVATE KEY- ... -END RSA PRIVATE
KEY- section, so that only -BEGIN CERTIFICATE- ...
-END CERTIFICATE- and -BEGIN DH PARAMETERS- ...
-END DH PARAMETERS- are left in the pem file?

Thanks again,

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.iso-top.de  |Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
   Uptime: 0 hours 6 minutes


---
This sf.net email is sponsored by:ThinkGeek
We have stuff for geeks like you.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: imap-ssl vs. Outlook Express

2002-07-07 Thread courier

Alexander Skwar writes:

 Hi!

 I'm running courier-imap 1.5.0 on a SuSE 7.2 server.  I've installed
 courier-imap using the RPM spec file from the .tar.gz file of
 courier-imap.

 I'd like to be able to also use Outlook Express with imap-ssl.  I've
 enabled IMAPDSSLSTART and IMAPDSTARTTLS in
 /usr/lib/courier-imap/etc/imapd-ssl.

 In Outlook Express 6.0, I've enabled This server requires a secure
 connection (SSL) for the IMAP server.  Doing so changed the port to 993.

 When I try to connect to the server, I get this error message in Outlook
 Express:

 Konfiguration:
Konto: mci IMAP
Server: message-center.info
Benutzername: [EMAIL PROTECTED]
Protokoll: IMAP
Port: 993
Secure (SSL): 1
Code: 800ccc03

 The logs on the server don't show anything.

 Well, any ideas about what I'm doing wrong?  Or how can I make Outlook
 Express use STARTTLS?

 (No, not using Outlook Express is not an option - I myself don't use this
 .  But I'd like to offer a solution to my users who are stuck with
 this software.)

 Alexander Skwar
 --
 How to quote: http://learn.to/quote (german) http://quote.6x.to (en)
 Homepage: http://www.iso-top.de   |  Jabber: [EMAIL PROTECTED]
iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 7 days 9 hours 17 minutes



Hi,
This just means that OE 6 don't like certificate that Courier IMAP gives
him. OE 6 by default accept only trusted certificates.
The solve of this problem is easy:

Copy /usr/lib/courier/share/imapd.pem to this Windows machine.
Start IE, select Tools-Internet Options-Content-Certificates. Hit Import,
browse to imapd.pem and accept him.
Close all IE and OE 6 and all be fine.

PS: I use this method over all PC in my Company - 30 PC running win98se to
winxp, all updated to IE6.

 --
Svetozar Mihailov


---
This sf.net email is sponsored by:ThinkGeek
We have stuff for geeks like you.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: imap-ssl vs. Outlook Express

2002-07-07 Thread Alexander Skwar

[EMAIL PROTECTED] wrote:
 I use only from -BEGIN CERTIFICATE- to -END 

Yes, this works!  Thanks a lot!

Alexander Skwar
-- 
How to quote: http://learn.to/quote (german) http://quote.6x.to (en)
Homepage: http://www.iso-top.de   |  Jabber: [EMAIL PROTECTED]
iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 1 hour 58 minutes



---
This sf.net email is sponsored by:ThinkGeek
We have stuff for geeks like you.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Re: imap rpm build problem

2002-07-05 Thread sergey ivanov

Sam Varshavchik writes:

 sergey ivanov writes:

Hi All!
   With courier-imap-1.5.1.20020702.tar.gz  I do on my development 
 machine
 ./configure; make; make check; sudo make install-strip and sudo make 
 install-configure
 and get a working IMAP Server.
But when I do rpm -ta I get:
 
 RPM build errors:
File not found: 
 /var/tmp/courier-imap-buildroot/usr/lib/courier-imap/man/man1/maildirmake. 
 1.gz
File not found: 
 /var/tmp/courier-imap-buildroot/usr/lib/courier-imap/man/man7/authlib.7.gz 

File not found: 
 /var/tmp/courier-imap-buildroot/usr/lib/courier-imap/man/man8/makeuserdb.8 
 .gz
 
What should I check to build valid RPM packages to avoid 
 rebuilding courier-imap on my server machine?


 Check that you have a stable development environment.  The spec file 
 does not list man pages explicitly.  The spec file only lists:
 %{_mandir}

The problem solved by adding %define _compressor_method gzip into 
SPEC-file.

   Sergey





---
This sf.net email is sponsored by:ThinkGeek
Bringing you mounds of caffeinated joy.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: imap rpm build problem

2002-07-03 Thread Sam Varshavchik

sergey ivanov writes: 

Hi All!
   With courier-imap-1.5.1.20020702.tar.gz  I do on my development machine
 ./configure; make; make check; sudo make install-strip and sudo make 
 install-configure
 and get a working IMAP Server.
But when I do rpm -ta I get:
 
 RPM build errors:
File not found: 
 /var/tmp/courier-imap-buildroot/usr/lib/courier-imap/man/man1/maildirmake. 
 1.gz
File not found: 
 /var/tmp/courier-imap-buildroot/usr/lib/courier-imap/man/man7/authlib.7.gz
File not found: 
 /var/tmp/courier-imap-buildroot/usr/lib/courier-imap/man/man8/makeuserdb.8 
 .gz
 
What should I check to build valid RPM packages to avoid rebuilding 
 courier-imap on my server machine?

Check that you have a stable development environment.  The spec file does 
not list man pages explicitly.  The spec file only lists: 

%{_mandir} 


-- 
Sam 



---
This sf.net email is sponsored by:ThinkGeek
No, I will not fix your computer.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Re: IMAP SEARCH command

2002-06-24 Thread Blake Crosby

Sam,

Thanks for getting back to me. If this was the case (eudora bug) then why 
would this behavior not be the same with cyrus?

How would you expect Eudora to behave in regards to filtering for messages?

Blake

At 05:18 PM 6/24/2002 -0400, Sam Varshavchik wrote:
The search code is already optimized. In fact, your information suggests a 
possible Eudora bug that makes it spit out nonsensical search queries.
--
Sam



---
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: IMAP SEARCH command

2002-06-24 Thread Sam Varshavchik

Blake Crosby writes: 

 Sam, 
 
 Thanks for getting back to me. If this was the case (eudora bug) then why 
 would this behavior not be the same with cyrus? 
 
 How would you expect Eudora to behave in regards to filtering for 
 messages?

There is no free lunch.  Different servers are optimized for different 
purposes.  In due time you'll find IMAP operations where Cyrus will respond 
slower than Courier-IMAP.  This server is simply not optimized for Eudora's 
IMAP profile, specifically the way Eudora searches folders. 


-- 
Sam 



---
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: imap certs and multiple domains

2002-05-30 Thread Sam Varshavchik

Phil Dibowitz writes: 

 One last question for you all and I think I'm ready to take this big guy 
 from testing to production... 
 
 I'll be hosting about 5 domains from my new 
 qmail+vpopmail+qmailadmin+courier_imapd+imp 
 
 solution. All seems to work well except that courier uses the same cert 
 for every domain. I was wondering if I could tell it to use a different 
 cert for a different IP address?

Rename the cert file to certfilename.aaa.bbb.ccc.ddd 

-- 
Sam 


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: IMAP over SSL

2002-05-29 Thread Sam Varshavchik

Phil Dibowitz writes: 


 My logs give this error:
 May 29 16:41:18 hostname imapd-ssl: 
 /usr/local/courier-imap/bin/couriertls: No such file or directory
 May 29 16:41:46 hostname imapd-ssl: 
 /usr/local/courier-imap/bin/couriertls: No such file or directory 
 
 
 Any ideas?

This error message looks to be self-explanatory. 

-- 
Sam 


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Re: IMAP over SSL

2002-05-29 Thread Phil Dibowitz

Sam Varshavchik wrote:

 Phil Dibowitz writes:
 
 My logs give this error:
 May 29 16:41:18 hostname imapd-ssl: 
 /usr/local/courier-imap/bin/couriertls: No such file or directory
 May 29 16:41:46 hostname imapd-ssl: 
 /usr/local/courier-imap/bin/couriertls: No such file or directory

 Any ideas?
 
 
 This error message looks to be self-explanatory.

You wanna tell me where one aquires couriertls? It's not getting compiled or 
installed ANYWHERE.

Phil
-- 
They that can give up essential liberty to obtain a little temporary safety 
deserve neither liberty nor safety.
-Benjamin Franklin, 1759


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Re: IMAP over SSL

2002-05-29 Thread Juha Saarinen

On Wed, 29 May 2002, Phil Dibowitz wrote:

  You wanna tell me where one aquires couriertls? It's not getting compiled or
  installed ANYWHERE.

You've got a problem with the installation then.

# locate couriertls
/usr/lib/courier-imap/bin/couriertls

# rpm -q --whatprovides $(locate couriertls)
courier-imap-1.4.5.20020509-1.7.2



-- 
Juha Saarinen


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Re: IMAP over SSL

2002-05-29 Thread Phil Dibowitz

Juha Saarinen wrote:

 On Wed, 29 May 2002, Phil Dibowitz wrote:
 
 
 You wanna tell me where one aquires couriertls? It's not getting compiled or
 installed ANYWHERE.

 
 You've got a problem with the installation then.
 
 # locate couriertls
 /usr/lib/courier-imap/bin/couriertls
 
 # rpm -q --whatprovides $(locate couriertls)
 courier-imap-1.4.5.20020509-1.7.2


I built mine from source

Sam, sorry I didn't remove your email from the headers in my last email...


Phil
-- 
They that can give up essential liberty to obtain a little temporary safety 
deserve neither liberty nor safety.
-Benjamin Franklin, 1759


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Re: IMAP over SSL

2002-05-29 Thread Phil Dibowitz

Mike Horwath wrote:

 On Wed, May 29, 2002 at 05:49:58PM -0700, Phil Dibowitz wrote:
 
You wanna tell me where one aquires couriertls? It's not getting compiled 
or installed ANYWHERE.

 
 What OS?
 
 Under Solaris I had some issues back in the older code with couriertls
 being built.
 
 Things are now fine with the current revisions.
 
 

Linux. Kernel 2.4.18.

Phil
-- 
They that can give up essential liberty to obtain a little temporary safety 
deserve neither liberty nor safety.
-Benjamin Franklin, 1759


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Re: IMAP over SSL

2002-05-29 Thread Juha Saarinen

On Wed, 29 May 2002, Phil Dibowitz wrote:

  I built mine from source

So did I -- built RPM packages from the tarball. Which OS are you using?

-- 
Juha Saarinen


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: IMAP body[X.HEADERS] and body[X.MIME] with message/rfc822 attachments

2002-05-22 Thread Sam Varshavchik

Brian Kelly writes: 


 I added this message to a folder on Courier, UW and Exchange using
 IMAP. I then fetched body[2.mime] and body[2.header] from the message
 on each IMAP server. Here's the output from each IMAP server: 
 
 Courier
 #
 a1 fetch * body[2.mime]
 * 3 FETCH (BODY[2.MIME] {98}
 MIME-Version: 1.0
 Content-Type: text/plain; charset=us-ascii
 Content-Transfer-Encoding: 7bit 
 
 )

This will be fixed in the next release. 

-- 
Sam 


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: IMAP login failes

2002-05-15 Thread Sam Varshavchik

[EMAIL PROTECTED] writes: 

 
 Hello folks. I have this weird situation. I can check my mail like 3-4
 times within 1 min and the next time I try I am getting error
 message: login failed
 May 15 16:58:16 qmail imapd: LOGIN FAILED, ip=[:::127.0.0.1]
 May 15 16:58:16 qmail imapd: DISCONNECTED, ip=[:::127.0.0.1],
 headers=0, body=0 
 
 I am using courier-imap-1.4.5 and vpopmail. I am using virtual user to
 check my mail.

The vpopmail mailing list is down the hall, last door on your right. 

-- 
Sam 


___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Re: IMAP login failes

2002-05-15 Thread AlexB

the problem is with IMAP not with vpopmail. I mentioned that I use vpopmail
for reference only. Don't be wise ass

- Original Message -
From: Sam Varshavchik [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 15, 2002 7:27 PM
Subject: [courier-users] Re: IMAP login failes


 [EMAIL PROTECTED] writes:

 
  Hello folks. I have this weird situation. I can check my mail like 3-4
  times within 1 min and the next time I try I am getting error
  message: login failed
  May 15 16:58:16 qmail imapd: LOGIN FAILED, ip=[:::127.0.0.1]
  May 15 16:58:16 qmail imapd: DISCONNECTED, ip=[:::127.0.0.1],
  headers=0, body=0
 
  I am using courier-imap-1.4.5 and vpopmail. I am using virtual user to
  check my mail.

 The vpopmail mailing list is down the hall, last door on your right.

 --
 Sam


 ___

 Have big pipes? SourceForge.net is looking for download mirrors. We supply
 the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
 ___
 courier-users mailing list
 [EMAIL PROTECTED]
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: IMAP login failes

2002-05-15 Thread Sam Varshavchik

AlexB writes: 

 the problem is with IMAP not with vpopmail. I mentioned that I use vpopmail
 for reference only. Don't be wise ass

Please refrain from discussing things you know very little about.  The IMAP 
server uses the vpopmail library for authentication.  That's the whole 
purpose of that library, Einstein.  You are reporting a problem with 
authentication.  Therefore, the problem is in the vpopmail library. 

Also, learn how to properly reply to Internet E-mail. 

-- 
Sam 


___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Re: IMAP login failes

2002-05-15 Thread David M. Stowell

On 2002.05.15 20:03 Sam Varshavchik wrote:
 AlexB writes:
 the problem is with IMAP not with vpopmail. I mentioned that I use 
 vpopmail for reference only. Don't be wise ass
 
 Please refrain from discussing things you know very little about.  
 The IMAP server uses the vpopmail library for authentication.  That's 
 the whole purpose of that library, Einstein.  You are reporting a 
 problem with authentication.  Therefore, the problem is in the 
 vpopmail library. Also, learn how to properly reply to Internet 
 E-mail. -- 
 Sam

heh

We were wondering how Sam was going to respond to that venerable 
gentleman...

David M. Stowell
[EMAIL PROTECTED]

___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Re: IMAP client 'copy message'

2002-04-18 Thread Stigg

Hi Sam,

thankyou, you are correct.
Outlook has a 'automatically download message when viewing in
the preview pane'  check box.
When un-checked the message can be moved or copied without it
being downloaded to the client machine.



--- Sam Varshavchik [EMAIL PROTECTED] wrote:
 Stigg writes: 
 
 
  Does anyone know if it is possible to use a client to do a
  message copy which will NOT copy the message ( with
 bandwidth
  hogging attachments ) first to the client and then back to
  Courier-IMAP ?
 
 There exists an IMAP COPY command that copies messages between
 folders on 
 the server. 
 
  Or are we doing something wrong ?
 
 You are probably using a stupid IMAP client that manually
 copies mail 
 between folders, instead of issuing an IMAP COPY command. 
 
 -- 
 Sam 
 
 
 ___
 courier-users mailing list
 [EMAIL PROTECTED]
 Unsubscribe:
https://lists.sourceforge.net/lists/listinfo/courier-users


__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Re: IMAP entry in inetd.conf

2002-03-07 Thread Michael Carter

Thanks, Sam.

There are no instructions in the INSTALL file I have (0.37.2 complete). The
only install docs I have are the text file in the root dir and the html
version in the doc dir (this is v. 0.37.2). In any case, I did find the rc
script, but issuing it the start command still produced no responses to
subsequent IMAP connection attempts on port 143. I tried this by starting
authdaemond.plain, then issuing courier start, then imapd.rc start, then
telnetting to port 143 from the host itself. I do get a momentary connect, but
then the connection is immediately closed. The imapd man page didn't mention
the rc script either.

0). Is there another INSTALL file in another distribution? (perhaps the
stand-alone source for imapd?)

1). I don't have an AUTHSERVICE set in the /etc/imapd file, and
IMAPDSTART=yes. I checked the other settings for basic sanity and they looked
okay.

Thanks for you help.

kashmir:/usr/lib/courier/etc ps -ef | grep imap
root   299 1  0 12:33:53 ?0:00 /usr/lib/courier/sbin/logger
imapd

kashmir:/usr/lib/courier/etc sudo cat /usr/lib/courier/var/tmp/imapd.pid
296
kashmir:/usr/lib/courier/etc ps -ef | grep 296
root   296 1  0 12:33:53 ?0:00
/usr/lib/courier/sbin/couriertcpd -address=200.1.1.5
-stderrlogger=/usr/lib/cou

kashmir:/usr/lib/courier/etc telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.


#mikec


Sam Varshavchik wrote:

 Michael Carter writes:

  I can start IMAP from the command line, but can't connect from clients.
  What process do I need to start when a connection attempt is made to the
  server? I tried mapping port 143 connections directly to
  /usr/lib/courier/sbin/imapd but that didn't work.
 
  inetd.conf:
  -
  # courier stuff
  imap  stream tcp  nowait courier  /usr/lib/courier/sbin/imapd

 Follow the instructions in INSTALL to configure Courier-IMAP.  Courier-IMAP
 does not use identd, you must run imapd.rc from the system boot script.

 --
 Sam

 ___
 courier-users mailing list
 [EMAIL PROTECTED]
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

--
Mike Carter
Pilot/Programmer
[EMAIL PROTECTED]



___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: IMAP entry in inetd.conf

2002-03-07 Thread Sam Varshavchik

Michael Carter writes: 

 kashmir:/usr/lib/courier/etc ps -ef | grep 296
 root   296 1  0 12:33:53 ?0:00
 /usr/lib/courier/sbin/couriertcpd -address=200.1.1.5
 -stderrlogger=/usr/lib/cou

This shows that this couriertcpd process is listening on IP address 
200.1.1.5 

 kashmir:/usr/lib/courier/etc telnet localhost 143
 Trying 127.0.0.1...

... and you're telnetting to 127.0.0.1 

 Connected to localhost.
 Escape character is '^]'.
 Connection closed by foreign host.

I don't know what this is, but this has nothing to do with Courier. 

-- 
Sam 


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: imap/pop/postfix over SSL

2002-02-25 Thread Sam Varshavchik

Yanek Korff writes: 

 
 I spent an hour on Friday configuring a system to permit authenticated SMTP
 over SSL using Cyrus SASL.  In order to do that, I created a user database
 (sasldb) with username/password information.  I'd now like to create
 mailboxes for virtual users on the same machine -- is it possible to use the
 same sasldb?  I see userdb reference, but that appears to be different...
 Must I use two different user databases for these (very similar) accounts?
 Overall I'm a little confused with the authentication process for Courier
 IMAP/POP and any additional information/insight would be helpful.

Courier does not have any support for the Cyrus SASL library. 

-- 
Sam 


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: Imap Configuration Question

2002-02-22 Thread Sam Varshavchik

System Administrator ORS writes: 

 Hi All, 
 
 What is the following directive used for aka what does it do ? 
 
 IMAP_PERSONAL_NAMESPACE_AT_TOP_LEVEL=1 
 
 Thanks alot and Cheers,

There's no such directive in Courier-IMAP. 

___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: IMAP connection limit

2002-02-21 Thread Sam Varshavchik

MAL writes: 

 From what I have read, I get the picture that the mail client doesn't
 close the imap connection, when it should, and courier has a limit of
 connections.  Netscape must adhere to the closing-connection rule.
 Is this true?

Correct. 

And how can I go about fixing it?

Get Netscape to fix their broken code.  Alternatively, the connection limits 
may be increased in the imapd configuration file. 

-- 
Sam 


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Re: IMAP connection limit

2002-02-21 Thread Derek Broughton

MAL wrote:

 I meant that Netscape DOES follow the rule, and as such doesn't suffer 
 from the problem.


Not for Netscape 6, I would expect.  You said it worked on 4.7x, but 
Netscape 6 should be the same as Mozilla.


 Yes, upping the connection limit fixes the problem, (until a user has 
 enough folders to exceed the limit).


No, I have plenty of folders to run into the problem.  Mozilla ONLY 
opens 5 connections, by default.  I initially set my MAXPERIP up to the 
MAXDAEMONS value, and found that Mozilla would only open 5 connections. 
  So then I went looking in prefs.js for a value of 5, and found it. 
Now, MAXPERIP is set to 5 and Mozilla's setting is 4, so that we should 
be cool.


 Also, I think Outlook x.x opens a new connection for each IMAP account 
 it has set up, but uses that same connection for each folder, so it was 
 only hanging because I have 8 IMAP accounts being checked at once.


My guess too. I haven't seen multiple connections from either Outlook or 
OE, but I only use one account at a time on those.


 Derek Broughton wrote:
 
 The correct fix would seem to be to change:

 user_pref(mail.server.server1.max_cached_connections, 5);


 in your Netscape/Mozilla prefs.js (could be something other than 
 'server1', too).

derek


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Re: IMAP connection limit

2002-02-21 Thread Jason Haar

On Thu, Feb 21, 2002 at 04:38:42PM +, MAL wrote:
 As a side note, does anyone know how other IMAP mail servers handle this?  
 As I don't have the same problem connecting Mozilla to any other IMAP 
 accounts.
 I'm guessing they just don't have a connection limit.

I don't think any other IMAP server has this problem.

However - it isn't a problem. I think Sam hit gold with his couriertcpd -
the per-IP/subnet connection limiting is brill. Just Do It :-)

Either up that limit (you can make it 100 to mimic other servers if
you wish), or alter the clients.

Reality is, other products will have to support this feature themselves Real
Soon Now - DoS attacks aren't going away, and this feature can really help -
I've personally used it to stop resource exhaustion from a known bad client.

-- 
Cheers

Jason Haar

Information Security Manager
Trimble Navigation Ltd.
Phone: +64 3 9635 377 Fax: +64 3 9635 417

___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: IMAP session logging.

2002-02-08 Thread Sam Varshavchik

Kris Kelley writes: 

 Forgive me for asking what I know has been asked before.
  
 What is the setting for captuing IMAP session longs on the server.  I
 know it's something I can put in imapd's configuration file, but I
 cannot remember the exact text, and the Courier mailing list archive's
 lack of a search feature isn't helping me.

Add IMAPDEBUGFILE=filename to the imapd configuration file.  This is only 
useful for testing purposes, because every IMAP login will now log to 
filename, in each corresponding maildir. 

 More generally, is there a file that documents all of the settings that
 can be added to the imapd configuration file?

All documented settings are, well, documented in the corresponding 
configuration file. 

-- 
Sam

___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: imap login: root OK, other: FAIL

2002-01-07 Thread Bill Michell

Thorsten Zenker writes:

 my friends  it's time to ask, 
 
 accessing the root Maildir with Outlook works.
 Also telnet ... 143 . login root XXX works. 
 
 But:
 accessing imapd as another user tzenker does not work and telnet
 tells me that I cannot login and responds connection closed by foreign host
 (attached below). 
 
 ./authtest -s imap with tzenker and root work both.
 courier imap is 1.4.1, authdaemon is running. 
 
 I have appended the telnet ... 143 output for root and tzenker. 
 
 Where/what should I check next?
 Hints are very much welcome. 
 
 Cheers,
 Thorsten 
 
 --
 login as root:
 Trying 192.168.2.5...
 Connected to 192.168.2.5.
 Escape character is '^]'.
 * OK Courier-IMAP ready. Copyright 1998-2001 Double Precision, Inc.  See
 COPYING
  for distribution information.
 . login root XXX
 . OK LOGIN Ok.
 . logout
 * BYE Courier-IMAP server shutting down
 . OK LOGOUT completed
 Connection closed by foreign host.
 --
 login as another user:
 telnet 192.168.2.5 143
 Trying 192.168.2.5...
 Connected to 192.168.2.5.
 Escape character is '^]'.
 * OK Courier-IMAP ready. Copyright 1998-2001 Double Precision, Inc.  See
 COPYIN
  for distribution information.
 . login tzenker XXX
 Connection closed by foreign host.
 --
 endorphin:/home/tzenker/webmail/courier-imap-1.4.1/authlib # ./authtest -s
 imap tzenker XXX
 Authenticated: module authdaemon
 Home directory: /home/tzenker
 UID/GID: 500/100
 AUTHADDR=tzenker
 AUTHFULLNAME=Thorsten Zenker 
 
 
What authentication modules does courier-IMAP think it is using? Check the 
configuration file in the /etc directory. 

Have yopu restarted the server since adding the new user, just to be 
certain? 

-- 
Bill Michell
[EMAIL PROTECTED] (home) 

___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



RE: [courier-users] Re: IMAP Folders

2002-01-03 Thread courier-users

Hi

The sample you provided works for a courier-{user}-default file but
not a courier-default file.

courier-{user}-default is run under the {user} account

courier-default is run under the courier daemon account (i.e. courier)

Since any mail delivery to a Maildir by the courier-default file will
only be readable by the courier daemon account, what use is a
courier-default file?




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Sam
Varshavchik
Sent: Wednesday, January 02, 2002 3:32 PM
To: [EMAIL PROTECTED]
Subject: [courier-users] Re: IMAP Folders


[EMAIL PROTECTED] writes: 

 Hi
 
 When an new IMAP folder is created from an IMAP client connecting to 
 MS Exchange, the folder is assigned an email address (just like a 
 public folder).
 
 Does courier have this functionality?
 
 If it not, does the source code need to be modified or can I add a 
 script somewhere that courier will execute when a new folder is 
 created?

You can implement this using an intelligent .courier-default file (all
on 
one line): 

|| x=`echo $DEFAULT | tr '/' '.'`; test -d $HOME/Maildir/.$x || exit

|| 0;
echo $HOME/Maildir/.$x/. ; exit 99 

Haven't really tested this, but it should work.  Haven't also looked at
this 
closely, but it should be safe from envelope-based attacks.  A shell
script 
is also not a terribly efficient way to go about this, but you can
always 
write some tiny executable binary that does the same thing. 

To send mail to [EMAIL PROTECTED]'s folder INBOX.foo.bar, the address
would 
be [EMAIL PROTECTED], or [EMAIL PROTECTED] 

 


-- 
Sam 


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



RE: [courier-users] Re: IMAP Folders

2002-01-03 Thread courier-users

Hi

Sorry Sam. 

I shouldn't have posted the last message. I got a bit confused with the
$HOME/.courier-default and /aliasdir/.courier-default files but I
managed to figure it out. 

Here's what I did.

(1) I created a user imap with a maildir

(1) I created a file /usr/lib/courier/etc/aliasdir/.courier-default with
the following line

|| echo imap-$[EMAIL PROTECTED]

(2) I create a file /home/imap/.courier-default with the following two
lines

|| x=`echo $DEFAULT`; test ! -d $HOME/Maildir/.$x || echo
$HOME/Maildir/.$x
|| x=`echo $DEFAULT`; test ! -d $HOME/Maildir/.$x || echo
[EMAIL PROTECTED]




When courier is unable to resolve an email address, it attempts to see
if there is an imap folder with the same name. If the imap folder is
found, then the mail is delivery to it. If the folder is not found, then
the email is returned to the postmaster.

This probably isn't the most efficient method of handling the imap
folder but it allows me have emails list [EMAIL PROTECTED] without
creating a user account called anyone. This more or less duplicates the
functionality of public folders in MS Exchange.

Does anyone see any problems with what I have done. 




Thanks for your help.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Sam
Varshavchik
Sent: Thursday, January 03, 2002 2:39 PM
To: [EMAIL PROTECTED]
Subject: [courier-users] Re: IMAP Folders


[EMAIL PROTECTED] writes: 

 Hi
 
 The sample you provided works for a courier-{user}-default file but 
 not a courier-default file.

You are incorrect on both cases.  I provide a sample .courier-default
file. 

 courier-{user}-default is run under the {user} account

No it's not.  .courier-{foo} is run under the user's account. 

 courier-default is run under the courier daemon account (i.e. courier)

Not true either. 

 
 Since any mail delivery to a Maildir by the courier-default file will 
 only be readable by the courier daemon account, what use is a 
 courier-default file?

See the dot-courier(5) man page. 

  
 
  
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]] On Behalf Of Sam 
 Varshavchik
 Sent: Wednesday, January 02, 2002 3:32 PM
 To: [EMAIL PROTECTED]
 Subject: [courier-users] Re: IMAP Folders
 
 
 [EMAIL PROTECTED] writes:
 
 Hi
 
 When an new IMAP folder is created from an IMAP client connecting to
 MS Exchange, the folder is assigned an email address (just like a 
 public folder). 
 
 Does courier have this functionality?
 
 If it not, does the source code need to be modified or can I add a
 script somewhere that courier will execute when a new folder is 
 created?
 
 You can implement this using an intelligent .courier-default file (all

 on one line):
 
 || x=`echo $DEFAULT | tr '/' '.'`; test -d $HOME/Maildir/.$x || 
 || exit
 
 || 0;
 echo $HOME/Maildir/.$x/. ; exit 99
 
 Haven't really tested this, but it should work.  Haven't also looked 
 at this closely, but it should be safe from envelope-based attacks.  A

 shell script
 is also not a terribly efficient way to go about this, but you can
 always 
 write some tiny executable binary that does the same thing.  
 
 To send mail to [EMAIL PROTECTED]'s folder INBOX.foo.bar, the address

 would be [EMAIL PROTECTED], or [EMAIL PROTECTED]
 
  
 

-- 
Sam 


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: IMAP Folders

2002-01-03 Thread Sam Varshavchik

[EMAIL PROTECTED] writes: 

 (2) I create a file /home/imap/.courier-default with the following two
 lines 
 
 || x=`echo $DEFAULT`; test ! -d $HOME/Maildir/.$x || echo
 $HOME/Maildir/.$x
 || x=`echo $DEFAULT`; test ! -d $HOME/Maildir/.$x || echo
 [EMAIL PROTECTED] 
 
 
 Does anyone see any problems with what I have done. 

Use the syntax in my original message.  You have a small race condition here 
(think what happens when the folder goes away right after the test 
completes. 

-- 
Sam 


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: IMAP

2002-01-03 Thread Sam Varshavchik

Jim Scott writes: 

 So in the example below jscott has his own inbox with sub folders Drafts, Sent Items 
and Trash. In the shared folder he would have Sales, Support and Billing folders. 
What I have not been able to figure out is how to get an account setup so that mail 
for that account ([EMAIL PROTECTED]) goes to the shared folder.

The current design of shared folders does not permit mail to be delivered to 
a shared folder directly.  Mail has to be delivered to a regular INBOX (or 
another folder in the INBOX first, then copied to a shared folder manually. 

Shared folders are meant to be simply as a convenient way to swap mail 
without explicit forwarding.  Person A copies his mail to a shared folder, 
and Person B reads it. 

-- 
Sam 


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: IMAP Folders

2002-01-02 Thread Sam Varshavchik

[EMAIL PROTECTED] writes: 

 Hi 
 
 When an new IMAP folder is created from an IMAP client connecting to MS
 Exchange, the folder is assigned an email address (just like a public
 folder).  
 
 Does courier have this functionality? 
 
 If it not, does the source code need to be modified or can I add a
 script somewhere that courier will execute when a new folder is created?

You can implement this using an intelligent .courier-default file (all on 
one line): 

|| x=`echo $DEFAULT | tr '/' '.'`; test -d $HOME/Maildir/.$x || exit 0; 
echo $HOME/Maildir/.$x/. ; exit 99 

Haven't really tested this, but it should work.  Haven't also looked at this 
closely, but it should be safe from envelope-based attacks.  A shell script 
is also not a terribly efficient way to go about this, but you can always 
write some tiny executable binary that does the same thing. 

To send mail to [EMAIL PROTECTED]'s folder INBOX.foo.bar, the address would 
be [EMAIL PROTECTED], or [EMAIL PROTECTED] 

 


-- 
Sam 


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: IMAP (Update: strace output)

2002-01-01 Thread Michael Carmack


I created a test user and captured the strace output from both the 
IMAP process and the mail client. Rather than send the output to the 
list (the files are a bit long), I've made them availabe at:

http://karmak.org/2002/01/courier/strace-imap.txt
http://karmak.org/2002/01/courier/strace-mutt.txt

I do not understand the meaning of everthing in the strace output, but 
there are several lines that show obvious errors. Also, the IMAP strace
has dozens of lines that look like:

rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0


Any Courier gurus recognize what's going on here?

Thanks,
m.



___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: IMAP (More infomation)

2002-01-01 Thread Michael Carmack


I noticed that the IMAP strace shows a /dev/tty error that doesn't appear
in a POP3 strace (POP3 has no mention of /dev/tty at all). I don't know 
that means anything, but it made me think of one other thing that I forgot
to mention: My systems all run devfs _without_ compatibility mode turned
on. Should that cause a problem for Courier?

FWIW I also use reiserfs, but that doesn't strike me as a potential source
of problems.

m.


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Re: IMAP (Update: strace output)

2002-01-01 Thread Roland Schneider

--Michael Carmack wrote on 01.01.2002 16:20 +:

 
 I created a test user and captured the strace output from both the 
 IMAP process and the mail client. Rather than send the output to the 
 list (the files are a bit long), I've made them availabe at:
 
 http://karmak.org/2002/01/courier/strace-imap.txt
 http://karmak.org/2002/01/courier/strace-mutt.txt

There is no answer from authdaemond at all. Check with
authtest (somewhere in the sources) or use this script
with $prefix changed to:
/pkg/courier/0.36.1/.i686-pc-linux-gnu/.karmak-standard.1
(Hope you dont have Courier in multiple directories...)


#!/usr/bin/perl

my $prefix = '/usr/lib/courier';
my $authsock = $prefix.'/var/authdaemon/socket';
(-S $authsock) or die no socket: $authsock;

my $user = $ARGV[0];
my $pass = $ARGV[1];
print # $0 $user $pass\n;

use Socket;
socket(SOCK, PF_UNIX, SOCK_STREAM, 0);
connect(SOCK, sockaddr_un($authsock)) or die $authsock: $!;

if($pass)
{ my $authstring = login\nlogin\n$user\n$pass;
  my $authlength = length($authstring);
  send SOCK, AUTH $authlength\n$authstring\n, 0 or die $authsock: $!;
}
elsif($user)
{ send SOCK, PRE . login $user\n, 0 or die $authsock: $!;
}
else
{ print Socket OK: $authsock\n;
  print Usage: $0 loginname [password]\n;
  exit(3);
}

my @data = SOCK;
close SOCK;

if ( @data =~ /FAIL/ )
{ print *** AUTH FAILED ***\n;
  exit(2);
}

print @data;

if ( !$pass )   { exit(1); }
exit(0);


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Re: IMAP (Update: strace output)

2002-01-01 Thread Michael Carmack

On Tue, Jan 01, 2002 at 07:44:07PM +0100, Roland Schneider wrote:
 
  
  I created a test user and captured the strace output from both the 
  IMAP process and the mail client. Rather than send the output to the 
  list (the files are a bit long), I've made them availabe at:
  
  http://karmak.org/2002/01/courier/strace-imap.txt
  http://karmak.org/2002/01/courier/strace-mutt.txt
 
 There is no answer from authdaemond at all. Check with
 authtest (somewhere in the sources) or use this script
 with $prefix changed to:
 /pkg/courier/0.36.1/.i686-pc-linux-gnu/.karmak-standard.1
 (Hope you dont have Courier in multiple directories...)

My apologies: I forgot to run 'makeuserdb' after adding the 'test'
entry, so the strace output might not have shown the actual error
I've been facing with the real user accounts.

I've now uploaded new strace output files under the same URLs.

Running the script you provided gives the following:

# ./perltest [EMAIL PROTECTED] test
[EMAIL PROTECTED]
UID=10001
GID=10001
HOME=/mail/karmak.org/test
[EMAIL PROTECTED]
PASSWD=9Toor00Ea1kLk
.

Thanks,
m.


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: IMAP (Update: strace output)

2002-01-01 Thread Sam Varshavchik

Michael Carmack writes: 

 On Tue, Jan 01, 2002 at 02:17:02PM -0500, Sam Varshavchik wrote:
 Michael Carmack writes:  
 
 
 I created a test user and captured the strace output from both the 
 IMAP process and the mail client. Rather than send the output to the 
 list (the files are a bit long), I've made them availabe at: 
 
 http://karmak.org/2002/01/courier/strace-imap.txt
 http://karmak.org/2002/01/courier/strace-mutt.txt] 
 
 23436 write(3, AUTH 32\nimap\nlogin\[EMAIL PROTECTED]..., 41) = 41  
 
 ...  
 
 23436 read(3, FAIL\n, 8191)   = 5  
 
 You supplied an incorrect login userid or password. 
 
 My mistake. I created the [EMAIL PROTECTED] entry so an actual user
 password wouldn't appear in the strace output, but forgot to run
 'makeuserdb' after doing so.

You have a serious misconfiguration there: 

23981 read(3, [EMAIL PROTECTED]\nUID=100..., 8191) = 119 

... 

23981 chdir(/mail/karmak.org/test)= 0 

That's a succesfull authentication followed by opening /mail/karmak.org/test 
as the account's home directory.  However, the next call is: 

execve(/pkg/courier/0.36.1/.i686-pc-linux-gnu/.karmak-standard.1/bin/imapd 
,  ... 

Based on the subsequent trace, this file appears not to be the imapd server 
binary, but the system startup imapd script.  So, something is seriously 
screwed up here.  Unfortunately, it is not possible to determine what that 
something is.  That's because this pathname suggests that you did not 
compile and install Courier yourself, but used a prepackaged version.  You 
should contact the package's maintainer for additional assistance.  I have 
no idea how your package was built, or what custom configuration this 
package uses.  Unless you want to tell us that you ran the configure script 
yourself (followed by make install), nobody will have any idea what your 
environment is. 

-- 
Sam 


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Re: IMAP (Update: strace output)

2002-01-01 Thread Michael Carmack

On Tue, Jan 01, 2002 at 05:58:09PM -0500, Sam Varshavchik wrote:
 
 23981 read(3, [EMAIL PROTECTED]\nUID=100..., 8191) = 119 
 
 ... 
 
 23981 chdir(/mail/karmak.org/test)= 0 
 
 That's a succesfull authentication followed by opening 
 /mail/karmak.org/test as the account's home directory.  However, the next 
 call is: 
 execve(/pkg/courier/0.36.1/.i686-pc-linux-gnu/.karmak-standard.1/bin/imapd 
 ,  ... 
 Based on the subsequent trace, this file appears not to be the imapd server 
 binary, but the system startup imapd script.  So, something is seriously 
 screwed up here.  Unfortunately, it is not possible to determine what that 
 something is.  That's because this pathname suggests that you did not 
 compile and install Courier yourself, but used a prepackaged version.  You 
 should contact the package's maintainer for additional assistance.  I have 
 no idea how your package was built, or what custom configuration this 
 package uses.  Unless you want to tell us that you ran the configure script 
 yourself (followed by make install), nobody will have any idea what your 
 environment is. 

You've hit it! Yes, I compiled and installed this myself, and bin/imapd 
IS a symlink to the imapd startup script. I've posted the complete build
log to:

http://karmak.org/2002/01/courier/i686-pc-linux-gnu.1.log

It's big (~1MB), but it's all there, from 'configure' to 'make install'.
Commands I've issued are prefixed with @@ to find them easily, and
the very beginning of the log shows the environment variables that are
set.

If you do a search for bin/imapd, you'll notice that during the 
installation the following two commands are run (this appears ~90% into 
the log):

rm -f /pkg/courier/0.36.1/.i686-pc-linux-gnu/.karmak-standard.1/bin/imapd
ln -s /pkg/courier/0.36.1/.i686-pc-linux-gnu/.karmak-standard.1/share/imapd 
/pkg/courier/0.36.1/.i686-pc-linux-gnu/.karmak-standard.1/bin/imapd

It would appear that the original bin/imapd gets deliberately removed
during 'make install', and replaced by a symlink to the imapd startup
script. 

This actually happens to _several_ of the files in the bin directory,
including the pop3 binary. I thought all those symlinks looked a little
strange, but since everything else was working fine, I assumed that, for
whatever reason, that was just the way things were done. Note that 
bin/pop3d and bin/pop3d-ssl are ALSO symlinks to startup scripts, just
like bin/imapd, but POP3 works fine. For this reason it didn't occur
to me that the installation was bad. Seriously, despite all those
crazy symlinks, the rest of Courier exhibits no end-user problems
at all.

Glad you spotted this. I'm digging into the problem right now, but I
thought I'd share the news and post the link to the log file in case 
you or someone else wanted to see it also. 

Thanks so much.

m.



___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: IMAP (Update: strace output)

2002-01-01 Thread Sam Varshavchik

Michael Carmack writes: 

 You've hit it! Yes, I compiled and installed this myself, and bin/imapd 
 IS a symlink to the imapd startup script. I've posted the complete build
 log to: 
 
 http://karmak.org/2002/01/courier/i686-pc-linux-gnu.1.log 
 
 It's big (~1MB), but it's all there, from 'configure' to 'make install'.
 Commands I've issued are prefixed with @@ to find them easily, and
 the very beginning of the log shows the environment variables that are
 set. 
 
 If you do a search for bin/imapd, you'll notice that during the 
 installation the following two commands are run (this appears ~90% into 
 the log): 
 
 rm -f /pkg/courier/0.36.1/.i686-pc-linux-gnu/.karmak-standard.1/bin/imapd
 ln -s /pkg/courier/0.36.1/.i686-pc-linux-gnu/.karmak-standard.1/share/imapd 
/pkg/courier/0.36.1/.i686-pc-linux-gnu/.karmak-standard.1/bin/imapd 
 
 It would appear that the original bin/imapd gets deliberately removed
 during 'make install', and replaced by a symlink to the imapd startup
 script. 

This is because your install is completely broken because you manually 
specified the same bindir and sbindir directories. 

 Glad you spotted this. I'm digging into the problem right now, but I

The problem is that you specified non-default installation directories 
without fully understanding how they work. 

-- 
Sam 


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Re: IMAP (Update: strace output)

2002-01-01 Thread Michael Carmack

On Wed, Jan 02, 2002 at 12:43:59AM +, Michael Carmack wrote:
 On Tue, Jan 01, 2002 at 05:58:09PM -0500, Sam Varshavchik wrote:
  
  binary, but the system startup imapd script.  So, something is seriously 
  screwed up here.  Unfortunately, it is not possible to determine what that 
  something is.  
 
 You've hit it! Yes, I compiled and installed this myself, and bin/imapd 
 IS a symlink to the imapd startup script. I've posted the complete build
 log to:
 
 http://karmak.org/2002/01/courier/i686-pc-linux-gnu.1.log

Woo-hoo! IMAP is now working. The problem was that I don't typically use
'sbin' on my machine, instead consolidating all binaries into bin. I 
specify this at 'configure' time with --sbindir=/path/to/bin. In the case
of Courier, as you've probably guessed by this point, there is file named
'imapd' in BOTH bin and sbin: The binary in bin, and the script in sbin.
So, the installation did exactly what I told it to, first installing
the binary in 'bindir', then promptly overwriting it with the script
in 'sbindir'.

I changed the configure variable, and now things are working like a charm.
Many thanks for taking the time out to find the problem. As a token of 
thanks I'll be typing up a document describing the way I got Courier 
installed and running on my system.

Thanks again,
m.



___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



  1   2   >