[courier-users] How to disable quota for a domain?

2002-07-02 Thread Oriol Magrané


Hi!
I have courier installed with a default quota of 10 MBytes for new
domains and users, so every time I add a mailbox it gets limited by this
quota.
How can I disable now the quota for an entire domain or for a single
user?

Thank you!!

Oriol



---
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] How to configure maildir

2002-07-02 Thread Alfredo Martino

Hi to all, I'm a new courier users.

I've installed Courier-imapd in my freebsd server with sendmail.
I've tried to create new user with adduser but this user can't read email via pop3
because the maildir is not correct.

I wanto to know if courier work fine with sendmail or if i have to install qmail.
If courier work fine with sendmail how can I create new user ? I've to create first 
user
with adduser and then makemaildir ?

Can you help me with a little example for adding new user in my freebsd and configuring
it to read email via pop3.


Thanks in advace.
Alfredo Martino 
[EMAIL PROTECTED]


 perche' TIM e' grande 



---
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: How to configure maildir

2002-07-02 Thread Bill Michell

Alfredo Martino writes:

 Hi to all, I'm a new courier users. 
 
 I've installed Courier-imapd in my freebsd server with sendmail.
 I've tried to create new user with adduser but this user can't read email via pop3
 because the maildir is not correct. 
 
 I wanto to know if courier work fine with sendmail or if i have to install qmail.
 If courier work fine with sendmail how can I create new user ? I've to create first 
user
 with adduser and then makemaildir ? 
 
 Can you help me with a little example for adding new user in my freebsd and 
configuring
 it to read email via pop3. 
 
 
The command you need to find out about is maildirmake. 

This makes an empty maildir structure for the user. 

On at least some systems, it is perfectly feasible to add a suitable maildir 
to the dummy user so it will be automatically created for new users with 
adduser. I'm not sure about the details for freebsd though... 

-- 
Bill Michell
[EMAIL PROTECTED] (home) 


---
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] vchkpw authentication not working

2002-07-02 Thread robin_bowes

Hi,

Until recently, I had a working installation of
qmail/vpopmail/courier-imap/squirrelmail/apache 1.3.x on my Redhat 7.2
system. Then, I decided to take the plunge with apache-2.0.36.

I like to stick to using RPMs where ever possible - I am able to build from
source but I find RPMS easier. In order to install the httpd-2.0.36 RPM
(from the RedHat Rawhide) I needed to update some key packages which meant
I needed to install later builds of quite a few other packages, including
courier-imap. No problem, I thought, I'll grab the latest courier-imap
tarball and build a new RPM - easy!

Unfortunately, I've not got it working yet.

The RPM seems to build perfectly (I got the common vpopmail lib not found
error but fixed it easily).

I installed the RPM, modified the config file to use authvchkpw and fired
it up (/etc/rc.d/init.d/courier-imap/start)

The relevant processes are running. I can telnet to port 143 and can see
that the imapd is running. However, authentication is not working - i.e. I
can't login.

Looking in the file system (locate -u ; locate authvchkpw) I see that there
doesn't seem to be an authvchkpw module anywhere on my system. There is a
man page and a load of build files in the source tree but no compiled
program. Is this likely to be the problem?

One issue I have is that there is very little in the way of logs to check
to try and trace where the problem is. Is there some way I can launch imapd
in debug mode so I can do some troubleshooting?

I think my next step is to try going back to the previous version of
courier-imap, and rebuilding the rpm. If that doesn't work, I'm just about
stumped!

Any suggestions as to where the trouble might lie will be gratefully
received.

R.




**
The information contained in this e-mail is intended only for the 
person or entity to which it is addressed and may contain confidential 
and / or privileged material.  If you are not the intended recipient 
of this e-mail, the use of this information or any disclosure, 
copying or distribution is prohibited and may be unlawful.  

If you received this in error, please contact the sender 
and delete the material from any computer.  

BAA, the world's leading airport company - http://www.baa.com
**



---
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] courier-imap and virtual domains with vmailmgr qmail...

2002-07-02 Thread M. Jolic

Hi Gurus,

i've searched the list but nothing found similar.

I've got a problem to log the user WITH domain in the Logs.

The normal way shows the user only.

from imapd.c
[...]
fprintf(stderr, INFO: LOGIN, user=%s, ip=[%s]\n,
getenv(AUTHENTICATED), ip);
[...]

maillog:
[...]
Jul  1 22:10:37 HOST imapd-ssl: Connection, ip=[xxx.xxx.xxx.xxx]
Jul  1 22:10:37 HOST imapd-ssl: LOGIN, user=user1, ip=[xxx.xxx.xxx.xxx]
Jul  1 22:10:44 HOST imapd-ssl: LOGOUT, user=user1, ip=[xxx.xxx.xxx.xxx],
headers=76, body=4477
[...]
(btw: HOST is the name of the server)

So, how get we logged the virtual domain?

Like, for ex.:

user1 is a user from virtual domain example.com.

It could look like:

maillog:
[...]
Jul  1 22:10:37 HOST imapd-ssl: Connection, ip=[xxx.xxx.xxx.xxx]
Jul  1 22:10:37 HOST imapd-ssl: LOGIN, user=user1, domain=example.com,
ip=[xxx.xxx.xxx.xxx]
Jul  1 22:10:44 HOST imapd-ssl: LOGOUT, user=user1, domain=example.com,
ip=[xxx.xxx.xxx.xxx], headers=76, body=4477
[...]

thx.

m.



---
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] courier-imap and virtual domains withvmailmgr qmail...

2002-07-02 Thread M. Jolic

 
 make sure your users login with their full name + email address.
 

They do! 

Ex:login: [EMAIL PROTECTED] pass: pass

 e.g. [EMAIL PROTECTED]
 
 that way it gets logged with the vhost.

No.

When somebody uses (for ex.) outlook and the login is defined as:
[EMAIL PROTECTED] (+ his password) we get this LOG:

Jul  1 22:10:37 HOST imapd-ssl: LOGIN, user=user1, ip=[xxx.xxx.xxx.xxx]

NOT [EMAIL PROTECTED] ::: NO host-info!!!

Do you get something else?

 
 the problem with your vhost setup is, is that you can't have two of the same
 accounts for
 different domains,
 
 e.g. [EMAIL PROTECTED]
 [EMAIL PROTECTED]

This is handled trough vmailmgrd!

We have [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED], [EMAIL PROTECTED] and so on!

Every user has to login with his FULL login-name like mentioned above.

And everything works as expected!

But we don't see any domain in the logs!

 
 i use ldap is the authentication backend and altered the me file
 /courier/etc to change the domain name to something other then
 the default domain, as it gets appended by default to the username and
 authentication fails.
 
 also i have created a hostedddomains file with domains that i host.

Is 'hosteddomains' handled by courier? If yes, how?

***

Any comments?

thx.

m.

 
 Mail me if you want more info,
 
 With kind regards,
 
 Tjeerd van der Zee
 
 - Original Message -
 From: M. Jolic [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, July 02, 2002 1:16 PM
 Subject: [courier-users] courier-imap and virtual domains with vmailmgr 
 qmail...
 
 
 Hi Gurus,
 
 i've searched the list but nothing found similar.
 
 I've got a problem to log the user WITH domain in the Logs.
 
 The normal way shows the user only.
 
 from imapd.c
 [...]
 fprintf(stderr, INFO: LOGIN, user=%s, ip=[%s]\n,
 getenv(AUTHENTICATED), ip);
 [...]
 
 maillog:
 [...]
 Jul  1 22:10:37 HOST imapd-ssl: Connection, ip=[xxx.xxx.xxx.xxx]
 Jul  1 22:10:37 HOST imapd-ssl: LOGIN, user=user1, ip=[xxx.xxx.xxx.xxx]
 Jul  1 22:10:44 HOST imapd-ssl: LOGOUT, user=user1, ip=[xxx.xxx.xxx.xxx],
 headers=76, body=4477
 [...]
 (btw: HOST is the name of the server)
 
 So, how get we logged the virtual domain?
 
 Like, for ex.:
 
 user1 is a user from virtual domain example.com.
 
 It could look like:
 
 maillog:
 [...]
 Jul  1 22:10:37 HOST imapd-ssl: Connection, ip=[xxx.xxx.xxx.xxx]
 Jul  1 22:10:37 HOST imapd-ssl: LOGIN, user=user1, domain=example.com,
 ip=[xxx.xxx.xxx.xxx]
 Jul  1 22:10:44 HOST imapd-ssl: LOGOUT, user=user1, domain=example.com,
 ip=[xxx.xxx.xxx.xxx], headers=76, body=4477
 [...]
 
 thx.
 
 m.
 
 
 
 ---
 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
 



---
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] [FAQ] Q: Using virtual domains

2002-07-02 Thread Alexander Lazic

Hi,

i try to implement following:

all mails to '@MY_DOMAIN' schould go to the userdbaccount
'main@MY_DOMAIN'

As in the 'http://www.courier-mta.org/FAQ.html#vdomains' described:

cat /etc/mail/aliases/MY_DOMAIN
@MY_DOMAIN: main@MY_DOMAIN

cat /etc/mail/userdb/MY_DOMAIN
main@MY_DOMAIN  uid=3018|gid=300|home=/var/spool/mbx/MY_DOMAIN/main|shell=/bin/false

ls -lart /var/spool/mbx/MY_DOMAIN/main
total 5
drwxr-x---   3 courier  mbx54 Jun 30 20:46 ..
drwx--   5 courier  mbx92 Jun 30 20:46 Maildir
-rw---   1 courier  mbx11 Jun 30 21:52 .courier-default
drwxr-x---   3 courier  mbx90 Jun 30 21:52 .

cat /var/spool/mbx/MY_DOMAIN/main/.courier-default
./Maildir/

The 'MY_DOMAIN' are also in: hosteddomains and esmtpacceptmailfor

I have now make a:

~courier/sbin/makealiases
~courier/sbin/makeuserdb
~courier/sbin/makehosteddomains
~courier/sbin/makeacceptmailfor

Well my problem now is i get the following error in the Maillog:

from=[EMAIL PROTECTED],module=esmtp,[EMAIL PROTECTED],addr=main@[EMAIL PROTECTED]
Jul  2 14:45:39 nautilus courieresmtp:
id=08FD.3D21A066.306F,from=[EMAIL PROTECTED],addr=main@[EMAIL PROTECTED]:
No such domain.
Jul  2 14:45:39 nautilus courieresmtp:
id=08FD.3D21A066.306F,from=[EMAIL PROTECTED],addr=main@[EMAIL PROTECTED],status:
failure

What i understand, but what does i make wrong?

Please can anybody help me ;-)

al ;-)


---
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: courier-imap and virtual domains with vmailmgr qmail...

2002-07-02 Thread Sam Varshavchik

M. Jolic writes: 


 When somebody uses (for ex.) outlook and the login is defined as:
 [EMAIL PROTECTED] (+ his password) we get this LOG: 
 
 Jul  1 22:10:37 HOST imapd-ssl: LOGIN, user=user1, ip=[xxx.xxx.xxx.xxx] 
 
 NOT [EMAIL PROTECTED] ::: NO host-info!!!

File a bug report with microsoft.  The IMAP mail client completely controls 
the userid it sends to the server. 


-- 
Sam 



---
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: Q: Using virtual domains

2002-07-02 Thread Sam Varshavchik

Alexander Lazic writes: 

 As in the 'http://www.courier-mta.org/FAQ.html#vdomains' described: 
 
 cat /etc/mail/aliases/MY_DOMAIN
 @MY_DOMAIN: main@MY_DOMAIN

That's not what the FAQ describes.  Read the FAQ again. 

-- 
Sam 



---
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: courier-imap and virtual domains withvmailmgr qmail...

2002-07-02 Thread M. Jolic

 When somebody uses (for ex.) outlook and the login is defined as:
 [EMAIL PROTECTED] (+ his password) we get this LOG:
 
 Jul  1 22:10:37 HOST imapd-ssl: LOGIN, user=user1, ip=[xxx.xxx.xxx.xxx]
 
 NOT [EMAIL PROTECTED] ::: NO host-info!!!
 
 File a bug report with microsoft.  The IMAP mail client completely controls
 the userid it sends to the server.

But there's only one problem:

Our Users have to login with [EMAIL PROTECTED] with their password and this
has to be transmitted, otherwise our server wouldn't allow to log in.

So, [EMAIL PROTECTED] is transmitted and via the authvmailmgr authenticated
as mentioned on www.inter7.com (-free software-courier-imap).

Maybe this could be a solution:

In imapd.c:

SetENV(DAMNEDVIRTUALUSER)=user;

and further on where the code will log through syslog:

fprintf(stderr, INFO: LOGIN, user=%s, ip=[%s]\n,
getenv(DAMNEDVIRTUALUSER), ip);

Is this possible?

m.



---
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] Writting messages with IMAP

2002-07-02 Thread Alfonso Perez

Hi all

It may not be the right place for asking this questions but I know 
you know much about that because you implement IMAP as well as a Web 
Mail service.

We are writing a WebMail service using Java/JSP technology and 
connecting to IMAP Server via JavaMail API. We are using Courier-IMAP 
with userdb. We got a problem writing messages during edition time. The 
problem is:

We write a new mail message and then append it to a specified 
folder, then we read the message and modify it to add an attachment (or 
any other modification). In this moment Java returns an exception like 
IMAP message is read only. What are we doing wrong?

(*) Is there a way to specify the message is in edition mode?
  The JavaMail MimeMessage object has a flag draft, we set it but 
the behavior persists.

(*) Do we need to edit messages in a special folder draft?

(*) May the Courier-IMAP be missconfigured ?

(*) Do you know the way Courier Web Mail works in this aspect?

(*) Do I need to handle as session object until message is finished and 
then add to the folder?


As always, thanks a lot for your responses
alfonso




---
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: courier-imap and virtual domains with vmailmgr qmail...

2002-07-02 Thread Roland Schneider

--M. Jolic wrote on 02.07.2002 15:44 +0200:

 So, [EMAIL PROTECTED] is transmitted and via the authvmailmgr authenticated
 as mentioned on www.inter7.com (-free software-courier-imap).
 
 Maybe this could be a solution:
 
 In imapd.c:
 
 SetENV(DAMNEDVIRTUALUSER)=user;
 
 and further on where the code will log through syslog:
 
 fprintf(stderr, INFO: LOGIN, user=%s, ip=[%s]\n,
 getenv(DAMNEDVIRTUALUSER), ip);
 
 Is this possible?

courier logs whatever the auth-module puts into $AUTHENTICATED:

fprintf(stderr, INFO: LOGOUT, user=%s, ip=[%s],
 headers=%lu, body=%lu\n,
getenv(AUTHENTICATED), getenv(TCPREMOTEIP),


Use one of the auth-module which comes with courier, or fix
vmailmgr (which also has a couple of other problems reported).

Roland



---
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: courier-imap and virtual domains with vmailmgr qmail...

2002-07-02 Thread Sam Varshavchik

M. Jolic writes: 


 Our Users have to login with [EMAIL PROTECTED] with their password and this
 has to be transmitted, otherwise our server wouldn't allow to log in. 
 
 So, [EMAIL PROTECTED] is transmitted and via the authvmailmgr authenticated
 as mentioned on www.inter7.com (-free software-courier-imap).

Sounds like a vmailmgr issue.  Courier-IMAP has no issue authenticating 
virtual login IDs with fully-qualified domain names. 

-- 
Sam 



---
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: Writting messages with IMAP

2002-07-02 Thread Sam Varshavchik

Alfonso Perez writes: 


We write a new mail message and then append it to a specified folder, 
 then we read the message and modify it to add an attachment (or any other 
 modification). In this moment Java returns an exception like IMAP message 
 is read only. What are we doing wrong?

The IMAP protocol has no facility for modifying existing messages.  The only 
available method is to add an entire message to a folder. 

 (*) Do you know the way Courier Web Mail works in this aspect?

By reading the mail account directly.  IMAP is not involved. 

IMAP mail clients typically edit messages by downloading the draft message 
from the designated draft folder, modifying it, deleting the original 
message, adding the new message to the folder, then expunging the draft 
folder. 

-- 
Sam 



---
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: Q: Using virtual domains

2002-07-02 Thread Alexander Lazic

On Die 02.07.2002 09:20, Sam Varshavchik wrote:
Alexander Lazic writes: 

As in the 'http://www.courier-mta.org/FAQ.html#vdomains' described: 

cat /etc/mail/aliases/MY_DOMAIN
@MY_DOMAIN: main@MY_DOMAIN

That's not what the FAQ describes.  Read the FAQ again. 

Hm is it impossible to make a alias to a userdb-user?

al ;-)


---
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: courier-imap and virtual domains withvmailmgr qmail...

2002-07-02 Thread M. Jolic

 courier logs whatever the auth-module puts into $AUTHENTICATED:
 
 fprintf(stderr, INFO: LOGOUT, user=%s, ip=[%s],
  headers=%lu, body=%lu\n,
 getenv(AUTHENTICATED), getenv(TCPREMOTEIP),
 
 
 Use one of the auth-module which comes with courier, or fix
 vmailmgr (which also has a couple of other problems reported).
 

Do you know about other problems? What kind of?

The problem is:

We're using qmail with vmailmgrd (for virtual hosts) with pop  smtp. So we
decided to use courier-imap as an additional module because it's faster than
pop and we like the possbility to keep messages in folders or to mark them
as seen/deleted...

But we don't want to have a conf for vmailmgr (qmail) and another for imap.

We're just talking about a solution with qmail  SQL where every user (vdoms
too) is listed in the SQL-table. There are solution for qmail to handle this
(auth via SQL).

The Benefit is that users who want to connect via imap could be
authenticated through the auth-SQL too.

So we have only ONE database for the whole mail-system.

Is anybody using this? (or similiar?)

milli



---
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: courier-imap and virtual domains with vmailmgr qmail...

2002-07-02 Thread Toni Mattila

Hi,

  Our Users have to login with [EMAIL PROTECTED] with their password and this
  has to be transmitted, otherwise our server wouldn't allow to log in.
 
  So, [EMAIL PROTECTED] is transmitted and via the authvmailmgr authenticated
  as mentioned on www.inter7.com (-free software-courier-imap).
 Sounds like a vmailmgr issue.  Courier-IMAP has no issue authenticating
 virtual login IDs with fully-qualified domain names.

So far I haven't met any issues with vmailmgr-auth module. It's just that
in logfiles the domain is stripped from the username. So the auth works
100%, only thing is that the info doesn't get in full to the logfile.

Regards,
Toni Mattila




---
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: Q: Using virtual domains

2002-07-02 Thread Sam Varshavchik

Alexander Lazic writes: 

 On Die 02.07.2002 09:20, Sam Varshavchik wrote:
 Alexander Lazic writes:  
 
 As in the 'http://www.courier-mta.org/FAQ.html#vdomains' described:  
 
 cat /etc/mail/aliases/MY_DOMAIN
 @MY_DOMAIN: main@MY_DOMAIN
 
 That's not what the FAQ describes.  Read the FAQ again.
 
 Hm is it impossible to make a alias to a userdb-user?

It's possible, but not to user@domain. 


-- 
Sam 



---
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] Courier0.39 Outlook XP

2002-07-02 Thread Brian Purcell

Got a strange one.  I have Courier 0.39 setup and seems to be running 
just fine except OutlookXP (2002) does not want to send or recieve (POP) 
from the mail server.  Anything else works fine: Outlook Express, 
Pegasus Mail, Mozilla Mail (Windows  Linux), Evolution, Kmail all work 
great but OutlookXP times out (on the same computer as the other windows 
clients).  The logs show the client logging in but not logging out and 
then a couple of minutes later a DISCONNECTED error shows up in the 
errors log.  I can telnet in without a problem also.  Yes Outlook has 
issues but you cannot always control the clients people use.   Any 
suggestions are appreciated.  Had the same issue with Courier 0.38.

Mandrake 8.2
authpam
POP  IMAP
Internal network so firewall not an issue.

Thanks in advance

Brian



---
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] Courier0.39 Outlook XP

2002-07-02 Thread Dave Edwards

On Tue, 2002-07-02 at 11:25, Brian Purcell wrote:
 Got a strange one.  I have Courier 0.39 setup and seems to be running 
 just fine except OutlookXP (2002) does not want to send or recieve (POP) 
 from the mail server.  Anything else works fine: Outlook Express, 
 Pegasus Mail, Mozilla Mail (Windows  Linux), Evolution, Kmail all work 
 great but OutlookXP times out (on the same computer as the other windows 
 clients).  The logs show the client logging in but not logging out and 
 then a couple of minutes later a DISCONNECTED error shows up in the 
 errors log.  I can telnet in without a problem also.  Yes Outlook has 
 issues but you cannot always control the clients people use.   Any 
 suggestions are appreciated.  Had the same issue with Courier 0.38.
 

Hi Brian. I'm dealing with this Lookout/Courier problem on an ongoing
basis. You /might/ find that this problem is particularly vexacious if a
user has a cur/ directory with c.20 or more messages in it.  Encourage
such users to delete their messages from the server if possible, or at
least keep the cur/ fairly uncluttered.  These things seem to help.

Dave.
-- 
Have an opinion? 
CanWest Global Communications Corp.:
John Maguire, VP, Finance and CFO [EMAIL PROTECTED]  
Robyn Hooper, General Inquiries [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



Re: [courier-users] Re: courier-imap and virtual domains with vmailmgr qmail...

2002-07-02 Thread Roland Schneider

--M. Jolic wrote on 02.07.2002 17:05 +0200:

 courier logs whatever the auth-module puts into $AUTHENTICATED:
 
 fprintf(stderr, INFO: LOGOUT, user=%s, ip=[%s],
  headers=%lu, body=%lu\n,
 getenv(AUTHENTICATED), getenv(TCPREMOTEIP),
 
 
 Use one of the auth-module which comes with courier, or fix
 vmailmgr (which also has a couple of other problems reported).
 
 
 Do you know about other problems? What kind of?

Authentification only works a few times and such things...
Check out the archives and consult the vpopmail-mailinglist.

$ grep -ihE ^Subject:.*(vmail|vpopmail|vchkp) * | sort | uniq

Subject: RE: [courier-users] Courier-IMAP+vpopmail
Subject: RE: [courier-users] Re: Vpopmail  READ THIS
Subject: Re: [courier-users] Qmail, Courier-imap, and vmailmgr
Subject: [courier-users] Courier IMAP + Qmail + Vpopmail + PHP
Subject: [courier-users] Courier imap-1.4.5 and vpopmail-5.3.6
Subject: [courier-users] Courier-IMAP 1.3.8 + Vpopmail 5.2 problems with
default domain
Subject: [courier-users] Courier-IMAP+vpopmail
Subject: [courier-users] Courier-IMAP+vpopmail Msg2
Subject: [courier-users] Re: Vpopmail  READ THIS
Subject: [courier-users] Re: Vpopmail READ THIS
Subject: [courier-users] Re: courier-imap needs restart to auth vpopmail users
Subject: [courier-users] User authenticated but unable to read new mail
(vpopmail 5.2 +courier 1.4.4)
Subject: [courier-users] courier-imap needs restart to auth vpopmail users
Subject: [courier-users] vpopmail user confused how Courier-IMAP controls qmail
delivery

I usually scroll quickly whenever v* gets mentioned...

 We're just talking about a solution with qmail  SQL where every user (vdoms
 too) is listed in the SQL-table. There are solution for qmail to handle this
 (auth via SQL).
 
 The Benefit is that users who want to connect via imap could be
 authenticated through the auth-SQL too.

The table can be queried natively with authmysql, check out
the MYSQL_SLECT_CLAUSE for use with splitted login/domain.

Roland



---
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: courier-imap and virtual domains with vmailmgr qmail...

2002-07-02 Thread Toni Mattila

Hi,

  Use one of the auth-module which comes with courier, or fix
  vmailmgr (which also has a couple of other problems reported).
 
  Do you know about other problems? What kind of?

 Authentification only works a few times and such things...
 Check out the archives and consult the vpopmail-mailinglist.

Please. Don't confuse two diffrent products. Vpopmail by inter7 and
vmailmgr by Bruce Guenter.

In this case we were just wondering why the authentication module doesn't
pass on the full username, or why isn't the full username logged.

Besides thes the logging-thing, I'm 100% satisfied with vmailmgr. It's
less quirky than vpopmail(i'm running also vpopmail in diffrent setup).

With vpopmail 5.2 and authvchkpw I haven't noticed any problems. I'm
running authpam and authvchkpw in chain(no authdaemon involved). There are
about 600+ domains with about 5-30 users in each.

Regars,
Toni Mattila




---
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: Connections per IP

2002-07-02 Thread Ben Rosengart

On Wed, Jun 19, 2002 at 09:07:14AM -0400, Theodore Knab wrote:
 Why would you want to limit the max connections per IP on a per IP basis ?

You may want to set one limit for ordinary clients but a higher
limit for an IP address which you know to be a NAT gateway with a
large number of clients behind it.

-- 
Ben Rosengart (212) 741-4400 x215

Microsoft has argued that open source is bad for business, but you
have to ask, Whose business? Theirs, or yours? --Tim O'Reilly


---
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] Courier on Solaris problems/fixes

2002-07-02 Thread Jesse DeFer

Using Solaris 9, gcc 2.95.3 distributed on the companion CD, and Courier
0.39.1.

To get pcp/intl/dcigettext.c to compile, I had to add a #define
HAVE_STRCHR 1 to pcp/config.h otherwise it errored with:

dcigettext.c: In function `dcigettext__':
dcigettext.c:527: warning: implicit declaration of function `index'
dcigettext.c:527: warning: passing arg 1 of `stpcpy' makes pointer from
integer without a cast
dcigettext.c:573: warning: comparison between pointer and integer
dcigettext.c: In function `plural_lookup':
dcigettext.c:991: called object is not a function


Also, make check failed during the IMAP test, I compared the output from
my system to testsuite.txt and found a number of differences where mine
output an extra line seen below.  There were a number of that same line in
different tests, I've only included one.  Is that going to cause me a
problem?

--- testsuite.txt Mon Jul 1 21:59:22 2002
+++ testsuite.txt.new Mon Jul 1 22:00:34 2002
@@ -514,6 +514,7 @@
 000513 * PREAUTH Ready.
 000514 * LIST (\HasNoChildren) . INBOX.Trash
 000514 * LIST (\HasNoChildren) . shared.test.a
+000514 * LIST (\HasNoChildren) . shared.test.b
 000514 * LIST (\Marked \HasChildren) . INBOX
 000514 * LIST (\Noselect \HasChildren) . shared
 000514 * LIST (\Noselect \HasChildren) . shared.test




---
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] Problem with maildir data on smb share - fetching mail not successful

2002-07-02 Thread Stefan Wagler

Hello,

recently, I've put all some of my maildir directories on a Windows
2000 Server with a share, mounted with smbmount on my linux machine.

Fetching the mail was no problem, as long as the maildirs are
physically stored on linux (ext3). But after moving the data to my
w2k server, access via POP3 or IMAP is no longer successful.
The connection is normally established and then just normally
disconnect without doing anything (fetching mail). There are no
logfile entries about this event. Starting and stopping the
daemon had no positive effect solving this problem.
All permissions on the mounted filesystem are the same as
before the move to w2k.

Any suggestions on how to solve the problem?
Could this be a problem with wrong file locking by samba (smbmount)?

Thank you very much in advance,
S. Wagler



---
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: Q: Using virtual domains

2002-07-02 Thread Alexander Lazic

Hi,

On Die 02.07.2002 11:16, Sam Varshavchik wrote:

It's possible, but not to user@domain. 

Thanx this was the mistake.

al ;-)


---
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] Error Message On Courier Start

2002-07-02 Thread Kevin Murphy

Hello,

Does anyone know what might be causing the error below?  Courier still works fine 
(seemingly) without a problem, and I've been using it for quite a while, but I finally 
decided I should figure out what's 
causing this.  Any thoughts?

[root@rockhopper courier]# service courier restart
Stopping Courier mail server: imapd imapd-ssl esmtpd-ssl esmtpd-msa esmtpd pop3d 
pop3d-ssl courierd courierldapaliasd pcpd authdaemond courierfilter
Starting Courier mail server:Cannot store record for 127.0.0.1 - duplicate or out of 
disk space.
Cannot store record for 127.0.0.1 - duplicate or out of disk space.
 courierfilter authdaemond courierldapaliasd pcpd courierd esmtpd pop3d pop3d-ssl 
imapd imapd-ssl

Thanks!

--Kevin Murphy





---
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] Invalid mailbox error

2002-07-02 Thread Peter O'Shea

I keep getting an error from the IMAP server saying Invalid mailbox when
trying to write to certain folders. I have tried a few different ways of
accessing the mail and I still get the problem.

SquirrelMail cannot automatically create the Sent folder when it starts up
and so I get an error message displayed on the left frame. Then if I try and
list the folder or add a new one then I get the same message in the main
viewing frame :

ERROR : Could not complete request.
Query:CREATE Maildir/.Temp
Reason Given: Invalid mailbox name

I have tried many different configuration options in SquirrelMail and then I
gave up and tried Mozilla's mail program instead. Then sing Mozilla's mail
program when I try and send a message it should save a copy to the Sent
folder (which is currently Maildir/.Sent) but it also comes up with an
error:

The current command did not succeed. The mail server responded: Invalid
mailbox name.

Have I set up my mail folders wrong or is there something I haven't
configured correctly. Any help would be greatly appreciated as I have been
tearing my hair out for days over this.

TIA
Pete



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



Re: [courier-users] Error Message On Courier Start

2002-07-02 Thread Kevin Murphy

On Tue, 2 Jul 2002 17:00:35 -0400 (EDT), Sam Varshavchik wrote:

On Tue, 2 Jul 2002, Kevin Murphy wrote:

 Hello,
 
 Does anyone know what might be causing the error below?  Courier still works fine 
(seemingly) without a problem, and I've been using it for quite a while, but I 
finally decided I should figure out 
what's 
 causing this.  Any thoughts?
 
 [root@rockhopper courier]# service courier restart
 Stopping Courier mail server: imapd imapd-ssl esmtpd-ssl esmtpd-msa esmtpd pop3d 
pop3d-ssl courierd courierldapaliasd pcpd authdaemond courierfilter
 Starting Courier mail server:Cannot store record for 127.0.0.1 - duplicate or out 
of disk space.
 Cannot store record for 127.0.0.1 - duplicate or out of disk space.

You have a duplicate record for 127.0.0.1 in smtpaccess.

Bingo.  I had a default and default.save (must have made a backup at some point) in 
/etc/courier/smtpaccess, so I guess it was picking the .save up as a dupe.

Thanks!

--Kevin Murphy






---
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] Bug or bad configuration?

2002-07-02 Thread Richard Gewissler

I have installed qmail 1.03 with vpopmail 5.2 and finaly courier-imap 1.5.1.
I have compiled imapd without any options after ./configure. Because I am
using vpopmail, I set authmodule only vchkpw. I ran it. It is working, but
after cca 5 minutes I cannot login with right username and right password. I
tested it for 100 times. Restart of authdaemond will help, but only next 5
minutes... (one time it's 3 minutes, sometimes 15 minutes - maybe it depend
on work with authdaemond)

Is this a bug or I have something wrong?

PS: I tested it without MySQL (I had shut down it) and it works fine until I
started MySQL again...

Richard Gewissler, Internet Publishing, www.publish.cz



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



[courier-users] Re: Bug or bad configuration?

2002-07-02 Thread Sam Varshavchik

Richard Gewissler writes: 

 I have installed qmail 1.03 with vpopmail 5.2 and finaly courier-imap 1.5.1.
 I have compiled imapd without any options after ./configure. Because I am
 using vpopmail, I set authmodule only vchkpw. I ran it. It is working, but
 after cca 5 minutes I cannot login with right username and right password. I
 tested it for 100 times. Restart of authdaemond will help, but only next 5
 minutes... (one time it's 3 minutes, sometimes 15 minutes - maybe it depend
 on work with authdaemond) 
 
 Is this a bug or I have something wrong?

It's a known vpopmail bug. 

-- 
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: DOS attack/probe?

2002-07-02 Thread Jason Haar

On Sun, Jun 30, 2002 at 12:24:37AM -0400, Sam Varshavchik wrote:
 courieresmtpd: error,relay=:::66.169.236.188,msg=554 Syntax error -
 your mail software violates RFC 821.,cmd: MAIL FROM: [EMAIL PROTECTED]
 
 You'll see crap like that in the mail logs from an attempted spam run 
 through an open HTTP proxy.  This is where you've got an open HTTP proxy, 
 and you send it a GET http://destination:25, followed by a one-sided SMTP 
 convestion: HELO/MAIL FROM/RCPT TO/DATA.  The proxy establishes a 
 connection, and then blindly transmits the SMTP command sequence (obviously 
 without waiting for each command to complete and return its status). 

Better spell it out Sam. You don't have an open-relay SMTP server, but you
*probably* have an  open PROXY server. That is *majorly* worse than an
open-relay as it means people can - say - gateway access to your internal
servers via it (that's ANY internal server - telnet, smtp, web, etc)

The content of that message looks like something by an ORBS-like creature -
so it's found an open proxy on your network, and is trying to relay a mail
message out via it.

Fix that proxy server :-)

-- 
Cheers

Jason Haar
Information Security Manager, Trimble Navigation Ltd.
Phone: +64 3 9635 377 Fax: +64 3 9635 417
PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1


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



[courier-users] Courier MLM problem

2002-07-02 Thread Justin Backman

I keep getting the following errors when sending e-mail to users who are not
local to the server:

Jul  2 21:28:48 server01 courieresmtp:
id=00013884.3D22534D.632F,from=[EMAIL PROTECTED]
,addr=[EMAIL PROTECTED]: 501
[EMAIL PROTECTED]... Sender
domain must exist
Jul  2 21:28:48 server01 courieresmtp:
id=00013884.3D22534D.632F,from=[EMAIL PROTECTED]
,addr=[EMAIL PROTECTED],status: failure

I have 3 files in the /etc/courier/aliasdir directory:
.courier-project which contains the following line:
| /usr/lib/courier/bin/couriermlm msg /home/project
.courier-project-owner which contains the following line:
[EMAIL PROTECTED]
and
.courier-project-default which contains the following line:
| /usr/lib/courier/bin/couriermlm ctlmsg /home/project

what am I doing wrong?



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



[courier-users] Re: How to configure maildir

2002-07-02 Thread Leonard Chan

Alfredo Martino writes: 

 Hi to all, I'm a new courier users. 
 
 I've installed Courier-imapd in my freebsd server with sendmail.
 I've tried to create new user with adduser but this user can't read email via pop3
 because the maildir is not correct. 
 
 I wanto to know if courier work fine with sendmail or if i have to install qmail.

I don't think sendmail can work directly with courier-imapd. 

 If courier work fine with sendmail how can I create new user ? I've to create first 
user
 with adduser and then makemaildir ?

You should create a Maildir in your skeletion directory. Once done, adduser 
should be able to copy the structure to your newly created user's home dir. 
man adduser will give you more info on skeleton dir. 

 
 Can you help me with a little example for adding new user in my freebsd and 
configuring
 it to read email via pop3.

I just disabled sendmail (sendmail_enable=NONE in /etc/rc.conf) and 
install ports/mail/courier 

  
 
 Thanks in advace.
 Alfredo Martino 
 [EMAIL PROTECTED] 
 
 
  perche' TIM e' grande  
 
  
 
 ---
 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
 


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



[courier-users] Re: Courier MLM problem

2002-07-02 Thread Sam Varshavchik

Justin Backman writes: 

 I keep getting the following errors when sending e-mail to users who are not
 local to the server: 
 
 Jul  2 21:28:48 server01 courieresmtp:
 id=00013884.3D22534D.632F,from=[EMAIL PROTECTED]
 ,addr=[EMAIL PROTECTED]: 501
 [EMAIL PROTECTED]... Sender
 domain must exist

@server01.telcordia.com is not a valid Internet mail domain.  There are no 
MX or A records for this domain in DNS. 

 Jul  2 21:28:48 server01 courieresmtp:
 id=00013884.3D22534D.632F,from=[EMAIL PROTECTED]
 ,addr=[EMAIL PROTECTED],status: failure 
 
 I have 3 files in the /etc/courier/aliasdir directory:
 .courier-project which contains the following line:
 | /usr/lib/courier/bin/couriermlm msg /home/project
 .courier-project-owner which contains the following line:
 [EMAIL PROTECTED]
 and
 .courier-project-default which contains the following line:
 | /usr/lib/courier/bin/couriermlm ctlmsg /home/project 
 
 what am I doing wrong?

Fix your DNS. 

-- 
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: Courier MLM problem

2002-07-02 Thread Juha Saarinen

On Tue, 2 Jul 2002, Sam Varshavchik wrote:

 Justin Backman writes: 
 
  I keep getting the following errors when sending e-mail to users who are not
  local to the server: 
  
  Jul  2 21:28:48 server01 courieresmtp:
  id=00013884.3D22534D.632F,from=[EMAIL PROTECTED]
  ,addr=[EMAIL PROTECTED]: 501
  [EMAIL PROTECTED]... Sender
  domain must exist   ^   

Typo in the address?
 
 @server01.telcordia.com is not a valid Internet mail domain.  There are no 
 MX or A records for this domain in DNS. 
 
  Jul  2 21:28:48 server01 courieresmtp:
  id=00013884.3D22534D.632F,from=[EMAIL PROTECTED]
  ,addr=[EMAIL PROTECTED],status: failure 
  
  I have 3 files in the /etc/courier/aliasdir directory:
  .courier-project which contains the following line:
  | /usr/lib/courier/bin/couriermlm msg /home/project
  .courier-project-owner which contains the following line:
  [EMAIL PROTECTED]
  and
  .courier-project-default which contains the following line:
  | /usr/lib/courier/bin/couriermlm ctlmsg /home/project 
  
  what am I doing wrong?
 
 Fix your DNS. 
 
 

-- 
Regards,

Juha
C program run. C program crash. C programmer quit.



---
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: How to configure maildir

2002-07-02 Thread Binand Raj S.

On Wednesday 03 July 2002 07:25 am, Leonard Chan wrote:
  I wanto to know if courier work fine with sendmail or if i have to
  install qmail.

 I don't think sendmail can work directly with courier-imapd.

If procmail is the local delivery agent for sendmail, then this
/etc/procmailrc delivers mails to ~/Maildir for all users:

root@mail[~] cat /etc/procmailrc
DEFAULT=$HOME/Maildir/

One can fiddle around with procmail scripts for virtual domains also,
I suppose. sendmail needn't be the issue here. The trailing slash is
important, and when setup correctly, procmail will even create ~/Maildir
for you.

Binand



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



[courier-users] Courier-1.5.1 imapd.rc quits authenticating

2002-07-02 Thread Richard Geoffrion

OK I've tracked it down and it has something to do with
/usr/lib/courier-imap/libexec/imapd.rc

For some reason, processes started by the imapd.rc file quits responding to
login requests for two particular email accounts.  Those email accounts are
accessed on any one of THREE separate computers.  If access to those
email accouns is lost, I can stop then start imapd.rc. Everything will work
for
a while.  Then after some unknown time period (it seems to correlate to an
increased number of machines that have accessed the account) the imap server
quits servicing those accounts.  Other accounts are still accessible, it's
just
those two.  (hmm..I may try to access other accounts from various
workstations and see what happens.  -more on that later I suppose) (ok it's
later now.  It seems that it's the problem is worse the closer together the
timing of mailbox queries are made.  It's acting like it's tying up the
login processes for those particular users)

The users can STILL use sqwebmail to access their mailboxes.  That is one
way we verified the that the login information was correct.

As far as troubleshooting steps go, I wound up deleting and reinstalling
from scratch.  For verification and for those of you interested, here are
the
commands I used.

cd /usr/src/courier-imap-1.5.1;make uninstall; rm -r /usr/lib/courier-imap;
rm -r *; chmod -R 755 ~vpopmail/lib; su nonrootusr;
cd /usr/src; tar -zxvf /usr/download/courier-imap-1.5.1.tar.gz;
cd courier-imap-1.5.1.tar.gz; ./configure; make;make check;
exit #back to rootuser ; make install; make install-configure

(of course I didn't just execute that all on one line!  It was a step by
step procedure! :)  I guess I should have used install-strip instead. DANG
IT! )

Googling with the Outlook Express v6 error message (listed below) turns up
several links related to WU-IMAP, but sheds no light on what is happening
here.
Further spelunking reveals that no helpful login failure/troubleshooting
messages
seem to be recorded in /var/log/maillog.

When looking at the log file consider that a reset  of imapd.rc at ~16:52
shows
that the users can now check their mail/authenticate properly.

So.  any thoughts?  At this point I don't even know where I should be
looking.

-Richard

* Supporting documentation below *

[maillog]
Jul  2 16:49:03 RHL imapd: Connection, ip=[:::192.168.1.100]
Jul  2 16:49:08 RHL imapd: LOGIN FAILED, ip=[:::192.168.1.100]
Jul  2 16:49:18 RHL imapd: LOGIN FAILED, ip=[:::192.168.1.100]
Jul  2 16:49:20 RHL imapd: DISCONNECTED, ip=[:::192.168.1.100],
headers=0, body=0
Jul  2 16:49:20 RHL imapd: Connection, ip=[:::192.168.1.100]
Jul  2 16:49:25 RHL imapd: LOGIN FAILED, ip=[:::192.168.1.100]
Jul  2 16:49:43 RHL imapd: DISCONNECTED, ip=[:::192.168.1.100],
headers=0, body=0
Jul  2 16:54:57 RHL imapd: Connection, ip=[:::192.168.1.100]
Jul  2 16:54:57 RHL imapd: LOGIN, [EMAIL PROTECTED],
ip=[:::192.168.1.100]
Jul  2 16:54:59 RHL imapd: Connection, ip=[:::192.168.1.100]
Jul  2 16:54:59 RHL imapd: LOGIN, [EMAIL PROTECTED],
ip=[:::192.168.1.100]
Jul  2 16:55:11 RHL imapd: LOGOUT, [EMAIL PROTECTED],
ip=[:::192.168.1.100], headers=0, body=0
Jul  2 16:55:11 RHL imapd: Connection, ip=[:::192.168.1.100]
Jul  2 16:55:11 RHL imapd: LOGIN, [EMAIL PROTECTED],
ip=[:::192.168.1.100]
Jul  2 16:55:25 RHL imapd: LOGOUT, [EMAIL PROTECTED],
ip=[:::192.168.1.100], headers=0, body=0
Jul  2 16:55:25 RHL imapd: Connection, ip=[:::192.168.1.100]
Jul  2 16:55:25 RHL imapd: LOGIN, [EMAIL PROTECTED],
ip=[:::192.168.1.100]
[/maillog]

[packages running on this system]
Net_SSLeay.pm-1.17/
autorespond-2.0.2/
courier-imap-1.5.1/
ezmlm-0.53/
ezmlm-idx-0.40/
httpd-2.0.39/
linux-2.4.18/ **With the grsecurity patch version 1.9.4 (grsecurity.net)
qmail-1.03/
qmailadmin-1.0.2/
samba-2.2.5/
sqwebmail-3.3.6/
ucspi-tcp-0.88/
vpopmail-5.2.1/
[/packages]

[the Outlook Express error message]
Login failed.

Configuration:
   Account: (NEW) [EMAIL PROTECTED]
   Server: www.rain4us.net
   User name: [EMAIL PROTECTED]
   Protocol: IMAP
   Port: 143
   Secure(SSL): 0
   Code: 800cccd1
[/Outlook Express]

[snip from rc.local]
echo starting qmail
/etc/rc.d/rc.qmail start# Start qmail

#start sqwebmail
echo Starting sqwebmail
/usr/local/share/sqwebmail/libexec/authlib/authdaemond start

echo starting Courier-IMAP/POP
/usr/lib/courier-imap/libexec/authlib/authdaemond start
/usr/lib/courier-imap/libexec/imapd.rc start
/usr/lib/courier-imap/libexec/pop3d.rc start
[/rc.local]


[snip of 'ps wx']
  191 ?S  0:00
/usr/local/share/sqwebmail/libexec/authlib/authdaemond.plain start
  192 ?S  0:00
/usr/local/share/sqwebmail/libexec/authlib/authdaemond.plain start
  193 ?S  0:00
/usr/local/share/sqwebmail/libexec/authlib/authdaemond.plain start
  194 ?S  0:00
/usr/local/share/sqwebmail/libexec/authlib/authdaemond.plain start
  196 ?S  0:00

[courier-users] Re: Courier-1.5.1 imapd.rc quits authenticating

2002-07-02 Thread Sam Varshavchik

Richard Geoffrion writes: 

 vpopmail-5.2.1/
 [/packages]

Recent versions of vpopmail have known bugs when used with Courier-IMAP's 
default configuration. 

Configure and use the authmysql module instead of authvchkpw. 


-- 
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] Postfix, Courier-IMAP and Maildrop

2002-07-02 Thread Brian



My mailbox_command line reads: mailbox_command = 
/usr/bin/maildrop -a "$EXTENSION"

And the mailbox_transport lines are commented 
out.

And to answer the first question, second; No, I 
want Postfix to deliver mail using Maildrop, instead of procmail, or however I 
need it to do it so I end up with my mail in the correct Maildirs.

And I've already read the how-to's at the postfix 
site.

Any other ideas?

Thanks again!

Brian