[courier-users] compile error

2002-05-14 Thread Malik Blent


hello I use vpopmail5.2,qmail-1.03 on FreeBSD4.5 and I wanted to install
courier-imap1.4.4 but I have a problem.
I configured  as following;
as normal user that it hasn't root right I did as following:
./configure --enable-workarounds-for-imap-client-bugs --without-module-authu
serdb --without-module-authpwd --with-module-authvchkpw --without-module-aut
hldap --without-module-authmysql --without-module-authpgsql
When I typed make check I got below error:
/usr/libexec/elf/ld: cannot find -lvpopmail
*** Error code 1

Stop in /usr/home/course/courier-imap-1.4.4/authlib.
*** Error code 1

Stop in /usr/home/course/courier-imap-1.4.4.

What shall I do ?


___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] courier-imap 1.4.5 + outlook express (imap) ? timeout on moving messages

2002-05-14 Thread Brendon Caligari


Configuration:
courier-imap 1.4.5
rh 73 machine
exim as MTA
on a decent hardware configuration.

I trashed the test account with some 10 thousand test emails to inbox.

Configured MS-Outlook Express as IMAP client and besides
having to set the root folder path as INBOX, everything works well, until:

If I try to move a couple of thousands of messages from one imap
folder to another, Outlook Express complains of server timeouts.
Is anybody aware whether Outlook Express is broken?

Eudora seems to be sturdier, but I'm getting a duplicate folder
hierarchy.  One under the 'root' and a copy under 'Inbox'.
Is Eudora broken too??

Is it just me? :-(

Brendon





___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Unable to send mail; DNS error

2002-05-14 Thread Christoph Puppe

Salve Sam,

usually I don't me2 but I need this fixed asap.

It's an OBSD 3.0 as well, courier 0.38.0, the esmtproutes has one entry:
\t:\t[my.smarrelay.s.ip]\n

And yes, DNS is working fine.

As there is a smarthost for all domains, courier should not even attempt 
to resolve anything. Which he indeed does not try, as a tcpdump shows.

Hmm, the DNS error is the default case in a switch. The function whose 
return value is switched on is a /etc/resolv.conf parser. Is this really 
necessary, I thought all *nix already had a lib for this :) He parses 
the IP of the name server OK, then does some init and returns 0. Anyway, 
somewhere in there it fails and doesn't recover.

Heureka! It's the IPV6 support, which causes him to fail, now there is 
another error but that is self inflicted damage and solvable. So to fix 
this behavior under OBSD 3.0: ./configure --without-ipv6 

BTW, am I the only one who got a ../var/authdaemon/ which can't be read 
by his config? Or is it mentioned in the INSTALL that all services who 
require the authdaemon have to be in the mailgroup or be the courier user?

Sam Stern wrote:

 Hi All,
 
 I've recently tried to replace Postfix with Courier 0.38. I can receive
 email, use SSL, and SMTP AUTH just fine but I cannot actually send email
 via the server. When I attempt to send email I receive the appended
 errors. I am at a total loss regarding what I've done wrong. I know I
 can duplicate the issue (and have with a internal OBSD 3.0 server)
 Please let me know how I can best trouble shoot the problem at hand.


-- 
Mit freundlichen Gruessen,
Christoph Puppe

We secure your business.(TM)
***
HiSolutions AGphone:  +49 30 533289-0
Bouchestrasse 12fax:  +49 30 533289-99
D-12435 Berlin  www:  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. 

___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] esmtpauthclient and load balancing providers

2002-05-14 Thread MH - Entwicklung

Hello,

I encountered the following problem:

A provider offers the virtual hostauth.smtp.kundenserver.defor
authenticated smtp.
This hostname may refer to different physical hosts. A reverse lookup shows
a different hostname like e.g. mrelayng.kundenserver.de.
The file esmtpauthclient needs to hold the real name of the host in order to
work. Otherwise the mailrelay isn't recognized for authentication.

Shouldn't the file esmtpauthclient also work for the virtual name?

I only tested this with mailrelays named in esmtproutes.
The whole thing is not a big problem unless the provider starts to have a
lot of mailexchangers or switches them every few weeks.

Regards
Manfred

--

manfred heubach edv und neue medien
Hindenburgstr. 47
D-73728 Esslingen

Tel. +49 711 9315824
Fax  +49 711 9315825
www.heubach-edv.de


Informationstechnologie und Telekommunikation für Unternehmen




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



[courier-users] Re: esmtpauthclient and load balancing providers

2002-05-14 Thread Sam Varshavchik

MH - Entwicklung writes: 

 Hello, 
 
 I encountered the following problem: 
 
 A provider offers the virtual hostauth.smtp.kundenserver.defor
 authenticated smtp.
 This hostname may refer to different physical hosts. A reverse lookup shows
 a different hostname like e.g. mrelayng.kundenserver.de.
 The file esmtpauthclient needs to hold the real name of the host in order to
 work. Otherwise the mailrelay isn't recognized for authentication. 
 
 Shouldn't the file esmtpauthclient also work for the virtual name?

The problem here is the CNAME record.  Use mrelayng.kundenserver.de instead 
of auth.smtp.kundenserver.de 

-- 
Sam 


___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] compile error

2002-05-14 Thread Tom Williams

Malik Bülent wrote:

 hello I use vpopmail5.2,qmail-1.03 on FreeBSD4.5 and I wanted to install
 courier-imap1.4.4 but I have a problem.
 I configured  as following;
 as normal user that it hasn't root right I did as following:
 ./configure --enable-workarounds-for-imap-client-bugs --without-module-authu
 serdb --without-module-authpwd --with-module-authvchkpw --without-module-aut
 hldap --without-module-authmysql --without-module-authpgsql
 When I typed make check I got below error:
 /usr/libexec/elf/ld: cannot find -lvpopmail
 *** Error code 1

 Stop in /usr/home/course/courier-imap-1.4.4/authlib.
 *** Error code 1

 Stop in /usr/home/course/courier-imap-1.4.4.

 What shall I do ?

 ___

 Have big pipes? SourceForge.net is looking for download mirrors. We supply
 the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
 ___
 courier-users mailing list
 [EMAIL PROTECTED]
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Make sure libvpopmail.a is in the link path.  Ifvpopmail is installed in
/home/vpopmail, the re-run the configure script like this:

$ LDFLAGS=-L/home/vpopmail ./configure {your options}

also, makesure the permissions on your vpopmail installation path are readable
by your login id.  Try these commands:

$ su
{root pwd)
# chmod 755 {/path/to/vpopmail}
# chmod 755 {/path/to/vpopmail}/lib

You could also make a symbolic link in /usr/lib to the libvpopmail.a file and
that should work, but make sure the file permissions will allow the linker to
actually read that file.

Good luck!  :)

Peace

Tom


___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] dorewrite

2002-05-14 Thread Frederik Dannemare

Hi,

I've been using Courier (smtp  imap w/mysql) for a few months now, and I
really don't mind that it is very strict when it comes to RFCs. However, I
host mail for a few friends and family members, who really dislike not being
able to receive mail from e.g. hotmail. Especially, when they receive an
email with a binary attachment such as an image (it's rather difficult to
see the image when it becomes a simple plain text attachment ;).

To get around this, I simply took the source code (0.38.1) and grep'ed for
dorewrite, and I changes all (about a handful) dorewrite=1 to
dorewrite=0. I actually know nothing about c/c++ code, so it may infact
break things. However, it seems to work for me. Receiving wacky-formatted
emails is now possible (at least I haven't noticed anything bad happening
yet).

I know it is not the right thing to do, but I have really tried to make
friends and familiy understand that it is an issue with bad email clients
and not my mail server. But, you know, they just want to be able to
receive email from anywhere no matter how broken a sender's email client may
be.

Like other Courier users I'd really appreciate if this thing gets
implemented as a compile-time option, but on the other hand, I can
understand why Sam and the other developers won't implement it. Broken email
clients should really be fixed instead.

Regards,
Frederik Dannemare

___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] dorewrite

2002-05-14 Thread Lars Althof

 [A lot of stuff about doing random changes to source code]
 I know it is not the right thing to do, but I have really tried to make
 friends and familiy understand that it is an issue with bad email clients
 and not my mail server. But, you know, they just want to be able to
 receive email from anywhere no matter how broken a sender's email client may
 be.
You are definately right, this is not the right thing to do.

 Like other Courier users I'd really appreciate if this thing gets
 implemented as a compile-time option, but on the other hand, I can
 understand why Sam and the other developers won't implement it. Broken email
 clients should really be fixed instead.
This has been discussed about 1000 times before, thats why the issue was solved by 
adding a run-time option to allow you to choose what should be done with 
non-conforming mail without needing to change random lines in the source code.

This is configurable through the Webadmin interface or in the file bofh.
Look for the BOFHBADMIME option.

/Lars


___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] SSL/stunnel question

2002-05-14 Thread Scott Gifford

I'm working on a technique to support STARTTLS in qmail without
modifying the code.  I'm doing this by teaching stunnel more about
STARTTLS, and having it intercept the SMTP connectin, and pass along
everything except STARTTLS to the regular SMTP daemon.  For more
information, see:

http://www.suspectclass.com/~sgifford/qmail-smtp-tls-proxy/smtp-tls.README

A qmail user tells me that Courier used to use a technique similar to
this, but changed to fully integrated SMTP.  I was wondering if
there's any truth to that, and if so what the reasons were.

Thanks for any info,

-ScottG.

___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Filtering Out Viruses

2002-05-14 Thread Chad Osmond

Hello,

Is there a way in courier to block *.scr from getting accepted?

What about options for blocking other virus type attachments? Were having a
problem where Kletz viruses are coming in a few times per day per user and
it's getting quite old and annoying.

Thanks,

Chad


___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Re: esmtpauthclient and load balancing providers

2002-05-14 Thread MH - Entwicklung


- Original Message -
From: Sam Varshavchik [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 14, 2002 3:36 PM
Subject: [courier-users] Re: esmtpauthclient and load balancing providers


 MH - Entwicklung writes:

  Hello,
 
  I encountered the following problem:
 
  A provider offers the virtual hostauth.smtp.kundenserver.defor
  authenticated smtp.
  This hostname may refer to different physical hosts. A reverse lookup
shows
  a different hostname like e.g. mrelayng.kundenserver.de.
  The file esmtpauthclient needs to hold the real name of the host in
order to
  work. Otherwise the mailrelay isn't recognized for authentication.
 
  Shouldn't the file esmtpauthclient also work for the virtual name?

 The problem here is the CNAME record.  Use mrelayng.kundenserver.de
instead
 of auth.smtp.kundenserver.de


But the official name is auth.smtp.kundenserver.de. This may resolve as a
completely different host (e.g. mrelayng2.kundenserver.de) some days later.
Everytime the Provider changes something, I will have to enter the new A
RECORD in esmtpauthclient. Imagine you have some dozens of servers running
at different customers. And everytime their providers change the CNAME to a
different host I have a busy hotline.
I've seen providers doing this pretty often - I think for load balancing and
availability reasons.

Regards
Manfred


 --
 Sam


 ___

 Have big pipes? SourceForge.net is looking for download mirrors. We supply
 the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
 ___
 courier-users mailing list
 [EMAIL PROTECTED]
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Outlook Express, IMAP, and POP3

2002-05-14 Thread Dustin Puryear

We are looking into Courier for deployment on our FreeBSD 4.4-RELEASE mail 
server.

I was reading the Courier documentation and noticed the notes about OE 
(specifically, OE5) having issues with Courier and IMAP. We are only going 
to be using IMAP with our webmail software (SquirrelMail), so OE access 
will be POP3 only. Any known issues? I didn't see any, but if we move to 
Courier after having Cyrus be a problem for us, and then OE fails to work 
consistently, well, I'm getting a big hammer and..

Naturally, we are going to test, test, test. But you know how some things 
find a way of staying hidden.

Also, anyone use SquirrelMail with Courier? Any problems? IMAP is IMAP is 
IMAP, so I don't see why there should be a problem, but you never know.

Regards, Dustin

---
Dustin Puryear [EMAIL PROTECTED]
UNIX and Network Consultant
http://members.telocity.com/~dpuryear
PGP Key available at http://www.us.pgp.net
In the beginning the Universe was created.
This has been widely regarded as a bad move. - Douglas Adams


___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: esmtpauthclient and load balancing providers

2002-05-14 Thread Sam Varshavchik

MH - Entwicklung writes: 

 
 - Original Message -
 From: Sam Varshavchik [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, May 14, 2002 3:36 PM
 Subject: [courier-users] Re: esmtpauthclient and load balancing providers 
 
 
 The problem here is the CNAME record.  Use mrelayng.kundenserver.de
 instead
 of auth.smtp.kundenserver.de 

 
 But the official name is auth.smtp.kundenserver.de. This may resolve as a
 completely different host (e.g. mrelayng2.kundenserver.de) some days later.
 Everytime the Provider changes something, I will have to enter the new A

Well, if the provider changes their DNS, and updates the zone file, it is 
reasonable to expect anyone using the DNS to update their corresponding 
configuration as well. 

 different host I have a busy hotline.
 I've seen providers doing this pretty often - I think for load balancing and
 availability reasons.

Load balancing is typically done by simply providing multiple A records.  
Any change to the actual DNS zone requires a complete DNS server reload with 
the new zone, so it's not really a sane way to do load balancing. 


-- 
Sam 


___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: SSL/stunnel question

2002-05-14 Thread Sam Varshavchik

Scott Gifford writes: 

 I'm working on a technique to support STARTTLS in qmail without
 modifying the code.  I'm doing this by teaching stunnel more about
 STARTTLS, and having it intercept the SMTP connectin, and pass along
 everything except STARTTLS to the regular SMTP daemon.  For more
 information, see: 
 
 http://www.suspectclass.com/~sgifford/qmail-smtp-tls-proxy/smtp-tls.README 
 
 A qmail user tells me that Courier used to use a technique similar to
 this, but changed to fully integrated SMTP.  I was wondering if
 there's any truth to that, and if so what the reasons were.

There's some kernel of truth in there, but generally this is half-baked 
hearsay.  Originally, stunnel was used to wrap IMAP over SSL.  I don't 
remember if it were ever used for STARTTLS with either IMAP or SMTP. 

Right now, a small wrapper performs SSL/TLS encapsulation over a socket 
stream.  The module is vaguely similar in functionality to stunnel, but 
provides some additional functionality that stunnel does not have: optional 
X.509 certificate validation (requiring the remote server's X.509 
certificate having a matching CN, and signed by a trusted CA); sending the 
negotiated SSL/TLS parameters to the local server, to be recorded in the 
Received: headers; and several other certificate-related processing. 

You're not going to be able to accomplish this by trying to stuff stunnel 
into someplace. 

-- 
Sam 


___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] hosteddomains and adresses containing -

2002-05-14 Thread Bernhard Bock

Hi!

My configuration in short:
mydomain.com is a hosteddomain, backend is mysql.
[EMAIL PROTECTED] is a local unix account, gets mails, works fine.

[EMAIL PROTECTED] doesn't work.
The logfile says
May 14 23:41:56 mta01 courierlocal:
id=0015C154.3CDB7514.5833,from=[EMAIL PROTECTED],
addr=[EMAIL PROTECTED],status: deferred

A unix account [EMAIL PROTECTED] exists, permissions etc are ok.
I think courier tries to find a user user2 with a
[EMAIL PROTECTED] file or something like that.

I have no idea what to do. Do I have to rename that user(s)? 


Bernhard


_
Bernhard Bock
http://www.bock.nu/


___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Mysql/Imap unknown user help!!!

2002-05-14 Thread Kenny Nguyen

Hello Everyone,

Please help!  with error: 550 user unknown


I have installed Courier IMAP server using package from: 
courier-0.38.1.20020509.tar.gz:

Configure and Installation were fine with:

./configure
make
make check
make install-strip
make install-configure

After modifying /usr/lib/courier/etc/authdaemonrc to have:
authmodulelist=authmysql and authmysqlrc for MySQL related settings, 
and 
started daemons:

/usr/lib/courier/sbin/courier start
/usr/lib/courier/libexec/authlib/authdaemond start
/usr/lib/courier/sbin/esmtpd start

 when sending emails to users I got the error: 550 user unknown

I created database/table as specified in the installation file. However, 
not knowing if there is a command included with the package to create users, 
i manually inserted an entry into the database:

insert into users (id, crypt, clear, home, name) values(1, 'xxyy', 'xxyy', 
'/web/users/test', '[EMAIL PROTECTED]');

and created directory /web/users/test and bin/maildirmake 
/web/users/test/Maildir to create user test's home directory

If i shutdown mysql daemon and attempt to send an email to the server, the 
error i get is:  450 service temporarily unavailable, and when mysql is 
started, and at mysql prompt: show processlist; i do see esmtpd made 
connection mysql successfully.


Note: I also added entry myhost.mydomain.com into hosteddomains and 
locals, followed by issuing the command makehosteddomains inside ~/sbin of 
courier.

Your help is much appreciated!


Kenny



_
Send and receive Hotmail on your mobile device: http://mobile.msn.com


___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Authdaemon socket (?) again -- RHL 7.2

2002-05-14 Thread Juha Saarinen

Trying to get Sqwebmail to work on a new box, but it won't authorise users:

May 15 12:26:21 vim2 sqwebmail: authdaemon: s_connect() failed: No such file
or directory
May 15 12:27:02 vim2 last message repeated 2 times

# rpm -qa | grep sqw
sqwebmail-3.3.4-1.7.2

In March, Christoph Puppe replied to Brian Smith:
  a.. From: Christoph Puppe
  b.. Subject: Re: [courier-users] problem with authdaemon socket under
redhat7.2
  c.. Date: Mon, 04 Mar 2002 01:43:25 -0800




Brian Smith wrote:

  Hello Sam, everyone.
 
  I hope this is an actual problem, because I've been going nuts
  trying to figure out what's happening. I have access to another
  system running an older version of this same suite of apps, and it
  seems to work (tho much different OS/kernel rev).

It is. In authlib/authdaemond.c you will find a line which says

/*strcat(skun.sun_path, .tmp); */

In this example I've already added the comment signs (/* ... */, which
you will need to add too. Dunno how that has crept in the code but it's
a real bugger. Collegue tipped me of to look if the socket is actually
there, which it wasn't because of this bug.

#make  make install

and it should work. Has for me.


--
I've got the same line in authdaemond.c:
  strcat(skun.sun_path, .tmp);
Tried commenting it out as per above, rebuilding in authlib/, installed the
new files,
and restarted sqwebmail/authdaemond, but still...
May 15 12:54:47 vim2 authtest: authdaemon: s_connect() failed: No such file
or directoryMay 15 12:57:44 vim2 sqwebmail: authdaemon: s_connect() failed:
No such file or directory

So, I'm a bit stuck now. How could I troubleshoot this further?

--
Juha



___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: Mysql/Imap unknown user help!!!

2002-05-14 Thread Sam Varshavchik

Kenny Nguyen writes: 


   I created database/table as specified in the installation file. However, 
 not knowing if there is a command included with the package to create 
 users, i manually inserted an entry into the database: 
 
   insert into users (id, crypt, clear, home, name) values(1, 'xxyy', 
 'xxyy', '/web/users/test', '[EMAIL PROTECTED]');

Looks like you misunderstood the purpose of the id field.  This is supposed 
to be the mail account id, which - in your case would be 
'[EMAIL PROTECTED]'.  The name field is the account's name - Horace 
Farkenparker, for example.
   Note: I also added entry myhost.mydomain.com into hosteddomains and 
 locals, followed by issuing the command makehosteddomains inside ~/sbin of 
 courier.

You'll also need to set up esmtpacceptmailfor 

-- 
Sam 


___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Re: Mysql/Imap unknown user help!!!

2002-05-14 Thread Kenny Nguyen

Hello Sam,

Thank you very much!

Kenny

From: Sam Varshavchik [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [courier-users] Re: Mysql/Imap unknown user help!!!
Date: Tue, 14 May 2002 21:09:23 -0400

Kenny Nguyen writes:


  I created database/table as specified in the installation file. However,
not knowing if there is a command included with the package to create
users, i manually inserted an entry into the database:

  insert into users (id, crypt, clear, home, name) values(1, 'xxyy',
'xxyy', '/web/users/test', '[EMAIL PROTECTED]');

Looks like you misunderstood the purpose of the id field.  This is supposed
to be the mail account id, which - in your case would be
'[EMAIL PROTECTED]'.  The name field is the account's name - Horace
Farkenparker, for example.
  Note: I also added entry myhost.mydomain.com into hosteddomains and
locals, followed by issuing the command makehosteddomains inside ~/sbin of
courier.

You'll also need to set up esmtpacceptmailfor

--
Sam


___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users




_
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: Authdaemon socket (?) again -- RHL 7.2

2002-05-14 Thread Sam Varshavchik

Juha Saarinen writes: 

 Trying to get Sqwebmail to work on a new box, but it won't authorise users: 
 
 May 15 12:26:21 vim2 sqwebmail: authdaemon: s_connect() failed: No such file
 or directory
 May 15 12:27:02 vim2 last message repeated 2 times 
 
 # rpm -qa | grep sqw
 sqwebmail-3.3.4-1.7.2

You'll need to either reboot, or run 'service sqwebmail start' 

-- 
Sam 


___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Virtual domains and MySQL-based authentication?

2002-05-14 Thread Dustin Puryear

We would like to maintain our user information in a MySQL database as we 
already have the tools required to maintain our accounts. (We are coming 
from Cyrus, which can auth against a MySQL database via PAM.) So, I see 
that we can use the pam auth mech. to authenticate users, but it appears 
that Courier virtual domain support requires authdb, which in turn relies 
on a local database.

Is this correct? We would like to support virtual domains, but use mysql to 
authenticate against.

I am getting my information mainly from:

http://www.inter7.com/courierimap/INSTALL.html

After reading:

http://www.inter7.com/courierimap/authlib.html

I wonder if in fact auth. can in fact be done in any fashion? The section 
on authpam states that:

authenticates using the system's PAM library (pluggable authentication 
module). This is, essentially, a way to use existing PAM modules for 
authentication functionality. Note, however, that the authenticated 
account's home directory, userid and groupid are still read from the 
/etc/passwd file, since PAM functionality is limited to validating account 
passwords.

Is the authentication method separate from the virtual domain 
implementation? I then found:

http://sourceforge.net/projects/pmcadmin/

Which seems to be based configuring courier to auth. virtual domain users 
against mysql.

Thanks!

Regards, Dustin

---
Dustin Puryear [EMAIL PROTECTED]
UNIX and Network Consultant
http://members.telocity.com/~dpuryear
PGP Key available at http://www.us.pgp.net
In the beginning the Universe was created.
This has been widely regarded as a bad move. - Douglas Adams


___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] How to troubleshoot Sqwebmail auth of virtual users?

2002-05-14 Thread Juha Saarinen

Here's something that I don't think strace can help me with: I can log in
with SqWebmail as a normal user, with a system password; however, none of
the virtual accounts can do that.

I've got the virtual accounts set up with the userdb method described on
www.inter7.com/courier-imap and www.courier-mta.org/FAQ#virtual, and it's
possible to use them with standalone IMAP MUAs.

I assume this has something to do with SqWebmail not using authuserdb...?
If so, how could I persuade SqWebmail to do so?

-- 
Juha Saarinen


___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Re: SSL/stunnel question

2002-05-14 Thread Scott Gifford

Sam Varshavchik [EMAIL PROTECTED] writes:

 Scott Gifford writes:  I'm working on a technique to support STARTTLS
 in qmail without
  modifying the code.  I'm doing this by teaching stunnel more about
  STARTTLS, and having it intercept the SMTP connectin, and pass along
  everything except STARTTLS to the regular SMTP daemon.  For more
  information, see:
  http://www.suspectclass.com/~sgifford/qmail-smtp-tls-proxy/smtp-tls.README
  A qmail user tells me that Courier used to use a technique similar to
  this, but changed to fully integrated SMTP.  I was wondering if
  there's any truth to that, and if so what the reasons were.
 
 There's some kernel of truth in there, but generally this is
 half-baked hearsay.  Originally, stunnel was used to wrap IMAP over
 SSL.  I don't remember if it were ever used for STARTTLS with either
 IMAP or SMTP. Right now, a small wrapper performs SSL/TLS
 encapsulation over a socket stream.  The module is vaguely similar in
 functionality to stunnel, but provides some additional functionality
 that stunnel does not have: optional X.509 certificate validation
 (requiring the remote server's X.509 certificate having a matching CN,
 and signed by a trusted CA); sending the negotiated SSL/TLS parameters
 to the local server, to be recorded in the Received: headers; and
 several other certificate-related processing. You're not going to be
 able to accomplish this by trying to stuff stunnel into someplace. --

Thanks!  I'll dig around and see if I can use parts of your wrapper
instead of stunnel.

What I really like about the configuration I've got right now with (a
modified) stunnel is that stunnel runs with minimal privileges in a
chroot'd environment, so any kind of security problem in stunnel or
the openssl libraries will have a very minimal impact.

Thanks again for your quick answer,

ScottG.



___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: How to troubleshoot Sqwebmail auth of virtual users?

2002-05-14 Thread Juha Saarinen

On Wed, 15 May 2002, Juha Saarinen wrote:

  I assume this has something to do with SqWebmail not using authuserdb...?
  If so, how could I persuade SqWebmail to do so?

Hmmm... seems to be there:

[juha@vim2 authlib]$ ./authinfo
AUTHENTICATION_MODULES=authdaemon
AUTHDAEMONMODULELIST=authcustom authcram authmysql authpgsql authldap
authuserdb authpam
SASL_AUTHENTICATION_MODULES=CRAM-SHA1 CRAM-MD5 PLAIN LOGIN


Permissions seem right too, 700:

$ ls -la /etc/userdb*
-rwx--1 root root  481 May 15 17:00 /etc/userdb
-rwx--1 root root12705 May 15 17:00 /etc/userdb.dat
-rwx--1 root root0 May 15 17:00 /etc/userdb.lock
-rwx--1 root root12632 May 15 17:00 /etc/userdbshadow.dat

So, what am I missing here?

-- 
Juha Saarinen


___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] cannot send mail

2002-05-14 Thread Pejus Manoj Das

Hi,

i have courier imap, qmail and vpopmail installed and running fine 
i want to give a web interface to the user for accessing his mail 
account.

i'm using php's imap functions to do this. everything works fine. 
it shows the user's inbox, the mails inside it, also it allows to 
delete messages. the only problem is that it does not allow to 
send emails. i'm using the imap_send function in php.

i've compiled php with the --with-imap option. but it is unable to 
send emails.

can someone please suggest.

Thanx.
_
Click below to visit monsterindia.com and review jobs in India or 
Abroad
http://monsterindia.rediff.com/jobs


___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users