help me please
RYAN M vAN GINNEKEN
rvanginneken at lycos.com
Mon Jun 16 18:35:55 EDT 2003
--
--------- Original Message ---------
DATE: Mon, 16 Jun 2003 15:29:45
From: "RYAN M vAN GINNEKEN" <rvanginneken at lycos.com>
To: rvanginneken at lycos.com
Cc:
>Ok it is me again i did some major updates on my server this weekend and seem to have fixed the SIGHUP problem now i have a new problem
>
>i run freebsd 4.8
>cyrus-imapd-2.1.13
>cyrus-sasl-2.1.13_4
>and db3-3.3.11,1 dont know if that has anything to do with things
>
>see below for the rest of my info
>problem #1
>for some reason no matter how many times i set my /var/imap and /var/spool/imap to user cyrus and group mail it changes back to user cyrus group cyrus
>problem #2
>my logs do not work /var/log/imap.log /var/log/auth.log
>they are always empty
>problem #3
>when i do this
>[Mon Jun 16] 03:14 PM [0]
>v20.computerking.ca > ~ $su cyrus
>Password:
>Sorry
>[Mon Jun 16] 03:15 PM [0]
>v20.computerking.ca > ~ $cyradm -u rmvg localhost
>cyradm: cannot authenticate to server with as rmvg
>i get this in my syslog
>
>Jun 16 15:07:22 v20 last message repeated 2 times
>Jun 16 15:14:49 v20 su: BAD SU rmvg to cyrus on /dev/ttyp2
>Jun 16 15:15:10 v20 su: BAD SU rmvg to cyrus on /dev/ttyp2
>Jun 16 15:15:32 v20 imapd[1681]: OTP unavailable because can't read/write key database /etc/opiekeys: Permission denied
>Jun 16 15:15:32 v20 imapd[1681]: no user in db
>Jun 16 15:15:32 v20 imapd[1681]: client response doesn't match what we generated
>Jun 16 15:15:32 v20 imapd[1681]: badlogin: localhost.computerking[127.0.0.1] DIGEST-MD5 [SASL(-13): authentication failure: client response doesn't match what we generated]
>Jun 16 15:15:35 v20 perl: No worthy mechs found
>
>so i tryed this
>saslpasswd2 -c rmvg
>Password:
>Again (for verification):
>
>and got this in syslog
>Jun 16 15:18:10 v20 ctl_cyrusdb[1684]: checkpointing cyrus databases
>Jun 16 15:18:12 v20 ctl_cyrusdb[1684]: done checkpointing cyrus databases
>Jun 16 15:20:06 v20 saslpasswd2: Could not open db
>Jun 16 15:20:07 v20 saslpasswd2: SASL error opening password file. Do you have write permissions?
>Jun 16 15:20:07 v20 saslpasswd2: Could not open db for write
>Jun 16 15:20:07 v20 saslpasswd2: SASL error opening password file. Do you have write permissions?
>Jun 16 15:20:07 v20 saslpasswd2: Could not open db for write
>Jun 16 15:20:07 v20 saslpasswd2: SASL error opening password file. Do you have write permissions?
>Jun 16 15:20:07 v20 saslpasswd2: Could not open db for write
>Jun 16 15:20:07 v20 saslpasswd2: SASL error opening password file. Do you have write permissions?
>Jun 16 15:20:07 v20 saslpasswd2: Could not open db for write
>
>help
>--
>--------- Original Message ---------
>
>DATE: Sat, 14 Jun 2003 02:31:07
>From: "RYAN M vAN GINNEKEN" <rvanginneken at lycos.com>
>To: info-cyrus at lists.andrew.cmu.edu
>Cc:
>
>>ok i have been working on this cyrus thing for about a year now
>>and still cannot get things to work. Please help
>>mostly i could not creat mail boxes but since the last time i tied that some othe stuff has gon wrong see below.
>>
>>added the following lines to my /etc/syslog.conf
>>
>>local6.* /var/log/imapd.log
>>auth.* /var/log/auth.log
>>daemon.* /var/log/daemon.log
>>
>>
>>my /var/log directory listing and permissions are these correct
>>because i get nothing in my log they are both empty
>>
>>-rw-r--r-- 1 root wheel 0 Dec 31 19:33 imapd.log
>>-rw------- 1 root wheel 5555 Jun 14 01:02 auth.log
>>
>>
>>my imapd.conf file
>>#==============================================================================
>># /usr/local/etc/imapd.conf @v20
>>#==============================================================================
>>configdirectory: /var/imap
>>partition-default: /var/spool/imap
>>admins: rmvg
>>sasl_pwcheck_method: saslauthd
>>
>>#end of file
>>#==============================================================================
>>
>>the two directories mentioned in the config file above
>>are these the right permissions
>>/var/spool
>>drwxr-x--- 12 cyrus mail 512 Jun 14 01:23 imap
>>/var/spool/imap
>>drwxr-x--- 4 cyrus mail 512 Jan 29 01:51 imap
>>
>>v20.computerking.ca > /var/spool #su cyrus
>>%tools/mkimap
>>tools/mkimap: Command not found.
>>WHAT THE ??? THIS DOES NOT SEEM TO WORK
>>
>>%cd /usr/local/cyrus/bin
>>%mkimap
>>mkimap: Command not found.
>>%
>>STILL NOTHING
>>
>>%./mkimap
>>reading configure file...
>>i will configure directory /var/imap.
>>i saw partition /var/spool/imap.
>>done
>>creating /var/imap...
>>creating /usr/sieve...
>>creating /var/spool/imap...
>>done
>>%
>>OK IT WORKS LOOKS GOOD RIGHT
>>
>>#============================================================================================
>>#/etc/cyrus.conf @v20 standard standalone server implementation
>>#=========================================================================================
>>START {
>> # do not delete this entry!
>> recover cmd="ctl_cyrusdb -r"
>>
>> # this is only necessary if using idled for IMAP IDLE
>># idled cmd="idled"
>>}
>>
>># UNIX sockets start with a slash and are put into /var/imap/socket
>>SERVICES {
>> # add or remove based on preferences
>> imap cmd="imapd" listen="imap" prefork=0
>> imaps cmd="imapd -s" listen="imaps" prefork=0
>> pop3 cmd="pop3d" listen="pop3" prefork=0
>> pop3s cmd="pop3d -s" listen="pop3s" prefork=0
>> sieve cmd="timsieved" listen="sieve" prefork=0
>>
>> # at least one LMTP is required for delivery
>># lmtp cmd="lmtpd" listen="lmtp" prefork=0
>> lmtpunix cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=0
>>
>> # this is only necessary if using notifications
>># notify cmd="notifyd" listen="/var/imap/socket/notify" proto="udp" prefork=1
>>}
>>
>>EVENTS {
>> # this is required
>> checkpoint cmd="ctl_cyrusdb -c" period=30
>>
>> # this is only necessary if using duplicate delivery suppression
>> delprune cmd="ctl_deliver -E 3" at=0400
>>
>>
>> # this is only necessary if caching TLS sessions
>> tlsprune cmd="tls_prune" at=0400
>>}
>>
>># end of file
>>#======================================================================================
>>
>>So problem #1 is that i get no activity in my log files this is
>>what syslog sayes at boottime
>>
>>Jun 13 22:53:03 v20 master[182]: process started
>>Jun 13 22:53:03 v20 ctl_cyrusdb[187]: recovering cyrus databases
>>Jun 13 22:53:08 v20 ctl_cyrusdb[187]: done recovering cyrus databases
>>Jun 13 22:53:08 v20 master[182]: ready for work
>>Jun 13 22:53:09 v20 ctl_cyrusdb[194]: checkpointing cyrus databases
>>Jun 13 22:53:09 v20 ctl_cyrusdb[194]: done checkpointing cyrus databases
>>Jun 13 22:53:15 v20 master[182]: got SIGHUP
>>Jun 13 22:53:15 v20 ctl_cyrusdb[201]: checkpointing cyrus databases
>>Jun 13 22:53:15 v20 ctl_cyrusdb[201]: done checkpointing cyrus databases
>>Jun 13 23:23:16 v20 ctl_cyrusdb[254]: checkpointing cyrus databases
>>Jun 13 23:23:16 v20 ctl_cyrusdb[254]: done checkpointing cyrus databases
>>
>>ohoh got a SIGHUP AT 22:53:15 this is new what the?????
>>
>>OK I WILL TRY AND FIRE HER UP MANUALLY
>>v20.computerking.ca > /usr/local/cyrus/bin #master &
>>[2] 48708
>>[1] Exit 1 cd /usr/local/cyrus/bin/master
>>[Sat Jun 14] 02:26 AM [1]
>>v20.computerking.ca > /usr/local/cyrus/bin #su: master: command not found
>>
>>OK WHAT DOES THAT MEAN NOTHING EVEN HIT THE SYSLOG PLEASE HELP
>>
>>
>>
>>____________________________________________________________
>>Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
>>http://login.mail.lycos.com/r/referral?aid=27005
>>
>
>
>
>____________________________________________________________
>Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
>http://login.mail.lycos.com/r/referral?aid=27005
>
____________________________________________________________
Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
http://login.mail.lycos.com/r/referral?aid=27005
More information about the Info-cyrus
mailing list