[courier-users] webmail pb ...

2002-07-03 Thread [EMAIL PROTECTED]

I just upgrade my courier from 0.38.2 to 0.39.1(in 0.38.2,everything but groupware 
mode calendar is ok)

after I installed everything and configured them, I run it, pop3 and esmtp are 
smoothly working, but when I go to webmail, each login attampt will result in these 
two lines in /var/log/messages:

webmail: authdaemon: s_connect() failed: Permission denied
webmail: maildircache: Cache create failure - cannot change to bin

and return a INVALID USER ID OR PASSWORD error to me.
webadmin can't login too...

I checked the webmail executable cgi file's mode:
[root@mail courier-0.39.1]# ls -l /var/www/cgi-bin/webmail
-r-sr-xr-x1 apache   nobody 337776  July  3 14:58 /var/www/cgi-bin/webmail

it seems right, who can told me how to solve this pb?  I don't want to downgrade to 
0.38.2 cause I like the maildir quota modification advantage of 0.39.1...

I am using pam.d auth method and the system is Redhat 7.1.


webman
[EMAIL PROTECTED]
2002-07-03




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

2002-07-03 Thread Massimo Cereda

Anyone know some tool that collect courier log and produce some kind of
statistic of server usage?

Thanks

Massimo Cereda
Equart S.r.l.
Via Clericetti, 42/a
20133 Milano
Tel.  02-70608314
Fax. 02-70603592
mailto:[EMAIL PROTECTED]
http://www.equart.it 



---
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] Setting up the MAILDIR environmental variable

2002-07-03 Thread Simon Alman

Hi All

I need a some help configuring the MAILDIR environmental variable, the 
situation is this:

I've configed courier-imap to use pam authentication over pop3 and imap, 
I've tested authentication over both of these and they both work, my MTA is 
exim which is configured to use maildir's and which has created individual 
maildir's in /var/spool/mail for users.

The problem I have is that when connecting to the mail server over pop or 
imap the client gets the error message

ERR: Maildir: No such file or directory

I have setup the following in /etc/profile to set a path to MAILDIR for 
bash (my OS is redhat 7.3) but it does not seem to work:

Note: I have added the line:
MAILDIR=/var/spool/mail/$USER

and added MAILDIR to export.

-start of 
profile---
# /etc/profile

# System wide environment and startup programs, for login setup
# Functions and aliases go in /etc/bashrc

pathmunge () {
 if ! echo $PATH | /bin/egrep -q (^|:)$1($|:) ; then
if [ $2 = after ] ; then
   PATH=$PATH:$1
else
   PATH=$1:$PATH
fi
 fi
}

# Path manipulation
if [ `id -u` = 0 ]; then
 pathmunge /sbin
 pathmunge /usr/sbin
 pathmunge /usr/local/sbin
 pathmunge /usr/exim
 pathmunge /usr/exim/bin
 pathmunge /var/spool/mail
fi

pathmunge /usr/X11R6/bin after

unset pathmunge

# No core files by default
ulimit -S -c 0  /dev/null 21

USER=`id -un`
LOGNAME=$USER
MAILDIR=/var/spool/mail/$USER

HOSTNAME=`/bin/hostname`
HISTSIZE=1000

if [ -z $INPUTRC -a ! -f $HOME/.inputrc ]; then
 INPUTRC=/etc/inputrc
fi

export PATH USER LOGNAME HOSTNAME HISTSIZE INPUTRC MAILDIR


for i in /etc/profile.d/*.sh ; do
 if [ -r $i ]; then
 . $i
 fi
done

unset i
---end of 
profile--

reading the 'man imapd' pages I notice that it suggests the MAILDIR can be 
specified on the command line when launching imapd although details of 
syntax are not given, if anyone knows how to do this then that would 
provide an alternative until I can get the environmental variable to work.

Any help would be gratefully appreciated.

Thanks

Simon



---
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 (Sam Varshavchik)

2002-07-03 Thread Justin Backman

The server name was changed to protect it from spambots looking for servers
to send spam through - the server itself has a MX record. I have also seen
the issue when responding to a subscription confirmation. It seems that any
user in the format [EMAIL PROTECTED] also gets
bounced


Justin Backman
Senior Consultant
Telcordia Technologies


- Original Message -
 Date: Wed, 3 Jul 2002 14:27:15 +1200 (NZST)
 From: Juha Saarinen [EMAIL PROTECTED]
 cc: [EMAIL PROTECTED]
[EMAIL PROTECTED]
 Subject: Re: [courier-users] Re: Courier MLM problem

 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



[courier-users] Using mailrdop filters with postfix

2002-07-03 Thread Schnardthorst, David

I have a number of virtual users created using userdb.  I would like to be
able to filter some of the incoming mail on a per user basis.  Is there a
way to do this with maildrop.  For example, I want [EMAIL PROTECTED] to be
able to filter inbound messages to a subfolder.  However, I don't want to
change the delivery for user2 and user3.  How could I accomplish this with
maildrop?  Should a .mailfilter file in the users home directory work?   I
have tested this configuration and it doesn't appear to work.

Example directory structure:

/var/imap   (Home dir for vmail user)
/var/imap/domains
/var/imap/domains/domain1.com/user1 (Home dir for virtual user1)
/var/imap/domains/domain1.com/user2 (Home dir for virtual user2)
/var/imap/domains/domain2.com/user3 (Home dir for virtual user3)

Thank you for your assistance,

David J. Schnardthorst - 
UNIX Engineering
Enterprise Rent-A-Car 
Phone: (314) 512-3345 
Mobile: (314) 974-0932 
Email: [EMAIL PROTECTED] 



---
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] authpgsql bug

2002-07-03 Thread Anand Buddhdev

redhat 7.3
courier version 0.39.0
postgreSQL version 7.2.1

In my /etc/courier/authpgsqlrc file, I have commented out PGSQL_HOST,
and set PGSQL_PORT to /tmp/.s.PGSQL.5432, which is the socket created by
my postgreSQL server. However, PGSQL authentication was not working. When
I did an strace on the authdaemon.pgsql program, I found out that it was
attempting to use /tmp/.s.PGSQL.0, instead of what was defined in the
config file. I made a symlink from /tmp/.s.PGSQL.0 to /tmp/.s.PGSQL.5432,
and authentication via PGSQL now works. Is this a bug that needs fixing?

-- 
Anand Buddhdev
http://anand.org


---
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: webmail pb ...

2002-07-03 Thread Sam Varshavchik

[EMAIL PROTECTED] writes: 


 I checked the webmail executable cgi file's mode: 
 [root@mail courier-0.39.1]# ls -l /var/www/cgi-bin/webmail 
 -r-sr-xr-x1 apache   nobody 337776  July  3 14:58 /var/www/cgi-bin/webmail 
 
 it seems right,

No, it's not right.  webmail must be owned by root. 

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



[courier-users] Default attachment size?

2002-07-03 Thread Keith Pettit

My users are getting errors when they try to send messages over a
certian size.  What is the default limit and how do I change it?  

I saw a old post where a limit was actually compiled into courier and
I'm hoping that's not the solution.

Keith



---
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] Bad message format

2002-07-03 Thread Keith Pettit

Courier is sending messages that let tell us we were sent a bad message,
then there is a attachment with the message with the bad formating. 
Most of our users can get to the attachement but there are still alot
that can't get to the file becuase courier changes the encoding or MIME
format of the attachement which messes up the document.

How can I tell courier to not be so picky?


Thanks,

Keith





---
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: authpgsql bug

2002-07-03 Thread Sam Varshavchik

Anand Buddhdev writes: 

 redhat 7.3
 courier version 0.39.0
 postgreSQL version 7.2.1 
 
 In my /etc/courier/authpgsqlrc file, I have commented out PGSQL_HOST,
 and set PGSQL_PORT to /tmp/.s.PGSQL.5432, which is the socket created by
 my postgreSQL server. However, PGSQL authentication was not working. When
 I did an strace on the authdaemon.pgsql program, I found out that it was
 attempting to use /tmp/.s.PGSQL.0, instead of what was defined in the
 config file. I made a symlink from /tmp/.s.PGSQL.0 to /tmp/.s.PGSQL.5432,
 and authentication via PGSQL now works. Is this a bug that needs fixing?

I'm not sure what the deal is there.  The PGSQL_HOST setting goes directly 
to postgres, unaltered... 

-- 
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] authpgsql bug

2002-07-03 Thread Gordon Messmer

On Wed, 2002-07-03 at 06:47, Anand Buddhdev wrote:
 
 In my /etc/courier/authpgsqlrc file, I have commented out PGSQL_HOST,
 and set PGSQL_PORT to /tmp/.s.PGSQL.5432, which is the socket created by
 my postgreSQL server.

Try setting PGSQL_PORT to 5432.




---
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] authpgsql bug [solved]

2002-07-03 Thread Anand Buddhdev

On Wed, Jul 03, 2002 at 07:55:19AM -0700, Gordon Messmer wrote:

 On Wed, 2002-07-03 at 06:47, Anand Buddhdev wrote:
  
  In my /etc/courier/authpgsqlrc file, I have commented out PGSQL_HOST,
  and set PGSQL_PORT to /tmp/.s.PGSQL.5432, which is the socket created by
  my postgreSQL server.
 
 Try setting PGSQL_PORT to 5432.

Bingo! That did the trick. But then the comment in the config file is
wrong, because it asks to list the socket filename.

-- 
Anand Buddhdev
http://anand.org


---
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 imap and mysql

2002-07-03 Thread Andrew D

Hi there,

I have downloaded the source for courier-imap (1.4.5)
and have compiled it without probs

I have setup authdaemon and setup the authmysql file so that it connects 
to the db and retreives all data (file at bottom)
However it doesn't even _connect_ to mysql to auth and retrieve the uid, maildir etc. 
mysql is running and returns valid results when I do queries myself (as the user 
specified by the authmysql file)

all anything does is come back with 
AUTHFAILURE

the log files show stuff all
Jul  4 00:41:54 obelix authdaemond.mysql: authdaemon: modules=authmysql, daemons=2

is all it says

There is no connection to mysql according to the mysql logs

--snip--
# The server name, userid, and password used to log in.

MYSQL_SERVERlocalhost
MYSQL_USERNAME  XX
MYSQL_PASSWORD  XX

##NAME: MYSQL_SOCKET:0
#
# MYSQL_SOCKET can be used with MySQL version 3.22 or later, it specifies the
# filesystem pipe used for the connection
#
MYSQL_SOCKET   /var/lib/mysql/mysql.sock

##NAME: MYSQL_PORT:0
#
# MYSQL_PORT can be used with MySQL version 3.22 or later to specify a port to
# connect to.

MYSQL_PORT  3306

--snip--
it doesn't seem to matter whether I change the server to local host or put ips or 
hostnames or what have u.

all the other config files point to authdaemon and authmysql only

oh btw this is a suse 7.1 box with mysql 3.23.33

In the archives someone mentioned this, but there was no fix (well that someone sent 
to the list)
any help appreciated.
TIA
Andrew


---
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] Default attachment size?

2002-07-03 Thread Michael Carmack

On Wed, Jul 03, 2002 at 08:08:06AM -0700, Keith Pettit wrote:
 My users are getting errors when they try to send messages over a
 certian size.  What is the default limit and how do I change it?  
 
 I saw a old post where a limit was actually compiled into courier and
 I'm hoping that's not the solution.

http://www.courier-mta.org/courier.html

Keyword: sizelimit

m.




---
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] Bad message format

2002-07-03 Thread Michael Carmack

On Wed, Jul 03, 2002 at 08:11:05AM -0700, Keith Pettit wrote:
 Courier is sending messages that let tell us we were sent a bad message,
 then there is a attachment with the message with the bad formating. 
 Most of our users can get to the attachement but there are still alot
 that can't get to the file becuase courier changes the encoding or MIME
 format of the attachement which messes up the document.
 
 How can I tell courier to not be so picky?

http://www.courier-mta.org/courier.html

Keyword: bofhbadmime

m.



---
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] courier imap and mysql

2002-07-03 Thread Antony Dovgal

On Thu, 04 Jul 2002 1:19:57 +0930 (CST)
Andrew D [EMAIL PROTECTED] wrote:

 the log files show stuff all
 Jul  4 00:41:54 obelix authdaemond.mysql: authdaemon: modules=authmysql, daemons=2
 There is no connection to mysql according to the mysql logs
I have had the same problem some days ago.
The solution was: you need to divide varname (MYSQL_HOST) and value (host) with ONE 
whitespace.

Hope it helps.

With best regards, 
Antony Dovgal aka tony2001
Linux user #276688
--
http://tony2001.narod.ru 



---
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] server based rules question

2002-07-03 Thread Jesse Keating

On Wed, 3 Jul 2002 19:50:37 +1000
Max [EMAIL PROTECTED] issued forth:

# im running courier-imap server (v1.5) with qmail (on mandrake 8.2 linux) and
# wanted to setup some sort of server based rules, preferably which are
# controllable using an imap client or any other simple interface.
# 
# Is anyone aware of anything which would do this?

What do you mean by 'rules' ?

-- 
Sysop


---
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] can courier-imaps and apache use the same ssl cert?

2002-07-03 Thread russell uman


i have a thawte signed cert that i use for https with apache. can i use the same cert 
with courier-imap? are there any good
references on this topic?

thanks!



---
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: authpgsql bug

2002-07-03 Thread Peter C. Norton

On Wed, Jul 03, 2002 at 10:36:42AM -0400, Sam Varshavchik wrote:
 I'm not sure what the deal is there.  The PGSQL_HOST setting goes directly 
 to postgres, unaltered... 
 
 -- 
 Sam 

Sam,

I sent in an explanations and changes to the documention in the
authpgsqlrc months ago.  Could you update the documentation based
on the info below? The current comments in authpgsqlrc are misleading.

Here's the message I sent:

This answers a question I was asking on my first installation.  The
following (important) correction to the comment in authpgsqlrc:

##NAME: LOCATION:0
#
# The server hostname, port, userid, and password used to log in.
#
# To connect to a socket, delete PGSQL_HOST, and put the socket filename
# into PGSQL_PORT

PGSQL_HOST  pgsql.example.com
PGSQL_PORT  5400
PGSQL_USERNAME  admin
PGSQL_PASSWORD  admin


Is incorrect.  If postgres is using /tmp/.s.PGSQL.5432 as its socket,
and you follow the above directions and set

PGSQL_PORT  /tmp/.s.PGSQL.5432

then an syscall trace on an authdaemon process shows that it fails
with an ENOENT trying to open /tmp/.s.PGSQL.0 (iirc - I discovered
this at 3:00 am). What works is setting PGSQL_PORT to 5432.  It seems
that the PORT is taken as a string to append to /tmp/.s.PGSQL. when
the postgres client lib tries to connect to the unix domain socket.

-- 
The 5 year plan:
In five years we'll make up another plan.
Or just re-use this one.


---
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] ldap attributes

2002-07-03 Thread Fernando Gozalo

Hi,

I can't remember now, I think it was in maildropldap.config, that I read something 
about 
the use of a ldap attribute (emailstatus) to control if a mail account was active or 
not. 
I haven't found this attribute, or somethig similar, in the authldap.schema.

Could we have this attibute in a new version of authldap.schema?

Thanks.
Fernando.



---
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] courier imap and mysql

2002-07-03 Thread Andrew D

Antony Dovgal at Wed, 3 Jul 2002 19:30:09 +0300 wrote:
 On Thu, 04 Jul 2002 1:19:57 +0930 (CST)
 Andrew D [EMAIL PROTECTED] wrote:
-snip-
  There is no connection to mysql according to the mysql logs
 I have had the same problem some days ago.
 The solution was: you need to divide varname (MYSQL_HOST) and value
(host) with ONE whitespace.
 
Ok I replaced tabs/spaces with a tab, no luck, replaced the tab with a
single space and still no luck, I have even made sure there was no
space/tabs after each value.

 Hope it helps.
Nope sorry. :(

 
 With best regards, 
 Antony Dovgal aka tony2001
 Linux user #276688



---
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] Courier Statistic

2002-07-03 Thread Michael Carmack

On Wed, Jul 03, 2002 at 12:35:16PM +0200, Massimo Cereda wrote:

 Anyone know some tool that collect courier log and produce some kind of
 statistic of server usage?

I don't know of a tool, but if all you are trying to do is monitor
transfer statistics (say, for virtual hosts), you can just use common
command-line tools.

A successful outgoing mail looks like:

Jul  3 16:12:32 ariel courieresmtp: 
id=001DFCBD.3D23226B.0F4E,from=[EMAIL PROTECTED],addr=[EMAIL PROTECTED],size=1195,status:
 success


And a successful incoming mail looks like:

Jul  3 07:50:00 atlantis courierlocal: 
id=00017C2A.3D22ACA8.5BFD,from=[EMAIL PROTECTED],addr=[EMAIL PROTECTED],size=4456,success:
 Message delivered.


So, say you're measuring the amount of traffic for a particular domain.
For outgoing mail, the relevant strings are 'courieresmtp:', 'from=',
'size=', and 'success'. And for incoming mail, the strings are 
'courierlocal:', 'addr=', 'size=', and 'success'. It shouldn't be too
difficult to write a tool that adds up all the 'size' fields for the
domain.

m.




---
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: authpgsql bug

2002-07-03 Thread Gordon Messmer

PgSQL builds its socket filename based on the port number for
consistency (xfs from XFree86 does the same thing)... I believe that you
can also omit the port entirely, and it will use its built-in defaults
to find the appropriate socket.


On Wed, 2002-07-03 at 10:03, Peter C. Norton wrote:
...
 Is incorrect.  If postgres is using /tmp/.s.PGSQL.5432 as its socket,
 and you follow the above directions and set
 
 PGSQL_PORT  /tmp/.s.PGSQL.5432
 
 then an syscall trace on an authdaemon process shows that it fails
 with an ENOENT trying to open /tmp/.s.PGSQL.0 (iirc - I discovered
 this at 3:00 am). What works is setting PGSQL_PORT to 5432.  It seems
 that the PORT is taken as a string to append to /tmp/.s.PGSQL. when
 the postgres client lib tries to connect to the unix domain socket.




---
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: authpgsql bug

2002-07-03 Thread Anand Buddhdev

On Wed, Jul 03, 2002 at 10:03:19AM -0700, Peter C. Norton wrote:

 I sent in an explanations and changes to the documention in the
 authpgsqlrc months ago.  Could you update the documentation based
 on the info below? The current comments in authpgsqlrc are misleading.

I also found the authlib/README.authpostgresql.html file to be slightly
inaccurate. The 'int' data type does not take any paramater, and it cannot
be unsigned, so when creating the uid and gid columns, we have to enter:

create table passwd (
...
...
uid int default '65534' not null,
gid int default '65534' not null,
...
...
);

-- 
Anand Buddhdev
http://anand.org


---
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] 554 Unable to initialize security subsystem

2002-07-03 Thread Anand Buddhdev

On Wed, Jul 03, 2002 at 11:42:05AM -0700, [EMAIL PROTECTED] wrote:

 Is it problem on my side or remote?
 Using Courier 0.39
 
 [EMAIL PROTECTED]:
 mail.talkam.net [216.204.72.99]:
  STARTTLS
  554 Unable to initialize security subsystem

The remote end is misconfigured. You can work around it by telling
your courier not to use TLS when talking to remote servers. Set
ESMTP_USE_STARTTLS=0 in your /etc/courier/courierd config file and
restart courier.

-- 
Anand Buddhdev
http://anand.org


---
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] imap clients creating folders

2002-07-03 Thread Aaron P. Martinez

Hi,

I use outlook express as my imap client connecting to my courier imap
server.  One of the settings that worked with the university of W. imap
server, compliled to use Maildir is to create a sent items and a Drafts
folder on the server and store the users sent mail and drafts there.  It
doesn't seem to be working with courierAlso, when i delete
items..instead of saving them in the Trash folder on the server..they are
stored locally to my pc.  Any help would be appreciated.

Thanks in advance,
Phil Martinez



---
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] imap clients creating folders

2002-07-03 Thread Jesse Keating

On Wed, 3 Jul 2002 14:37:44 -0500
Aaron P. Martinez [EMAIL PROTECTED] issued forth:

# 
# I use outlook express as my imap client connecting to my courier imap
# server.  One of the settings that worked with the university of W. imap
# server, compliled to use Maildir is to create a sent items and a Drafts
# folder on the server and store the users sent mail and drafts there.  It
# doesn't seem to be working with courierAlso, when i delete
# items..instead of saving them in the Trash folder on the server..they are
# stored locally to my pc.  Any help would be appreciated.

Sounds like outlook misconfiguration.  My email client saves sent stuff to Sent,
and drafts to Drafts, and puts deleted items in the Trash folder on the server.

-- 
Sysop


---
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: 554 Unable to initialize security subsystem

2002-07-03 Thread Sam Varshavchik

[EMAIL PROTECTED] writes: 

 Is it problem on my side or remote?
 Using Courier 0.39

Remote site misconfiguration.  Claims to have SSL support, but when called 
to task on it, by requesting an SSL-enabled connection, they barf. 

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



[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] Courier Statistic

2002-07-03 Thread Greg Johnstone


Anyone know some tool that collect courier log and produce some kind of
statistic of server usage?


Take a look at

http://www.enesbe.com.au/download/other/clog.1.6.tar.gz. 

It may do what you want.

Regards

==
Greg Johnstone
Enesbe Sales Pty Ltd
Level 12, 530 Little Collins Street
Melbourne, VIC 3000
Australia
E-mail: [EMAIL PROTECTED]
Phone: +61 3 9909 7970
Fax: +61 3 9909 7971
Mobile: 041 735 4443
Enesbe: http://www.enesbe.com.au
Unimessage: http://ump.enesbe.com.au
ImageVision: http://iv2k.enesbe.com.au
 
 


---
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] Virtual Users: Turning @ into % for IMAP/POP

2002-07-03 Thread Randall Shaw

Curious problem I have run into with Courier (full package install on a 
ydl2.1 machine).

Its fairly basic and simple, and pretty much handled by other email 
servers, so I am sure I just overlooking something.

For virtual users, I store them in a mysql db that is linked to courier's 
authdaemond process. That works fine. Mail coming in to a user of 
[EMAIL PROTECTED] gets filed into the proper Maildir. The mysql entry for 
login id IS [EMAIL PROTECTED] in full. This is so there can be a 
[EMAIL PROTECTED] and a [EMAIL PROTECTED] etc. Since domain.com and 
domain2.com are listed in the 'hosteddomains' file and NOT in the 
'locals' file.

Ok, so my problem is this: remotely getting mail from the box.

I have one hack workaround... but its a hack, and I can't believe this is 
how you would do this... BUT, email clients to connect to the server to 
get mail, pass the form of [EMAIL PROTECTED]. For some reason Courier is 
not matching that in FULL (like it does with incoming mail to deliver) to 
give access to the user. It instead just says AUTH -Fail (couldnt find 
the user/pass combo that matched, and yes I have double checked my user 
and pass heh). So, there is an alternative setup in email clients to 
store the login information as [EMAIL PROTECTED]. 
This then passes user%virtualdomain.com as the login id to courier. 
However since in the mysql its only stored as [EMAIL PROTECTED], 
it doesnt match.

My hack work around, is DUPLICATING the user entry in the mysql db, one 
being user@virtdomain and the other being user%virtdomain... both 
with the exact same crypt, home, guid.

Its a hack, but it then works, as incoming mail matches the proper one, 
and remote getting of mail matches the proper user.

Is this the only way?

A question I am begging to ask is, is there any way to tell courier to 
CHANGE the % to an @ to look up the user when its a remote connection? Or 
vice versa, tell courier to change an @ to a % to lookup against the db 
for mail delivery... either one will work, so long as I dont have to 
store TWO DB ENTRIES for every stinken user in the system ;-)

Any help would be helpful... and sorry for the length of this, I just 
wanted to be concise to help with possible answers/ideas.

As a side note: everything else works... aliases, forwarding, 
alias@virtdomain, virtual domains, virtual users etc etc. (well, all 
except webmail, that thing I havnt attempted yet).

-ifm


---
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] pop-before-smtp for Courier?

2002-07-03 Thread Randall Shaw

I'm looking for a way to do pop-before-smtp for courier. Is there a 
beast? I'd like to not open RANGES of unruly ips for relay from the 
server for clients who are either roaming, or on something evil like AOL 
(no offense).

Links, urls, pointers... will be gratefully accepted, thanks!

-ifm


---
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] pop-before-smtp for Courier?

2002-07-03 Thread Jesse Keating

On Wed, 3 Jul 2002 14:26:44 -0700
Randall Shaw [EMAIL PROTECTED] issued forth:

# I'm looking for a way to do pop-before-smtp for courier. Is there a 
# beast? I'd like to not open RANGES of unruly ips for relay from the 
# server for clients who are either roaming, or on something evil like AOL 
# (no offense).
# 
# Links, urls, pointers... will be gratefully accepted, thanks!

What is wrong with ESMTP?  Auth through smtp port.  Almost all clients that I
know of support this...

-- 
Sysop


---
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] pop-before-smtp for Courier?

2002-07-03 Thread Randall Shaw

Jesse Keating wrote:

What is wrong with ESMTP?  Auth through smtp port.  Almost all clients that I
know of support this...

If it works, then it isn't for me =( as it refuses relay for when I try 
to send mail from my home machine using the mailserver as the smtp host.

The exact error is: (x's are withheld info)

Jul  3 14:47:39 yellowboi courieresmtpd: 
error,relay=:::xxx.xxx.xxx.xxx,from=[EMAIL PROTECTED],to=user2
@themailchoice.com: 513 Relaying denied.
Jul  3 14:47:47 yellowboi courieresmtpd: 
error,relay=:::xxx.xxx.xxx.xxx,msg=502 ESMTP command error,cmd: DATA

(I am relaying out of an open isp right now to send this mail... guh)

esmtp must not be standard enough or something, either that or a default 
setting in a configuration file is set wrong, and I havnt found anything 
yet about allowing auth through smtp, or how to do otherwise.

I just got this all working this morning ;-)



---
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-1.5.1 imapd.rc quits authenticating

2002-07-03 Thread Richard Gewissler

Which vpopmail versions are working well with Courier-IMAP server? 5.0 is
working fine?

If I use authmysql module, I can't use good Qmailadmin application... :-(

Thanks.

Richard Gewissler, Internet Publishing, www.publish.cz


- Original Message -
From: Sam Varshavchik [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 03, 2002 6:16 AM
Subject: [courier-users] Re: Courier-1.5.1 imapd.rc quits authenticating


 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



---
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] pop-before-smtp for Courier?

2002-07-03 Thread Jesse Keating

On Wed, 3 Jul 2002 14:53:23 -0700
Randall Shaw [EMAIL PROTECTED] issued forth:

# 
# If it works, then it isn't for me =( as it refuses relay for when I try 
# to send mail from my home machine using the mailserver as the smtp host.
# 
# The exact error is: (x's are withheld info)
# 
# Jul  3 14:47:39 yellowboi courieresmtpd: 
# error,relay=:::xxx.xxx.xxx.xxx,from=[EMAIL PROTECTED],to=user2
# @themailchoice.com: 513 Relaying denied.
# Jul  3 14:47:47 yellowboi courieresmtpd: 
# error,relay=:::xxx.xxx.xxx.xxx,msg=502 ESMTP command error,cmd: DATA

Did you set up your client to auth before sending?  Should be in the same dialog
of where you setup your SMTP server.

-- 
Sysop


---
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] pop-before-smtp for Courier?

2002-07-03 Thread Daniel E. White

At 2:31 PM -0700 7/3/02, Jesse Keating wrote:
On Wed, 3 Jul 2002 14:26:44 -0700
Randall Shaw [EMAIL PROTECTED] issued forth:

# I'm looking for a way to do pop-before-smtp for courier. Is there a 
# beast? I'd like to not open RANGES of unruly ips for relay from the 
# server for clients who are either roaming, or on something evil like AOL 
# (no offense).
# 
# Links, urls, pointers... will be gratefully accepted, thanks!

What is wrong with ESMTP?  Auth through smtp port.  Almost all clients that I
know of support this...

-- 
Sysop


Pop-Before-SMTP's home is on SourceForge
http://popbsmtp.sourceforge.net/

I would LOVE to use ESMTP/Auth-SMTP, but I am on a Mac OS X machine.
From all my research, it requires PAM, and that has to wait until 10.2 comes out some 
time in late summer -- like probably October.

Unless someone can tell me different.  I have Postfix / MySQL / Courier-IMAP / 
Pop-Before-SMTP running nicely, but I would prefer authenticated SMTP.
-- 

   Dan White

Sometimes  I  think  the  surest  sign  that  intelligent  life exists
 elsewhere  in the universe is that none of it has tried to contact us.
 Calvin (Bill Watterson)


---
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] pop-before-smtp for Courier?

2002-07-03 Thread Anand Buddhdev

On Wed, Jul 03, 2002 at 06:35:28PM -0400, Daniel E. White wrote:

 What is wrong with ESMTP?  Auth through smtp port.  Almost all clients that I
 know of support this...
 
 Pop-Before-SMTP's home is on SourceForge
 http://popbsmtp.sourceforge.net/
 
 I would LOVE to use ESMTP/Auth-SMTP, but I am on a Mac OS X machine.
 From all my research, it requires PAM, and that has to wait until 10.2 comes out 
some time in late summer -- like probably October.
 
 Unless someone can tell me different.  I have Postfix / MySQL /
 Courier-IMAP / Pop-Before-SMTP running nicely, but I would prefer
 authenticated SMTP.

If you use the full courier suite, including its SMTP daemon, you can
do authenticated smtp, with mysql, on Mac OS X. No need for PAM.

-- 
Anand Buddhdev
http://anand.org


---
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-03 Thread Matthias Andree

Brian [EMAIL PROTECTED] writes:

 Okay, I have Postfix up and running.  I can send mail to my mail
 server just fine, and it gets it and delivers it locally just fine.  I
 got Courier-IMAP working too.  From Outlook Express 6 on my WinBlows
 box, I can get the list of folders and I see that nothing is there.  I
 can not get maildrop to work.  Looking at /var/log/maillog, I see
 that, apparently, postfix is still running procmail for some reason.
 So I never get any mail in my Maildir folder.  I went into main.cf for
 postfix and changed everything in there to go to maildrop, but it
 still runs procmail.  Any ideas?

Stage #1: tried postfix reload after editing main.cf?

If that does not help, stage #2: show postconf -n output, master.cf
file contents and your transport_maps source file.

-- 
Matthias Andree


---
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] pop-before-smtp for Courier?

2002-07-03 Thread Bill Schindler

On Wednesday, July 3, 2002, at 03:35 PM, Daniel E. White wrote:

 I would LOVE to use ESMTP/Auth-SMTP, but I am on a Mac OS X machine.
 From all my research, it requires PAM, and that has to wait until 
 10.2 comes out some time in late summer -- like probably October.

If you look at the headers of this message, you'll see that it's 
from AppleMail on OS X and it went through Courier's ESMTP auth. 
Absolutely no problem at all and no PAM in use, either.

--Bill



---
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] imap clients creating folders

2002-07-03 Thread Jesse Keating

On Wed, 3 Jul 2002 19:15:40 -0500
Aaron P. Martinez [EMAIL PROTECTED] issued forth:

# 
# I am still having trouble with the Sent Items and Drafts Folders.  I do
# have the box checked in the imap tab of the account properties
# labeled..store special folders on imap server.  The contents of these
# fields is simply as i stated...drafts and sent items .  could this have
# something to do with the root folder path?  I have that field left blank,
# just assuming that courier will handle that.

Root folder path should be INBOX

-- 
Sysop


---
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] qmail + ldap + courier

2002-07-03 Thread Jhojo Malicdem
Title: qmail + ldap + courier



can 
someone help me on this?

  -Original Message-From: Jhojo Malicdem 
  [mailto:[EMAIL PROTECTED]]Sent: Monday, July 01, 2002 3:26 
  PMTo: Sam VarshavchikCc: 
  [EMAIL PROTECTED]Subject: [courier-users] qmail + 
  ldap + courier
  hi,  
  i'm having problem with courier-imap, courier doesnt see my 
  openldap so what i did is 
  i recompile my openldap with: 
  env CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" 
  \  
  ./configure --with-wrappers 
  then, recompile courier-imap with: 
  CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" export 
  CPPFLAGS export LDFLAGS ./configure --enable-workarounds-for-imap-client-bugs 
  but still no luck, does anyone have any hint on this? 
  
  TIA' 
  Jhojo 


[courier-users] MacOS X and courier-0.39.1

2002-07-03 Thread Daniel E. White

I can get courier-imap to build clean and I am using it.

But I want the whole enchilada !!

Here's where it dies:

Making all in threadlib
cc -DHAVE_CONFIG_H -I. -I. -I. -Wall -traditional-cpp -I/sw/include -c pthread.c
pthread.c: In function `initcondmutex':
pthread.c:128: warning: implicit declaration of function `pthread_condattr_init'
pthread.c:131: warning: implicit declaration of function `pthread_condattr_destroy'
rm -f libthreadlib.a
ar cru libthreadlib.a pthread.o 
ranlib -c libthreadlib.a
cc -DHAVE_CONFIG_H -I. -I. -I. -Wall -traditional-cpp -I/sw/include -c test.c
echo -lpthread libthread.dep
cc  -Wall -traditional-cpp -I/sw/include  -o threadtest  test.o libthreadlib.a `cat 
libthread.dep` -lm 
/usr/bin/ld: Undefined symbols:
_pthread_condattr_destroy
_pthread_condattr_init
make[1]: *** [threadtest] Error 1
make: *** [all-recursive] Error 1
---

Suggestions ?
-- 

   Dan White

Sometimes  I  think  the  surest  sign  that  intelligent  life exists
 elsewhere  in the universe is that none of it has tried to contact us.
 Calvin (Bill Watterson)


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