[courier-users] Debugging SMTP timeout problems

2003-06-02 Thread Julian Mehnle
Hi all,

I have been running Courier 0.39.1 on Debian Linux as my mail server
(SMTP(S), POP3(S), IMAP(S)) for about a year now without any noteworthy
problems.  Today, the SMTP server started to act up: it accepts TCP
connections virtually immediately, but then reacts only very, very slowly.
Thus, most of the time, the connection times out on the client/peer side.
Other services (POP3, HTTP, ...) work as perfectly as ever.

Since there are no error messages in the logs, and the server's load is
negligible (below 0.5 at all times), I'm suspecting a hardware error (e.g.
harddisk), even though there are no hardware error messages in the logs as
well so far.

Can anyone give me some hints on how to debug the SMTP server's miserable
performance?

Thanks in advance,
Julian.



---
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: Debugging SMTP timeout problems

2003-06-02 Thread Julian Mehnle
Julian Mehnle wrote:
 [...] Today, the SMTP server started to act up: it accepts TCP
 connections virtually immediately, but then reacts only very, very slowly.
 Thus, most of the time, the connection times out on the client/peer side.
 [...]
 Can anyone give me some hints on how to debug the SMTP server's miserable
 performance?

I just read that the SpamCop DNS blacklist, which I'm using, has very
recently dropped out, so this is probably the cause.  Please ignore my
mail -- if the problem persists when the SpamCop blacklist starts working
again, I'll continue debugging.

Julian.



---
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: Debugging SMTP timeout problems

2003-06-02 Thread Sam Varshavchik
Julian Mehnle writes:

Hi all,

I have been running Courier 0.39.1 on Debian Linux as my mail server
(SMTP(S), POP3(S), IMAP(S)) for about a year now without any noteworthy
problems.  Today, the SMTP server started to act up: it accepts TCP
connections virtually immediately, but then reacts only very, very slowly.
Thus, most of the time, the connection times out on the client/peer side.
Other services (POP3, HTTP, ...) work as perfectly as ever.
Since there are no error messages in the logs, and the server's load is
negligible (below 0.5 at all times), I'm suspecting a hardware error (e.g.
harddisk), even though there are no hardware error messages in the logs as
well so far.
Can anyone give me some hints on how to debug the SMTP server's miserable
performance?
It a DNS or a firewall issue.  Incoming SMTP connections have the client's 
IP address resolved via DNS, followed by an ident query.

A nonfunctioning DNS server somewhere, or a broken firewall that's dropping 
identd packets, would slow things down.



---
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] Virtual acounts (long)

2003-06-02 Thread Egbert Jan van den Bussche
Hi,

Thanks to all that replied om my Kmail question. I got the point; I used
IMAP, not Maildir and got all maildir like stores in my window. Kmail
supports maildir and IMAP.

This time I try to get virtual hosting to configured. I'm not sure if I
should use 'virtual' here. The name *is* very confusing as was mentioned
recently on the list here. Also confusing is the chapter 'How do I implement
virtual hosting' in the FAQ (which I took from the web site).

First what I want to achieve:
I hold two domains: vandenbussche.nl and scouthout.nl. Both have an MX
record in the outside world pointing to my hostname/IP address of the cable
modem (fixed but not guaranteed). Mail is handled by Postfix/vmpop3d on
Mandrake 9.0. All machines on my LAN are in 'vandenbussche.nl'. All
'vandenbussche.nl' accounts have a real userid on the box. The
'vandenbussche.nl' accounts are read using POP3.
All mail to accounts in 'scouthout.nl' are immediately forwarded out again
via the standard alias settings in Postfix. So [EMAIL PROTECTED] gets
forwarded to [EMAIL PROTECTED], [EMAIL PROTECTED] gets forwarded
(aliased) to [EMAIL PROTECTED] . Most other accounts in scouthout.nl go out
again to hotmail-like adresses. It is just to give the members of the local
boyscouts group a nice email address. Works fine for two years already. Also
simple mailing lists are done this way.
Now I want to change my mailserver to Courier. That will me give the
posibility to use POP3, IMAP and webmail but I do not want to loose the
'old' forwarding trick for the nice email addresses for users that have an
email address already somewhere else.
I thought the FAQ ('How do I implement virtual hosting') would answer my
question... however:
The first userdb example tells me to use 'filename/[EMAIL PROTECTED]' when
userdb is a directory (which is true in the 0.42 release). Shouldn't that
read 'directory/john...'? I understand that this will create a
/etc/passwd-like lookup table for example.com users. What would the home
dir. be? /home/virtual/example.com/john? And the next user?
/home/virtual/example.com/pete? Must I do a 'maildirmake' in both
directories?

The second userdb command example for an account *without* home directory
sets both a 'home' and a 'mail' location. What is then the default (for
'mail') in the first example? And what would be the home directory then if
there is no home directory? Why is the system mailbox in
/home/virtual/example.com/john? That sounds like a home directory to me.

I would be very grateful for a full text example for dummies like me.

Thanks again for reading up to here and any advise.

Best regards,
Egbert Jan van den Bussche






---
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: Virtual acounts (long)

2003-06-02 Thread Rick Steeves
At 04:49 PM 6/1/2003, you wrote:

The first userdb example tells me to use 'filename/[EMAIL PROTECTED]' when
userdb is a directory (which is true in the 0.42 release). Shouldn't that
read 'directory/john...'? I understand that this will create a
/etc/passwd-like lookup table for example.com users.
That's correct.
Example:
/usr/lib/courier/sbin/userdb domain.com/[EMAIL PROTECTED] set 
home=/home/vmail/domain.com/bob uid=502 gid=502

What would the home
dir. be? /home/virtual/example.com/john?
Can be whatever you want. But what you list is the easiest to figure out 
later :-)

And the next user?
/home/virtual/example.com/pete?
yes.

Must I do a 'maildirmake' in both
directories?
you have to do maildirmake (or make the directories manually) for each 
user. and allo of those folders have to be owned by the account you're 
using as the virtual user.

The second userdb command example for an account *without* home directory
sets both a 'home' and a 'mail' location. What is then the default (for
'mail') in the first example? And what would be the home directory then if
there is no home directory? Why is the system mailbox in
/home/virtual/example.com/john? That sounds like a home directory to me.
The thing is you can put the home directories for the virtual users 
wherever you want.


I would be very grateful for a full text example for dummies like me.
see above. Generally it's something like this (keep in mind, I'm probably 
doing it the hard way, but it works)
Starting as root:

su courier

cd /home/vmail/$DOMAIN

/usr/lib/courier/sbin/userdb $DOMAIN/$ADDRESS set 
home=/home/vmail/$DOMAIN/$USER  uid=502 gid=502

/usr/lib/courier/sbin/userdbpw | /usr/lib/courier/sbin/userdb 
$DOMAIN/$USER set systempw

/usr/lib/courier/sbin/makeuserdb

exit

su vmail

mkdir /home/vmail/$DOMAIN/$USER

cd /home/vmail/$DOMAIN/$USER

maildirmake Maildir

exit

Thanks again for reading up to here and any advise.
You can then create aliases in the /etc/courier/aliases dir.
[EMAIL PROTECTED]:   [EMAIL PROTECTED]
Keep in mind that if you want the aliases to run through maildroprc, you 
can't use aliases, you'll have to create accounts, and then forward them 
using a .mailfilter file

Rick
(still learning, but trying to help nonetheless)
Rick Steeves
[EMAIL PROTECTED]  http://www.sinister.net


---
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] Help: COURIER - Creating User Account

2003-06-02 Thread Voltaire Pascual



Hello Folks,

Im using courier to retrieve my emails. I 
store email passwords via mysql database.Everytime I create a email 
account, I do something like this; Below is my current setup. (works just 
fine)

Can somebody give me a better idea how can i 
createemail account in mysql. (virtual account?) Im still 
confused.

TIA
//VP

@@@

email account is stored in 
"/etc/passwd"

# adduser foo
# su foo
# maildirmake /home/foo/Maildir
# exit

password is stored in the database. 


database_name = emailpassword
table_name = email

mysql desc 
email;+-+--+--+-+-+---+| 
Field | 
Type | 
Null | Key | Default | Extra 
|+-+--+--+-+-+---+| 
id | 
char(128) 
| | MUL 
| 
| || 
crypt | 
char(128) 
| | 
| 
| || 
clear | 
char(128) 
| | 
| 
| || 
name | 
char(128) 
| | 
| 
| || 
uid | int(10) unsigned 
| | | 65534 
| || 
gid | int(10) unsigned 
| | | 65534 
| || 
home | 
char(255) 
| | 
| 
| || maildir | 
char(255) 
| | 
| 
| || 
quota | 
char(255) 
| | 
| 
| || ServiceName | 
char(20) 
| | 
| 
| 
|+-+--+--+-+-+---+10 
rows in set (0.00 sec)
creating user password via 
mysql.

INSERT into EMAIL values ( '1' , encrypt ( ' foobar 
' ) , ' ' , ' foo ' , ' 500 ' , ' 500 ' , ' /home/foo ' , ' /home/foo/Maildir ' 
, ' ', ' email ' ) ;
SELECT user from EMAIL where user = ' foo ' 
;

 id: 8 
crypt: 6mT0L/Sb9AMbg clear: 
name:foo
 uid: 0 
gid: 0 home: /home/foo maildir: 
/home/foo quota: ServiceName: 
email
password is authenticated in mysql 
database

"authmysqlrc"

MYSQL_SERVER  
 
localhostMYSQL_USERNAME 
mysqluser
MYSQL_PASSWORDmysqluserpasswordMYSQL_SOCKET 
/var/lib/mysql/mysql.sockMYSQL_PORT 
0MYSQL_OPT 
0MYSQL_DATABASE 
emailpasswordMYSQL_USER_TABLE 
email
MYSQL_LOGIN_FIELD 
nameMYSQL_CRYPT_PWFIELD crypt




[courier-users] Couriermlm and digest summary?

2003-06-02 Thread Rick Steeves
I'm using couriermlm to do digests. However, it appears to simply 
concatenate all of the posts into one document.

Is it possible to get it to list all of the subject lines at the top of the 
digest, and then the body of the posts after that?

thanks.

Rick Steeves
[EMAIL PROTECTED]  http://www.sinister.net


---
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: Couriermlm and digest summary?

2003-06-02 Thread Sam Varshavchik
Rick Steeves writes:

I'm using couriermlm to do digests. However, it appears to simply 
concatenate all of the posts into one document.
digest versions should be a standard multipart/digest MIME document.





---
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] IMAP Install Error

2003-06-02 Thread Tony L Cooper
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?

Thanks
Tony




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