Hi,
 
I've having some difficulty installing courier mail on a fresh freebsd 4.7 box. I've included the full "dmesg -a" log at the end of the message and I've highlighted the specific errors in the following text.
 
Installing Courier Mail on FreeBSD HOWTO?
Where is documentation for installing courier mail on freebsd? Is there any?
 
Removing Sendmail?
What needs to be done to "remove" sendmail sufficiently so that courier mail will work with FreeBSD (4.7)?
 
I'm not quite sure how to ensure that sendmail is turned off or "removed" completely. I've set 'sendmail_enable="NO"' in /etc/rc.conf. During booting I get the following error messages relating to sendmail/courier mail.
 
Starting standard daemons:
inetd
cron
sshd
usbd
sendmail-submit
sendmail: ERR: submitclient: EOF from submit.
432 Service temporarily unavailable.
sendmail-clientmqueue
sendmail: ERR: submitclient: EOF from submit.
432 Service temporarily unavailable.
.
Initial rc.i386 initialization:
 
What is going on here? What needs to be done to remedy this?
 
Installing Courier Mail
I"ve installed courier mail using "make install" in the courier ports directory. I've moved the pam settings into /etc/pam.conf. What else needs to happen for courier mail to be installed correctly on freebsd?
 
I get the following messages during booting (and after 'courier make install'). This error also occurs when I run the startup rc.d script. It seems that the permissions on the directories is not correct? What should they be?
 
Local package initialization:
pgsql
 
jboss3
apache2
/var/spool/courier/tmp/courierfilter.pid: Permission denied
authdaemond
/var/spool/courier/tmp/ldapaliasd.lock: Permission denied
ll_daemon_start: Resource temporarily unavailable
courierd
mysqld
snmpd
webmin
.
Additional TCP options:
 
Could it be something to do with the location of the "/var/spool/courier/tmp/" directory on freebsd? "ls" logs follow.
 
All the best,
 
Peter William Lount
 
sensei# pwd
/var/spool/courier/tmp
sensei# ls -alg
total 6
drwxrwx--- 3 courier courier 512 Jan 11 11:23 .
drwxr-xr-x 8 root wheel 512 Jan 11 11:05 ..
drwxr-xr-x 2 root wheel 512 Jan 11 10:23 broken
-rw------- 1 root courier 0 Jan 11 11:23 courierd.lock
-rw------- 1 root courier 0 Jan 11 11:23 esmtpd-msa.pid.lock
-rw------- 1 root courier 0 Jan 11 11:23 esmtpd.pid.lock
prw-rw---- 1 62 62 0 Jan 11 11:23 trigger
sensei#

Permissions for /var/spool/courier/
total 16
drwxr-xr-x 8 root wheel 512 Jan 11 11:05 .
drwxr-xr-x 14 root wheel 512 Jan 11 10:23 ..
-r-------- 1 courier courier 0 Jan 11 11:05 .noident
drwxr-x--- 2 courier courier 512 Jan 11 10:23 allfilters
drwxrwx--- 2 courier courier 512 Jan 11 11:42 authdaemon
drwxr-x--- 2 courier courier 512 Jan 11 10:23 filters
drwxr-x--- 2 courier courier 512 Jan 11 10:23 msgq
drwxr-x--- 2 courier courier 512 Jan 11 10:23 msgs
drwxrwx--- 3 courier courier 512 Jan 11 11:23 tmp
 
allfilters:
total 4
drwxr-x--- 2 courier courier 512 Jan 11 10:23 .
drwxr-xr-x 8 root wheel 512 Jan 11 11:05 ..
 
authdaemon:
total 6
drwxrwx--- 2 courier courier 512 Jan 11 11:42 .
drwxr-xr-x 8 root wheel 512 Jan 11 11:05 ..
-rw------- 1 root courier 0 Jan 11 11:23 lock
-rw-r--r-- 1 root courier 4 Jan 11 11:42 pid
srwxrwxrwx 1 root courier 0 Jan 11 11:42 socket
 
filters:
total 4
drwxr-x--- 2 courier courier 512 Jan 11 10:23 .
drwxr-xr-x 8 root wheel 512 Jan 11 11:05 ..
 
msgq:
total 4
drwxr-x--- 2 courier courier 512 Jan 11 10:23 .
drwxr-xr-x 8 root wheel 512 Jan 11 11:05 ..
 
msgs:
total 4
drwxr-x--- 2 courier courier 512 Jan 11 10:23 .
drwxr-xr-x 8 root wheel 512 Jan 11 11:05 ..
 
tmp:
total 6
drwxrwx--- 3 courier courier 512 Jan 11 11:23 .
drwxr-xr-x 8 root wheel 512 Jan 11 11:05 ..
drwxr-xr-x 2 root wheel 512 Jan 11 10:23 broken
-rw------- 1 root courier 0 Jan 11 11:23 courierd.lock
-rw------- 1 root courier 0 Jan 11 11:23 esmtpd-msa.pid.lock
-rw------- 1 root courier 0 Jan 11 11:23 esmtpd.pid.lock
prw-rw---- 1 62 62 0 Jan 11 11:23 trigger
 
 
 
sensei# /usr/local/etc/rc.d/courier.sh start
courier.sh paths:
prefix=/usr/local
sysconfdir=/usr/local/etc/courier
sbindir=/usr/local/sbin
libexecdir=/usr/local/libexec
datadir=/usr/local/share/courier
/var/spool/courier/tmp/courierfilter.pid: Permission denied
authdaemond/var/spool/courier/tmp/ldapaliasd.lock: Permission denied
ll_daemon_start: Resource temporarily unavailable
 
 
 
Boot "dmesg -a" Log
Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 4.7-RELEASE #0: Wed Oct 9 15:08:34 GMT 2002
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz
CPU: AMD Duron(tm) Processor (1544.51-MHz 686-class CPU)
Origin = "AuthenticAMD" Id = 0x680 Stepping = 0
Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
AMD Features=0xc0400000<AMIE,DSP,3DNow!>
real memory = 536788992 (524208K bytes)
avail memory = 517107712 (504988K bytes)
Preloaded elf kernel "kernel" at 0xc050f000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 9 entries at 0xc00f1750
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <VIA 8363 (Apollo KT133) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <S3 Trio3D/2X graphics accelerator> at 0.0
isab0: <VIA 82C686 PCI-ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686 ATA66 controller> port 0xd800-0xd80f at device 4.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 5 at device 4.2 on pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0xd000-0xd01f irq 5 at device 4.3 on pci0
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhub2: ALCOR Generic USB Hub, class 9/0, rev 1.10/1.00, addr 2
uhub2: 4 ports with 4 removable, self powered
pci0: <unknown card> (vendor=0x1106, dev=0x3057) at 4.4
rl0: <D-Link DFE-530TX+ 10/100BaseTX> port 0xa400-0xa4ff mem 0xdb800000-0xdb8000ff irq 10 at device 10.0 on pci0
rl0: Ethernet address: 00:50:ba:56:55:6f
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
atapci1: <Promise ATA100 controller> port 0x8800-0x883f,0x9000-0x9003,0x9400-0x9407,0x9800-0x9803,0xa000-0xa007 mem 0xdb000000-0xdb01ffff irq 11 at device 17.0 on pci0
ata2: at 0xa000 on atapci1
ata3: at 0x9400 on atapci1
orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xcbfff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: failed to get data.
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ata1-slave: ATA identify retries exceeded
ata1-master: ATA identify retries exceeded
ad0: 78167MB <Maxtor 6Y080L0> [158816/16/63] at ata0-master UDMA66
acd0: CDROM <CD-952E/AKV> at ata0-slave PIO4
Mounting root from ufs:/dev/ad0s2a
DEPENDENCY NOTE: portmap will be enabled to support amd
swapon: adding /dev/ad0s1b as swap device
Automatic boot in progress...
/dev/ad0s2a:
FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s2a:
clean, 5930033 free
(63121 frags, 733364 blocks, 0.8% fragmentation)
/dev/ad0s3e:
FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s3e:
clean, 30621572 free
(12 frags, 3827695 blocks, 0.0% fragmentation)
Doing initial network setup:
hostname
.
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 192.168.0.63 netmask 0xffffff00 broadcast 192.168.0.255
inet6 fe80::250:baff:fe56:556f%rl0 prefixlen 64 tentative scopeid 0x1
ether 00:50:ba:56:55:6f
media: Ethernet autoselect (none)
status: no carrier
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
inet 127.0.0.1 netmask 0xff000000
add net default: gateway 192.168.0.1
Additional routing options:
TCP keepalive=YES
.
Routing daemons:
.
Additional daemons:
syslogd
.
Doing additional network setup:
ntpdate
portmap
.
Starting final network daemons:
mountd
NFS on reserved port only=YES
nfsd
rpc.statd
nfsiod
NFS access cache time=2
amd
.
Turning on accounting:
ELF ldconfig path: /usr/lib /usr/lib/compat /usr/X11R6/lib /usr/local/lib
a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout /usr/X11R6/lib/aout
Starting standard daemons:
inetd
cron
sshd
usbd
sendmail-submit
sendmail: ERR: submitclient: EOF from submit.
432 Service temporarily unavailable.
sendmail-clientmqueue
sendmail: ERR: submitclient: EOF from submit.
432 Service temporarily unavailable.
.
Initial rc.i386 initialization:
.
Configuring syscons:
blanktime
screensaver
moused
.
Additional ABI support:
linux
.
Local package initialization:
pgsql
 
jboss3
apache2
/var/spool/courier/tmp/courierfilter.pid: Permission denied
authdaemond
/var/spool/courier/tmp/ldapaliasd.lock: Permission denied
ll_daemon_start: Resource temporarily unavailable
courierd
mysqld
snmpd
webmin
.
Additional TCP options:
.
Sat Jan 11 11:43:01 PST 2003
Jan 11 11:46:58 sensei login: ROOT LOGIN (root) ON ttyv0

Reply via email to