Log rotating problems

2004-08-29 Thread Mike Mimic
Hi! After system update (unstable) I began to recieve errors every day about rotating log files: /etc/cron.daily/logrotate: error: unable to open /var/log/apcupsd.events.1 for compression run-parts: /etc/cron.daily/logrotate exited with return code 1 /etc/cron.daily/sysklogd: chmod: cannot

I updated system and RMagic stopped to work

2003-04-06 Thread Mike Mimic
Hi! I updated system (dselect - update - install) and rmagic stopped to work. In its log file I get this: libpng warning: Application was compiled with png.h from libpng-1.2.5 libpng warning: Application is running with png.c from libpng-1.0.12 gd-png: fatal libpng error: Incompatible libpng

/etc/network/interfaces IPv6

2003-02-12 Thread Mike Mimic
Hi! I have set up an IPv6 tunnel. And I would like to assign IP addresses to my network devices. I have two, eth0 and eth0:1. How can I assign an address to the virtual device? I have successfully assigned to eth0 but I could to eth0:1. How can I add an entry into /etc/network/interfaces for

Mailutils pop3d maildir format

2003-02-09 Thread Mike Mimic
Hi! I have switched to maildir format for local mailboxes (each user has its directory with cur, new and tmp subdirectories). And I have now problem configuring mailutils pop3d. I get this in mail.info: User 'xxx' logged in with mailbox '/dev/null' (0 msgs) How can I tell pop3d that there is

Amavis should scan only mail for existent users (Exim)

2003-01-14 Thread Mike Mimic
Hi! I have installed an Amavis system for Exim (amavis-exim). I have configured the Amavis and Exim and now e-mails are scanned and correctly filtered. But there is a problem. Exim now accpets e-mail even for non-existent users. It than scans e-mails and than it refuses them if there is no such

Running multiple instances with start-stop-daemon

2002-06-30 Thread Mike Mimic
Hi! I would like to run few instances of same program but with different parameters with start-stop-daemon tool. I have tryed: start-stop-daemon --start --chuid nobody:nogroup --pidfile /var/run/someprogram.pid --startas /bin/someprogram ... (other lines have other pidfile and some parameters

Re: exim, auth, pam, solutions

2002-06-25 Thread Mike Mimic
Hi! On Sun, Jun 23, 2002 at 07:19:20AM -0700, Mike Mimic wrote: But won't that broke the use of shadow group? Than programs which use that won't be able to read it. I realised it, tried the group shadow attempt again and reset ownership. For whatever odd reason, I had to reboot

Re: exim, auth, pam, solutions

2002-06-23 Thread Mike Mimic
Hi! --- Paul Johnson [EMAIL PROTECTED] wrote: I have temporary set it to world readable and now AUTH H! That defeats the point of shadow passwords! TEMPORARY!!! :-) Just for debuging process. Mike __ Do You Yahoo!? Yahoo! - Official

Re: exim, auth, pam, solutions

2002-06-23 Thread Mike Mimic
Hi! Originally I tried adding mail to the shadow group, but that didn't work, so I took mail back out of shadow, and chown root:mail /etc/shadow. This worked. But won't that broke the use of shadow group? Than programs which use that won't be able to read it. Mike

Re: exim, auth, pam, solutions

2002-06-23 Thread Mike Mimic
Hi! | But it doesn't work with Pegasus Mail. Install 'tcpflow' and watch what is sent through the socket. You can pipe it through 'base64-decode' to see what it sends as the user/password. I have solved the problem. I have Norton AntiVirus set and so username wasn't correct. And it's 1,2

Re: exim, auth, pam, solutions

2002-06-22 Thread Mike Mimic
Hi! Here are some solutions to the problem : 1) Make /etc/shadow readable by the 'mail' user. I have chosen this solution and I have now trivial question. How can I make shadow file readable by mail user, too (and that it stay so because I think that there is some script which check files

Re: Exim authentication

2002-06-21 Thread Mike Mimic
Hi! I see two problems. 1) If you used the authenticator Mark supplied, then the data the client sent is wrong. The client sent 3 strings -- the empty string, then the username, then the password. The authenticator Mark supplied expects the username first and the password second. I have

Re: Exim authentication

2002-06-20 Thread Mike Mimic
Hi! Run exim from a shell with '-d9' and then try again. I have tryed and I get (nothing helpful): Running PAM authentication for user [erased] PAM error: Authentication failure plain authenticator: $1 = $2 = [erased] $3 = [erased] expanded string: 0 SMTP 535 Incorrect authentication

Re: Exim authentication

2002-06-20 Thread Mike Mimic
Hi! Run exim from a shell with '-d9' and then try again. I have tryed and I get (nothing helpful): Running PAM authentication for user [erased] PAM error: Authentication failure plain authenticator: $1 = $2 = [erased] $3 = [erased] expanded string: 0 SMTP 535 Incorrect authentication

Re: Exim authentication

2002-06-20 Thread Mike Mimic
Hi! Run exim from a shell with '-d9' and then try again. I have tryed and I get (nothing helpful): Running PAM authentication for user [erased] PAM error: Authentication failure plain authenticator: $1 = $2 = [erased] $3 = [erased] expanded string: 0 SMTP 535 Incorrect authentication

Re: Exim authentication

2002-06-19 Thread Mike Mimic
Hi! | How can I set that user should login for SMTP the same | as for POP3? So he should use the same username and | password as for POP3 (that is the user linux account | username and password). Instead, exim supports SMTP AUTH. Yes, I would like to implement that. The problem is that

Re: Exim authentication

2002-06-19 Thread Mike Mimic
Hi! I believe that putting the following in the authentication configuration section will allow you to use PAM. You will just need to add a file named /etc/pam.d/exim with the appropriate PAM config options I have made /etc/pam.d/exim with: #%PAM-1.0 auth required pam_unix.so

Exim authentication

2002-06-18 Thread Mike Mimic
Hi! How can I set that user should login for SMTP the same as for POP3? So he should use the same username and password as for POP3 (that is the user linux account username and password). Mike __ Do You Yahoo!? Yahoo! - Official partner of 2002

Re: Time(zone) problems

2002-06-12 Thread Mike Mimic
Hi! Hmm. The only other thing I can think of is the setting in /etc/login.defs. ENV_TZ is typically commented out though. If it's not you might try commenting it out, although I would think root would be affected if that variable were set. The root account doesn't have any TZ environment

Re: Time(zone) problems

2002-06-12 Thread Mike Mimic
Hi! % ls -l /usr/share/zoneinfo/MST7MDT -rw-r--r--6 root root 877 Apr 28 03:56 /usr/share/zoneinfo/MST7MDT Uh. This was wrong. I have umask for root set to 077 and so this file wasn't readable for others when script create it. Thanks for help! Mike

Re: MC: doesn't remember last directory

2002-06-12 Thread Mike Mimic
Hi! I would like that MC remember last directory it was in. I would like to add that env outputs this on a computer on which mc works as it should: mc= But on my computer it outputs: mc=() { mkdir -p $HOME/.mc/tmp 2/dev/null; chmod 700 $HOME/.mc/tmp; MC=$HOME/.mc/tmp/mc-$$; /usr/bin/mc -P

Re: Time(zone) problems

2002-06-11 Thread Mike Mimic
Hi! Do you have any environment variables set that relate to the timezone? No. I haven't any. Also, make sure the file /etc/timezone contains the correct setting for your system Yes, it have. And I have tryed some different cities (in the same timzone) and it's the same. and make sure

Time(zone) problems

2002-06-10 Thread Mike Mimic
Hi! I have some strange time problems. When I run date as normal user I get time in UTC timezone. And when I create files they also get timestamp with that time (and that's wrong time). But as root I don't have that problems and I have normal CEST time (as it should be). I have runed

MC: doesn't remember last directory

2002-06-08 Thread Mike Mimic
Hi! I would like that MC remember last directory it was in. So I have add: if [ -f /usr/lib/mc/bin/mc.sh ]; then . /usr/lib/mc/bin/mc.sh fi to my .bashrc where mc.sh is: mc () { mkdir -p $HOME/.mc/tmp 2 /dev/null chmod 700 $HOME/.mc/tmp MC=$HOME/.mc/tmp/mc-$$ /usr/bin/mc -P $@ $MC cd `cat