Re: courier imap - unable to access shared folders: operation not supported

2013-07-09 Thread Mark Felder

The courier documentation says this about using enhanced idle over NFS

FAM (but not Gamin) also works with NFS filesystems. On NFS clientsfam  
transparently forwards file monitoring requests to a peer famprocess on  
the NFS server.


Do you have a peer fam process on the NFS server?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: courier imap - unable to access shared folders: operation not supported

2013-07-09 Thread R Skinner

On 07/09/13 21:56, Mark Felder wrote:

The courier documentation says this about using enhanced idle over NFS

FAM (but not Gamin) also works with NFS filesystems. On NFS 
clientsfam transparently forwards file monitoring requests to a peer 
famprocess on the NFS server.


Do you have a peer fam process on the NFS server?
No, I don't. But then it was something I thought might help the 
situation and another feature to start playing with. Bit of a stretch 
really... but I was getting desperate.


Would that have anything to do with the main problem though?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: courier imap - unable to access shared folders: operation not supported

2013-07-09 Thread Mark Felder
On Tue, 09 Jul 2013 08:00:22 -0500, R Skinner  
ro...@herveybayaustralia.com.au wrote:


No, I don't. But then it was something I thought might help the  
situation and another feature to start playing with. Bit of a stretch  
really... but I was getting desperate.

 Would that have anything to do with the main problem though?


I'm honestly not sure. The doc seem to indicate that it won't work without  
a fam daemon on the NFS server, so maybe that's the root of the errors.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: courier imap - unable to access shared folders: operation not supported

2013-07-09 Thread R Skinner

On 07/09/13 23:05, Mark Felder wrote:
On Tue, 09 Jul 2013 08:00:22 -0500, R Skinner 
ro...@herveybayaustralia.com.au wrote:


No, I don't. But then it was something I thought might help the 
situation and another feature to start playing with. Bit of a stretch 
really... but I was getting desperate.

 Would that have anything to do with the main problem though?


I'm honestly not sure. The doc seem to indicate that it won't work 
without a fam daemon on the NFS server, so maybe that's the root of 
the errors.

Ok. I'll give it a try.

But why would it work with the NFS server - before the repair and 
without FAM - and not now?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: courier imap - unable to access shared folders: operation not supported

2013-07-09 Thread Mark Felder
On Tue, 09 Jul 2013 08:23:05 -0500, R Skinner  
ro...@herveybayaustralia.com.au wrote:



Ok. I'll give it a try.
 But why would it work with the NFS server - before the repair and  
without FAM - and not now?


Oh, I misunderstood. I thought you weren't having problems until you  
turned on that enhanced idle feature.


I'd start asking in a courier irc channel or on their mailing lists --  
this sounds quite odd.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: courier-imap

2007-09-26 Thread Pollywog
On Wednesday 26 September 2007 18:22:09 Bill Banks wrote:
 When I try to login , in my maillog it saids no such file. How do I tell
 it to use /etc/passwd


Which file is missing?  I recently installed Courier-Imap on FreeBSD and some 
file was missing but I don't recall which one.  Make 
sure /usr/local/etc/authlib/authdaemonrc has a line that looks like this

authmodulelist=authuserdb authpam authmysql

You should have at least authuserdb and authpam listed.

Also do 'touch /usr/local/etc/courier-imap/shared/index' because Courier will 
complain if the file is missing, though it will still work.  I have to do 
that in Debian as well because the index file is missing.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: courier-imap

2007-09-26 Thread Bill Banks
When I try to login , in my maillog it saids no such file. How do I tell 
it to use /etc/passwd


Rakhesh Sasidharan wrote:


Bill Banks wrote:


i think that it not validating the username  passwd


Have you started courier-authdaemond in /usr/local/etc/rc.d? Added 
users to UserDB or whatever auth method you are using?


I have some notes on installing Courier IMAP here: 
http://rakhesh.net/mail/courier-imap.


That gives you the steps I followed while installing Courier IMAP on 
my home machine.


HTH,


- Rakhesh
http://rakhesh.net/




--
---
Bill Banks 508-829-2005
Wachusett Programming  Ourweb
http://www.ourweb.net
http://www.ourwebtemplates.com
 



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: courier-imap

2007-09-25 Thread Rakhesh Sasidharan


Bill Banks wrote:


i think that it not validating the username  passwd


Have you started courier-authdaemond in /usr/local/etc/rc.d? Added users 
to UserDB or whatever auth method you are using?


I have some notes on installing Courier IMAP here: 
http://rakhesh.net/mail/courier-imap.


That gives you the steps I followed while installing Courier IMAP on my 
home machine.


HTH,


- Rakhesh
http://rakhesh.net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: courier-imap pop3 help!

2006-05-31 Thread Efren Bravo
Hi,

I almost get it. The new problem is I configured
the procmail to use maildir in the path
/usr/zdir/$LOGNAME/{cur/new/tmp}. 

/usr/local/etc/courier-imap/pop3d:
if MAILDIRPATH=/usr/zdir/ I get this error:

May 31 15:27:12 gw pop3d: scancur opendir(cur):
No such file or directory

if MAILDIRPATH=/usr/zdir/efrenba/ I can get the
mails.

How could I tell to pop3d that looks at the mails
in  the path /usr/zdir/USER/{cur/new/tmp}?


 
 I want to authenticate the client's user/pass
 against the file /etc/passwd, for that reason I
 put authmodulelist=authpwd inside the file
 /usr/local/etc/authlib/authdaemonrc but I get
 only this error:
 
 May 31 13:33:33 gw authdaemond:
 modules=authpwd, daemons=5
 May 31 13:33:33 gw authdaemond: Installing
 libauthpwd
 May 31 13:33:33 gw authdaemond: Shared object
 libauthpwd.so not found, required by
 authdaemond
 May 31 13:33:51 gw pop3d: LOGIN FAILED,
 user=efrenba, ip=[10.10.10.5]
 
 The file libauthpwd.so doesn't exist in my
 system
 then I changed the authmodulelist param to
 authpam but it didn't work.
 
 /etc/pam.d/pop3 lines:
 authrequired pam_unix.so   no_warn
 try_first_pass
 account required pam_unix.so   no_warn
 try_first_pass
 session required pam_permit.so
 
 
 What is going wrong?
 
 Thanks,


__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.yahoo.es 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: courier-imap authenticate mysqk user

2005-06-24 Thread Brian Candler
On Friday 24 June 2005 14:42, Muhammad Kashif Yaqoob wrote:
  I am working on postfix Mailserver at freebsd.and install the courier Imap
 and courier-authlib-mysql .and also Configuration the setting of
 courier-imap with mysql.When i authenticate the mysql pop user  with
 courier-imap.Following error message occour.

 Part of my maillog:

 Jun 24 22:44:44 post-4 authdaemond.mysql: modules=authmysql, daemons=5
 Jun 24 22:48:20 post-4 authdaemond.mysql: modules=authmysql, daemons=5
 Jun 24 22:48:43 post-4 pop3d: LOGIN FAILED, ip=[::1]
 Jun 24 22:58:21 post-4 pop3d: LOGIN FAILED, ip=[::1]

You don't say what version of courier-imap you are using, but from those log 
messages I think it is 3.x or older. You should install 4.x with 
courier-authlib; it gives much better debugging.

Full details of how to debug authentication problems with courier-authilb are 
in http://www.courier-mta.org/authlib/README.authdebug.html

Turning on debugging will show you exactly what SQL queries are being sent to 
the database, for example.

Brian.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: courier-imap operation timed out?

2005-04-12 Thread Matt Emmerton
 Why do I get these mail errors?

   Apr 12 21:32:59 imapd-ssl: couriertls: read: Operation timed out
   Apr 12 21:32:59 imapd-ssl: DISCONNECTED, user=x, ip=[0.0.0.0],
 headers=0, body=0, time=287, starttls=1

 Ofcoure user and ip have been omitted, but this is a connection from a
 windows xp machine running outlook express to check mail.

Outlook Express is known to have problems with secure email (TLS) and
IMAP.  I saw a good article about this on the web the other day -- but
unfortunately I can't find the link.

 While on the
 same network as the xp machine I have a osx computer using Mail to
 check using imap-ssl and I never ever got an error like that.

 Also throwing this in as well...
   root# spamassassin -D
   debug: SpamAssassin version 3.0.2
   debug: Score set 0 chosen.

 Yet I've specified required_score 5.0 in local.cf
 Say it can't read my local.cf file... Isn't the default to use a score
 of 5 anyway? So shouldn't it default to 5 not 0 ?
 I've spamassassin -D -C /path/to/local.cf
 and it still doesn't read the score...

required_score is the score required to mark an email as spam.

The score set is something totally different -- SA uses different score sets
internally to switch between Bayesian and non-Bayesian scoring modes.

--
Matt

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: courier-imap install from ports *fails*

2005-01-21 Thread Juha Saarinen
On Fri, 21 Jan 2005 10:24:56 +0100, Colin J. Raven
[EMAIL PROTECTED] wrote:
 Good morning all,
 
 In attempting to install courier-imap 4.0.1,1 from ports it unexpectedly
 failed.
 
 This is after portupgrade attempts from version 3.0.8,1 blew up, so
 after several attempts I gave up and deinstalled it, thinking that
 starting over from scratch might be a better idea.
 
 configure: error: authlib configuration error - /usr/local/sbin/courierlogger 
 not found
 ===  Script configure failed unexpectedly.
 Please report the problem to [EMAIL PROTECTED] [maintainer] and attach
 the /usr/ports/mail/courier-imap/work/courier-imap-4.0.1/config.log
 including
 the output of the failure of your make command. Also, it might be a good
 idea to provide an overview of all packages installed on your system
 (e.g. an `ls /var/db/pkg`).
 *** Error code 1
 
 Clearly there are instructions there as to the next action to take, but
 has anyone else experienced this *and* perhaps knows how to fix the
 issue? (worth a try methinks)

Courier and the related Courier-IMAP package underwent some major
changes with the new revisions (see UPDATING). Portupgrading from the
older version broke my installation. Deleting the older packages and
installing the new ones, starting with courier-authlib, got things
going again.


-- 

Juha
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: courier-imap installation

2005-01-02 Thread artware
Thanks, though I've switched to qpopper, and it's working fine. Now my
only problem is trying to get postfix working with TLS and SASL. I'm
working off of these instructions:
http://yocum.org/faqs/postfix-tls-sasl.html
But even though postfix and saslauthd are running with no problems, I
can't seem to coax the server to accept TLS connections with SASL
authentication... Telneting into port 25, the server is totally
silent.

- ben


On Sun, 02 Jan 2005 08:51:43 +0100, Volker Kindermann [EMAIL PROTECTED] wrote:
 Hi Ben,
 
 
  /usr/local/etc/rc.d/courier-imap-pop3d.sh.sample (because I'm trying
  to run a POP3 server) and now I get:
 
  /usr/local/etc/courier-imap/pop3d does not exist, forgot make 
  install-configure?
 
 perhaps you should rename the courier files in /usr/local/etc/rc.d from
 servicename.sample to servicename? Like:
 
 cd /usr/local/etc/rc.d
 mv courier-imap-pop3d.sh.sample courier-imap-pop3d.sh
 
 And then try again?
 
   -volker

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: courier-imap installation

2005-01-01 Thread Martin Hepworth
If you did from the ports tree then they'll be an rc script in
/usr/local/etc/rc.d

(or look in the pkg_mesg file in the directory to see exactly where it it...
--
Martin


On Sat, 1 Jan 2005 14:57:34 -0600, artware [EMAIL PROTECTED] wrote:
 Hey everyone,
 
 I'm a n00b to FreeBSD, and I'm trying to install courier-imap with
 5.3, but I'm not sure what steps I should be taking. I did:
 pkg_add -r courier-imap
 However, when I do:
 /usr/local/libexec/courier-imap/imapd.rc start
 (as the courier-imap manual instructs), it gives me:
 /usr/local/etc/courier-imap/imapd does not exist, forgot make 
 install-configure?
 Which is odd, because imapd actually seems to be in
 /usr/local/bin/imapd, and I would assume that courier-imap was
 configured properly when it was prepared as a port. I would just
 change the relevant line in imapd.rc, but I don't want to go mucking
 around with something I don't fully understand -- especially because I
 need this server to be extremely secure and by the book. Also, is
 there a way to manage courier-imap via Webmin?
 
 Sorry if the answer is obvious or really common -- posting really is
 my last resort after searching this list and the web for help. Outside
 of this problem, I'm loving FreeBSD. It reminds me of my days running
 NetBSD/mac68k on my Mac IIsi. :)
 
 Thanks in advance!
 
 - ben
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: courier-imap installation

2005-01-01 Thread artware
Martin,

Thanks for the quick reply! I ran
/usr/local/etc/rc.d/courier-imap-pop3d.sh.sample (because I'm trying
to run a POP3 server) and now I get:

/usr/local/etc/courier-imap/pop3d does not exist, forgot make install-configure?

Where would the pkg_mesg file be?

- ben


On Sat, 1 Jan 2005 21:06:47 +, Martin Hepworth [EMAIL PROTECTED] wrote:
 If you did from the ports tree then they'll be an rc script in
 /usr/local/etc/rc.d
 
 (or look in the pkg_mesg file in the directory to see exactly where it it...
 --
 Martin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: courier-imap installation

2005-01-01 Thread artware
Should I be using qpopper instead?

- ben
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: courier-imap installation

2005-01-01 Thread albi
artware wrote:
Should I be using qpopper instead?
if you only want plain pop3 that might be a good choice,
courier-imap is imap, imap-ssl, pop3 and pop3-ssl,
although you can certainly choose to enable just one of them
try to build it from the ports:
cd /usr/ports/mail/courier-imap/
make install clean
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: courier-imap installation

2005-01-01 Thread Danny MacMillan
On Sat, Jan 01, 2005 at 02:57:34PM -0600, artware wrote:
 Hey everyone,
 
 I'm a n00b to FreeBSD, and I'm trying to install courier-imap
 with 5.3, but I'm not sure what steps I should be taking. I did:
 pkg_add -r courier-imap
 However, when I do:
 /usr/local/libexec/courier-imap/imapd.rc start
 (as the courier-imap manual instructs), it gives me:
 /usr/local/etc/courier-imap/imapd does not exist, forgot make
 install-configure?

Did you look in the /usr/local/etc/courier-imap directory?  It will
contain a number of *.dist files that you will have to copy and
modify to configure your installation.  For example, if you want
to serve imap you will have to rename imapd.dist to imapd and edit
the resulting /usr/local/etc/courier-imap/imapd file so that it is
configured the way you want.  The file is heavily commented and the
necessary changes should be trivial.

 Which is odd, because imapd actually seems to be in
 /usr/local/bin/imapd, and I would assume that courier-imap was

That is the executable.

 configured properly when it was prepared as a port. I would just

It was installed properly, but quite a few ports require some post-
install configuration, especially on the server side.

-- 
Danny
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: courier-imap installation

2005-01-01 Thread artware
Cool -- so now I think I may have the daemon running -- ps ax | grep
pop reveals:
564  p0  I  0:00.00 /usr/local/sbin/courierlogger pop3d
However, I'm unable to connect via a POP3 client... 
I'm not sure what my /etc/inetd.conf line should look like -- I'm using:
pop3stream  tcp nowait  root:wheel  /usr/local/bin/pop3dpop3d

- ben


On Sat, 01 Jan 2005 15:03:23 -0700, Danny MacMillan
[EMAIL PROTECTED] wrote:
 Did you look in the /usr/local/etc/courier-imap directory?  It will
 contain a number of *.dist files that you will have to copy and
 modify to configure your installation.  For example, if you want
 to serve imap you will have to rename imapd.dist to imapd and edit
 the resulting /usr/local/etc/courier-imap/imapd file so that it is
 configured the way you want.  The file is heavily commented and the
 necessary changes should be trivial.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: courier-imap installation

2005-01-01 Thread David Kelly
On Jan 1, 2005, at 4:03 PM, Danny MacMillan wrote:
configured properly when it was prepared as a port. I would just
It was installed properly, but quite a few ports require some post-
install configuration, especially on the server side.
Somebody should have mentioned this by now:
http://ezine.daemonnews.org/200308/courier-imap.html
I don't fully understand it but found instructions somewhere in the 
courier-imap package to add this line to /etc/rc.conf:

courier_imap_imapd_enable=YES
In short I did and it does.
Now what I'd like to do is cure these messages flooding 
/var/log/maillog:

Jan  1 17:52:14 Opus imapd: Error: Input/output error
Jan  1 17:52:14 Opus imapd: Check for proper operation and configuration
Jan  1 17:52:14 Opus imapd: of the File Access Monitor daemon (famd).
Saw where fam (thats what its called on FreeBSD) likes/needs inetd 
running and an entry in /etc/inetd.conf. Everything else runs OK w/o 
inetd so I'd like to continue to do without.

--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: courier-imap installation

2005-01-01 Thread Volker Kindermann
Hi Ben,

/usr/local/etc/rc.d/courier-imap-pop3d.sh.sample (because I'm trying
to run a POP3 server) and now I get:
/usr/local/etc/courier-imap/pop3d does not exist, forgot make install-configure?
perhaps you should rename the courier files in /usr/local/etc/rc.d from 
servicename.sample to servicename? Like:

cd /usr/local/etc/rc.d
mv courier-imap-pop3d.sh.sample courier-imap-pop3d.sh
And then try again?
 -volker
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: courier imap keys and self-signed ca signing

2004-12-19 Thread Daniel S. Haischt
Why don't you read the OpenSSL manual that comes with
your SSL-enabled Apache?
Anyway here's a basic command line example:
generate the pop certificate request:
-
openssl req -config path/to/ur/openssl.cnf \
-newkey rsa:2048 -keyout pop-server-key.pem \
-out pop-server-req.pem
issue the certificate using a existing CA certificate:
--
openssl ca -config path/to/ur/openssl.cnf \
-name name-of-ur-ca \
-in pop-server-req.pem -out pop-server-cert.pem
Read your OpenSSL manual as well.
dave schrieb:
Hello,
I've got a 5.3 box that i'm using as a self-signing ca. I want to get
keys going for all the various protocols i use, http, which i've done, pop
and imap, and smtp. It's these last three i'm having the headache. I'm using
postfix as my MTA and courier imap for pop/imap, i know that the latter has
a program to generate keys but not csr's, i'm not sure how to get keys from
courier and/or postfix to the ca for signing. I'm probably missing somehing
very basic, and would appreciate any help.
Thanks.
Dave.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
!DSPAM:41c5be83339755710121396!

--
Mit freundlichen Gruessen / With kind regards
Daniel S. Haischt   | phone:+49 -7032-992909
Grabenstrasse 11|   +49 -700-DHAISCHT
| fax:  +49 -7032-992910
D-71083 Herrenberg  | fax2mail: +49 -7032-7999738
GERMANY | cell: +49 -172-7668936
SIP:   sip:[EMAIL PROTECTED]:5060
email: [EMAIL PROTECTED]
web:   http://www.daniel.stefan.haischt.name/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: courier imap keys and self-signed ca signing

2004-12-19 Thread Louis LeBlanc
On 12/19/04 12:45 PM, dave sat at the `puter and typed:
 Hello,
 I've got a 5.3 box that i'm using as a self-signing ca. I want to get
 keys going for all the various protocols i use, http, which i've done, pop
 and imap, and smtp. It's these last three i'm having the headache. I'm using
 postfix as my MTA and courier imap for pop/imap, i know that the latter has
 a program to generate keys but not csr's, i'm not sure how to get keys from
 courier and/or postfix to the ca for signing. I'm probably missing somehing
 very basic, and would appreciate any help.
 Thanks.
 Dave.


Why would you want to use multiple methods?  Just create a single self
signed CA from OpenSSL and use it to sign a single cert for all your
servers.  You could also just use a self signed cert for all of them.

Check out this info:
http://www.openssl.org/docs/apps/x509v3_config.html#Subject_Alternative_Name_

That will tell you about using a single cert for multiple domains if
that is what you need.

Hope this helps.

Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ

After a number of decimal places, nobody gives a damn.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: courier imap keys and self-signed ca signing

2004-12-19 Thread Daniel S. Haischt
That's true if each of his servers will have the
same common name (CN). But if one server resides
for example on imap.foobar.com and the other
at smtp.foobar.com, he has to use different
certificate.
Mozilla/Netscape browsers are quite picky if it
comes to wrong CN attributes.
BTW Dave - If you did install Apache together with
mod_ssl the mod_ssl manual could be found at:
 - http://localhost/manual/ssl/
Louis LeBlanc schrieb:
On 12/19/04 12:45 PM, dave sat at the `puter and typed:
Hello,
   I've got a 5.3 box that i'm using as a self-signing ca. I want to get
keys going for all the various protocols i use, http, which i've done, pop
and imap, and smtp. It's these last three i'm having the headache. I'm using
postfix as my MTA and courier imap for pop/imap, i know that the latter has
a program to generate keys but not csr's, i'm not sure how to get keys from
courier and/or postfix to the ca for signing. I'm probably missing somehing
very basic, and would appreciate any help.
Thanks.
Dave.

Why would you want to use multiple methods?  Just create a single self
signed CA from OpenSSL and use it to sign a single cert for all your
servers.  You could also just use a self signed cert for all of them.
Check out this info:
http://www.openssl.org/docs/apps/x509v3_config.html#Subject_Alternative_Name_
That will tell you about using a single cert for multiple domains if
that is what you need.
Hope this helps.
Lou
--
Mit freundlichen Gruessen / With kind regards
Daniel S. Haischt   | phone:+49 -7032-992909
Grabenstrasse 11|   +49 -700-DHAISCHT
| fax:  +49 -7032-992910
D-71083 Herrenberg  | fax2mail: +49 -7032-7999738
GERMANY | cell: +49 -172-7668936
SIP:   sip:[EMAIL PROTECTED]:5060
email: [EMAIL PROTECTED]
web:   http://www.daniel.stefan.haischt.name/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: courier imap keys and self-signed ca signing

2004-12-19 Thread Louis LeBlanc
Actually, it was recently brought up on the OpenSSL users list, and
mentioned that *newer* clients would be fine with a cert for
*.foobar.com in place of imap.foobar.com or smtp.foobar.com.

I wrote SSL functionality into a client app 4 years ago (OpenSSL
0.9.?) that handled wildcard certs without a problem.  I never got
back around to checking for multiple domain certs, but it should work.

The link I provided describes how to tweak the OpenSSL config file to
allow alternative names as well, to include, for instance, *.snafu.com
on the same cert.  Again, *newer* clients should be fine with this,
but if you want to support old school browsers, stick with single
domain certs.

Lou

On 12/19/04 07:11 PM, Daniel S. Haischt sat at the `puter and typed:
 That's true if each of his servers will have the
 same common name (CN). But if one server resides
 for example on imap.foobar.com and the other
 at smtp.foobar.com, he has to use different
 certificate.
 
 Mozilla/Netscape browsers are quite picky if it
 comes to wrong CN attributes.
 
 BTW Dave - If you did install Apache together with
 mod_ssl the mod_ssl manual could be found at:
 
   - http://localhost/manual/ssl/
 
 Louis LeBlanc schrieb:
  On 12/19/04 12:45 PM, dave sat at the `puter and typed:
  
 Hello,
 I've got a 5.3 box that i'm using as a self-signing ca. I want to get
 keys going for all the various protocols i use, http, which i've done, pop
 and imap, and smtp. It's these last three i'm having the headache. I'm using
 postfix as my MTA and courier imap for pop/imap, i know that the latter has
 a program to generate keys but not csr's, i'm not sure how to get keys from
 courier and/or postfix to the ca for signing. I'm probably missing somehing
 very basic, and would appreciate any help.
 Thanks.
 Dave.
  
  
  
  Why would you want to use multiple methods?  Just create a single self
  signed CA from OpenSSL and use it to sign a single cert for all your
  servers.  You could also just use a self signed cert for all of them.
  
  Check out this info:
  http://www.openssl.org/docs/apps/x509v3_config.html#Subject_Alternative_Name_
  
  That will tell you about using a single cert for multiple domains if
  that is what you need.
  
  Hope this helps.
  
  Lou
 
 -- 
 Mit freundlichen Gruessen / With kind regards
 
 Daniel S. Haischt   | phone:+49 -7032-992909
 Grabenstrasse 11|   +49 -700-DHAISCHT
  | fax:  +49 -7032-992910
 D-71083 Herrenberg  | fax2mail: +49 -7032-7999738
 GERMANY | cell: +49 -172-7668936
 
 SIP:   sip:[EMAIL PROTECTED]:5060
 email: [EMAIL PROTECTED]
 web:   http://www.daniel.stefan.haischt.name/
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ

A Pope has a Water Cannon.   It is a Water Cannon.
He fires Holy-Water from it.It is a Holy-Water Cannon.
He Blesses it. It is a Holy Holy-Water Cannon.
He Blesses the Hell out of it.  It is a Wholly Holy Holy-Water Cannon.
He has it pierced.It is a Holey Wholly Holy Holy-Water Cannon.
He makes it official.   It is a Canon Holey Wholly Holy Holy-Water Cannon.
Batman and Robin arrive.   He shoots them.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: courier imap keys and self-signed ca signing

2004-12-19 Thread Dick Davies
* Louis LeBlanc [EMAIL PROTECTED] [1204 18:04]:
 On 12/19/04 12:45 PM, dave sat at the `puter and typed:
  Hello,
  I've got a 5.3 box that i'm using as a self-signing ca. I want to get
  keys going for all the various protocols i use, http, which i've done, pop
  and imap, and smtp. It's these last three i'm having the headache. I'm using
  postfix as my MTA and courier imap for pop/imap, i know that the latter has
  a program to generate keys but not csr's, i'm not sure how to get keys from
  courier and/or postfix to the ca for signing. I'm probably missing somehing
  very basic, and would appreciate any help.

Dave, why not just generate the csrs on the CA, then scp them to the individual
servers? If you have a CA, just do:

# generate a request
# (do a find for CA.pl, it should be under /etc/ somewhere.)
./CA.pl -newreq-nodes

# then sign it 

./CA.pl -sign

That produces newcert.pem Then:

newreq.pem = the server key
newcert.pem = the server certificate

rename the two files to something memorable 

mv newreq.pem imap.domain.key
mv newcert.pem imap.domain.cert

and scp them to whereever they should live.

 Why would you want to use multiple methods?  Just create a single self
 signed CA from OpenSSL and use it to sign a single cert for all your
 servers.  You could also just use a self signed cert for all of them.

Unless I read that wrong, you're suggesting having all servers 
(imap/https/database/etc) on a host share a single server cert.

Don't you think thats a bit iffy security-wise?
Then I have to have a server key readable by all the servers (many of which run
as different users), and if one is taken they are all impersonatable.

 
 Check out this info:
 http://www.openssl.org/docs/apps/x509v3_config.html#Subject_Alternative_Name_
 
 That will tell you about using a single cert for multiple domains if
 that is what you need.

Useful link.
I've used that for situations where I have two or more hosts in a load balance
group, where I set the subjectAltName to ldap.domain, and the CNs are 
ldap1...n.domain.
Then clients that aren't ldap-uri (which allows multiple servers to be listed) 
aware
can just use a round-robin  DNS entry of ldap.domain and still see that the 
server is 
what they expected.

I'm not sure http browsers (for example) are aware of that field, however.

-- 
'You may need to metaphorically make a deal with the devil.
By 'devil' I mean robot devil and by 'metaphorically' I mean get your coat.'
-- Bender
Rasputin :: Jack of All Trades - Master of Nuns
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: courier imap rc.conf entry?

2004-12-09 Thread Dev Tugnait
Did you check /usr/local/etc/rc.d?
Also check /usr/share/examples/etc/defaults/rc.conf

* Matthew Law ([EMAIL PROTECTED]) wrote:
 I've just installed courier-imapd from ports.  I can't find any
 reference to the required entry in rc.conf to start it at boot time.
 Can someone please tell me what I need in there or tell me where to look
 for the info? I'd like SSL too if that makes a difference...
 
 TIA,
 
 Matt.
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
+--==/\/\==--+   (__)  FreeBSD  
  
|   [EMAIL PROTECTED] |\\\'',)  The   
 
|Kernel  ESCAFLOWNE  |  \/  \ ^Power
  
| Web http://unixdaemon.org  |  .\._/_)To   
  
+--==\/\/==--+ Serve 

[ We've switched the bath sponge with a tribble. ] 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: courier imap rc.conf entry?

2004-12-09 Thread Matthew Law
* Dev Tugnait [EMAIL PROTECTED] [2004-12-09 12:00]:
 Also check /usr/share/examples/etc/defaults/rc.conf
This helped a great deal.  It's working now - thanks!

Matt.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Courier IMAP, MySQL, Postfix and Maildrop

2004-09-18 Thread Remko Lodder
Thomas,
 Has anybody setup the combination of  Courier IMAP, MySQL, Postfix and
 Courier Maildrop and managed to get it to work?

 I am so close I could just scream, but I can not get any of the
 Courier components to work!

perhaps you should check this site:
http://www.marlow.dk/site.php/tech/postfix
which tells you a little about the maildrop thingy.
Good luck!
Cheers
Remko
--
Kind regards,
Remko Lodder   |[EMAIL PROTECTED]
Reporter DSINet|[EMAIL PROTECTED]
Projectleader Mostly-Harmless  |[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Courier-IMAP Version?

2004-08-18 Thread Matt LaPlante
 -Original Message-
 From: John Cholewa [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, August 18, 2004 4:39 PM
 To: Matt LaPlante
 Subject: Re: Courier-IMAP Version?
 
 Matt LaPlante wrote:
 
 I've been working on an old FreeBSD mail server that was configured by a
 previous sysadmin.  I've attempted to update the Courier-IMAP software,
 but
 I can't figure out how to verify the installation.  The system was very
 poorly documented, and I want to be sure the server is actually running
 the
 newest version.  It's happened to me once or twice before where software
 was
 installed to an un-standard location, or binaries/configs weren't
 properly
 updated, so the previous software was actually running instead of the new
 software.  Unfortunately, I haven't found a way to determine the running
 version of Courier-IMAP.  Most apps just have a command line -version
 option
 or will tell you the version if you query them.  How can I make sure the
 IMAP server that's running is the latest version?  Thanks.
 
 
 See if imapd --version helps you. It works on mine (I'm apparently
 using version 3.0.2).
 
 --
   -JC
   http://www.jc-news.com/coding/freedom/
   http://www.jc-news.com/parse.cgi?coding/main
 
 
 
As a matter of fact, it did.  I could swear it didn't work last time I tried
it...

It's not in the man page though, which I KNOW I checked before I wasted your
time.  Thanks. :)

-
Matt


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Courier-imap + Postfix problem

2004-07-29 Thread Martin Hudec
On Tue, Jul 20, 2004 at 06:16:37PM -0700 or thereabouts, Brent Wiese wrote:
 Sorry, I missed this question and have been away from the list for a bit.
 Hopefully you figured this out by now, but just in case, I've answered
 below.

So was I :(.


  All i got to do now, it seems, is start portmap and fam on
  system boot. I know portmap_enable=YES in rc.conf does
  the trick, but what about starting fam?
 
 Look in /usr/local/etc/rc.d
 
 There will likely be several startup scripts in there for other services.
 Use one as a skeleton to start up fam. Likely, if you installed fam from
 ports, there will already be a startup script in that directory, it'll just
 need to be renamed. Many ports will put the scripts there with a -sample
 extension. Check to make sure that file looks in the right places for your
 daemon and if so, rename it to remove the -sample and it'll start up on
 boot.

There is no such script in ../etc/rc.d. All you have to do is to start
portmap (in rc.conf), and then edit your /etc/inetd.conf and add there:

sgi_fam/1-2 stream rpc/tcp wait root /usr/local/bin/fam fam

and then killall -HUP inetd.

This one should do the trick.


Cheers,

Martin

-- 
Martin Hudec| corwin at aeternal.net
| corwin at web.markiza.sk
http://www.aeternal.net | cell +421 907 303 393



pgpnxMVDTXYv5.pgp
Description: PGP signature


Re: Courier-imap + Postfix problem

2004-07-29 Thread Gareth Bailey
Hi Martin,

That worked for me! Thanks for the late post anyway.

Gareth

- Original Message - 
From: Martin Hudec [EMAIL PROTECTED]
To: Brent Wiese [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; 'Gareth Bailey' [EMAIL PROTECTED]
Sent: Thursday, July 29, 2004 10:15 AM
Subject: Re: Courier-imap + Postfix problem

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Courier-imap + Postfix problem

2004-07-20 Thread Brent Wiese
Sorry, I missed this question and have been away from the list for a bit.
Hopefully you figured this out by now, but just in case, I've answered
below.

 -Original Message-

snip

 All i got to do now, it seems, is start portmap and fam on
 system boot. I know portmap_enable=YES in rc.conf does
 the trick, but what about starting fam?

Look in /usr/local/etc/rc.d

There will likely be several startup scripts in there for other services.
Use one as a skeleton to start up fam. Likely, if you installed fam from
ports, there will already be a startup script in that directory, it'll just
need to be renamed. Many ports will put the scripts there with a -sample
extension. Check to make sure that file looks in the right places for your
daemon and if so, rename it to remove the -sample and it'll start up on
boot.


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Courier-imap + Postfix problem

2004-06-24 Thread Gareth Bailey
Hello Brent,

I did a straight fowrard 'make install' for courier-imap in
the ports directory. I configured it to use SSL. I have
never installed fam manually, although it is possible that
it got installed as a dependency with another port. So, i
don't know why i'm the only one having issues :-)

Thanks for your response. Google found a couple of articles
in which ppl compained about fam errors in their maillogs.
Apparently, fam (for some reason on my system, and theirs)
needs to be running for use by courier-imap. Furthermore,
for fam to be happy, portmap needs to be running. On
starting these two services, the errors magically
dissappeared. I would still like to know how i got into
this situation though!

All i got to do now, it seems, is start portmap and fam on
system boot. I know portmap_enable=YES in rc.conf does
the trick, but what about starting fam?


Thanks,
Gareth

On Wed, 23 Jun 2004 12:33:31 -0700
 Brent Wiese [EMAIL PROTECTED] wrote:
  Thanks. But now i'm back in the dark. Does anyone have
 any
  idea what the source of my errors in maillog could be?
 To
  recap, i'm running postfix and courier-imap and i'm
 getting
  errors as follows:
  
  maillog:
  
  Jun 20 15:47:05 server imapd-ssl: Failed to create
  cache
  file: maildirwatch (fre
  Jun 20 15:47:05 server imapd-ssl: Error: Input/output
  error
  Jun 20 15:47:05 server imapd-ssl: Check for proper
  operation and configuration
  Jun 20 15:47:05 server imapd-ssl: of the File Access
  Monitor daemon (famd).
  Jun 20 15:47:05 server imapd-ssl: Failed to create
  cache
  file: maildirwatch (fre
  Jun 20 15:47:05 server imapd-ssl: Error: Input/output
  error
  Jun 20 15:47:05 server imapd-ssl: Check for proper
  operation and configuration
  Jun 20 15:47:05 server imapd-ssl: of the File Access
  Monitor daemon (famd).
  
  Any info would be great!
 
 I don't have the file your log describes. I don't think
 its part of courier.
 At least not if you installed it from the ports. Or,
 maybe its only written
 temporarily if someone is using imap via ssl (my mail
 server isn't active
 enough on imap-ssl to watch for that).
 
 It looks like maybe you have the File Access Monitor
 installed
 (/usr/ports/devel/fam)... I know nothing about it, but
 its likely something
 misconfigured on it that isn't allowing courier to write
 the file or
 something.
 
 

_
For super low premiums ,click here http://www.dialdirect.co.za/quote
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Courier-imap + Postfix problem

2004-06-23 Thread Brent Wiese
 Thanks. But now i'm back in the dark. Does anyone have any
 idea what the source of my errors in maillog could be? To
 recap, i'm running postfix and courier-imap and i'm getting
 errors as follows:
 
 maillog:
 
 Jun 20 15:47:05 server imapd-ssl: Failed to create
 cache
 file: maildirwatch (fre
 Jun 20 15:47:05 server imapd-ssl: Error: Input/output
 error
 Jun 20 15:47:05 server imapd-ssl: Check for proper
 operation and configuration
 Jun 20 15:47:05 server imapd-ssl: of the File Access
 Monitor daemon (famd).
 Jun 20 15:47:05 server imapd-ssl: Failed to create
 cache
 file: maildirwatch (fre
 Jun 20 15:47:05 server imapd-ssl: Error: Input/output
 error
 Jun 20 15:47:05 server imapd-ssl: Check for proper
 operation and configuration
 Jun 20 15:47:05 server imapd-ssl: of the File Access
 Monitor daemon (famd).
 
 Any info would be great!

I don't have the file your log describes. I don't think its part of courier.
At least not if you installed it from the ports. Or, maybe its only written
temporarily if someone is using imap via ssl (my mail server isn't active
enough on imap-ssl to watch for that).

It looks like maybe you have the File Access Monitor installed
(/usr/ports/devel/fam)... I know nothing about it, but its likely something
misconfigured on it that isn't allowing courier to write the file or
something.


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Courier-imap + Postfix problem

2004-06-22 Thread Gareth Bailey
Ok, i haven't got any responses regarding this post, but i
have found what i think might be causing the problem.

I setup my server with the hostname berkeley and
installed everything i needed including postfix and
courier-imap. I have since changed the hostname to server
which was the name of my previous 5.2 release server (i had
problems with the new berkeley hostname.) Anyway, i see in
the output of postconf that there are two settings that
appear to be dependent on the hostname, namely:

berkeley_db_create_buffer_size=16777216 and
berkeley_db_read_buffer_size=131072

Since the hostname changed to server, shouldn't these now
be server_db_create_buffer_size=16777216 and
server_db_read_buffer_size=131072??

If so:

1:)Could this be the source of my errors appearing in
   maillog(see below)?

2:)What do i need to do? - Reinstall postfix?

Please advise,

King regards
Gareth

Hi all,

This problem has to do with my
mail setup. I'm running postfix MTA and courier-imap
server.

My maillog file is filled with messages like the
following:

Jun 20 15:47:05 server imapd-ssl: Failed to create cache
file: maildirwatch (fre
Jun 20 15:47:05 server imapd-ssl: Error: Input/output
error
Jun 20 15:47:05 server imapd-ssl: Check for proper
operation and configuration
Jun 20 15:47:05 server imapd-ssl: of the File Access
Monitor daemon (famd).
Jun 20 15:47:05 server imapd-ssl: Failed to create cache
file: maildirwatch (fre
Jun 20 15:47:05 server imapd-ssl: Error: Input/output
error
Jun 20 15:47:05 server imapd-ssl: Check for proper
operation and configuration
Jun 20 15:47:05 server imapd-ssl: of the File Access
Monitor daemon (famd).

I'm not too sure where to start - i suspect that whatever
is trying to create the cache file doesn't have the
neccesary permissions. If so, what is the location of this
cache file?  Otherwise, any other suggestions would be
most
welcome.

Thanks,
Gareth
_
For super low premiums ,click here http://www.dialdirect.co.za/quote
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Courier-imap + Postfix problem

2004-06-22 Thread Andy Harrison
On Tue, 22 Jun 2004 13:27:52 +0200, Gareth Bailey [EMAIL PROTECTED] wrote:
 
 Ok, i haven't got any responses regarding this post, but i
 have found what i think might be causing the problem.
 
 I setup my server with the hostname berkeley and
 installed everything i needed including postfix and
 courier-imap. I have since changed the hostname to server
 which was the name of my previous 5.2 release server (i had
 problems with the new berkeley hostname.) Anyway, i see in
 the output of postconf that there are two settings that
 appear to be dependent on the hostname, namely:
 
 berkeley_db_create_buffer_size=16777216 and
 berkeley_db_read_buffer_size=131072
 
 Since the hostname changed to server, shouldn't these now
 be server_db_create_buffer_size=16777216 and
 server_db_read_buffer_size=131072??
 
 If so:
 
 1:)Could this be the source of my errors appearing in
maillog(see below)?
 
 2:)What do i need to do? - Reinstall postfix?
 
 Please advise,
 
 King regards
 Gareth
 
 
 
 Hi all,
 
 This problem has to do with my
 mail setup. I'm running postfix MTA and courier-imap
 server.
 
 My maillog file is filled with messages like the
 following:
 
 Jun 20 15:47:05 server imapd-ssl: Failed to create cache
 file: maildirwatch (fre
 Jun 20 15:47:05 server imapd-ssl: Error: Input/output
 error
 Jun 20 15:47:05 server imapd-ssl: Check for proper
 operation and configuration
 Jun 20 15:47:05 server imapd-ssl: of the File Access
 Monitor daemon (famd).
 Jun 20 15:47:05 server imapd-ssl: Failed to create cache
 file: maildirwatch (fre
 Jun 20 15:47:05 server imapd-ssl: Error: Input/output
 error
 Jun 20 15:47:05 server imapd-ssl: Check for proper
 operation and configuration
 Jun 20 15:47:05 server imapd-ssl: of the File Access
 Monitor daemon (famd).
 
 I'm not too sure where to start - i suspect that whatever
 is trying to create the cache file doesn't have the
 neccesary permissions. If so, what is the location of this
 cache file?  Otherwise, any other suggestions would be
 most
 welcome.

berkeley is also a database file format...


-- 
Andy Harrison
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Courier-imap + Postfix problem

2004-06-22 Thread Gareth Bailey
Thanks. But now i'm back in the dark. Does anyone have any
idea what the source of my errors in maillog could be? To
recap, i'm running postfix and courier-imap and i'm getting
errors as follows:

maillog:

Jun 20 15:47:05 server imapd-ssl: Failed to create
cache
file: maildirwatch (fre
Jun 20 15:47:05 server imapd-ssl: Error: Input/output
error
Jun 20 15:47:05 server imapd-ssl: Check for proper
operation and configuration
Jun 20 15:47:05 server imapd-ssl: of the File Access
Monitor daemon (famd).
Jun 20 15:47:05 server imapd-ssl: Failed to create
cache
file: maildirwatch (fre
Jun 20 15:47:05 server imapd-ssl: Error: Input/output
error
Jun 20 15:47:05 server imapd-ssl: Check for proper
operation and configuration
Jun 20 15:47:05 server imapd-ssl: of the File Access
Monitor daemon (famd).

Any info would be great!

Thanks
Gareth

On Tue, 22 Jun 2004 08:12:44 -0400
 Andy Harrison [EMAIL PROTECTED] wrote:
 On Tue, 22 Jun 2004 13:27:52 +0200, Gareth Bailey
 [EMAIL PROTECTED] wrote:
  
  Ok, i haven't got any responses regarding this post,
 but i
  have found what i think might be causing the problem.
  
  I setup my server with the hostname berkeley and
  installed everything i needed including postfix and
  courier-imap. I have since changed the hostname to
 server
  which was the name of my previous 5.2 release server (i
 had
  problems with the new berkeley hostname.) Anyway, i see
 in
  the output of postconf that there are two settings that
  appear to be dependent on the hostname, namely:
  
  berkeley_db_create_buffer_size=16777216 and
  berkeley_db_read_buffer_size=131072
  
  Since the hostname changed to server, shouldn't these
 now
  be server_db_create_buffer_size=16777216 and
  server_db_read_buffer_size=131072??
  
  If so:
  
  1:)Could this be the source of my errors appearing in
 maillog(see below)?
  
  2:)What do i need to do? - Reinstall postfix?
  
  Please advise,
  
  King regards
  Gareth
  
  
  
  Hi all,
  
  This problem has to do with my
  mail setup. I'm running postfix MTA and courier-imap
  server.
  
  My maillog file is filled with messages like the
  following:
  
  Jun 20 15:47:05 server imapd-ssl: Failed to create
 cache
  file: maildirwatch (fre
  Jun 20 15:47:05 server imapd-ssl: Error: Input/output
  error
  Jun 20 15:47:05 server imapd-ssl: Check for proper
  operation and configuration
  Jun 20 15:47:05 server imapd-ssl: of the File Access
  Monitor daemon (famd).
  Jun 20 15:47:05 server imapd-ssl: Failed to create
 cache
  file: maildirwatch (fre
  Jun 20 15:47:05 server imapd-ssl: Error: Input/output
  error
  Jun 20 15:47:05 server imapd-ssl: Check for proper
  operation and configuration
  Jun 20 15:47:05 server imapd-ssl: of the File Access
  Monitor daemon (famd).
  
  I'm not too sure where to start - i suspect that
 whatever
  is trying to create the cache file doesn't have the
  neccesary permissions. If so, what is the location of
 this
  cache file?  Otherwise, any other suggestions would be
  most
  welcome.
 
 berkeley is also a database file format...
 
 
 -- 
 Andy Harrison

_
For super low premiums ,click here http://www.dialdirect.co.za/quote
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Courier-Imap authentication

2004-02-28 Thread Remko Lodder
Hi,

The courier imap program has to be able to reach the location,
it might be that the location you defined, is not reachable
by the user under which imapd runs, (for example imapd runs under
barry-mailserver, and the permissions for /home/barry/Maildir is
700, he is never ever going to access it...)

Hope this helps you a bit,

cheers

--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl Dutch community for helping newcomers on the
hackerscene

mrtg.grunn.org Dutch mirror of MRTG

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] gareth bailey
Verzonden: zaterdag 28 februari 2004 13:37
Aan: [EMAIL PROTECTED]
Onderwerp: Courier-Imap authentication


I recently installed Postfix MTA and Courier-Imap. Postfix
is working correctly. I configured Courier-Imap, all seems
well except i get a message when trying to connect from
client saying Fatal error: /home/barry/Maildir: Permission
denied

I have created /usr/local/etcuserdb and run pw2userdb.
I chmod 700 /usr/local/etc/userdb
I created /home/barry/Maildir
I ran userdb [EMAIL PROTECTED] set home=/home/barry
mail=/home/barry/Maildir uid=x gid=x
Then i ran userdbpw | userdb [EMAIL PROTECTED] set
systempw
.. and finally ran makeuserdb

I think maybe i got the uid and gid incorrect. I thought
that these were the values are stated in /etc/passwd (but
maybe not?). What else could it be?

Thank you
Gareth
__
http://www.webmail.co.za/dialup Webmail ISP - Cool Connection, Cool Price
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: courier-imap + exim quotas

2003-10-20 Thread Matthew Seaman
On Mon, Oct 20, 2003 at 09:15:02AM +, Matthew Faircliff wrote:

 Can somebody please tell me how to implement quotas using courier-imap and exim.  
 The docs on this seem quite lacking!

Quotas aren't provided by the mail software -- they are a function of
the filesystem that you store the mail on.

To set up quotas:

i) Make sure quotas are enabled in your kernel configuration:

options QUOTA

   It's not in the GENERIC kernel for 4.x.  If you don't want to
   rebuild your kernel, you may be able to kldload(8) a quota
   module -- see loader.conf(5).

   ii) Enable quotas on boot up.  Add:

enable_quotas=YES
check_quotas=YES

   to /etc/rc.conf

  iii) Mark the file systems you want to use quotas on in /etc/fstab
   by setting the appropriate options in the mount flags.

/dev/ad0s1e /var ufs 
rw,userquota=/var/quota/var.user,groupquota=/var/quota/var.group 2 2

   See fstab(5) for details.

   iv) Now either reboot or run the following commands while the
   system is fairly quiescent:

# quotacheck -a
# quotaon -a

   This will scan the disk partition (can take some time) and make
   a table showing how much space is being used by each user and
   group.  It will then enable, at the system level, hooks into
   the low level filesystem calls that updates that table whenever
   the filesystem is written to.  See quotaon(8) and
   quotacheck(8).

v) Now the quota system is up and running, and you can use the
   quota(1) and repquota(8) commands to see how much disk space is
   being used by each user.  However, you haven't actually set up
   any limits for any users yet.  To do that, use the edquota(1)
   command.

Your mail programs will automatically operate within the quota
settings you set up, and handle the EDQUOT errors the system will
generate if the user receives over-much mail.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: courier-imap + exim quotas

2003-10-20 Thread Matthew Faircliff
Hello Matthew,

Thanks for the info. 

I am sorry I did not word my question properly - what I meant was:

Can somebody please tell me how to implement quotas using courier-imap and exim with 
virtual user maildirs?

OS quotas solve quota issues for real system users; but how do you enforce quotas for 
virtual mail users?

Matthew Faircliff


On Mon, Oct 20, 2003 at 09:50:35AM +0100, Matthew Seaman wrote:
Date: Mon, 20 Oct 2003 09:50:35 +0100
From: Matthew Seaman [EMAIL PROTECTED]
To: Matthew Faircliff [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: courier-imap + exim quotas
Mail-Followup-To: Matthew Seaman [EMAIL PROTECTED],
Matthew Faircliff [EMAIL PROTECTED],
[EMAIL PROTECTED]

On Mon, Oct 20, 2003 at 09:15:02AM +, Matthew Faircliff wrote:

 Can somebody please tell me how to implement quotas using courier-imap and exim.  
 The docs on this seem quite lacking!

Quotas aren't provided by the mail software -- they are a function of
the filesystem that you store the mail on.

To set up quotas:

i) Make sure quotas are enabled in your kernel configuration:

options QUOTA

   It's not in the GENERIC kernel for 4.x.  If you don't want to
   rebuild your kernel, you may be able to kldload(8) a quota
   module -- see loader.conf(5).

   ii) Enable quotas on boot up.  Add:

enable_quotas=YES
check_quotas=YES

   to /etc/rc.conf

  iii) Mark the file systems you want to use quotas on in /etc/fstab
   by setting the appropriate options in the mount flags.

/dev/ad0s1e /var ufs 
rw,userquota=/var/quota/var.user,groupquota=/var/quota/var.group 2 2

   See fstab(5) for details.

   iv) Now either reboot or run the following commands while the
   system is fairly quiescent:

# quotacheck -a
# quotaon -a

   This will scan the disk partition (can take some time) and make
   a table showing how much space is being used by each user and
   group.  It will then enable, at the system level, hooks into
   the low level filesystem calls that updates that table whenever
   the filesystem is written to.  See quotaon(8) and
   quotacheck(8).

v) Now the quota system is up and running, and you can use the
   quota(1) and repquota(8) commands to see how much disk space is
   being used by each user.  However, you haven't actually set up
   any limits for any users yet.  To do that, use the edquota(1)
   command.

Your mail programs will automatically operate within the quota
settings you set up, and handle the EDQUOT errors the system will
generate if the user receives over-much mail.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Îòã.: [courier-users] Re: courier-imap troubleshoting

2002-12-03 Thread blabla
Kyriakos Oikonomakos [EMAIL PROTECTED] íàïèñà :

 [EMAIL PROTECTED]
 wrote:
  Hello,
  i have problem with my courier-imap.
  I recompile it and instaled on FreeBSD 4.7 from ports.
  I unable to loggin:
  my authdaemonrc file:
  --- begin paste ---
  --- cut ---
  authmodulelist=authmysql
  authmodulelistorig=authmysql
  --- end paste ---
  authmysqlrc file i configure correctly.
  My database on 127.0.0.1 and i put them in authmysqlrc file
 
 
 Why don't you attach your authmysqlrc file along?
 
 Have you tried running tcpdump while authenticating to
 your imap server to check if there is an attempted connection
 to your mysql database (destination port should be 3306 ).
 
 
  with username, password, database ...
 []
 
  
  Regards,
  Condor
  
   
 
 Kyriakos
 
OK, i dumped trafic with tcpdump to port 3306 where is my mysql, i do not see any 
attempts
to connect with mysql, and mysql.log file is empty.
I thinks that this is not problem with my authmysqlrc file
because i not see any attempts to connect with mysql.
Hostname (127.0.0.1), username (admin), password (password)and db (mails) are 
configured in authmusqlrc file and if courier-imap is worked i must see in mysql.log 
file or with tcpdump attempt to connect, but i not.

Any another ideas?

Condor




___
 http://www.vcable.net



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: courier-imap troubleshoting

2002-12-01 Thread Kyriakos Oikonomakos
[EMAIL PROTECTED] wrote:

Hello,
i have problem with my courier-imap.
I recompile it and instaled on FreeBSD 4.7 from ports.
I unable to loggin:
my authdaemonrc file:
--- begin paste ---
--- cut ---
authmodulelist=authmysql
authmodulelistorig=authmysql
--- end paste ---
authmysqlrc file i configure correctly.
My database on 127.0.0.1 and i put them in authmysqlrc file



Why don't you attach your authmysqlrc file along?

Have you tried running tcpdump while authenticating to
your imap server to check if there is an attempted connection
to your mysql database (destination port should be 3306 ).



with username, password, database ...

[]



Regards,
Condor

 

Kyriakos



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message