RE: [courier-users] courier+mysql problem

2002-02-13 Thread Roland Schneider

--Adrian Caneva wrote on 12.02.2002 16:58 -0300:

 The mysql-query-log would log each connect and query.
 
 The strange thing is that mysql.log is not showing any connection nor query
 from courier daemons.

I observed this problem several times, after changing everything
back and forth and restarted a couple of times it starts working
out of the blue and will never make troubles again...

Maybe it gets the wrong version of libmysql, check the binary
with `ldd authdaemond.mysql` for libmysqlclient, and if you have
several of them on your disk.

 Utilities authtest and authinfo that you mentioned seem not to be included
 in Debian packages. Is there a way to compile only those tools ?

They will be compiled with the source, but dont get installed.
This perl-script is similar to authtest, but works only with
authdaemon.

File authdaemontest.pl, adjust the $prefix:

#!/usr/bin/perl

my $prefix = '/usr/lib/courier';
my $authsock = $prefix.'/var/authdaemon/socket';
(-S $authsock) or die no socket: $authsock;

my $user = $ARGV[0];
my $pass = $ARGV[1];
print # $0 $user $pass\n;

use Socket;
socket(SOCK, PF_UNIX, SOCK_STREAM, 0);
connect(SOCK, sockaddr_un($authsock)) or die $authsock: $!;

if($pass)
{ my $authstring = login\nlogin\n$user\n$pass;
  my $authlength = length($authstring);
  send SOCK, AUTH $authlength\n$authstring\n, 0 or die $authsock: $!;
}
elsif($user)
{ send SOCK, PRE . login $user\n, 0 or die $authsock: $!;
}
else
{ print Socket OK: $authsock\n;
  print Usage: $0 loginname [password]\n;
  exit(3);
}

my @data = SOCK;
close SOCK;

# if ( $data[0] =~ /FAIL/ )
if ( @data =~ /FAIL/ )
{ print *** AUTH FAILED ***\n;
  exit(2);
}

print @data;

if ( !$pass )   { exit(1); }
exit(0);


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



RE: [courier-users] help with vpopmail 5.2 and courier imap

2002-02-13 Thread gross, cedric


 -Message d'origine-
 De : Michel 'ZioBudda' Morelli [mailto:[EMAIL PROTECTED]]
 Envoyé : mercredi 13 février 2002 10:48
 À : [EMAIL PROTECTED]
 Objet : [courier-users] help with vpopmail 5.2 and courier imap
 
 
 Hi, I have installed vpopmail 5.2 (upgrade from 4.9.10) 
 w/mysql. It work
 because if I exec
 /bin/vadduser [EMAIL PROTECTED] password
 the new user is stored into DBMS.
 
 Now I need an Imap server that run on vpopmail 5.2. I have choice
 courier-imap. I have exec this configure:
 
 /configure  --disable-root-check --prefix=/usr/local/courier-imap/
 --with-mailuser=vpopmail
 --with-authchangepwdir=/usr/local/courier-imap//libexec/authlib
 --with-db=gdbm --with-userdb=/etc/userdb
 --with-makedatprog=/usr/local/courier-imap//libexec/makedatprog
 --without-socks --with-authchangepwdir=/var/tmp/dev/null
 --cache-file=.././config.cache --srcdir=.

Try that may be : --with-authvchkpw 
 
 make and make install are ok.
 Exec of /usr/local/courier-imap/libexec/imapd.rc start  is ok.
 If I telnet imap-server 143 it return me :
  OK Courier-IMAP ready. Copyright 1998-2001 Double Precision, Inc.  Se
 
 But If I try to connect via mail-reader, the mail-reader return to me
 that the imap-server does not respond in correct way. If I run
 /usr/local/courier-imap/libexec/authlib/authvchkpw
 it returns me :

Normaly you can't run authvchkpw like this..
So don't care about that.
 
 AUTHFAILURE
 
 Why this ?
 plz help me.
 plz.
 
 Tnx in advance.
 Michel
 
 
 
 ___
 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] help with vpopmail 5.2 and courier imap

2002-02-13 Thread Michel 'ZioBudda' Morelli

On Wed, 13 Feb 2002, gross, cedric wrote:
Try that may be : --with-authvchkpw

After 2 minutes I have tried autotest (or similar) and my error was that I
try to authenticat myself link michel and non michel@mydomain.

Normaly you can't run authvchkpw like this..
So don't care about that.

tnx

--
D: Perche`, ora, il pinguino si mangia ?
R: No ma cucina bene le finestre! ;))
--
Michel ZioBudda Morelli   [EMAIL PROTECTED]

ICQ UIN: 58351764   PR of Linux in Italy
http://www.ziobudda.net http://www.linuxlab.it


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



Re: [courier-users] Re: NOTICE: mail delivery status.

2002-02-13 Thread Robert Penz

On Saturday 09 February 2002 03:09, you wrote:
  what does tell me that error message? and what do need it to change in
  order that it works?
 SSL negotiation failure.  Either turn off SSL, or play with the
 TLS_PROTOCOL setting in the esmtpd configuration file.
sorry for the late answer but I was on vaction.

how can I disalbe the ssl stuff only if courier makes the connection to an 
other mail server? I would like to use ssl for my clients.

-- 
Regards,
Robert

Robert Penz
[EMAIL PROTECTED]



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



[courier-users] Re: pop3-apop.patch: APOP with authuserdb and authmysql

2002-02-13 Thread Sam Varshavchik

Roland Schneider writes: 

 btw: any chance to decrypt the hmac-md5pw listed in userdb
 back to plaintext ?

Nope - it's a oneway hash. 

-- 
Sam 


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



[courier-users] Re: mail addresses case sensitive?

2002-02-13 Thread Sam Varshavchik

Robert Penz writes: 

 Hi! 
 
 I can send a mail to [EMAIL PROTECTED] but not [EMAIL PROTECTED], I 
 thought mail adresses are chase insensitive?

Technically, only the domains are case insensitive.  Courier always 
preserves the case of non-local mail addresses.  Case insensitive local 
addresses are enabled by the localllowercase file. 


-- 
Sam 


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



Re: [courier-users] Re: mail addresses case sensitive?

2002-02-13 Thread Robert Penz

On Wednesday 13 February 2002 14:22, you wrote:
 Technically, only the domains are case insensitive.  Courier always
 preserves the case of non-local mail addresses.  Case insensitive local
 addresses are enabled by the localllowercase file.
do I just need to create that file in /etc/courier/ ?

-- 
Regards,
Robert

Robert Penz
[EMAIL PROTECTED]

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



[courier-users] Domain rewriting ?

2002-02-13 Thread Justin Backman

I want to set up aliases where users of my server can send mail to
groupname@group and it will be rewritten to the correct address. For
example:
groupname@group1 might be rewritten to [EMAIL PROTECTED]
whereas
groupname@group2 might be rewritten to [EMAIL PROTECTED]
I have about 1000 groups split between 5 mail servers and don't wish to
create individual filters for each

Any ideas?

Justin Backman



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



Re: [courier-users] Re: mail addresses case sensitive?

2002-02-13 Thread Roland Schneider

--Robert Penz wrote on 13.02.2002 14:37 +0100:

 On Wednesday 13 February 2002 14:22, you wrote:
 Technically, only the domains are case insensitive.  Courier always
 preserves the case of non-local mail addresses.  Case insensitive local
 addresses are enabled by the localllowercase file.
 do I just need to create that file in /etc/courier/ ?

Try `man courier`, also available at courier-mta.org.

Roland


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



[courier-users] simple question about maildirmake

2002-02-13 Thread Eli Spizzichino

Hi to all,
hi need a hint to crate subfolders:
when I use  /var/qmail/bin/maildirmake -f /home/user/Maildir/test to create 
the subfolder test no error message appear but no directory is created. If 
I repeat the command this is the message maildirmake: fatal: unable to 
mkdir -f: file already exists

What have I do?
thank you
Eli



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



RE: [courier-users] simple question about maildirmake

2002-02-13 Thread M. van der Kolk

Sorry, forgot to paste the message:

I'm not quite sure, but this is what happened to me. When I create a
subfolder with webmail, say subfolder called test, it creates the subfolder,
but adds a .(dot) to it in front of the name. ls will not show it. Try ls -a
and see if there is a subfolder called .test instead of test.

Major Nono

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Namens Eli Spizzichino
Verzonden: woensdag 13 februari 2002 16:24
Aan: [EMAIL PROTECTED]
Onderwerp: [courier-users] simple question about maildirmake


Hi to all,
hi need a hint to crate subfolders:
when I use  /var/qmail/bin/maildirmake -f /home/user/Maildir/test to create
the subfolder test no error message appear but no directory is created. If
I repeat the command this is the message maildirmake: fatal: unable to
mkdir -f: file already exists

What have I do?
thank you
Eli



___
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] Courier MTA on win32 platform?

2002-02-13 Thread Sysop

Can't be done.

I understand the need for more MS support for CLIENTS, but for SERVERS? 
 Come on... there is nothing wrong with having a solaris box or a linux 
box running your mail.  Honestly, it's just silly to try to move it to 
win32 platform.

Im a MCSE, and consider that my professional opinion.  Stick to non MS 
solutions

Patrick B. wrote:

Hi!

Cc: [EMAIL PROTECTED]
Subject: Re: [courier-users] Courier MTA on win32 platform?



Good god, why shoot yer self in teh foot?  Can I ask, what logical
reasoning do you have to migrate to a win32 platform??!


Since when is logical reasoning involved if someone chooses ms solutions? ;)
Well, we do not plan to replace the working Solaris solution with a win32
one,
it is an additional support for win32 because surprisingly, many people do
use
ms os/soft, especially in small to mid-size companys.

Any hints regarding Courier/Cygwin still appreciated. :)

ciao
Patrick







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



Re: [courier-users] simple question about maildirmake

2002-02-13 Thread Sysop

Use your email CLIENT to make the subfolders.

Your client will create a folder like .folder  within your Maildir 
directory.  The maildirmake utility is to make the initial maildir 
setup, not to make subdirectories.

M. van der Kolk wrote:


-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Namens Eli Spizzichino
Verzonden: woensdag 13 februari 2002 16:24
Aan: [EMAIL PROTECTED]
Onderwerp: [courier-users] simple question about maildirmake


Hi to all,
hi need a hint to crate subfolders:
when I use  /var/qmail/bin/maildirmake -f /home/user/Maildir/test to create
the subfolder test no error message appear but no directory is created. If
I repeat the command this is the message maildirmake: fatal: unable to
mkdir -f: file already exists

What have I do?
thank you
Eli



___
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 mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



RE: [courier-users] simple question about maildirmake

2002-02-13 Thread M. van der Kolk



-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Namens Eli Spizzichino
Verzonden: woensdag 13 februari 2002 16:24
Aan: [EMAIL PROTECTED]
Onderwerp: [courier-users] simple question about maildirmake


Hi to all,
hi need a hint to crate subfolders:
when I use  /var/qmail/bin/maildirmake -f /home/user/Maildir/test to create
the subfolder test no error message appear but no directory is created. If
I repeat the command this is the message maildirmake: fatal: unable to
mkdir -f: file already exists

What have I do?
thank you
Eli



___
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] Re:Re:Courier MTA on win32 platform?

2002-02-13 Thread Stefan Kruger

On Wed, 13 Feb 2002, Patrick B. wrote:

 Seems that one should be graceful for getting an answer at all because
 other people in this mailing list probably don't even bother reading a
 message if there's a 'forbidden word' like win32 in the subject. ;)
 Anyway, if the only reason is that win sucks, I don't care; I don't do
 this for personal entertainment. Are you sure about your statement,
 did you ever hear of someone who tried it and failed? Could you please
 be more precise and list at least the most important of those 'many
 reasons'?

Pointless? Yes, probably. Impossible? No, probably not.

Are you intending to port the whole set of unix syscalls, api etc first? I
think that it would probably be quicker to start from scratch than trying
to port something as complex (and inherently unix-tied) as courier, unless
you use some sort of unix portability layer in between (cygnus32 or
whatever it's called nowadays). Quite a few complex systems run under
cygnus32 and similar, including perl.

If you said you'd be doing this out of intellectual curiosity, or for fun,
then I'd say good for you, let's hear about it when you get it to run. If
you intend to do this for work, to be installed on paying customers' win32
machines, then I'm sure that there are other, better, quicker, cheaper
solutions available to you.

cheers, stef

-- 
Dr Stefan Kruger [EMAIL PROTECTED] http://www.inty.net
Developer, Intelligent Network Technology Ltd
1700 Park Avenue, Aztec West, Bristol BS32 4UA, UK


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



[courier-users] Connection closed by foreign host.

2002-02-13 Thread Mark Constable

Got a very reluctant courieresmptd that refuses to talk
on port 25 using a 0.37.2 Debian package with authmysql. 
Local mail is delivered so it's obviously accessing MySQL
and the rest of the chain just fine but telnetting to it's
port 25 just gets the Subject line.

 # ps aux | grep courieremsptd
 root  1943  0.0  0.1  1488  608 pts/1S02:23   0:00 \
 strace -f /usr/sbin/couriertcpd -stderrlogger=/usr/sbin/courierlogger \
 -user=daemon -group=daemon -access=/etc/courier/smtpaccess.dat \
 -maxprocs=40 -maxperc=5 -maxperip=5 -pid=/var/run/courier/esmtpd.pid \
 smtp /usr/sbin/courieresmtpd
 daemon1948  0.0  0.0  1448  336 ?S02:23   0:00 \
 /usr/sbin/courierlogger courieresmtpd

The strace -f sits at this point below and when accessed
with a telnet host 25 from another box it at least shows
some sign of life.

 ) = 1 (in [5])
 [pid  1946] rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
 [pid  1946] rt_sigprocmask(SIG_SETMASK, [], [CHLD], 8) = 0
 [pid  1946] accept(5, {sin_family=AF_INET6, sin6_port=htons(48773), \
  inet_pton(AF_INET6, :::203.xx.xx.xx, sin6_addr), \
  sin6_flowinfo=0, sin6_scope_id=0}, [24]) = 6
 [pid  1946] close(6)= 0
 [pid  1946] select(6, [5], NULL, NULL, NULL

The only vague thing I can string together is maybe the
currently used kernel does not have any ipv6 code or modules
compiled in... would this be enough to stop an otherwise
working courier-mta (internally) from talking via port 25 ?
 
Linux ssl 2.2.15 #1 Fri May 19 14:44:30 EST 2000 i686 unknown

--markc

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



[courier-users] Re: Nested lists and duplicate mails

2002-02-13 Thread Brion Moss


 Brion Moss writes:



 Subject:
 [courier-users] Re: Nested lists and duplicate mails
 From:
 Sam Varshavchik [EMAIL PROTECTED]
 Date:
 Mon, 11 Feb 2002 17:35:29 -0500
 To:
 [EMAIL PROTECTED]

 Brion Moss writes:

 I have some mailing lists which are set up with .courier files in 
 /usr/lib/courier/etc/aliasdir.  The lists look like:
 list1: john, tom, mary
 list2: john, lisa, ted
 list3: list1, list2
 The problem is that when mail is sent to list3, john gets two 
 copies. How can this be avoided?

  

 This should not happen.  However looking at made-up data instead of 
 the actual contents of your alias file makes it impossible to do any 
 additional analysis.  Also, the output of makealiases -dump would 
 also be useful.

 6 postal:/usr/lib/courier/etc/aliasdir# pwd   
 /usr/lib/courier/etc/aliasdir
 7 postal:/usr/lib/courier/etc/aliasdir# cat .courier-engr


 This is not an alias.
 See the 'makealiases' man page.

 Is there any other information that would be relevant for tracking 
 down the problem?


 You're not using aliases.  You're using something else.

I never said I was using aliases, I said I was using .courier files.

That established, what can I do to keep my users from getting multiple 
copies of the same message when mail is sent to the parent list?

-Brion



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



[courier-users] imapd freeze on client request

2002-02-13 Thread Eli Spizzichino

Hi to all,
I have to often restart imap with /usr/lib/courier-imap/libexec/imapd.rc
because sometimes resynchronizing the messages in some folder on my Eudora 
client freeze the server and I was unable to see new messages.
Anybody have the same problem?
(I use qmail for the MTA)
Thank you
Eli



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



Re: [courier-users] Re: Nested lists and duplicate mails

2002-02-13 Thread Bill Williamson

- Original Message -
From: Brion Moss [EMAIL PROTECTED]
 I never said I was using aliases, I said I was using .courier files.

 That established, what can I do to keep my users from getting multiple
 copies of the same message when mail is sent to the parent list?


My guess is, nothing, except for using alias files.

A .courier file gives processing instructions.  It gets to line 1, and
delivers to that person (if it's not a | command).  If that person has their
own .courier file, it knows nothing of the previous .courier files
processed, and shouldn't!  It's the same thing as you cc-ing two lists, and
expecting people on both lists not to get two copies.



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



[courier-users] change message status to read with POP + IMAP

2002-02-13 Thread Dan Yost

Hello all,

I noticed that if I view a message via IMAP (Courier is the server) and
then, later, download the message via POP3 (Courier's pop3d sever), it
shows up as unread.  Not that big of a deal, but I liked the way my
messages would show up as read back when I was using Sendmail and regular
mail spool (mbox) files.  If I telnet to port 110 and issue pop commands
(just a RETR to grab a message), then the next time I fire up an IMAP
client (Pine), the message shows up as having been read.  So, it looks
like things work great in that regard, going from POP--IMAP, but does
anybody know how to go the other way (IMAP--POP)?  In other words, once
I've read a message with my IMAP client, can I make the pop3d server show
the message as having been read when I later download it with my POP3
client (Eudora)?  I even had a nice set of Eudora filters to go between
Pine and Eudora for messages that had been replied to with Pine (X-Status:
A) and so forth, back in the Sendmail+mbox files days...

Thanks,
Dan


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



[courier-users] Mail loop detection failure.

2002-02-13 Thread Carlos Andres Paz

Hello List! 

I'm running the whole courier suit, my users can use sqwebmail to setup 
filter recipes, and I got a very nasty mail loop when I configured a filter 
like this: 

Mailbox A send a copy of each message to mailbox B, but B was 
invalid/unreachable (bad mx register), so each time A got a message, it was 
copied to B, but the copy failed and bounced back to A, and then maildrop 
copied the bounce to B and the bounce bounced and so on In a matter of 
minutes mailbox A got overquota and thousands of failed delivery messages 
were sent to postmaster after that...  and the mail queue got full with 
thousands more! 

I tried with an intentional loop (A copy to B and B copy to A) and it works 
the same! a total denial of service! 

Is there a way to avoid this ? I'm really worried that my users begin to 
setup mail loops un/intentionally with sqwebmail! 

This might not be a bug, but surely is a very nasty feature!
Is there something that can be done? 

Thanks for your help! 

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



[courier-users] Re: [courier-users] Re:Re:Courier MTA on win32 platform?

2002-02-13 Thread Luc Brouard (mailing lists)

If you need other servers, why don't you just install linux or *BSD
and install courier on it ?

I don't see the reason for any win32 platform (even if you managed to
run courier with cygwin...), are you planning to run other services
on this win32 box ? If no just do linux instead ...

luc

Patrick B. said:
 Hi!

 Sam wrote:
 Well, we do not plan to replace the working Solaris solution with a
 win32 one,
 it is an additional support for win32 because surprisingly, many people
 do use
 ms os/soft, especially in small to mid-size companys.

 Courier MTA on win32 systems.
 Does anybody have an idea of how this could work (if at all)?

No, it will not work.  For many reasons.  Forget it.

 Seems that one should be graceful for getting an answer at all because
 other people in this mailing list probably don't even bother reading a
 message if there's a 'forbidden word' like win32 in the subject. ;)
 Anyway, if the only reason is that win sucks, I don't care;
 I don't do this for personal entertainment.
 Are you sure about your statement, did you ever hear of someone
 who tried it and failed?
 Could you please be more precise and list at least the most important
 of those 'many reasons'?


 Thanks,
 Patrick


 
  patrick berzbach . weblicon technologies ag
  software developer sync technology

  torstrasse 6 . vox: +49 (0)30-72 62 69-127 .
  http://www.weblicon.net d-10119 berlin   . fax: +49 (0)30-72 62 69-100
  . [EMAIL PROTECTED]






 ___
 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] Administration of Courier and Linux users in LDAP using php

2002-02-13 Thread Lars Althof



Hi All,
I am in the process of creating a series of scripts 
for administrating Courier mailusers as well as ordinary Linux users and 
contacts in an LDAP database.
What I have now works so far that I am able to 
create new real users and virtual mail users in the LDAP database. My script 
also generates a file of commands for creating the necessary directories to be 
executed by a cron job or by other means.
If anybody is interested in helping me out, 
especially with testing and providing good ideas, the whole thing can be 
downloaded at http://www.larch.dk/downloads/useradmin.tgz
It is yet very undocumentet so beware.

Please comment...

TIA

Lars


[courier-users] Mail Relay issue

2002-02-13 Thread Patrick Beart

Folks:

I'm at my wits end on this:

My company is using server software that is running Courier v 
0.28 as its MTA. We have a client that prefers to serve their own 
E-mail, using a Cobalt Cube appliance in their offices. This Cube is 
being fed by a DSL connection. We hold the client's DNS and Web 
site (virtual) account files on our server. We setup the DNS zone 
file for this client so that there are MX records for:
1)the client's Cube's IP address for Mail
2)   our server's mail IP address (for mail backup)
3)   our colocation partner's mail backup IP

...  in that priority order (#1 being highest priority, #2 next, etc.)

The client has several HTML forms pages on our server, in 
their virtual account. The forms pages are set to send the resulting 
CGI forms data output to [EMAIL PROTECTED]. Courier has been 
bouncing most of the info mail for over 2 months, apparently due to 
the fact that there is no info mail alias or user on our server for 
this client account.

1)  We were instructed (by the company that produces our server 
OS) to remove the MX record for our server (#2, above), from the 
client's DNS zone file. That didn't stop the bounces.

2)  We were also instructed to turn off the mail server for this 
account on our server.

3)  The client is still not receiving some (most) E-mail messages 
from the info address when it is used via the Web pages.

4)  They CAN receive E-mail from the info account, when it is 
input directly into some E-mail software (e.g. Outlook Express), and 
outside of the Web site pages.

5)  We are cc-d on all Web site (and CGI processed HTML forms) 
E-mail links and addresses. We are receiving the E-mail from the 
forms, even if the client doesn't, provided that the mail doesn't 
bounce.

Any clues as to what might be a fix for this situation? TIA




Patrick Beart
-- 

Web ArchitectureiWeb4Biz 503-774-8280   Portland, OR
Internet Consulting, Intelligent Web site Development  Secure site Hosting.
http://www.WebArchitecture.com/

This is an era when nonsense has become acceptable and sanity is 
controversial.
  - Thomas Sowell


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



Re: [courier-users] Courier MTA on win32 platform?

2002-02-13 Thread Aly S.P Dharshi

I second that.

ASD.

- Original Message -
From: Sysop [EMAIL PROTECTED]
To: Patrick B. [EMAIL PROTECTED]
Cc: Courier [EMAIL PROTECTED]
Sent: Wednesday, February 13, 2002 8:35 AM
Subject: Re: [courier-users] Courier MTA on win32 platform?


 Can't be done.

 I understand the need for more MS support for CLIENTS, but for SERVERS?
  Come on... there is nothing wrong with having a solaris box or a linux
 box running your mail.  Honestly, it's just silly to try to move it to
 win32 platform.

 Im a MCSE, and consider that my professional opinion.  Stick to non MS
 solutions

 Patrick B. wrote:

 Hi!
 
 Cc: [EMAIL PROTECTED]
 Subject: Re: [courier-users] Courier MTA on win32 platform?
 
 
 
 Good god, why shoot yer self in teh foot?  Can I ask, what logical
 reasoning do you have to migrate to a win32 platform??!
 
 
 Since when is logical reasoning involved if someone chooses ms solutions?
;)
 Well, we do not plan to replace the working Solaris solution with a win32
 one,
 it is an additional support for win32 because surprisingly, many people
do
 use
 ms os/soft, especially in small to mid-size companys.
 
 Any hints regarding Courier/Cygwin still appreciated. :)
 
 ciao
 Patrick
 
 
 
 



 ___
 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] courier-imap / postfix / procmail outlook ??

2002-02-13 Thread Marc van Duivenvoorde

wow some subject, I've got the following config, I use postfix as mta and
for my own account I pipe all my mail through procmail which puts all mail
in certain imap subfolders. Now when I check my mail with outlook it just
shows the mail in the main inbox and only shows new mail in subfolders when
I select them.

Does anyone know how to fix this, and I can't find a good config howto for
my freebsd 4.4 stable server.

Thanx,

Marc van Duivenvoorde


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



[courier-users] Re: Connection closed by foreign host.

2002-02-13 Thread Sam Varshavchik

Mark Constable writes: 

 Got a very reluctant courieresmptd that refuses to talk
 on port 25 using a 0.37.2 Debian package with authmysql. 
 Local mail is delivered so it's obviously accessing MySQL
 and the rest of the chain just fine but telnetting to it's
 port 25 just gets the Subject line. 
 
  # ps aux | grep courieremsptd
  root  1943  0.0  0.1  1488  608 pts/1S02:23   0:00 \
  strace -f /usr/sbin/couriertcpd -stderrlogger=/usr/sbin/courierlogger \
  -user=daemon -group=daemon -access=/etc/courier/smtpaccess.dat \
  -maxprocs=40 -maxperc=5 -maxperip=5 -pid=/var/run/courier/esmtpd.pid \
  smtp /usr/sbin/courieresmtpd
  daemon1948  0.0  0.0  1448  336 ?S02:23   0:00 \
  /usr/sbin/courierlogger courieresmtpd 
 
 The strace -f sits at this point below and when accessed
 with a telnet host 25 from another box it at least shows
 some sign of life. 
 
  ) = 1 (in [5])
  [pid  1946] rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
  [pid  1946] rt_sigprocmask(SIG_SETMASK, [], [CHLD], 8) = 0
  [pid  1946] accept(5, {sin_family=AF_INET6, sin6_port=htons(48773), \
   inet_pton(AF_INET6, :::203.xx.xx.xx, sin6_addr), \
   sin6_flowinfo=0, sin6_scope_id=0}, [24]) = 6
  [pid  1946] close(6)= 0
  [pid  1946] select(6, [5], NULL, NULL, NULL 
 
 The only vague thing I can string together is maybe the
 currently used kernel does not have any ipv6 code or modules
 compiled in... would this be enough to stop an otherwise
 working courier-mta (internally) from talking via port 25 ?

Try disabling IPv6 support.  Some IPv6 implementations have broken header 
files that add additional padding to the sockaddr_in6 structure, which is 
not returned by accept().  If accept() returns a smaller sockaddr_in6 
structure than what's declared in the header files, the connection will be 
closed. 


-- 
Sam 


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



[courier-users] Re: Mail loop detection failure.

2002-02-13 Thread Sam Varshavchik

Carlos Andres Paz writes: 

 I tried with an intentional loop (A copy to B and B copy to A) and it 
 works the same! a total denial of service! 

This should not happen.  An intentional loop should be detected fairly 
early, via duplicate Delivered-To: headers. 

 Is there a way to avoid this ? I'm really worried that my users begin to 
 setup mail loops un/intentionally with sqwebmail! 

Loops due to bouncing on forwards is a bit more problematic.  Try the 
following patch: 

-- 
Sam 



Index: maildir/maildirfilter.c
===
RCS file: /cvsroot/courier/libs/maildir/maildirfilter.c,v
retrieving revision 1.12
diff -U3 -r1.12 maildirfilter.c
--- maildir/maildirfilter.c 8 Jan 2002 04:47:58 -   1.12
+++ maildir/maildirfilter.c 13 Feb 2002 23:26:32 -
@@ -424,7 +424,7 @@
if (*fromaddr != ''  *fromaddr != '\''  *fromaddr != '\\')
putc(*fromaddr, f);
}
-   fprintf(f, \'\n\n);
+   fprintf(f, \'\nimport SENDER\nif ($SENDER ne \\)\n{\n FROM=$SENDER\n}\n\n);
 
for (p=r-first; p; p=p-next)
{
@@ -519,7 +519,7 @@
 
if (*tofolder == '!')
{
-   fprintf(f, %s \| $SENDMAIL -t -f '$FROM' %s\\n,
+   fprintf(f, %s \| $SENDMAIL -t -f \ '\$FROM\' \ 
+%s\\n,
p-flags  MFR_CONTINUE ? cc:to,
tofolder+1);
}
Index: maildir/testsuite.txt
===
RCS file: /cvsroot/courier/libs/maildir/testsuite.txt,v
retrieving revision 1.10
diff -U3 -r1.10 testsuite.txt
--- maildir/testsuite.txt   8 Jan 2002 12:54:07 -   1.10
+++ maildir/testsuite.txt   13 Feb 2002 23:26:32 -
@@ -37,6 +37,11 @@
 # DO NOT EDIT THIS FILE.  This is an automatically generated filter.
 
 FROM='[EMAIL PROTECTED]'
+import SENDER
+if ($SENDER ne )
+{
+ FROM=$SENDER
+}
 
 ##Op:startswith
 ##Header:subject
@@ -154,7 +159,7 @@
 
 if ((/^subject: *x/))
 {
-to | $SENDMAIL -t -f '$FROM' [EMAIL PROTECTED] [EMAIL PROTECTED]
+to | $SENDMAIL -t -f  '$FROM'  [EMAIL PROTECTED] [EMAIL PROTECTED]
 }
 
 ##Op:startswith



[courier-users] Re: Mail Relay issue

2002-02-13 Thread Sam Varshavchik

Patrick Beart writes: 

 Folks: 
 
   I'm at my wits end on this: 
 
   My company is using server software that is running Courier v 0.28 as its 
 MTA. We have a client that prefers to serve their own E-mail, using a 
 Cobalt Cube appliance in their offices. This Cube is being fed by a DSL 
 connection. We hold the client's DNS and Web site (virtual) account files 
 on our server. We setup the DNS zone file for this client so that there 
 are MX records for:
   1)the client's Cube's IP address for Mail
   2)   our server's mail IP address (for mail backup)
   3)   our colocation partner's mail backup IP 
 
 ...  in that priority order (#1 being highest priority, #2 next, etc.) 
 
   The client has several HTML forms pages on our server, in their virtual 
 account. The forms pages are set to send the resulting CGI forms data 
 output to [EMAIL PROTECTED]. Courier has been bouncing most of the info 
 mail for over 2 months, apparently due to the fact that there is no info 
 mail alias or user on our server for this client account.

Rather than making random guesses, or struggling to describe a complex 
configuration, it is much easier to simply post the relevant data: the 
actual DNS records; the contents of Courier's configuration files; a sample 
non-delivery report, etc...  Nobody's going to be able to make heads or 
tails of this mess based on some vague description, which could be easily 
misunderstood. 

-- 
Sam 


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



[courier-users] Re: Courier MTA on win32 platform?

2002-02-13 Thread Sam Varshavchik

Patrick B. writes: 

 Well, we do not plan to replace the working Solaris solution with a win32
 one,
 it is an additional support for win32 because surprisingly, many people do
 use
 ms os/soft, especially in small to mid-size companys.

Only because they don't know any better.  Nobody who's serious about running 
stable servers will want anything to do with anything written by Microsoft. 

 Courier MTA on win32 systems.
 Does anybody have an idea of how this could work (if at all)?
 
No, it will not work.  For many reasons.  Forget it.
 
 Seems that one should be graceful for getting an answer at all because
 other people in this mailing list probably don't even bother reading
 a message if there's a 'forbidden word' like win32 in the subject. ;)
 Anyway, if the only reason is that win sucks, I don't care;
 I don't do this for personal entertainment.
 Are you sure about your statement, did you ever hear of someone
 who tried it and failed?
 Could you please be more precise and list at least the most important
 of those 'many reasons'?

No filesystem-domain socket support. 

No hard linking support. 

No soft linking support. 

No named pipe support. 

Nothing like uids and gids. 

No POSIX signal support. 

No POSIX file locking support. 

One or two of these might have been implemented by Microsoft/Cygwin since 
the last time I checked.  However, I doubt that everything that's needed to 
correctly emulate a POSIX system is there. 

Go ahead and try to run the configure script.  Should be interesting to see 
how far it will go, before breaking. 

-- 
Sam 


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



[courier-users] Re: courier-imap / postfix / procmail outlook ??

2002-02-13 Thread Sam Varshavchik

Marc van Duivenvoorde writes: 

 wow some subject, I've got the following config, I use postfix as mta and
 for my own account I pipe all my mail through procmail which puts all mail
 in certain imap subfolders. Now when I check my mail with outlook it just
 shows the mail in the main inbox and only shows new mail in subfolders when
 I select them.

Enable IMAP_CHECK_ALL_FOLDERS 


-- 
Sam 


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



Re: [courier-users] courier-imap / postfix / procmail outlook ??

2002-02-13 Thread Sysop

Marc van Duivenvoorde wrote:

wow some subject, I've got the following config, I use postfix as mta and
for my own account I pipe all my mail through procmail which puts all mail
in certain imap subfolders. Now when I check my mail with outlook it just
shows the mail in the main inbox and only shows new mail in subfolders when
I select them.

Does anyone know how to fix this, and I can't find a good config howto for
my freebsd 4.4 stable server.

Thanx,

Marc van Duivenvoorde


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

Perhaps, tell outlook to check all folders for new messages.  Looks like 
a client issue to me.



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



[courier-users] Webadmin not working

2002-02-13 Thread Les Stott



Hi All,

I have Courier Webadmin installed but it is not 
working. On the local host I can get the login screen up but the password is 
always invalid.
I have modified the /etc/courier/webadmin/password 
file so it just contains a plain text password and ensured that permissions on 
the file were 400 and owned by root and in the group root. However even after 
restarting Courier it still would not accept the password.
Do I need to reinstall? I have searched through the 
mailing list for similar issues but couldn't find anything.

By the way Courier version is 0.35.

This all came about because I wish to block email 
from a certain domain. Some fool in my organisation has subscribed to an email 
list with a company address. Hence I am getting undesirable emails.I got 
told that it is easier to block emails from a certain domain through webadmin. 
Is there another way to do this?

Thanks in advance for any 
help.Regards,

Les StottSystems AdministratorRentokil 
Initial[EMAIL PROTECTED](02) 
9370 9348

This email is confidential. If you are not the 
intended recipient, you must not disclose or use the information contained 
in it. If you have received this in error, please advise the sender by 
return email and delete the material from your computer.

Rentokil Initial Pty Ltd ABN 98 000 034 597 does 
not warrant that any attachments are free from viruses or any other defects. You 
assume all liability for any loss, damage or other consequences which may arise 
from opening or using the attachments.


[courier-users] Webadmin not working and how to block email from a domain

2002-02-13 Thread Les Stott

Hi All,

I have Courier Webadmin installed but it is not working. On the local host I
can get the login screen up but the password is always invalid.
I have modified the /etc/courier/webadmin/password file so it just contains
a plain text password and ensured that permissions on the file were 400 and
owned by root and in the group root. However even after restarting Courier
it still would not accept the password.
Do I need to reinstall? I have searched through the mailing list for similar
issues but couldn't find anything.

By the way Courier version is 0.35.

This all came about because I wish to block email from a certain domain.
Some fool in my organisation has subscribed to an email list with a company
address. Hence I am getting undesirable emails. I got told that it is easier
to block emails from a certain domain through webadmin. Is there another way
to do this?

Thanks in advance for any help.


Regards,

Les Stott
Systems Administrator
Rentokil Initial
[EMAIL PROTECTED]
(02) 9370 9348


This email is confidential. If you are not the intended recipient, you must
not disclose
or use the information contained in it. If you have received this in error,
please
advise the sender by return email and delete the material from your
computer.

Rentokil Initial Pty Ltd ABN 98 000 034 597 does not warrant that any
attachments are free from viruses or any other defects. You assume all
liability for any loss, damage or other consequences which may arise from
opening or using the attachments.


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



[courier-users] Training Seminar: LAN WAN Design for the Enterprise

2002-02-13 Thread Settec
Title: March  2002 Seminars 
 



  



  



   

 
   


  
 
  




  
  
   
 
  
 
  


 
  

  
  
 
  
  
  
  
  
  

  
   
 
   

   
 Agooza 
  Police Tower,Nawal St., Third floor, Agooza, Giza, Egypt
  
   
 
  Tel./Fax.

 
  +2 
(02) 3387527 - +2 (02) 3362040 - +2 (02) 7614343

  
   
 
  Mobile.

 
  +2 
(012) 3228395

  
   
 
  E.mail

 
  [EMAIL PROTECTED] 
Web 
Page: www.settecltd.com

  

  

  



../Fax.

 
  +2 
(02) 3387527 - +2 (02) 3362040 - +2 (02) 7614343

  
   
 
  Mobile.

 
  +2 
(012) 3228395

  
   
 
  E.mail

 
  [EMAIL PROTECTED] 
Web 
Page: www.settecltd.com

  

  

  






[courier-users] Re: Best way to create a folder

2002-02-13 Thread Sam Varshavchik

Paul Goodyear writes: 

 The resaon I'm asking this here is because I got courier-imap on and
 when I try to create a folder in the Inbox it won't let me, probably
 because courier-imap uses files instead of folders, so you are unable to
 create a folder in a folder,

Nonsense.  Courier-IMAP has always been able to create folders within 
folders. 

  unless I goto the mail dir and hard create
 a folder. I thought that was obvious in the last email.

No, it's not obvious.  I doubt that anyone had any idea what you were 
talking about. 

 Regards, 
 
 Paul Goodyear 
 
 -Original Message-
 From: Sam Varshavchik [mailto:[EMAIL PROTECTED]] 
 Sent: 07 February 2002 22:48
 To: [EMAIL PROTECTED]
 Subject: [courier-users] Re: Best way to create a folder 
 
 
 Paul Goodyear writes:  
 
 I want to beable to create a folder inside a folder on the imap 
 server, but folders are created as files, is the best way to create a 
 folder on the mail directory then to create a folder inside that?
 
 Why are you asking this here?  Check the documentation for your IMAP
 mail 
 client for instructions how to create nested folders.  
 
 
 -- 
 Sam  
 
 
 ___
 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
 


-- 
Sam 


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



[courier-users] courier-imap-1.4.1 on Mac OS X 10.1

2002-02-13 Thread Faris Hassani

Hi,

I'm having problem in compiling and loading the librfc1035.a. The 
culprit is rfc1035_default_resolver. rfc1035_default_resolver seems to 
be undefined.

The only way I can think of to solve this is by redefining

rfc1035_res.h : struct rfc1035_res rfc1035_default_resolver;
rfc1035_res.c : extern struct rfc1035_res rfc1035_default_resolver;

originally

rfc1035_res.c : extern struct rfc1035_res rfc1035_default_resolver;
rfc1035_res.h : struct rfc1035_res rfc1035_default_resolver;

This seems to solve the problem of compiling and loading the library. Is 
this ok?

Faris.


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