Re: [vchkpw] Force Auth from all but localhost
Hi Rick, You can't, other wise how would external mail servers send mail to you ? OMG, I guess that is what happens when you work until 5 o'clock in the morning. That's totaly right. Thanks for setting me straight :) -Saša Ebach
[vchkpw] Force Auth from all but localhost
Hi, how can I enforce that everybody (except localhost) has to authenticate via smtp auth. The way I have it configured now is that all that are not in rcpthosts have to authenticate, but all that are in rcpthosts can be send email without auth. How can I change that? Thank you. -- Sascha Ebach Digitale Wertschöpfung Hugo-Junkers-Str. 26 50739 Köln Tel: 0221 / 5994393Fax: 0221 / 5994394 mailto:[EMAIL PROTECTED] Web: http://www.digitale-wertschoepfung.de
Re: [vchkpw] Signal 1 caught by ps (procps version 2.0.7)
Perfect. I've put an improved version in CVS, and it will be in the next release. Thanks Tom. Looking forward to the next release. Glad that I could help remove a bug. -- Sascha Ebach Digitale Wertschöpfung Hugo-Junkers-Str. 26 50739 Köln Tel: 0221 / 5994393Fax: 0221 / 5994394 mailto:[EMAIL PROTECTED] Web: http://www.digitale-wertschoepfung.de
Re: [vchkpw] Signal 1 caught by ps (procps version 2.0.7)
Hi Tom, here are your prints: $ bin/vadddomain example.com 123 matched on 'em cannot open more files?svscan: warning: unable to stat qmail-send: out of memory?svscan: warning: unable to stat qmail-smtpd: out of me mory?svscan: warning: unable to stat qmail-pop3d: out of memory? ' pid=em tmppid=0 matched on ' 6347 ?S 0:09 qmail-send ' pid=6347 tmppid=6347 matched on '14594 ?S 0:03 multilog t s10 n20 /var/log/qmail/qmail-send ' pid=14594 tmppid=14594 $ bin/vdeldomain example.com matched on 'em cannot open more files?svscan: warning: unable to stat qmail-send: out of memory?svscan: warning: unable to stat qmail-smtpd: out of me mory?svscan: warning: unable to stat qmail-pop3d: out of memory? ' pid=em tmppid=0 matched on ' 6347 ?S 0:09 qmail-send ' pid=6347 tmppid=6347 matched on '20745 ?S 0:00 multilog t s10 n20 /var/log/qmail/qmail-send ' pid=20745 tmppid=20745 I hope this helps. Let me know. -- Sascha Ebach Digitale Wertschöpfung Hugo-Junkers-Str. 26 50739 Köln Tel: 0221 / 5994393Fax: 0221 / 5994394 mailto:[EMAIL PROTECTED] Web: http://www.digitale-wertschoepfung.de
Re: [vchkpw] Signal 1 caught by ps (procps version 2.0.7)
Hello Tom, Tom Collins wrote: Look at the config.h for vpopmail, search for the definition of PS_COMMAND. It does say #define PS_COMMAND "ps axww" Can you send the output of that command? The vpopmail problem is related to the function that parses the output of ps to find the qmail-send task so it can send a SIGHUP to it. A possible fix -- edit vpopmail.c and change the following code: if ( tmppid != mypid ) { kill(tmppid,sig_num); } to: if ( tmppid && (tmppid != mypid) ) { kill(tmppid,sig_num); } This should eliminate what you're seeing -- vpopmail calling kill() with 0 for the PID. We should find out why it's doing that though... I changed it and it works now. Thanks. It could be that the error occured because my server ran out of hdd space. So it seems. Here are the lines that might interest you: $ ps axww | egrep -v "mysql|httpd|courier|authd|xinet|imap" PID TTY STAT TIME COMMAND 1 ?S 0:20 init 26185 ?S 0:02 syslogd -m 0 26203 ?S 0:13 /usr/sbin/sshd 26444 ?S 0:05 /usr/local/bin/python2 /usr/bin/tmda-ofmipd -p 0.0.0.0:8025 -R pop3://localhost 26470 ?S 0:00 /bin/sh /command/svscanboot 26472 ?S 0:49 svscan /service 26473 ?S 0:00 readproctitle service errors: ...s?svscan: warning: unable to read directory: system cannot open more files?svscan: warning : unable to read directory: system cannot open more files?svscan: warning: unable to read directory: system cannot open more files?svscan: warning: un able to stat qmail-send: out of memory?svscan: warning: unable to stat qmail-smtpd: out of memory?svscan: warning: unable to stat qmail-pop3d: out of memory? 26474 ?S 0:00 supervise qmail-send 26475 ?S 0:00 supervise log 26476 ?S 0:00 supervise qmail-smtpd 26478 ?S 0:00 supervise log 26479 ?S 0:00 supervise qmail-pop3d 26481 ?S 0:00 supervise log 26483 ?S 0:09 multilog t s10 n20 /var/log/qmail/qmail-pop3d 26484 ?S 0:11 tcpserver -H -R -v -c100 0 110 qmail-popup example.com /home/vpopmail/bin/vchkpw qmail-pop3d Maildir 28507 ?T 0:00 ../bin/vdeldomain example.com 28509 ?Z 0:00 [ps ] 12522 ?T 0:00 /home/vpopmail/bin/vadddomain example.com 123 12524 ?Z 0:00 [ps ] 19857 ?S 0:00 qmail-popup example.com /home/vpopmail/bin/vchkpw qmail-pop3d Maildir 19858 ?S 0:00 qmail-pop3d Maildir 30561 ?S 0:00 /usr/sbin/fcgi- -DSSL 30931 ?S 0:01 /usr/sbin/sshd 30933 pts/3S 0:00 -bash 6347 ?S 0:00 qmail-send 6348 ?S 0:00 /usr/local/bin/tcpserver -v -R -l example.com -x /etc/tcp.smtp.cdb -c 20 -u 522 -g 518 0 smtp /var/qmail/bin/qmail-sm tpd example.com /home/vpopmail/bin/vchkpw /usr/bin/true 6349 ?S 0:00 multilog t s10 n20 /var/log/qmail/qmail-smtpd 6358 ?S 0:00 qmail-lspawn ./Maildir 6359 ?S 0:00 qmail-rspawn 6360 ?S 0:00 qmail-clean 11596 ?S 0:00 qmail-popup example.com /home/vpopmail/bin/vchkpw qmail-pop3d Maildir 11597 ?S 0:00 qmail-pop3d Maildir 14594 ?S 0:00 multilog t s10 n20 /var/log/qmail/qmail-send 17734 ?S 0:00 /var/qmail/bin/qmail-smtpd example.com /home/vpopmail/bin/vchkpw /usr/bin/true 18689 pts/3R 0:00 ps axww I substitued domain names into example.com It is only an uneducated guess of mine, but it could be that when some error occurs getting info out of ps axww is not reliable? Maybe there is another way of getting it, if it is at all necessary. Otherwise the add and del commands shouldn't be dependend on a running process anyway, right? Thanks for helping -- Sascha Ebach Digitale Wertschöpfung Hugo-Junkers-Str. 26 50739 Köln Tel: 0221 / 5994393Fax: 0221 / 5994394 mailto:[EMAIL PROTECTED] Web: http://www.digitale-wertschoepfung.de
[vchkpw] Signal 1 caught by ps (procps version 2.0.7)
Hi, I am having a problem with vpopmail (5.4.0) lately. I read there was another person already with the same problem. http://www.mail-archive.com/vchkpw@inter7.com/msg17970.html There was never any solution posted. I get this error when using vadddomain and vdeldomain: Signal 1 caught by ps (procps version 2.0.7). Please send bug reports to <[EMAIL PROTECTED]> here is a partial strace of $ strace ../bin/vdeldomain example.com [Snipped the top] close(4)= 0 munmap(0x40015000, 4096)= 0 close(5)= 0 munmap(0x40014000, 4096)= 0 unlink("/var/qmail/users/assign.bak") = 0 fcntl64(3, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0 close(3)= 0 chmod("/var/qmail/users/assign", 0644) = 0 vfork() = 28508 wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 0], 0, NULL) = 28508 --- SIGCHLD (Child exited) --- getpid()= 28507 pipe([3, 4])= 0 vfork() = 28509 close(4)= 0 fstat64(3, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000 read(3, " PID TTY STAT TIME COMMA"..., 4096) = 4096 read(3, "0 readproctitle service errors: "..., 4096) = 4096 kill(0, SIGHUP Signal 1 caught by ps (procps version 2.0.7). Please send bug reports to <[EMAIL PROTECTED]> Is there a solution to this problem? Yours -- Sascha Ebach Digitale Wertschöpfung Hugo-Junkers-Str. 26 50739 Köln Tel: 0221 / 5994393Fax: 0221 / 5994394 mailto:[EMAIL PROTECTED] Web: http://www.digitale-wertschoepfung.de