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]