Re: [courier-users] Re: web amil filters

2003-02-28 Thread Binand Raj S.
On Thu, Feb 27, 2003 at 12:33:08PM -0500, David Mir wrote:
 Your exactly right (of course!) I have chosen custom ./Maildir (I am pretty 
 sure this was the default).  My questions is can I switch to Maildrop and not 
 mess up everyone's email up? ie. does maildrop by default deliver in 
 $HOME/Maildir (or ./Maildir) or do I have enter something in 
 /etc/courier/maildroprc (I read man page (maildrop) it says it can deliver to 
 maildir, does maildrop know automatically as opposed to mbox files)? Thank 
 you for your time, Sam, Courier rocks, you have convert me from Qmail!!  If 
 there is some place that explains this I will be glad to read it.

I just finished doing this last Saturday. :)

In etc/courierd, set:

DEFAULTDELIVERY=| /path/to/maildrop
MAILDROPDEFAULT=./Maildir (DEFAULT variable in maildrop).

Then:

echo /path/to/maildrop  etc/maildrop # To tell courier that
LDA is maildrop, this path should match DEFAULTDELIVERY above.

You might also want to initialize etc/maildropfilter (see courier(8)).

I also have etc/maildirfilterconfig as (for filtering setup from sqwebmail):

MAILDIRFILTER=../.mailfilter
MAILDIR=./Maildir

A question I have is, how do I use deliverquota with maildrop as
my DEFAULTDELIVERY? Right now, my etc/maildroprc looks like:

# cat /etc/courier/maildroprc
import SENDER
import RECIPIENT
import HOME

xfilter /usr/bin/spamc

(Recipients then filter using sqwebmail or outlook rules, on messages tagged
[SPAM]).

All I have to do is add

to | deliverquota -w 85 ./Maildir ?? Will it take the quota from userdb?

I am asking this because I saw a web reference that says maildrop now includes
the functionality of deliverquota (http://freshmeat.net/releases/107972/).

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


Re: [courier-users] Re: Problem with mysql authentication

2003-02-28 Thread Jesse Cablek
Karsten Dambekalns wrote:
On Don, Feb 27, 2003 at 10:56:46 +, Roland Schneider wrote:


My MySQL log shows the query actually happens. authtest just gives me
'Temporary failure from authdaemon'. The courier log just says 'LOGIN
FAILED'.
Unless you provide the query verbatim as logged by mysql,
and the result if you execute the query manually its safe
to assume a typo and/or whitespaces where none should be.


In 'my' thread all this has been discussed already, and it seems even
Sam gave up. I *did* show the query, and I *did* show the results, and
I *did* check the config files for whitespace (more than once).
You may want to check out the recordio program from:

  http://cr.yp.to/ucspi-tcp.html

to record all I/O and see what's happening. It may help. Possibly strace 
also if you have that instead. Not sure how much or what it will record, 
but I'd guess it would show the outbound MySQL connection attempt to 
make sure it's even connecting properly and such.

Keep in mind you will probably have to integrate this into your rc file 
somewhere to capture it (unless you run Courier-IMAP via daemontools 
like me)

/jesse



---
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: Problem with mysql authentication

2003-02-28 Thread Roland Schneider
--Karsten Dambekalns wrote on 27.02.03 13:48 +0100:

 In 'my' thread all this has been discussed already, and it seems even
 Sam gave up. I *did* show the query, and I *did* show the results, and
 I *did* check the config files for whitespace (more than once).

Stick with authtest, with only one argument, and change the
password to 'test' so you dont have to edit the output.
Make shure it has the same timestamp as all the other binaries
below libexec/authlib.

Then attach strace to the running authdaemon, make shure you
get the correct one. (the one with the higher pid)

Alternatively the following script will connect directly to
authdaemon, just like authtest (should):


#!/usr/bin/perl

my $user = 'whatever';
# my $pass = 'test';
my $authsock = '/wherever/var/authdaemon/socket';

print # $0: $user $pass\n;

use Socket qw(:DEFAULT :crlf);
socket(SOCK, PF_UNIX, SOCK_STREAM, 0);
connect(SOCK, sockaddr_un($authsock)) or die $authsock: $!\n;

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: $!\n;
}
else
{
  send SOCK, PRE . login $user\n, 0 or die $authsock: $!\n;
}

# while( SOCK ) { print $_; }

print SOCK;


or recompile --without-autdaemon and run authtest wrapped
within strace which makes everything much simpler:

strace -ffrTv -a 128 -s 128 ./authtest whoever

Its also possible to start authdaemon from within strace
with something like: (from an old script)

strace -f -ff -o strace -s 128 /wherever/libexec/authlib/authdaemond.mysql start

but it might be difficult to extract the relevant information.

Roland



---
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: IMAP err with auth

2003-02-28 Thread Christoph Puppe
Salve Sam,

that didn't help :(

=
[EMAIL PROTECTED] courier]# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK Courier-IMAP ready. Copyright 1998-2002 Double Precision, Inc.  See 
COPYING for distribution information.
A001 LOGIN firma1 test
A001 NO Login failed.
A002 LOGOUT
* BYE Courier-IMAP server shutting down
A002 OK LOGOUT completed
Connection closed by foreign host.
[EMAIL PROTECTED] courier]# /root/authtest firma1 test
Authenticated: module authdaemon
Home directory: /home/firma1
UID/GID: 504/504
AUTHADDR=firma1
AUTHFULLNAME=none
==

Checked with Moz 1.2.1 as well. Same result:
Feb 28 11:25:14 ana imapd: Connection, ip=[127.0.0.1]
Feb 28 11:25:24 ana imapd: LOGIN: DEBUG: ip=[127.0.0.1], command=LOGIN
Feb 28 11:25:24 ana imapd: LOGIN: DEBUG: ip=[127.0.0.1], username=firma1
Feb 28 11:25:30 ana imapd: LOGIN FAILED, ip=[127.0.0.1]
Feb 28 11:25:43 ana imapd: LOGIN: DEBUG: ip=[127.0.0.1], command=LOGOUT
Feb 28 11:25:43 ana imapd: LOGOUT, ip=[127.0.0.1]
Feb 28 11:27:44 ana imapd: Connection, ip=[10.23.5.175]
Feb 28 11:27:44 ana imapd: LOGIN: DEBUG: ip=[10.23.5.175], 
command=CAPABILITY
Feb 28 11:27:48 ana imapd: LOGIN: DEBUG: ip=[10.23.5.175], command=LOGIN
Feb 28 11:27:48 ana imapd: LOGIN: DEBUG: ip=[10.23.5.175], username=firma1
Feb 28 11:27:53 ana imapd: LOGIN FAILED, ip=[10.23.5.175]
Feb 28 11:27:55 ana imapd: LOGIN: DEBUG: ip=[10.23.5.175], command=LOGOUT
Feb 28 11:27:55 ana imapd: LOGOUT, ip=[10.23.5.175]

Sam Varshavchik wrote:
Christoph Puppe writes:

Salve,

when I try authtest name pass it says OK and returns 
uid/gid/homedir. When I connect to the 143 and write A001 LOGIN user 
pass it fails.

Config:
/etc/courier/imap: AUTHMODULES=authdaemon
/etc/courier/authdeamonrc: authmodulelist=authpam authmysql
Any pointers?


Reverse the list order of authmysql and authpam.



---
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
--
Mit freundlichen Grüßen
Christoph Puppe
Security Consultant
We secure your business.(TM)
___
HiSolutions AG Phone:+49 30 533289-0
Bouchéstrasse 12   Fax:  +49 30 533289-99
D-12435 Berlin Internet: http://www.hisolutions.com
___


_
E-Mail Disclaimer
Der Inhalt dieser E-Mail ist ausschliesslich fuer den bezeichneten
Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat
dieser E-Mail oder dessen Vertreter sein sollten, so beachten Sie
bitte, dass jede Form der Kenntnisnahme, Veroeffentlichung,
Vervielfaeltigung oder Weitergabe des Inhalts dieser E-Mail
unzulaessig ist. Wir bitten Sie, sich in diesem Fall mit dem Absender
der E-Mail in Verbindung zu setzen.
The information contained in this email is intended solely
for the addressee. Access to this email by anyone else is
unauthorized. If you are not the intended recipient, any form
of disclosure, reproduction, distribution or any action taken
or refrained from in reliance on it, is prohibited and may be
unlawful. Please notify the sender immediately.
---
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: Problem with mysql authentication

2003-02-28 Thread Karsten Dambekalns
On Fre, Feb 28, 2003 at 02:52:39 -0500, Jesse Cablek wrote:
 Karsten Dambekalns wrote:
 ...
 In 'my' thread all this has been discussed already, and it seems even
 Sam gave up. I *did* show the query, and I *did* show the results, and
 I *did* check the config files for whitespace (more than once).
 
 
 You may want to check out the recordio program from:
 
   http://cr.yp.to/ucspi-tcp.html

Thanks for the hint, I'll look at it.

 but I'd guess it would show the outbound MySQL connection attempt to 
 make sure it's even connecting properly and such.

Well, I *know* it's connecting to MySQL, the data is in the MySQL
query log. What I do *not* know is what happens afterwards, what it
does with the information returned from MySQL and why it denies the
login...

Karsten


---
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: RE: [courier-users] courier : sqwebmail

2003-02-28 Thread Soumya Akanksha
hi thanks for replying

I have installed the following
courier-0.39.3-1.8.0.i386.rpm
courier-imapd-0.39.3-1.8.0.i386.rpm
 courier-ldap-0.39.3-1.8.0.i386.rpm
 courier-maildrop-0.39.3-1.8.0.i386.rpm
 courier-maildrop-wrapper-0.39.3-1.8.0.i386.rpm
 courier-pop3d-0.39.3-1.8.0.i386.rpm

 courier-webadmin-0.39.3-1.8.0.i386.rpm
courier-webmail-0.39.3-1.8.0.i386.rpm
thanks again
akanksha
On Fri, 28 Feb 2003 Bill Michell wrote :
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of 
Soumya
 Akanksha
 Sent: 28 February 2003 05:29
 To: [EMAIL PROTECTED]
 Subject: [courier-users] courier : sqwebmail


 hello ppl

 I have installed courier from an rpm . nOW I want to use its
 sqwebmail feature for setting up a mail server. How should i 
go
 aboutwith it. I want to use ldap or system passwords as
 authentication. If anyone has implemented the same thing could 
you
 please send me the documentation
 thanks a lot

You need to be clearer about *which* rpm. Was it one of Sam's 
own, or was it
one made by someone else in order to suit a particular system? 
Which courier
components does it include? Just the IMAP server? Just the core 
components?
The entire suite? Which courier version is it?

--
Bill Michell
[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


Re: [courier-users] Re: Problem with mysql authentication

2003-02-28 Thread Karsten Dambekalns
On Don, Feb 27, 2003 at 09:31:54 -0600, Josh Trutwin wrote:

 I don't know if this has been posted already but for me it started working
 once I set version=authdaemond.mysql in authdaemonrc.

Tried that, didn't help. The 'right' daemon is running anyway
(according to ps output).

Thanks,
Karsten


---
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] shared IMAP folders - problems with mozilla evolution

2003-02-28 Thread Rafal Krzewski
Hello list!

I'm trying to use the shared folders functionality but I've run into
some problems. First I'll describe my setup:

There is an account called 'caltha-office' that recieves the email
sent to the address [EMAIL PROTECTED] (there is an alias info:
caltha-office-info, and a .courier-info file in /home/caltha-office
that redirects those messages to ./Maildir/.info)
The maildir directory /home/caltha-office/Maildir was created using
maildirmake -S command -- I want this maildir to be shared by Caltha
staff members. The IMAP folder 'info' was created using -s group
option of maildirmake. Staff members rafal  pablo have their unix
users added to the unix group caltha-office -- they are able to view
the contents of the /home/caltha-office/Maildir/.info/new  cur
directories (I've verified that).
After doing the above I've checked that messages are successfully
delivered into the shared IMAP folder. I noticed that the message
files in the 'new' directory have 600 permissions, and thus they are
not readable to the staff members (although the 'new' directory is).
This makes me a little worried, but there was further trouble...

I've run the command 'maildirmake --add
caltha-office=/home/caltha-office/Maildir' command in each of the
staff members home directories. And tried to subscribe to the shared
folder (and asked my colleagues to do the same). The results were as
following:

Myself, using Mozilla 1.3b, I was able to see the folder listed
as 'shared/caltha-office/info' but I was not able to subscribe:
Mozilla displayed an error message 'Mail server responded: Cannot
subscribe to this folder..'

Pablo, using Evolution 1.2.1 was not able to see the folder in the
'show all folders' view, and when he switched to 'show folders with
names that begin with', and typed 'shared' into the input field
was able to see 'shared' and 'caltha-office' folders, but was not
able to subscribe to eiter of those. When he typed
'shared.caltha-office' into the input filed he was able to see
'caltha-office' as a subfolder of 'shared', but still not was not able
to subscribe to it. He didn't see the 'info' subfolder at all (and
obviously was not able to subscribe to it).

Has anybody around here experience with making these work?
I'd appreciate any tips!

R.






---
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: empty SENDER

2003-02-28 Thread ricardo

Thanks Sam.

So let me put it another way... other than internally generated courier
messages, and delivery status notifications, could there be an empty sender?

I'm trying to determine if in my mailfilter it is safe to accept
messages with empty sender, or if there are possibilities of malicious or 
junk mail in which the sender is empty?

 Hi,
 
 I noticed that whenever a message is coming in from courier itself, the
 $SENDER is empty in maildrop.
 
 Are there any other cases the $SENDER will be empty? 

Of course.  $SENDER is set to empty for delivery status notifications.  
Delivery status notifications may originate from any mail server.

 I'm hoping smtp requires a MAIL FROM envelope for all external
 connections, which would mean that the $SENDER should never be empty?

That's not correct.


Re: [courier-users] courier-imap Maildir problem

2003-02-28 Thread Keith Matthews
On 28 Feb 2003 10:30:42 -0600
Richard Houston [EMAIL PROTECTED] wrote:

 I may be wrong here but as far as I know sendmail does not do maildir
 it only does mbox ( /var/spool/mail/username ). You need to look at
 Postfix, Qmail or Exim for smtp services. Postfix (www.postfix.org) is
 fast reliable and a dream to configure.
 

ISTR that postfix is an install alternative with RH starting with 8.0
(earlier versions used to insist on having sendmail).

Ther are a number of howtos on postfix+Courier-imap linked to from the
postfix site covering the ue of maildrop and virtual users supported by
MySQL.

 Rich
 
 On Fri, 2003-02-28 at 04:49, Soumya S wrote:
  
  hey p'ple!
 I've installed courier-imap on RH 8.0...Just for trial 
  purpose am testing it with sendmail...
  
  So i Telnet 2 port 143..it aborted on its own..saying no maildirs 
  were made...
  
  To make Maildirs..i tried command maildirmake ..its giving a 
  bash...
  
  Now am stuck n donno how 2 proceed...
  
  Can anybody help
  ??
  
  Sou
  
  
  
  
  
  ---
  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


---
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] Migrating IMAP folders problem

2003-02-28 Thread James McOrmond
This is my situation:

mail server is debian woody based.
using debian/testing versions (0.39.1) of 
courier-mta/sqwebmail/courier-imap,etc..
ldap authentication

This is working..

I'm migrating my users over from a Cyrus-IMAP based system.  I found a 
program called: OfflineIMAP which sync's a local maildir directory, 
with a remote IMAP server.

This copied all the messages over from the other server, into my already 
functioning mailboxes.

My only problem is that courier-imap doesn't seem to want to play well 
with the sub-folders.

if I have a Tech IMAP folder, when I try to subscribe the first time, 
it fails, but it succeeds the second time.

If I have a Tech.accounts folder, i'm unable to subscribe to it in 
Courier-IMAP (using Mozilla) at all.

I am able to use all the folders in SQWebmail fine.

Have I missed an allow imap sub-folders option in courier-imap somewhere?

--
James A. Mcormond ([EMAIL PROTECTED])
QA Specialist, Networking and Bugzilla Guy
Xandros Corporation, Ottawa, Canada
Simple. Compatible. Linux.


---
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] IMAP SMTP authentication

2003-02-28 Thread dschaible
Greetings list,

Does anyone know if it's possible to have IMAP logins added to the
allowed-relay list in the same fashion as POP clients?  I am using
smtp-poplock and it works great for POP users but I need to have it
catch IMAP users in the same fashion.

Currently, I am using the qmail-pop3d program for pop which is playing
nicely with smtp-poplock through tcp server and a fifo.  Does anyone
have any thoughts on how I might do the same for courier-imap?  Can
courier-imap be run via tcpserver in the same fashion?  I don't know
where to begin..

Thanks in advance,
Derek



---
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] Migrating IMAP folders problem

2003-02-28 Thread James McOrmond

mail server is debian woody based.
using debian/testing versions (0.39.1) of
courier-mta/sqwebmail/courier-imap,etc..
ldap authentication
hey, that is exactly my setup!
I've now got global spamassasin working, will be doing per-user 
white/black lists (vi mysql hopefully) as soon as I can get a few other 
things working :-)

 My only problem is that courier-imap doesn't seem to want to play well
 with the sub-folders.
have you checked to make sure the subfolders are correct? they have
maildirfolder file and cur,new,tmp?
Yup, SQWebmail works with them fine.

maybe just try subscribing them all by default. That is what I did, by
writing to courierimapsubscribed:
But courier-imap doesn't seem to want to work..  I can't even create 
sub-directories in Mozilla.

I can create inbox.test, but can't create inbox.test.blah.

-
James A. Mcormond ([EMAIL PROTECTED])
QA Specialist, Networking and Bugzilla Guy
Xandros Corporation, Ottawa, Canada
Simple. Compatible. Linux.


---
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: Migrating IMAP folders problem

2003-02-28 Thread Sam Varshavchik
James McOrmond writes:

If I have a Tech.accounts folder, i'm unable to subscribe to it in 
Courier-IMAP (using Mozilla) at all.

I am able to use all the folders in SQWebmail fine.

Have I missed an allow imap sub-folders option in courier-imap somewhere?
There is no such option.



---
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: empty SENDER

2003-02-28 Thread Sam Varshavchik
[EMAIL PROTECTED] writes:

Thanks Sam.

So let me put it another way... other than internally generated courier
messages, and delivery status notifications, could there be an empty sender?
Anyone can use any return address for any message, including an empty one; 
but officially only delivery status notifications (which includes bounces, 
delivery receipts, and vacation messages) are supposed to have an empty 
return address.  And, of course, anyone can be running a vacation 
autoresponder.

I'm trying to determine if in my mailfilter it is safe to accept
messages with empty sender, or if there are possibilities of malicious or 
junk mail in which the sender is empty?
Of course there's junk mail around with an empty sender; just like there's 
plenty of junk mail where the sender address is set to 
[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


[courier-users] Re: shared IMAP folders - problems with mozilla evolution

2003-02-28 Thread Sam Varshavchik
Rafal Krzewski writes:

The maildir directory /home/caltha-office/Maildir was created using
maildirmake -S command -- I want this maildir to be shared by Caltha
staff members. The IMAP folder 'info' was created using -s group
option of maildirmake. Staff members rafal  pablo have their unix
users added to the unix group caltha-office -- they are able to view
the contents of the /home/caltha-office/Maildir/.info/new  cur
directories (I've verified that).
After doing the above I've checked that messages are successfully
delivered into the shared IMAP folder. I noticed that the message
files in the 'new' directory have 600 permissions, and thus they are
not readable to the staff members (although the 'new' directory is).
This makes me a little worried, but there was further trouble...
That's not going to work.  If you're using maildrop, use the UMASK variable 
to set permissions on delivered mail.  If you're using something else to 
deliver mail use whatever you need to use to have the messages globally 
readable.



---
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] Separate authmysqlrc for IMAP and POP?

2003-02-28 Thread Mailinglists
I have some accounts I only want to give access via IMAP and some only with 
POP. 

Is it possible to have separate sql settings for IMAP and POP? 

I have read through some documentation, but nothing I have found adresses this 
issue. 
It could possibly be a setting in authdeamonrc, like POPRC = authmysqlrc.pop 
and IMAPRC = authmysqlrc.imap

Anybody has a clue?

Peter Andersson



---
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] Yahoo! Mail error When using Courier POP3

2003-02-28 Thread Mitch Vincent
A user reported that since we started using the Courier IMAP/POP3 
server they cannot check their mail through Yahoo!

Yahoo!'s error :

POP server does not support LAST command. You may only
retrieve POP mail from this server using get all
messages.
Is there anything I can do to add support for this missing LAST command?

If not it's not a crazy big deal, just wondered..

Thanks to all!

-Mitch



---
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] Separate authmysqlrc for IMAP and POP?

2003-02-28 Thread Mailinglists
I have looked into the code with my poor c skills and here is a first-attempt.
I have not tested the code.

Please someone with some kind of understanding of this. Take a short stop. 
I don't know if there are any general need for this, but it seems I'm not alone 
anyway.

yours, Peter Andersson

Attached is same as text below:

# This is a REAL amateur attempt for achieving separate MYSQL_WHERE_CLAUSE for 
IMAPd and POP3d
# I have LITTLE experience of c years back, and have never done this kind of 
coding, so possibly I have got strcmp all backwards or something similiar. 
# My hope is not that this gets mainstream, but that I can get some help on 
this.  


# Have looked into sourceforge downloaded sourcetree courier-imap-1.7.0
# Patch attempt to authmysqllib.c

# ENV var indicating where authdeamon is called from
# CALLED_BY = POPd or IMAPd as string, default to IMAPd 

# line 674 and further
where_clause=read_env(MYSQL_WHERE_CLAUSE);
where_clausePOPd=read_env(MYSQL_WHERE_CLAUSE_POPd);
where_clauseIMAPd=read_env(MYSQL_WHERE_CLAUSE_IMAPd);

if (!where_clause) 
{
if (strcmp(CALLED_BY, POPd) == 0)
 where_clause = where_clausePOPd; 
else 
 where_clause = where_clauseIMAPd; 

if (!where_clause) 
 where_clause = ;
}

# I assume this ENV var can be set in the respective main() functions before 
calling authdeamon, so 
# pop3dserver.c, line 803-ish
putenv(CALLED_BY=POPd);
# and imapd.c, line 3214-ish
putenv(CALLED_BY=IMAPd);


 
 --Mailinglists wrote on 27.02.03 13:50 +0100:
 
  I have some accounts I only want to give access via IMAP and som only with
 POP.
 
  Is it possible to have separate sql settings for IMAP and POP?
 
 This wont need separate settings, an additional flag/variable
 for MYSQL_SELECT_CLAUSE would be enough, but needs a patch.
 
  I have read through some documentation, but nothing I have found adresses
 this
  issue.
  It could possibly be a setting in authdeamonrc, like POPRC =
 authmysqlrc.pop
  and IMAPRC = authmysqlrc.imap
 
  Anybody has a clue?
 
 You could use authmysql for one, and authuserdb for the
 other if you build courier --without-authdaemon.
 
 Roland
 
 
 
 ---
 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 is a REAL amateur attempt for achieving separate MYSQL_WHERE_CLAUSE for IMAPd 
and POP3d
# I have LITTLE experience of c years back, and have never done this kind of coding, 
so possibly I have got strcmp all backwards or something similiar. 
# My hope is not that this gets mainstream, but that I can get some help on this.  


# Have looked into sourceforge downloaded sourcetree courier-imap-1.7.0
# Patch attempt to authmysqllib.c

# ENV var indicating where authdeamon is called from
# CALLED_BY = POPd or IMAPd as string, default to IMAPd 

# line 674 and further
where_clause=read_env(MYSQL_WHERE_CLAUSE);
where_clausePOPd=read_env(MYSQL_WHERE_CLAUSE_POPd);
where_clauseIMAPd=read_env(MYSQL_WHERE_CLAUSE_IMAPd);

if (!where_clause) 
{
if (strcmp(CALLED_BY, POPd) == 0)
 where_clause = where_clausePOPd; 
else 
 where_clause = where_clauseIMAPd; 

if (!where_clause) 
 where_clause = ;
}

# I assume this ENV var can be set in the respective main() functions before calling 
authdeamon, so 
# pop3dserver.c, line 803-ish
putenv(CALLED_BY=POPd);
# and imapd.c, line 3214-ish
putenv(CALLED_BY=IMAPd);




Re: [courier-users] Re: chdir no such file problems (fwd)

2003-02-28 Thread Jon Nelson
On Thu, 27 Feb 2003, Dave Peters wrote:

 Jon,
 
 Thanks for taking the time to look at my problem. 
 
 I recompiled and reinstalled courier-imap with the code that you
 suggested, however It did not give me any more information.
 
 =-=-=
 Feb 27 12:25:28 hostname imapd: Connection, ip=[:::68.144.21.215]
 Feb 27 12:25:28 hostname imapd: chdir : No such file or directory
 =-=-=
 
 I have tried with the following setup in the authldap file:
 
 LDAP_MAILDIRmailMessageStore
 LDAP_HOMEDIRmailMessageStore
 
 and in my LDAP my mailMessageStore has the value of /home/vmail/davep

Actually, it's told you quite a bit more.  It's told you
the variable homedir has an empty value.   That's more than you knew
before.

Are you using the LDAP_MAILROOT environment variable?

I have very little ldap knowledge, but I'm guessing that somehow the
LDAP_MAILDIR environment variable is not being exported properly.

--
I was raised by a pack of wild corn dogs.

Jon Nelson [EMAIL PROTECTED]
C and Python Code Gardener


---
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-imap Maildir problem

2003-02-28 Thread Soumya S
hey p'ple!
  I've installed courier-imap on RH 8.0...Just for trial 
purpose am testing it with sendmail...

So i Telnet 2 port 143..it aborted on its own..saying no maildirs 
were made...

To make Maildirs..i tried command maildirmake ..its giving a 
bash...

Now am stuck n donno how 2 proceed...

Can anybody help
??
Sou




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