[courier-users] MySQL support is more flexible than LDAP

2002-02-22 Thread Piotr Roszatycki

Why MySQL support for authdaemon is more flexible than LDAP support?
I don't understand why I can find MYSQL_WHERE_CLAUSE option which provides
me customised query but I can't find similar feature for LDAP. I have to
use very bad and ugly workaround with LDAP ACL which probably will slow
down my database to use customised LDAP query because there is no
possibility to use additonal filter.

Do you know how to set up slapd.conf so I could check additional
contition: 'inetSubscriberStatus=active'? As far as Courier have poor LDAP
support I think the ACLs are only solution.

-- 
Piotr Roszatycki, Netia Telekom S.A..''`.
mailto:[EMAIL PROTECTED]   : :' :
mailto:[EMAIL PROTECTED]   `. `'
 `-


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



R: R: [courier-users] I: Mysql auth problem - can't login

2002-02-22 Thread Webmaster www.sfondo.it

Yes .. for syslog was a fucking space ... now it's work right

When try to login there're that error:

Feb 22 11:38:57 cartman pop3d: Connection, ip=[:::127.0.0.1]
Feb 22 11:39:42 cartman pop3d: LOGIN FAILED, ip=[:::127.0.0.1]

THX

-Messaggio originale-
Da: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Per conto di Roland
Schneider
Inviato: giovedì 21 febbraio 2002 19.21
A: [EMAIL PROTECTED]
Oggetto: Re: R: [courier-users] I: Mysql auth problem - can't login


--Webmaster www.sfondo.it wrote on 21.02.2002 18:12 +0100:

 # Log all the mail messages in one place.
 mail.*  /var/log/maillog

 but file /var/log/maillog is empty

make shure you dont have _any_ spaces in the line above,
only tabs. Then do a `killall -HUP syslogd` and send
some blurb to the log:

logger -p mail.info -t TEST qwertzuiop

If this wont show up in the maillog then nothing will.

Roland


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


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



[courier-users] 'make test' fails (FreeBSD 4.4)

2002-02-22 Thread Brian Candler

'make check' fails when building courier-0.37.2.20020220 under FreeBSD-4.4.
It seems to be something to do with handling of the \Recent flag - the
relevant output and a comparison of the actual and expected testsuite
results are attached below.

Maybe related are some 'fcntl' errors which are appearing too. FreeBSD
supports all three locking mechanisms, and it seems that ./configure has
chosen fcntl:

  ...
  checking for fcntl.h... yes
  ...
  checking for fcntl... yes
  checking for flock... yes
  checking for lockf... yes
  checking for locking method... fcntl
  ...

I tried rebuilding with --with-locking-function=flock but the results are
the same, implying it's not fcntl locking which is failing, but some other
fcntl operation.

Regards,

Brian.

---

$ cd courier-0.37.2.20020220/imap
$ LC_ALL=C; export LC_ALL; ./testsuite | ./testsuitefix.pl | sort eee

* Sanity check in progress *

INFO: LOGIN, user=user, ip=[127.0.0.1]
fcntl: Operation not supported by device
INFO: LOGIN, user=user, ip=[127.0.0.1]
INFO: LOGOUT, user=user, ip=[127.0.0.1], headers=156, body=2398
INFO: LOGIN, user=user, ip=[127.0.0.1]
fcntl: Operation not supported by device
INFO: LOGIN, user=user, ip=[127.0.0.1]
fcntl: Operation not supported by device
INFO: LOGIN, user=user, ip=[127.0.0.1]
INFO: LOGOUT, user=user, ip=[127.0.0.1], headers=218, body=0
INFO: LOGIN, user=user, ip=[127.0.0.1]
INFO: LOGOUT, user=user, ip=[127.0.0.1], headers=0, body=0
INFO: LOGIN, user=user, ip=[127.0.0.1]
INFO: LOGOUT, user=user, ip=[127.0.0.1], headers=0, body=0
INFO: LOGIN, user=user, ip=[127.0.0.1]
INFO: LOGOUT, user=user, ip=[127.0.0.1], headers=0, body=0
INFO: LOGIN, user=user, ip=[127.0.0.1]
INFO: LOGOUT, user=user, ip=[127.0.0.1], headers=0, body=0
INFO: LOGIN, user=user, ip=[127.0.0.1]
INFO: LOGOUT, user=user, ip=[127.0.0.1], headers=0, body=0
INFO: LOGIN, user=user, ip=[127.0.0.1]
INFO: LOGOUT, user=user, ip=[127.0.0.1], headers=0, body=0
INFO: LOGIN, user=user, ip=[127.0.0.1]
INFO: LOGOUT, user=user, ip=[127.0.0.1], headers=0, body=0
INFO: LOGIN, user=user, ip=[127.0.0.1]
fcntl: Operation not supported by device
INFO: LOGIN, user=user, ip=[127.0.0.1]
fcntl: Operation not supported by device
INFO: LOGIN, user=user, ip=[127.0.0.1]
INFO: LOGOUT, user=user, ip=[127.0.0.1], headers=0, body=0
INFO: LOGIN, user=user, ip=[127.0.0.1]
INFO: LOGOUT, user=user, ip=[127.0.0.1], headers=0, body=0
INFO: LOGIN, user=user, ip=[127.0.0.1]
INFO: LOGOUT, user=user, ip=[127.0.0.1], headers=0, body=0
INFO: LOGIN, user=user, ip=[127.0.0.1]
fcntl: Operation not supported by device
INFO: LOGIN, user=user, ip=[127.0.0.1]
fcntl: Operation not supported by device
INFO: LOGIN, user=user, ip=[127.0.0.1]
fcntl: Operation not supported by device
INFO: LOGIN, user=user, ip=[127.0.0.1]
fcntl: Operation not supported by device
INFO: LOGIN, user=user, ip=[127.0.0.1]
INFO: LOGOUT, user=user, ip=[127.0.0.1], headers=148, body=0
INFO: LOGIN, user=user, ip=[127.0.0.1]
INFO: LOGOUT, user=user, ip=[127.0.0.1], headers=0, body=0
INFO: LOGIN, user=user, ip=[127.0.0.1]
fcntl: Operation not supported by device
INFO: LOGIN, user=user, ip=[127.0.0.1]
fcntl: Operation not supported by device
INFO: LOGIN, user=user, ip=[127.0.0.1]
fcntl: Operation not supported by device
INFO: LOGIN, user=user, ip=[127.0.0.1]
fcntl: Operation not supported by device
INFO: LOGIN, user=user, ip=[127.0.0.1]
fcntl: Operation not supported by device
INFO: LOGIN, user=user, ip=[127.0.0.1]
fcntl: Operation not supported by device
INFO: LOGIN, user=user, ip=[127.0.0.1]
INFO: LOGOUT, user=user, ip=[127.0.0.1], headers=0, body=0
INFO: LOGIN, user=user, ip=[127.0.0.1]
INFO: LOGOUT, user=user, ip=[127.0.0.1], headers=0, body=0

$ diff -u eee testsuite.txt   
--- eee Fri Feb 22 10:25:51 2002
+++ testsuite.txt   Fri Jan 25 17:01:45 2002
@@ -2,7 +2,7 @@
 01 * FLAGS (\Draft \Answered \Flagged \Deleted \Seen \Recent)
 02 * OK [PERMANENTFLAGS (\Draft \Answered \Flagged \Deleted \Seen)]
Limited
 03 * 1 EXISTS
-04 * 1 RECENT
+04 * 0 RECENT
 05 * OK [UIDVALIDITY] Ok
 06 a001 OK [READ-WRITE] Ok
 07 * 1 FETCH (BODYSTRUCTURE ((text plain NIL NIL NIL 8bit 19 1
NIL NIL NIL)(text plain NIL NIL NIL 8bit 19 1 NIL NIL NIL)(message
rfc822 NIL NIL NIL 8bit 229 (NIL This is message part 3 NIL NIL NIL
NIL NIL NIL NIL NIL) ((text plain NIL NIL NIL 8bit 21 1 NIL NIL
NIL)(text plain NIL NIL NIL 8bit 21 1 NIL NIL NIL) mixed (boundary
b2) NIL NIL) 15 NIL NIL NIL)((text plain NIL NIL NIL 8bit 21 1 NIL
NIL NIL)(message rfc822 NIL NIL NIL 8bit 377 (NIL This is message
part 4.2 NIL NIL NIL NIL NIL NIL NIL NIL) ((text plain NIL NIL NIL
8bit 23 1 NIL NIL NIL)((text plain NIL NIL NIL 8bit 25 1 NIL NIL
NIL)(text plain NIL NIL NIL 8bit 25 1 NIL NIL NIL) alternative
(boundary b5) NIL NIL) mixed (boundary b4) NIL NIL) 27 NIL NIL
NIL) mixed (boundary b3) NIL NIL) mixed (boundary b1) NIL NIL))

[courier-users] attachement filter

2002-02-22 Thread Robert Penz

Hi!

I'm using the mail filter written by Roland Schneider [EMAIL PROTECTED], 
I've found some mails which are not marked.

e.g. this one it not in one line:

Content-Type: application/octet-stream;
name=emailcheck_vbs.XXX

XXX=vbs 

i don't know how to correct the script that it also gets these mails.

-- 
Regards,
Robert

Robert Penz
[EMAIL PROTECTED]

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



[courier-users] Opera and webmail

2002-02-22 Thread Peer Oliver Schmidt

I filed a bug report with Opera regarding opening links from within Webmail. 
This is what came back. 

Sam, do you think it is a bug within Opera, or is the ball in webmails' 
court? 

rgds
pos
 
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Fri, 22 Feb 2002 13:36:54 +0100
Subject: Re: Your Bug Report
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
X-Mailer: Opera 6.01 build 1046 

22.02.02 09:05:28, [EMAIL PROTECTED] wrote: 

Have you been able to re-create the problem from within the webmail system 
itself?

Yes, I have. I sent a letter with an URL in, accessed the letter in the sent 
folder and clicked the URL.
Opera told me that the address type was unknown, and the reason is that 
there is a double quote
sign () in front of the http:// that should not be there. The double quote 
sign is there because you
use this command to go to the address: 

Refresh: 0; URL=http://www.opera.com/; 

I believe the correct command is: 

Refresh: 0; URL=http://www.opera.com/; 

As I can not find documentation on this in W3's HTTP specification, the 
Refresh header may be non-
standard and I think you should use Location: instead. Was this clearer?
-- 
Hallvord R. M. Steen - Customer Service Consultant
Customer Service Dep. - http://www.opera.com
Check out our online tutorial!
http://www.opera.com/support/windows/tutorial/ 

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



Re: [courier-users] MySQL support is more flexible than LDAP

2002-02-22 Thread Kelvin Cookshaw

Piotr Roszatycki said:
 Why MySQL support for authdaemon is more flexible than LDAP support? I
 don't understand why I can find MYSQL_WHERE_CLAUSE option which
 provides me customised query but I can't find similar feature for LDAP.
 I have to use very bad and ugly workaround with LDAP ACL which probably
 will slow down my database to use customised LDAP query because there
 is no
 possibility to use additonal filter.

Well, seeing as the code is open source under the GPL, you always have the
option of adding what you need, or hiring someone else to do it.  That _is_
the Free in Free Software. ;-)

 Do you know how to set up slapd.conf so I could check additional
 contition: 'inetSubscriberStatus=active'? As far as Courier have poor
 LDAP support I think the ACLs are only solution.

Speaking of which, I needed something, so I added it.  It sounds relevant
to your needs, and I'm happy to share.  Unfortunately, I forgot to add a
feature for LDAP_EXTRA_FILTER, which would allow you to specify arbitrary
extra filter text.  There is a good example of how to do this in the code
for LDAP_GROUP_EXTRA_FILTER, however.  It should be a fairly easy fix, but
I'm unlikely do add it real soon, as I don't need it.

The attached file is a modified authlib/authldaplib.c.  There is a comment
block near the top about the added features, which may be suitable for your
needs.  There is a potential issue around LDAP_AUTHBIND caching, which I
will be fixing, RSN.

I don't have a commented example authldaprc with the extra configuration
items, but it's on my to do list.

Kelvin

 --
 Piotr Roszatycki, Netia Telekom S.A..''`.
 mailto:[EMAIL PROTECTED]   : :' :
 mailto:[EMAIL PROTECTED]   `. `'
 `-


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




/*
 * authldap.c - 
 *
 * courier-imap - 
 * 
 * Copyright 1999 Luc Saillard [EMAIL PROTECTED].
 *
 * This module use a server LDAP to authenticate user.
 * See the README.ldap
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
 *
 * See the GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program; see the file COPYING. If not, write to
 * the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 
 * Boston, MA  02111-1307, USA.
 */

/*
 * Modified 21/02/2002 Kelvin Cookshaw [EMAIL PROTECTED]
 *
 * Should have done:
 *
 * 1. Should have added LDAP_EXTRA_FILTER, to allow extra filter text to
 *be ( ...)ed to the initial filter (the non-group filter.)
 *
 * Did get done:
 *
 * 1. Added LDAP_SCOPE to permit search scopes sub, oneLevel, base.
 *
 * 2. Added LDAP_GROUP_BASEDN, LDAP_GROUP_SCOPE,
 *LDAP_GROUP_EXTRA_FILTER, LDAP_GROUP_MEMBER, LDAP_GROUP_VALUE to
 *allow a final query that checks for membership of the
 *authenticated DN in a group.  An additional query was added if
 *these options are used.
 *
 * 3. Perform authenticating bind (LDAP_AUTHBIND) before account
 *information is retrieved, to allow for tighter security in the
 *directory.  Now, only the authenticated DN needs to be able to
 *read their own attributes.  There is less need to bind as the
 *Manager, or allow anonymous access to account information.  An
 *additional query is performed for LDAP_AUTHBIND.
 *
 * 4. Cache all connections.  Previously, the global connection,
 *my_ldap_fp, was cached, but connections due to LDAP_AUTHBIND
 *were not.  Currently, there is no builtin limit on how long an
 *authenticated connection can be cached, and a password change
 *will not be reflected in the cache.
 *
 *New connections in the cache push out the least-recently
 *accessed connection.  The previous behaviour can be preserved by
 *setting the LDAP_CACHE_SIZE to 1.  Connections that are
 *currently in use will not be pushed out of the cache.
 *
 *This cache is suitable only for a small number of items, as a
 *linear search is performed to find a cache item.  The default
 *connection, which is used every request, is always the first
 *item in the cache, and the quickest found.
 *
 * 5. A memory leak in copy_value (an extraneous strdup()) was fixed.
 *
 * 6. Attribute arrays are prepared only once, rather than with each
 *request.
 *
 * 7. Added debug and log functions that require stdarg.h.  

[courier-users] bug in webadmin RPM?

2002-02-22 Thread marc lindahl

Anyone seen this?  The directories it says failed exist, and I tried
changing thier ownership to user/group courier, same thing, their mod's are
755, should be good...


[root@dell i386]# rpm -i courier-webadmin-0.37.2-1.7.2.i386.rpm
error: failed dependencies:
/var/www/cgi-bin is needed by courier-webadmin-0.37.2-1.7.2
/var/www/html is needed by courier-webadmin-0.37.2-1.7.2




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



Re: [courier-users] bug in webadmin RPM?

2002-02-22 Thread Anand Buddhdev

On Thu, Feb 21, 2002 at 05:30:39PM -0500, marc lindahl wrote:

 Anyone seen this?  The directories it says failed exist, and I tried
 changing thier ownership to user/group courier, same thing, their mod's are
 755, should be good...
 
 [root@dell i386]# rpm -i courier-webadmin-0.37.2-1.7.2.i386.rpm
 error: failed dependencies:
 /var/www/cgi-bin is needed by courier-webadmin-0.37.2-1.7.2
 /var/www/html is needed by courier-webadmin-0.37.2-1.7.2

When RPM installs a package, it does a dependency check, and it consults
the RPM database. In your case, it seems that even though you have the
/var/www directory structure, the RPM database doesn't think you do. What
does rpm -q apache say?

You might want to re-install your apache properly before trying to install
courier-webadmin.

-- 
Anand Buddhdev

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



[courier-users] Anyone using spamassassin with Courier?

2002-02-22 Thread Greg Owen


Is anyone using Spamassassin to filter email with Courier, either as a
global or local filter?  If so, can they provide some simple description of
how they set it up?

I've tried a few of the obvious methods without success.  A quick search
of the list archives suggested someone has done it, but not how.

--
gowen -- Greg Owen -- [EMAIL PROTECTED]
79A7 4063 96B6 9974 86CA  3BEF 521C 860F 5A93 D66D



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



Re: [courier-users] MySQL support is more flexible than LDAP

2002-02-22 Thread Kelvin Cookshaw

Piotr Roszatycki said:
 Thank you very much for your attachment. Where could I find the newer
 version if you will release later?

I'll put it on the list, with a subject line containing the word LDAP.
I'll also try to remember to send it to you directly.

Regards,
Kelvin




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



RE: [courier-users] Re: courier-imap bug?

2002-02-22 Thread Federico Edelman
Title: RE: [courier-users] Re: courier-imap bug?





Um... I'm sorry, this is not a bug.



I'm running courier-imap on Solaris 7 with VxFS. The IMAP_EMPTYTRASH doesn't work.


I have mounted with largefile option.


I think VxFS (or VxFS with largefile option) is not compatible with courier-imap.. 


See:


maildir/maildirpurgetmp.c (courier-imap 1.4.2):
--snip snip-
static void dopurge(const char *m, unsigned nage)
{
time_t current_time;
DIR *dirp;
struct dirent *de;

 time (current_time);
 dirp=opendir(m);
 while (dirp  (de=readdir(dirp)) != 0)
 {
 char *z;
 struct stat stat_buf;

 if (de-d_name[0] == '.') continue;
 z=malloc(strlen(m)+strlen(de-d_name)+2);
 if (!z) continue;

 strcat(strcat(strcpy(z, m), /), de-d_name);

 if (stat(z, stat_buf) == 0
-  stat_buf.st_ctime  current_time - nage)
+  stat_buf.st_mtime  current_time - nage)
 unlink(z);
 free(z);
 }
 if (dirp) closedir(dirp);
}
-- snip snip ---


Why? I'don't know. But I think the stat() (c function) has a problem with VxFS with largefile, the stat_buf.st_ctime get the current time, if you put the stat_buf.st_mtime you get the creation time.

What do you think?



Federico Edelman writes: 


 Hi!
  I'm trying IMAP_EMTPYTRASH. I put in environment variable: 
 
 IMAP_EMPTRYTRASH=Trash:7 
 
 My courier-imap is 1.3.10. 
 
 The message on Trash never has been deleted. 
 
 I change the source code of: 
 
 Imap/imapd.c 
 
 --- snip snip -- 
 
 void emptytrash()
 {
 char *dir, *all_settings, *next_folder, *folder, *p;
 unsigned l;
 
 all_settings=getenv(IMAP_EMPTYTRASH);
 
 if (!all_settings)
 return;
 
 all_settings=strdup(all_settings);
 if (!all_settings)
 return;
 
 - if (strchr(all_settings, ':') == 0 
 + if (strchr(all_settings, ':') == 0 ||
 strchr(all_settings, ',') == 0)
 {
 l=atoi(all_settings);
 
 if (l = 0)
 l=1; 
 
 
 --- snip snip -- 
 
 make, make install ... and the messages has been deleted. 
 
 
 Is this a bug?


No. 



-- 
Sam 



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





[courier-users] Re: Opera and webmail

2002-02-22 Thread Peer Oliver Schmidt

 NO bug with opera 6.0

Excuse me, I stand corrected. It does not work on my Opera 6.0 under Windows 
2000 connected to courier-0.37.2.20020125. 

rgds
pos 

 At 14:57 22/02/2002 +0100, Peer Oliver Schmidt wrote:
I filed a bug report with Opera regarding opening links from within Webmail. This is 
what came back. 
Sam, do you think it is a bug within Opera, or is the ball in webmails' court? 
rgds
pos

From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Fri, 22 Feb 2002 13:36:54 +0100
Subject: Re: Your Bug Report
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
X-Mailer: Opera 6.01 build 1046 
22.02.02 09:05:28, [EMAIL PROTECTED] wrote: 
Have you been able to re-create the problem from within the webmail system itself?

Yes, I have. I sent a letter with an URL in, accessed the letter in the sent folder 
and clicked the URL.
Opera told me that the address type was unknown, and the reason is that there is a 
double quote
sign () in front of the http:// that should not be there. The double quote sign is 
there because you
use this command to go to the address: 
Refresh: 0; URL=http://www.opera.com/; 
I believe the correct command is: 
Refresh: 0; URL=http://www.opera.com/; 
As I can not find documentation on this in W3's HTTP specification, the Refresh 
header may be non-
standard and I think you should use Location: instead. Was this clearer?
-- 
Hallvord R. M. Steen - Customer Service Consultant
Customer Service Dep. - http://www.opera.com
Check out our online tutorial!
http://www.opera.com/support/windows/tutorial/ 
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
 
 

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



Re: [courier-users] bug in webadmin RPM?

2002-02-22 Thread marc lindahl



 From: Anand Buddhdev [EMAIL PROTECTED]

 When RPM installs a package, it does a dependency check, and it consults
 the RPM database. In your case, it seems that even though you have the
 /var/www directory structure, the RPM database doesn't think you do. What
 does rpm -q apache say?

I see, it doesn't check the actual directory.  Shows you how much I know
about RPM (then again, how much should I have to know about it?)

I'm not using apache -- I'm using Zope.  Apache's not installed.  I guess I
can just do an rpm -i --nodeps, since that's the only 'error' that's
printing out?  I don't see (in rpm's man pages) an arg to override something
in the rpm database...


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



Re: [courier-users] maildrop question

2002-02-22 Thread Roland Schneider

--Frank Notspak wrote on 22.02.2002 10:40 -0500:

 I am trying maildrop lookup function
 if (lookup(yes, Maildir/autoformat)) {
xfilter aformat 
 }
 
 But maildrop exit with error if Maildir/autopgp does not exit at all.
 Is there a way to check the existance of the file first before lookup?

This snipped creates monthly sub-folders for mailing-lists:

LIST=tolower($EXT)
YYMM=`$BIN/date +%y%m`
FOLDER=$LIST.$YYMM
MKDIR=`$BIN/test -d $MAILDIR/.$FOLDER || $BIN/maildirmake -s read -f $FOLDER
$MAILDIR 21`
if ( $MKDIR )
{
  log $LOCAL: MKDIR=$MKDIR FOLDER=$FOLDER
}


 Another question: I want the mail to be still delivered if 
 xfilter aformat fails, instead of bouncing the mail.
 I tried
 exception {
 xfilter aformat 
 }
 exit 0
 but it does not seem to work.

xfilter fails if the process returns != 0, as documented.
This makes the integration of dcc, anomy, spamassassin etc.
with maildrop somewhat difficult.

I also would like to have the exitcode placed into $RETURNCODE.

 What is the right way to do this?

Submit nice and clean patches :)


Roland


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



[courier-users] bug in webadmin RPM?

2002-02-22 Thread marc lindahl

Anyone seen this?  The directories it says failed exist, and I tried
changing thier ownership to user/group courier, same thing, their mod's are
755, should be good...


[root@dell i386]# rpm -i courier-webadmin-0.37.2-1.7.2.i386.rpm
error: failed dependencies:
/var/www/cgi-bin is needed by courier-webadmin-0.37.2-1.7.2
/var/www/html is needed by courier-webadmin-0.37.2-1.7.2




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



Re: [courier-users] Is this a mutt bug/ logging protocol erros..

2002-02-22 Thread Matt Valites

On Fri, 22 Feb 2002, Matt Valites wrote:

 Hello once again,
 
 
 This looks like it might be a bug in mutt's imap support, if i try to move a
 message from one folder to another, ala save, mutt issues:
 
 UID COPY id folder
 
 and courier responds with:
 NO Error in IMAP command received by server.
 

Nevermind! :) Should be INBOX.folder

I let a amateur edit my .muttrc... 


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



[courier-users] Imap Configuration Question

2002-02-22 Thread System Administrator ORS

Hi All,

What is the following directive used for aka what does it do ?

IMAP_PERSONAL_NAMESPACE_AT_TOP_LEVEL=1

Thanks alot and Cheers,

Aly.


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



[courier-users] Need assistance setting up courier on my RH 7.1 system.

2002-02-22 Thread gutierrezfrank

I've installed via RPM.  Attempted to configure.  Started to run the tests
and got an error.
I would like to schedule a time to work with someone on this project.
Please contact me via email if you can help.

Thank you,
Frank Gutierrez
email: [EMAIL PROTECTED]


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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



[courier-users] Re: Opera and webmail

2002-02-22 Thread Sam Varshavchik

Peer Oliver Schmidt writes: 

 I filed a bug report with Opera regarding opening links from within 
 Webmail. This is what came back.  
 
 Sam, do you think it is a bug within Opera, or is the ball in webmails' 
 court? 

It's true that Refresh: is not a part of the official HTTP/1.1.  Originally 
this header was an extension in Netscape, and my implementation is based on 
Netscape's (MSIE also uses the same quoting syntax). 

The Location: header cannot be used because it is something completely 
different, and Refresh: is used explicitly due to issues regarding security 
(Location: will leak the Referer: header). 

The proposal to quote the entire header is wrong.  You only need to look at 
HTTP/1.1 (RFC 2068) to see how parametrized HTTP headers are generally 
quoted.  For example, the Content-Type: header is quoted like this: 

 Content-Type   = Content-Type : media-type
...
 media-type = type / subtype *( ; parameter )
...
 parameter  = attribute = value
 attribute  = token
 value  = token | quoted-string 

Hence, the following quoting is valid: 

Content-Type: text/html; charset=us-ascii 

The following quoting is NOT valid: 

Content-Type: text/html; charset=us-ascii 

You can clearly see why the Refresh: header should be quoted used the same 
exact syntax. 

 
 rgds
 pos
 
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Date: Fri, 22 Feb 2002 13:36:54 +0100
 Subject: Re: Your Bug Report
 Mime-Version: 1.0
 Content-Type: text/plain; charset=iso-8859-1
 Content-Transfer-Encoding: 7bit
 X-Mailer: Opera 6.01 build 1046  
 
 22.02.02 09:05:28, [EMAIL PROTECTED] wrote:  
 
 Have you been able to re-create the problem from within the webmail 
 system itself?
 
 Yes, I have. I sent a letter with an URL in, accessed the letter in the 
 sent folder and clicked the URL.
 Opera told me that the address type was unknown, and the reason is that 
 there is a double quote
 sign () in front of the http:// that should not be there. The double 
 quote sign is there because you
 use this command to go to the address:  
 
 Refresh: 0; URL=http://www.opera.com/;  
 
 I believe the correct command is:  
 
 Refresh: 0; URL=http://www.opera.com/;  
 
 As I can not find documentation on this in W3's HTTP specification, the 
 Refresh header may be non-
 standard and I think you should use Location: instead. Was this clearer?
 -- 
 Hallvord R. M. Steen - Customer Service Consultant
 Customer Service Dep. - http://www.opera.com
 Check out our online tutorial!
 http://www.opera.com/support/windows/tutorial/  
 
 ___
 courier-users mailing list
 [EMAIL PROTECTED]
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
 


-- 
Sam 


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



[courier-users] Re: Imap Configuration Question

2002-02-22 Thread Sam Varshavchik

System Administrator ORS writes: 

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

There's no such directive in Courier-IMAP. 

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



Re: R: [courier-users] I: Mysql auth problem - can't login

2002-02-22 Thread Sam Varshavchik

WebMaster www.sfondo.it writes: 


 [root@kylie pippo]# adduser pippo
 [root@kylie pippo]# passwd pippo
 [root@kylie pippo]# maildirmake /home/pippo/Maildir
 [root@kylie pippo]# telnet localhost 110
 Trying 127.0.0.1...
 Connected to localhost.
 Escape character is '^]'.
 +OK Hello there.
 user pippo
 +OK Password required.
 pass 
 -ERR Maildir: Permission denied

Has the thought that there might be something wrong with a root-owned 
Maildir ever occur to you? 


-- 
Sam 


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



[courier-users] Re: 'make test' fails (FreeBSD 4.4)

2002-02-22 Thread Sam Varshavchik

Alexei Batyr' writes: 

 Another already mentioned issue with make check on FreeBSD is still there: 
 
 check fails in module.local directory because Mailbox folder receives
 duplicated test message. After test7 run it contains following instead of
 the single first message. This problem probably could cause incorrect
 behaviour of dynamic delivery mechanism in working MTA.

Correct.  The next step is then to figure out why the duplication occurs. 

 
 From [EMAIL PROTECTED] Wed Feb 20 20:35:02 2002
 Delivered-To: [EMAIL PROTECTED]
 Return-Path: [EMAIL PROTECTED]
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: test of dynamic delivery instructions. 
 
 test
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: test of dynamic delivery instructions. 
 
 test 
 
 Alexei.
 


-- 
Sam 


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



[courier-users] Re: esmtd daemon terminates connection

2002-02-22 Thread spambag

FuZzYBit writes: 

 Hi,
 I dont have a clue. Esmtpd daemon was running fine.
 Now, it starts. I can see it on process list.
  
   178 ?S  0:00
 /usr/lib/courier/sbin/couriertcpd -pid=/usr/lib/courier/var/tmp/pop3d.pid -f
 o
   181 pts/0S  0:00 /usr/lib/courier/sbin/logger courierpop3login
 12436 pts/0S  0:00 -su
 12507 ?S  0:00
 /usr/lib/courier/sbin/couriertcpd -stderrlogger=/usr/lib/courier/sbin/logger
 12512 pts/0S  0:00 /usr/lib/courier/sbin/logger courieresmtpd
  
 But now, connection is closed by host at the very beginning of it.
 Can u help me??
 Tks a lot!!
 

Check for any errors logged to syslog. 

Check for any existing open connections from the same IP address or 
netblock.  There's an upper limit on the number of simultanous connections 
from the same netblock. 


-- 
Sam

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