[courier-users] logrotate

2003-09-19 Thread dick hoogendijk
I installed courier on a Debian Woody linux system but since then my
/var/log/mail/mail.log grows and grows and never gets 'rotated'
Can somebody explain to me how I can set this up myself?
I read 'man logrotate' and can copy some rules, but I'm not sure what to
do on the postrotate line. What exactly do I run there to get courier
started again with a new mail.log?

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.8 ++ Debian GNU/Linux (Woody)
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja


---
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] Comment bug in makeuserdb.

2003-09-19 Thread Matthew Parke Bostrom

I've found a non-critical bug in makeuserdb.  This bug can be
very annoying, because it causes makeuserdb to fail without giving you
any indication of why makeuserdb is failing.

If /etc/courier/userdb/example (for example) ends with a
comment line, and if that final comment line does not have a \n on the
end, makeuserdb will fail, will return 1, and will print a blank line.

I tried looking at the the makeuserdb script to see why this
was the case, but... it's Perl and I don't do Perl that well.

I've verifyied the problem on FreeBSD 4.8 and Gentoo.

Final lines containing user definitions with \n do not cause
problems.  Just comments cause the problem.

-Matthew.




---
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] Mail sending

2003-09-19 Thread Binand Sethumadhavan
On Wed, Sep 17, 2003 at 11:44:30AM -0700, Jim Gifford wrote:
 Is there anyway from the sendmail command line to send a email with an
 attachment??

Not that I know of, as attachments are to be handled by the MUA. I use
mutt for this.

Scripting using mutt is as simple as:

mutt -a /path/to/attachment -s subject [EMAIL PROTECTED] -x  /dev/null

Binand



---
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] Allfilter on Courier-0.43.1 - OpenBSD-3.3

2003-09-19 Thread Jairo Souto
I have Courier-mta-0.43.1 running almost completly on an
OpenBSD-3.3/i386. But I don't get the filter for all messages to
run.

For a _bad_ message Courier works well. The filter responds a
500 error... to Courier and Courier sends it correcty to the
client, rejecting the message.

For a _good_ message, when the filter responds a 200 Ok. to
Courier, Courier logs courieresmtpd: submitclient: EOF from
submit. and responds 432 Service temporarily unavailable. to
the client.

Have any of you any help for this?

Is this a OpenBSD issue? Have we a bug in the allfilter
courier-0.43.1 (I have no Linux box here to test)? Or, probably,
have I to take a vacation?


--Jairo Souto [EMAIL PROTECTED] (38)9971-0014


---
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: compile error with Courier 20030903

2003-09-19 Thread Nerijus Baliunas
On Thu, 04 Sep 2003 06:52:55 -0400 Sam Varshavchik [EMAIL PROTECTED] wrote:

  does this mean anything to anybody ? (using suse 7.2 and gcc 2.95.3, yes 
  i know it's old and i'm planning to update, but )
  
  Compiling maildir.C
  In file included from /usr/include/g++/stl_tree.h:56,
from /usr/include/g++/set:31,
from ../maildir/maildirkeywords.h:435,
from maildir.C:28:
  /usr/include/g++/stl_algobase.h:91: `template class _Tp const _Tp  
  min(const _Tp , const _Tp )' redeclared as different kind of symbol
 
 You'll need to update it, then.

Until now it was possible to compile it even on RH 6.2, now it is not even
possible to compile on RH 7.3. Quite a big jump I think. It would still be nice
to make it compilable with older compilers, it it doesn't take a lot of efforts.

Regards,
Nerijus



---
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-0.43.2 build errors on RH 7.3

2003-09-19 Thread Jeff Jansen
I'm seeing the following error building rpms on an up-to-date RedHat 7.3 
machine.

j2re-1_4_1_05-windows-i586.exe
make[2]: Entering directory `/home/jeff/rpm/BUILD/courier-0.43.2/maildrop'
snip
Compiling maildir.C
In file included from /usr/include/g++-3/stl_tree.h:56,
 from /usr/include/g++-3/set:31,
 from ../maildir/maildirkeywords.h:435,
 from maildir.C:28:
/usr/include/g++-3/stl_algobase.h:91: `template class _Tp const _Tp
min (const _Tp , const _Tp )' redeclared as different kind of symbol
mio.h:80: previous declaration of `MioStdio min'
mio.h:80: previous non-function declaration `MioStdio min'
/usr/include/g++-3/stl_algobase.h:91: conflicts with function
declaration `template class _Tp const _Tp min (const _Tp , const
_Tp )'
/usr/include/g++-3/stl_algobase.h:103: `template class _Tp, class
_Compare const _Tp min (const _Tp , const _Tp , _Compare)'
redeclared as different kind of symbol
mio.h:80: previous declaration of `MioStdio min'
mio.h:80: previous non-function declaration `MioStdio min'
/usr/include/g++-3/stl_algobase.h:103: conflicts with function
declaration `template class _Tp, class _Compare const _Tp min (const
_Tp , const _Tp , _Compare)'
/usr/include/g++-3/stl_algobase.h: In function `bool
lexicographical_compare (const unsigned char *, const unsigned char *,
const unsigned char *, const unsigned char *)':
/usr/include/g++-3/stl_algobase.h:442: no match for call to `(MioStdio)
(const size_t , const size_t )'
/usr/include/g++-3/stl_algobase.h: In function `int
__lexicographical_compare_3way (const unsigned char *, const unsigned
char *, const unsigned char *, const unsigned char *)':
/usr/include/g++-3/stl_algobase.h:490: no match for call to `(MioStdio)
(const ptrdiff_t , const ptrdiff_t )'
make[2]: *** [maildir.o] Error 1
make[2]: Leaving directory `/home/jeff/rpm/BUILD/courier-0.43.2/maildrop'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/jeff/rpm/BUILD/courier-0.43.2/maildrop'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.34831 (%build)

RH 7.3
kernel-2.4.20-20.7
glibc-2.2.5-43

Anyone got any ideas?

Jeff Jansen



---
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: Connection timeouts?

2003-09-19 Thread Sam Varshavchik
Kenneth J Baker writes:

Thanks for the clarification.  Is there a way to force clients to
reauthenticate with the courier-ldap server at specific intervals?
Let's start with the fact that there's no such thing as a courier-ldap 
server.

You'll need to explain a little more what you're trying to do.



pgp0.pgp
Description: PGP signature


[courier-users] Re: couriermlm - managing others' subscriptions without requiring confirmation

2003-09-19 Thread Sam Varshavchik
lists writes:

how do i set up a user so that he can manage a list's subscriptions 
using e-mail commands, without requiring confirmation from the e-mail 
address holder?  some of the list members may not be savvy enough to 
reliably manage even the confirmation process, but their membership is 
mandatory.
E-mail addresses maybe added to the list without confirmation only from the 
command line.

What you need to do is write some custom scripts that receive an E-mail 
message containing the mailing list commands you want to run (properly 
authenticated, of course), and then run them.



pgp0.pgp
Description: PGP signature


[courier-users] Distiguishing pop3d from pop3d-ssl connections in the logs

2003-09-19 Thread Miguel Cabeça
Hello all,

I want to know who is using SSL to connect to my mail server. I could
easily do this by just looking at the logs and grep'ing for pop3d-ssl
connections. But this only shows the connections made to the 995 port.
The conections on the 110 port using STLS command appear as normal
pop3d conections. How can I solve my problem?

Best regards

Miguel Cabeça



---
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: mailfilter and promailrc

2003-09-19 Thread Sam Varshavchik
dick hoogendijk writes:

Hi guru's, 

I changed my sendmail/procmail for courier and am very happy.
Alas, the dox on maildrop and maildropfilter are very poor.
Most of my old procmailrc is translated, but I need some help for the
next two parts. The first is drops a message into a special mailbox
after three conditions (OR, OR, OR). I don't know how to translate this
into .mailfilter.
The second is clear enough. I want to DROP some (local cron) messages.
In linux I send them to /dev/null and they're gone ;-)) How do I get the
same results in .mailfilter?
The simple statement 'exit'

See maildropfilter man page

=-=-=-.procmailrc examples-=-=-=
## first example
:0 HB
* ^Content-Type: multipart/(mixed|alternative)
* ^Content-Type:.*(audio/x-|application|x-rasmol)
* name=.*\.(scr|com|bat|pif|lnk|exe)
if (/^Content-Type: *(multipart/(mixed|alternative)|audio/x-|application|x-rasmol) 
  \
   || name=.*\.(scr|com|bat|pif|lnk|exe))
{
  
}

Note the continuation backslash.



pgp0.pgp
Description: PGP signature


[courier-users] Bounce messages will not go.

2003-09-19 Thread Colin Dick
Hi all,
Still struggling with my queue.  I didn't get any bites on my 
request for a consultant so I will continue to ask questions and hopefully 
solve my own issues.

My current questions involve bounce messages that are not able to
be delivered for some reason.  Currently I have 44000 of 48000 messages in
my queue destined to go to a particular local address
([EMAIL PROTECTED]).  Here is what the mailq entry looks like:

=
12.1K003BC9AA.3F51F613.4F6B  Aug 31 06:20
courier
fail [EMAIL PROTECTED]
=

This is a message that I have run cancelmsg on so it will not 
bother to try to deliver to the listed recipient, but will instead try to 
bounce the message to the sender which is noone.  I understand that when 
there is no sender, the bounce will be sent to postmaster.  Here are the 
relevant log entries from the attempted force:

=
[EMAIL PROTECTED] root]# /usr/lib/courier/sbin/courier flush
003BC9AA.3F51F613.4F6B

Sep 19 15:20:38 courier courierd: completed,id=003BC9AA.3F51F613.4F6B

Sep 19 15:20:42 qmail courierd: 
started,id=003BC9AA.3F51F613.4F6B,from=,module=dsn,host=,addr=
postmaster

Sep 19 15:20:44 qmail courierd: completed,id=003BC9AA.3F51F613.4F6B
=

I have postmaster setup with an alias of [EMAIL PROTECTED] which 
should forward off to another box which runs the exim-MTA.  However, 
instead of being delivered, I get these kinds of entries:

=
Sep 19 15:20:44 qmail courierd: newmsg,id=00238076.3F6B813B.18C4: dns; 
localhost (localhost [127
.0.0.1])

Sep 19 15:20:44 qmail courierd: 
started,id=00238076.3F6B813B.18C4,from=[EMAIL PROTECTED],module=esmtp,host=
ocis.net,addr=[EMAIL PROTECTED]

Sep 19 15:20:44 qmail courierd: 
started,id=00238076.3F6B813B.18C4,from=[EMAIL PROTECTED],module=esmtp,host=
ocis.net,addr=[EMAIL PROTECTED]
=

So, basically, the local postmaster user has an alias to 
[EMAIL PROTECTED]  However, when bounces try to go to that user, the are 
being addressed from [EMAIL PROTECTED] and my Exim-MTA interprets that as a domain 
literal and disallows the message.
I am having a hard time searching this one out as the characters 
seem to be 'special' and so search engines don't give very good results.  
Also, I don't seem to be able to find a search function of the 
courier-users mailing list.

I look forward to any replies that can help define why bounce 
messages destined for the local postmaster get sent as [EMAIL PROTECTED] when 
postmaster has been aliased to an offsite user.  Thanks in advance.

--
Colin Dick
OCIS Admin




---
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: compile error with Courier 20030903

2003-09-19 Thread Sam Varshavchik
Nerijus Baliunas writes:

On Thu, 04 Sep 2003 06:52:55 -0400 Sam Varshavchik [EMAIL PROTECTED] wrote:

 does this mean anything to anybody ? (using suse 7.2 and gcc 2.95.3, yes 
 i know it's old and i'm planning to update, but )
 
 Compiling maildir.C
 In file included from /usr/include/g++/stl_tree.h:56,
   from /usr/include/g++/set:31,
   from ../maildir/maildirkeywords.h:435,
   from maildir.C:28:
 /usr/include/g++/stl_algobase.h:91: `template class _Tp const _Tp  
 min(const _Tp , const _Tp )' redeclared as different kind of symbol

You'll need to update it, then.
Until now it was possible to compile it even on RH 6.2, now it is not even
possible to compile on RH 7.3. Quite a big jump I think. It would still be nice
to make it compilable with older compilers, it it doesn't take a lot of efforts.
I'd certainly welcome reasonable patches that allow Courier to compile on 
older Linux version.  However, since I'm not running anything that old, 
there's really no way for me to test it, so I'll have to rely on people to 
figure out the actual problem, and figure out a patch for it.




pgp0.pgp
Description: PGP signature


[courier-users] Re: authdaemon problems

2003-09-19 Thread Sam Varshavchik
Michelle Murrain writes:

First off, my understanding from the docs and the INSTALL readme was
that MySQL support was native - in order to get it working, I'd just
need to edit the authmysqlrc file (I haven't gotten there yet). So I
used the default build configuration. I could have missed something in
the docs I read, so I was wrong, please let me know. Also, if using RPMs
is better, please let me know.
The default configuration file defines the names of various tables and 
fields that you're going to use for authentication.

Unless your actual database schema just happens to match the suggested 
default configuration, nothing is going to work.

And, using RPMs is highly recommended.  Although you still need to do this 
configuration, RPMs will take care of properly compiling and installing 
MySQL support.



pgp0.pgp
Description: PGP signature


[courier-users] Re: courier-0.43.2 build errors on RH 7.3

2003-09-19 Thread Sam Varshavchik
Jeff Jansen writes:

I'm seeing the following error building rpms on an up-to-date RedHat 7.3 
machine.
...

I think this is caused by some dead code which can be safely removed.

Try this patch.




pgp0.pgp
Description: PGP signature
Index: maildrop/mio.C
===
RCS file: /cvsroot/courier/courier/maildrop/maildrop/mio.C,v
retrieving revision 1.4
diff -U3 -r1.4 mio.C
--- maildrop/mio.C  2 Aug 1999 05:02:26 -   1.4
+++ maildrop/mio.C  19 Sep 2003 22:59:24 -
@@ -220,7 +220,7 @@
return (*this);
 }
 
-MioStdio min(0), mout(1), merr(2);
+MioStdio mout(1), merr(2);
 
 MioStdio::MioStdio(int f)
 {
@@ -241,4 +241,4 @@
return (n);
 }
 
-extern MioStdio min, mout, merr;
+extern MioStdio mout, merr;
Index: maildrop/mio.h
===
RCS file: /cvsroot/courier/courier/maildrop/maildrop/mio.h,v
retrieving revision 1.3
diff -U3 -r1.3 mio.h
--- maildrop/mio.h  9 Sep 1999 05:03:28 -   1.3
+++ maildrop/mio.h  19 Sep 2003 22:59:24 -
@@ -77,6 +77,6 @@
void write(const char *p) { write(p, strlen(p)); }
 } ;
 
-extern MioStdio min, mout, merr;
+extern MioStdio mout, merr;
 
 #endif


pgp1.pgp
Description: PGP signature


[courier-users] Re: Bounce messages will not go.

2003-09-19 Thread Sam Varshavchik
Colin Dick writes:

	So, basically, the local postmaster user has an alias to 
[EMAIL PROTECTED]  However, when bounces try to go to that user, the are 
being addressed from [EMAIL PROTECTED] and my Exim-MTA interprets that as a domain 
literal and disallows the message.
So use cancelmsg on the bounce itself, and it will go away.

	I look forward to any replies that can help define why bounce 
messages destined for the local postmaster get sent as [EMAIL PROTECTED] when 
postmaster has been aliased to an offsite user.  Thanks in advance.
[EMAIL PROTECTED] is not a bounce, it's a double-bounce.  An attempt to send the bounce 
to the sender bounced.  [EMAIL PROTECTED] is specifically chosen so that it CANNOT BE 
sent to a remote address.  All double-bounces MUST be delivered to a local 
mailbox, in order to prevent nasty mail loops.



pgp0.pgp
Description: PGP signature


Re: [courier-users] README ??

2003-09-19 Thread Stefan Hornburg
On Thu, 18 Sep 2003 11:00:55 +0200
Ewald Geschwinde [EMAIL PROTECTED] wrote:

 I'm searching for a file called README.authmysqlrc
 
 I installed the debian packages but when I use
 
 find / -name README.authmysqlrc -print
 
 there is nothing
 also in the source tar balls
 there is nothing
 
 I'm ne to courier and a want a database backend for this
 but there is not a real doc for this on the homepage

Your method of searching is very ineffective. Have you
ever thought of using:

dpkg -S authmysql
dpkg -L courier-authmysql

Ciao
Racke



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



---
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] README ??

2003-09-19 Thread Jesse Keating
On Friday 19 September 2003 03:11, Stefan Hornburg wrote:
 Your method of searching is very ineffective. Have you
 ever thought of using:

 dpkg -S authmysql
 dpkg -L courier-authmysql

How does that help if the software was installed via source?  Or what 
about a system that doesn't have dpkg on it?  There are more Linux 
distros than Debian.

-- 
Jesse Keating RHCE MCSE
http://geek.j2solutions.net
Mondo DevTeam (http://www.microwerks.net/~hugo/)

Was I helpful?  Let others know:
 http://svcs.affero.net/rm.php?r=jkeating


---
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] README ??

2003-09-19 Thread Jesse Keating
On Friday 19 September 2003 03:11, Stefan Hornburg wrote:
 Your method of searching is very ineffective. Have you
 ever thought of using:

 dpkg -S authmysql
 dpkg -L courier-authmysql

Whoops, disregard my comments, didn't see that the user stated he 
Installed the Debian packages.   My bad.

-- 
Jesse Keating RHCE MCSE
http://geek.j2solutions.net
Mondo DevTeam (http://www.microwerks.net/~hugo/)

Was I helpful?  Let others know:
 http://svcs.affero.net/rm.php?r=jkeating


---
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] Compile Errors on RH9

2003-09-19 Thread Thomas Smith
I had Courier-IMAP running on RH7.2. I upgraded to RH9 and all was fine. I 
decided to move away from VmailMgr (was testing it at the time) to 
vpopmail. In order for Courier to authenticate via vpopmail I had to enable 
authvchkpw as I disabled on the prior install.

configure works fine using the following command:

su vpopmail -c ./configure --without-auth pwd --without-authshadow 
--without-authuserdb --without-authcram --without-auth ldap 
--without-authmysql --without-authdaemond

(I used the vpopmail user so ./configure could read 
~vpopmail/lib/libvpopmail.)

The problem occurs when I run make (su vpopmail -c make). I get the 
following error:

gcc -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I.. -Wall -g -O2 -c starttls.c
In file included from /usr/include/openssl/ssl.h:179,
from starttls.c:47:
/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
In file included from /usr/include/openssl/ssl.h:179,
from starttls.c:47:
/usr/include/openssl/kssl.h:132: parse error before krb5_enctype
/usr/include/openssl/kssl.h:134: parse error before FAR
/usr/include/openssl/kssl.h:135: parse error before '}' token
/usr/include/openssl/kssl.h:147: parse error before kssl_ctx_setstring
/usr/include/openssl/kssl.h:147: parse error before '*' token
/usr/include/openssl/kssl.h:148: parse error before '*' token
/usr/include/openssl/kssl.h:149: parse error before '*' token
/usr/include/openssl/kssl.h:149: parse error before '*' token
/usr/include/openssl/kssl.h:150: parse error before '*' token
/usr/include/openssl/kssl.h:151: parse error before kssl_ctx_setprinc
/usr/include/openssl/kssl.h:151: parse error before '*' token
/usr/include/openssl/kssl.h:153: parse error before kssl_cget_tkt
/usr/include/openssl/kssl.h:153: parse error before '*' token
/usr/include/openssl/kssl.h:155: parse error before kssl_sget_tkt
/usr/include/openssl/kssl.h:155: parse error before '*' token
/usr/include/openssl/kssl.h:157: parse error before kssl_ctx_setkey
/usr/include/openssl/kssl.h:157: parse error before '*' token
/usr/include/openssl/kssl.h:159: parse error before context
/usr/include/openssl/kssl.h:160: parse error before kssl_build_principal_2
/usr/include/openssl/kssl.h:160: parse error before context
/usr/include/openssl/kssl.h:163: parse error before kssl_validate_times
/usr/include/openssl/kssl.h:163: parse error before atime
/usr/include/openssl/kssl.h:165: parse error before kssl_check_authent
/usr/include/openssl/kssl.h:165: parse error before '*' token
/usr/include/openssl/kssl.h:167: parse error before enctype
In file included from starttls.c:47:
/usr/include/openssl/ssl.h:909: parse error before KSSL_CTX
/usr/include/openssl/ssl.h:931: parse error before '}' token
make[1]: *** [starttls.o] Error 1
make[1]: Leaving directory 
`/home/tsmith/tmp/qmail/src/courier-imap-1.3.8.1/tcpd'

If I'm interpreting the errors correctly, make is looking for the krb5 
headers and can't find them. The following krb5 programs are installed:

krbafs-devel-1.1.1-9
krb5-workstation-1.2.7-14
krb5-libs-1.2.7-14
krb5-devel-1.2.7-14
krbafs-1.1.1-9
pam_krb5-1.60-1
Does anyone have any suggestions as to what may be causing this problem?

---
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] Mail sending

2003-09-19 Thread Jeremy Ruffer
I use mutt for this.  It has a -a option to attach a file.

Jeremy Ruffer

On Wednesday 17 September 2003 7:44 pm, Jim Gifford wrote:
 Is there anyway from the sendmail command line to send a email with an
 attachment??

 
 Jim Gifford

 [EMAIL PROTECTED]
 [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


---
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] indexing of arbitrary header-fields

2003-09-19 Thread David J. M. Karlsen
Is it possible to make Courier index arbritary header-fields?

I run a large-scale courier based IMAP-site - and we have a steady 
growth in header-searches (mostly for self-defined X-SOME-NAME: 
some-value). On the same time these folders are increasing in size and 
number of messages.

I presume this is kind of difficult since IMAP's protocol defines a 
match for a search as a substring of the valuefield:

SEARCH HEADER My-Field MyValue

so a SEARCH in My-Field for al, My og MyValue would all match, hence 
hashing or other techniques won't work - at least not for a substring - 
thus breaking the protocol if implemented this way.

Does courier implement any [propitary] indexes?

Do anybody know of an IMAP server that can make use of a back-store in a 
 database or the likes, giving faster searching, and a IMAP capable front?

Thanks in advance,
Dave
--
David J. M. Karlsen - +47 90 68 22 43
http://www.davidkarlsen.com
http://mp3.davidkarlsen.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] vpopmail and courier-imap

2003-09-19 Thread Jon Keller
I'm having a problem with authentication and vpopmail with courier-imap, I 
have a server which is very busy with webmail requests and it seems 
courier-imap (or the auth module its using) is updating the open-smtp file, 
its updating so much that its locking other people out while its being 
written to, causing imap auth errors...does anyone have a fix for this?

  -Jon Keller



---
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] Makealiases Problem update

2003-09-19 Thread Jim Gifford
Sam and everyone,
I have tracked the issue down to the tmp file not being created. Sam,
got any ideas. I took another box and reloaded courier and it's doing the
same thing.

aliascombine: ERR: No such file or directory
/usr/sbin/makealiases: line 252: 30663 Donefor f in
$aliasdir/*;
do
echo ##MaKeAlIaSeS##$f; if test -f $f; then
cat $f;
else
echo $f: file not found. 12; echo .;
fi;
done
 30664 Broken pipe | /usr/libexec/courier/aliasexp
$xaliaspfix $xaliastmpdir $module
makealiases: ERR: No such file or directory

Attached is the modified version of makealiases I used to track the errors.

Here is the output of the log
aliastmp=-tmp=/etc/courier/aliases.tmp aliasdump=
aliasalias=-alias=/etc/courier/aliases.dat
xaliaspfix=-xaliaspfix=.xalias/ xaliastmpdir= module=local
xaliaspfix=-xaliaspfix=.xalias/ xaliastmpdir= module=local

This also sort of relates to my sqwebmail problem where the cache files are
not being created.

It has be asked for my configure line, so here it is.
   ./configure --prefix=/usr \
--sysconfdir=/etc/courier \
--with-piddir=/var/run \
--libexecdir=/usr/libexec \
--datadir=/usr/share/courier \
--localstatedir=/var/lib/courier \
--disable-root-check \
--with-db=db \
--with-mailuser=courier \
--with-mailgroup=courier \
--enable-workarounds-for-imap-client-bugs \
--enable-mimetypes=/etc/apache/mime.types \
--with-ispell=/usr/bin/aspell \
--enable-maildropmysql


Jim Gifford

[EMAIL PROTECTED]
[EMAIL PROTECTED]


makealiases
Description: Binary data


error.log
Description: Binary data


[courier-users] Re: indexing of arbitrary header-fields

2003-09-19 Thread Sam Varshavchik
David J. M. Karlsen writes:

SEARCH HEADER My-Field MyValue

so a SEARCH in My-Field for al, My og MyValue would all match, hence 
hashing or other techniques won't work - at least not for a substring - 
thus breaking the protocol if implemented this way.

Does courier implement any [propitary] indexes?
Nope.



pgp0.pgp
Description: PGP signature


[courier-users] Re: vpopmail and courier-imap

2003-09-19 Thread Sam Varshavchik
Jon Keller writes:

I'm having a problem with authentication and vpopmail with courier-imap, I 
have a server which is very busy with webmail requests and it seems 
courier-imap (or the auth module its using) is updating the open-smtp file, 
its updating so much that its locking other people out while its being 
written to, causing imap auth errors...does anyone have a fix for this?
Courier-IMAP does not update any file called open-smtp.  If you search 
Courier-IMAP's source you will find no reference to any file of that name.

This file appears to be updated by the vpopmail library.  Courier-IMAP 
merely invokes a single function whose name includes open-smtp (and this 
portion of the code has actually been pulled out of recent Courier-IMAP 
sources due to a security issue with vpopmail), and everything that happens 
from that point on occurs internal to the vpopmail library.

Issues with vpopmail libraries are better addressed on the vpopmail list.




pgp0.pgp
Description: PGP signature


[courier-users] Re: Compile Errors on RH9

2003-09-19 Thread Sam Varshavchik
Thomas Smith writes:

I had Courier-IMAP running on RH7.2. I upgraded to RH9 and all was fine. I 
decided to move away from VmailMgr (was testing it at the time) to 
vpopmail. In order for Courier to authenticate via vpopmail I had to enable 
authvchkpw as I disabled on the prior install.

configure works fine using the following command:

su vpopmail -c ./configure --without-auth pwd --without-authshadow 
--without-authuserdb --without-authcram --without-auth ldap 
--without-authmysql --without-authdaemond

(I used the vpopmail user so ./configure could read 
~vpopmail/lib/libvpopmail.)

The problem occurs when I run make (su vpopmail -c make). I get the 
following error:

gcc -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I.. -Wall -g -O2 -c starttls.c
In file included from /usr/include/openssl/ssl.h:179,
 from starttls.c:47:
/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
For some reason your configure script did not pick up the Kerberos 
dependencies.

Check in your tcpd/config.log, you should see the following output somewhere 
in there:

configure:2944: checking for krb5-config
configure:2962: found /usr/kerberos/bin/krb5-config
configure:2975: result: /usr/kerberos/bin/krb5-config
Later on in tcpd/config.log you should see this:

configure:5205: checking whether OpenSSL requires Kerberos
configure:5226: gcc -c -I./.. -I.. -Wall -g -O2  conftest.c 5
In file included from /usr/include/openssl/ssl.h:179,
from configure:5243:
/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
... followed by errors similar to yours.  After those error messages you 
should see:

configure:5266: gcc -c -I./.. -I.. -Wall -g -O2 -I/usr/kerberos/include  
conftest.c 5
configure: In function `main':
configure:5288: warning: unused variable `x'
configure:5269: $? = 0
configure:5272: test -s conftest.o
configure:5275: $? = 0
configure:5297: result: yes
configure:5310: checking for OpenSSL 0.9.7
configure:5341: gcc -o conftest -I./.. -I.. -Wall -g -O2 
-I/usr/kerberos/include   conftest.c -lcrypto -L/usr/kerberos/lib -lkrb5 
-lk5crypto -lcom_err   5
configure:5344: $? = 0
configure:5347: test -s conftest
configure:5350: $? = 0
configure:5353: result: yes
configure:5515: creating ./config.status





pgp0.pgp
Description: PGP signature


[courier-users] Re: Makealiases Problem update

2003-09-19 Thread Sam Varshavchik
Jim Gifford writes:

Sam and everyone,
I have tracked the issue down to the tmp file not being created. Sam,
How did you conclude that?

got any ideas. I took another box and reloaded courier and it's doing the
same thing.
aliascombine: ERR: No such file or directory
/usr/sbin/makealiases: line 252: 30663 Donefor f in
$aliasdir/*;
do
echo ##MaKeAlIaSeS##$f; if test -f $f; then
cat $f;
else
echo $f: file not found. 12; echo .;
fi;
done
 30664 Broken pipe | /usr/libexec/courier/aliasexp
$xaliaspfix $xaliastmpdir $module
makealiases: ERR: No such file or directory
Attached is the modified version of makealiases I used to track the errors.

Here is the output of the log
aliastmp=-tmp=/etc/courier/aliases.tmp aliasdump=
aliasalias=-alias=/etc/courier/aliases.dat
xaliaspfix=-xaliaspfix=.xalias/ xaliastmpdir= module=local
xaliaspfix=-xaliaspfix=.xalias/ xaliastmpdir= module=local
I don't see the problem with this output.

This also sort of relates to my sqwebmail problem where the cache files are
not being created.
How is it related?



pgp0.pgp
Description: PGP signature


Re: [courier-users] Re: Makealiases Problem update

2003-09-19 Thread Jim Gifford
My problem seems to be the creating of tmp and cache files.

Here are my permissions for those we have emailed me saying it's a
permission issue.

All the Maildirs are drwx--

/etc/courier
total 408K
drwxr-xr-x 10 courier courier 4.0K 2003-09-19 20:53 .
drwxr-xr-x 63 root root 4.0K 2003-09-19 20:19 ..
drwxr-xr-x 2 courier courier 4.0K 2003-09-19 19:43 aliasdir
drwxr-x--- 2 courier courier 4.0K 2003-09-19 16:25 aliases
-rw-rw 1 courier courier 2.7K 2003-09-19 16:47 authdaemonrc
-rw-rw 1 courier courier 2.7K 2003-09-19 16:12 authdaemonrc.dist
-rw-r--r-- 1 courier courier 11 2003-09-19 16:12 authmodulelist
-rw-rw 1 courier courier 6.4K 2003-09-19 16:42 authmysqlrc
-rw-rw 1 courier courier 6.4K 2003-09-19 16:12 authmysqlrc.dist
-rw-r--r-- 1 courier courier 23 2003-09-19 17:19 bofh
-rw-r--r-- 1 courier courier 6 2003-09-19 16:24 calendarmode
-rw-r--r-- 1 courier courier 8.0K 2003-09-19 16:18 courierd
-rw-r--r-- 1 courier courier 8.0K 2003-09-19 16:12 courierd.dist
-rw-r--r-- 1 courier courier 10 2003-09-19 17:05 defaultdomain
-rw-r--r-- 1 courier courier 802 2003-09-19 16:12 dsndelayed.txt
-rw-r--r-- 1 courier courier 214 2003-09-19 16:12 dsndelivered.txt
-rw-r--r-- 1 courier courier 187 2003-09-19 16:12 dsnfailed.txt
-rw-r--r-- 1 courier courier 335 2003-09-19 16:12 dsnfooter.txt
-rw-r--r-- 1 courier courier 191 2003-09-19 16:12 dsnheader.txt
-rw-r--r-- 1 courier courier 530 2003-09-19 16:12 dsnrelayed.txt
-rw-r--r-- 1 courier courier 30 2003-09-19 16:12 dsnsubjectnotice.txt
-rw-r--r-- 1 courier courier 23 2003-09-19 16:12 dsnsubjectwarn.txt
-rw-r--r-- 1 courier courier 6 2003-09-19 16:13 enablefiltering
-rw-r--r-- 1 root apache 12K 2003-09-19 18:00 esmtpacceptmailfor.dat
drwxr-xr-x 2 root root 4.0K 2003-09-19 16:25 esmtpacceptmailfor.dir
-rw--- 1 courier courier 0 2003-09-19 16:12 esmtpauthclient
-rw-r--r-- 1 courier courier 692 2003-09-19 16:12 esmtp.authpam
-rw-r--r-- 1 courier courier 8.4K 2003-09-19 16:53 esmtpd
-rw-r--r-- 1 courier courier 344 2003-09-19 16:12 esmtpd.cnf
-rw-r--r-- 1 courier courier 8.4K 2003-09-19 16:12 esmtpd.dist
-rw-r--r-- 1 courier courier 3.4K 2003-09-19 16:53 esmtpd-msa
-rw-r--r-- 1 courier courier 3.3K 2003-09-19 16:12 esmtpd-msa.dist
-rw-r--r-- 1 courier courier 5.9K 2003-09-19 16:53 esmtpd-ssl
-rw-r--r-- 1 courier courier 5.9K 2003-09-19 16:12 esmtpd-ssl.dist
drwxr-xr-x 2 root root 4.0K 2003-09-19 16:12 esmtppercentrelay.dir
-rw-r--r-- 1 courier courier 965 2003-09-19 16:13 faxcoverpage.tr
-rw-r--r-- 1 courier courier 965 2003-09-19 16:12 faxcoverpage.tr.dist
-rw-r--r-- 1 courier courier 1.5K 2003-09-19 16:23 faxnotifyrc
-rw-r--r-- 1 courier courier 1.5K 2003-09-19 16:12 faxnotifyrc.dist
-rw-r--r-- 1 courier courier 11K 2003-09-19 17:03 faxrc
-rw-r--r-- 1 courier courier 11K 2003-09-19 16:12 faxrc.dist
drwxr-x--- 3 courier courier 4.0K 2003-09-19 16:12 filters
drwxr-xr-x 2 courier courier 4.0K 2003-09-19 17:05 hosteddomains
-rw-r--r-- 1 root apache 12K 2003-09-19 18:00 hosteddomains.dat
-rw-r--r-- 1 courier courier 12K 2003-09-19 18:00 imapd
-rw-r--r-- 1 courier courier 671 2003-09-19 16:12 imapd.authpam
-rw--- 1 courier courier 338 2003-09-19 16:12 imapd.cnf
-rw-r--r-- 1 courier courier 12K 2003-09-19 16:12 imapd.dist
-rw-r--r-- 1 courier courier 5.9K 2003-09-19 18:00 imapd-ssl
-rw-r--r-- 1 courier courier 5.9K 2003-09-19 16:12 imapd-ssl.dist
-rw-r--r-- 1 root root 618 2003-09-19 16:13 ldapaddressbook
-rw-r--r-- 1 root root 618 2003-09-19 16:12 ldapaddressbook.dist
-rw-r--r-- 1 courier courier 20 2003-09-19 17:05 locals
-rw-r--r-- 1 courier courier 47 2003-09-19 16:24 maildirfilterconfig
-rw-r--r-- 1 courier courier 18 2003-09-19 16:13 maildrop
-rw-r--r-- 1 courier courier 334 2003-09-19 16:32 maildroprc
-rw-r--r-- 1 courier courier 15 2003-09-19 18:12 me
-rw-r--r-- 1 courier courier 71 2003-09-19 16:12 module.dsn
-rw-r--r-- 1 courier courier 98 2003-09-19 16:12 module.esmtp
-rw-r--r-- 1 courier courier 91 2003-09-19 16:12 module.fax
-rw-r--r-- 1 courier courier 86 2003-09-19 16:12 module.local
-rw-r--r-- 1 courier courier 93 2003-09-19 16:12 module.uucp
-rw-r--r-- 1 courier courier 3.4K 2003-09-19 16:25 pop3d
-rw-r--r-- 1 courier courier 680 2003-09-19 16:12 pop3d.authpam
-rw--- 1 courier courier 338 2003-09-19 16:12 pop3d.cnf
-rw-r--r-- 1 courier courier 3.4K 2003-09-19 16:12 pop3d.dist
-rw-r--r-- 1 courier courier 5.5K 2003-09-19 16:24 pop3d-ssl
-rw-r--r-- 1 courier courier 5.5K 2003-09-19 16:12 pop3d-ssl.dist
-r--r--r-- 1 courier courier 516 2003-09-19 16:12 quotawarnmsg.example
-r--r--r-- 1 courier courier 302 2003-09-19 16:12 rfcerr2045.txt
-r--r--r-- 1 courier courier 332 2003-09-19 16:12 rfcerr2046.txt
-r--r--r-- 1 courier courier 301 2003-09-19 16:12 rfcerr2047.txt
-r--r--r-- 1 courier courier 1.2K 2003-09-19 16:12 rfcerrheader.txt
drwxr-xr-x 2 courier courier 4.0K 2003-09-19 16:13 smtpaccess
-rw-r--r-- 1 root root 12K 2003-09-19 18:12 smtpaccess.dat
-rw-r--r-- 1 courier courier 1 2003-09-19 16:24 usexsender
drwx-- 4 courier