RE: [vchkpw] Re: Ucspi-ssl? --> permissions
Well, I don't undestand. Wich are the right permissions? In my 'bin' dir all's vpopmail:vchkpw In my 'domains' dir all's vpopmail:vchkpw In my 'include' dir all's root:vchkpw In my 'lib' dir the libvpopmail.a is root:vchkpw And in my 'etc'? What about? And my tcpserver/sslserver has to run as '-u 89 -g 89' or without that (as root, I think)? Thanks for the support Andrea
RE: [vchkpw] Re: Ucspi-ssl? --> test
Peter Palmreuther wrote: > Execute > > chown vpopmail.vchkpw /home/vpopmail/etc > > and test again. If this succeeds you /can/ further search for > the cause of 'setuid' vchkpw is run as, or you can live with > the fact you need 'write permissions for vpopmail on ~vpopmail/etc'. Now the etc dir is vpopmail:vchkpw. But, after the pop3-ssl download, I see that in my /home/vpopmail/etc: observe# ls -la total 10 drwxr-xr-x 2 vpopmail vchkpw 512 Jan 16 02:12 . drwxr-xr-x 8 root wheel512 Jan 12 01:10 .. -rw-r--r-- 1 root wheel 25 Jan 12 12:13 inc_deps -rw-r--r-- 1 root wheel 34 Jan 12 12:13 lib_deps -rw-r--r-- 1 vpopmail vchkpw 0 Jan 16 01:40 open-smtp -rw-r--r-- 1 vpopmail vchkpw 0 Jan 16 02:12 open-smtp.lock -rw-r--r-- 1 vpopmail vchkpw 0 Jan 16 02:12 open-smtp.tmp.4179 -rw-r--r-- 1 root wheel454 Jan 12 01:07 tcp.smtp -rw-r--r-- 1 root vchkpw 2352 Jan 16 01:56 tcp.smtp.cdb -rw-r--r-- 1 vpopmail vchkpw 1107 Jan 12 01:09 vlimits.default This is a piece of my kdump.out: 4179 vchkpw CALL chown(0x16000,0x59,0x59) 4179 vchkpw NAMI "/home/vpopmail/domains/nesys.it/test/lastauth" 4179 vchkpw RET chown 0 4179 vchkpw CALL gettimeofday(0xcfbfd784,0) 4179 vchkpw RET gettimeofday 0 4179 vchkpw CALL open(0x833c,0x602,0x1b6) 4179 vchkpw NAMI "/home/vpopmail/etc/open-smtp.lock" 4179 vchkpw RET open 3 4179 vchkpw CALL fcntl(0x3,0x8,0xcfbfd734) 4179 vchkpw RET fcntl 0 4179 vchkpw CALL open(0x835e,0x2,0x1b6) 4179 vchkpw NAMI "/home/vpopmail/etc/open-smtp" 4179 vchkpw RET open 4 4179 vchkpw CALL getpid 4179 vchkpw RET getpid 4179/0x1053 4179 vchkpw CALL open(0xcfbfd9d8,0x602,0x1b6) 4179 vchkpw NAMI "/home/vpopmail/etc/open-smtp.tmp.4179" 4179 vchkpw RET open 5 4179 vchkpw CALL fcntl(0x3,0x8,0xcfbfd764) 4179 vchkpw RET fcntl 0 4179 vchkpw CALL close(0x3) 4179 vchkpw RET close 0 4179 vchkpw CALL setgid(0x59) 4179 vchkpw RET setgid 0 4179 vchkpw CALL setuid(0x59) 4179 vchkpw RET setuid 0 4179 vchkpw CALL chdir(0x12c22) 4179 vchkpw NAMI "/home/vpopmail/domains/nesys.it/test" 4179 vchkpw RET chdir 0 4179 vchkpw CALL close(0x) 4179 vchkpw RET close -1 errno 9 Bad file descriptor 4179 vchkpw CALL execve(0xcfbfdbca,0xcfbfdb74,0x16000) 4179 vchkpw NAMI "/var/qmail/bin/qmail-pop3d" 4179 qmail-pop3d EMUL "native" 4179 qmail-pop3d RET execve 0 4179 qmail-pop3d CALL open(0x10e5,0,0) Well, my /home/vpopmail/domains/nesys.it/test is: drwx-- 3 vpopmail vchkpw 512 Jan 14 11:36 test Question: the /home dir needs the nosuid in "fstab" file, or not? My fstab: /dev/wd0a / ffs rw 1 1 /dev/wd0h /home ffs rw,nodev,nosuid 1 2 /dev/wd0n /logs ffs rw,nodev,nosuid 1 2 /dev/wd0m /src ffs rw,nodev,nosuid 1 2 /dev/wd0d /tmp ffs rw,nodev,nosuid 1 2 /dev/wd0g /usr ffs rw,nodev 1 2 /dev/wd0e /var ffs rw,nodev 1 2 #/dev/wd0e /var ffs rw,nodev,nosuid 1 2 /dev/wd0l /web ffs rw,nodev 1 2 #/dev/wd0l /web ffs rw,nodev,nosuid 1 2 Thanks for all Regards Andrea
[vchkpw] Re: Ucspi-ssl? --> test
Hello Andrea, On Thursday, January 15, 2004 at 5:28:30 PM you wrote (at least in part): > The etc directory is the problem, I think. Right? Execute chown vpopmail.vchkpw /home/vpopmail/etc and test again. If this succeeds you /can/ further search for the cause of 'setuid' vchkpw is run as, or you can live with the fact you need 'write permissions for vpopmail on ~vpopmail/etc'. -- Best regards Peter Palmreuther Dolby of Borg - "They blinded me with irrelevance."
Re: [vchkpw] spamassassin patch ready ahead of schedule
On Thursday 15 January 2004 11:51 am, Systems Administrator wrote: > And the -c option doesn't seem to be creating .spamassassin dirs inside > their homedirs I found a problem with spamassassin version 2.61 and latest cvs 2.70 Here is a patch that should allow for auto creation of vpopmail .spamassassin/user_prefs file. It should be applied to your SpamAssassin.pm file, then restart spamd --- SpamAssassin.pm.orig 2004-01-15 11:57:05.0 -0800 +++ SpamAssassin.pm 2004-01-15 12:00:17.0 -0800 @@ -1268,7 +1268,7 @@ } sub get_and_create_userstate_dir { - my ($self) = @_; + my ($self,$userdir) = @_; # user state directory my $fname = $self->{userstate_dir}; @@ -1276,8 +1276,8 @@ # If vpopmail is enabled then set fname to virtual homedir # - if (defined $self->{user_dir}) { -$fname = File::Spec->catdir ($self->{user_dir}, ".spamassassin"); + if ($userdir) { +$fname = "$userdir/.spamassassin"; } if (defined $fname && !$self->{dont_copy_prefs}) { @@ -1309,8 +1309,8 @@ return(0); } - if ($userdir && $userdir ne $self->{user_dir}) { -warn "Oops! user_dirs don't match! '$userdir' vs '$self->{user_dir}'\n"; + if ($userdir) { +$self->{user_dir} = $userdir; } if (!-f $fname)
Re: [vchkpw] spamassassin patch ready ahead of schedule
On Thursday 15 January 2004 11:51 am, Systems Administrator wrote: > How can I NOT use spamassassin for certain users? > And have user based preferences for spam assassin? vmoduser -f [EMAIL PROTECTED] turns off spam assassin for [EMAIL PROTECTED] I'm getting the same problem with user dir creation with spamassasin version 2.61 (latest) but it is working fine with version 2.44 redhat 9 rpm. Looks like some differences in the code, specifically line 1295 in SpamAssassin.pm $self->{user_dir} does not get set and is later used to create the .spamassassin directory. I'm trying out some modifications to SpamAssassin.pm Ken
RE: [vchkpw] spamassassin patch ready ahead of schedule
How can I NOT use spamassassin for certain users? And have user based preferences for spam assassin? And the -c option doesn't seem to be creating .spamassassin dirs inside their homedirs -Original Message- From: Ken Jones [mailto:[EMAIL PROTECTED] Sent: Thursday, January 15, 2004 11:38 AM To: Systems Administrator; [EMAIL PROTECTED] Subject: Re: [vchkpw] spamassassin patch ready ahead of schedule On Thursday 15 January 2004 11:23 am, Systems Administrator wrote: > User preferences don't seem to be working, and it seems to be doing > spamassassin system wide after installing cvs vpopmail and the > spamassassin.patch > > Heres my config: > > /etc/mail/spamassassin/local.cf - > required_hits 10 > rewrite_subject 1 > subject_tag [SPAM] > report_safe 0 > use_dcc 0 > use_pyzor 0 > use_razor2 1 > skip_rbl_checks 1 > rbl_timeout 3 > use_bayes 1 > bayes_auto_learn 1 > allow_user_rules 1 > > /etc/sysconfig/spamassassin - > SPAMDOPTIONS="-x -d -c -v -u vpopmail -D" > (Your email said to use -uvpopmail but the default from spamassassin from > -u spamd, I changed it back and forth and I don't believe any difference) > > /home/vpopmail/domains/mydomain/.qmail-default - > > | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox > > What I use to call spamassassin per user in .qmail - > > | spamassassin | maildir ./Maildir/ > > In a home dir, I have a .spamassassin/user_prefs > > And in the users_prefs I have a blacklist_from [EMAIL PROTECTED] > > It did not block the email address.. > > > And basically..when I tail /var/log/maillog (notice the -D above) I see > spamc being called for every email.. Users that don't even have a .qmail > file.. Much less calling spamassassin with it. > > > What am I doing wrong?? > It might be the -x option to spamd -x, --nouser-configDisable user config files With this setup, no users will need a .qmail file to call spamassassin. vdelivermail envoked from .qmail-default will call it. For .qmail-user files in the domain's directory, you try calling spamassassin like so: | spamc -f [EMAIL PROTECTED] | whatever Ken
Re: [vchkpw] spamassassin patch ready ahead of schedule
On Thursday 15 January 2004 11:23 am, Systems Administrator wrote: > User preferences don't seem to be working, and it seems to be doing > spamassassin system wide after installing cvs vpopmail and the > spamassassin.patch > > Heres my config: > > /etc/mail/spamassassin/local.cf - > required_hits 10 > rewrite_subject 1 > subject_tag [SPAM] > report_safe 0 > use_dcc 0 > use_pyzor 0 > use_razor2 1 > skip_rbl_checks 1 > rbl_timeout 3 > use_bayes 1 > bayes_auto_learn 1 > allow_user_rules 1 > > /etc/sysconfig/spamassassin - > SPAMDOPTIONS="-x -d -c -v -u vpopmail -D" > (Your email said to use -uvpopmail but the default from spamassassin from > -u spamd, I changed it back and forth and I don't believe any difference) > > /home/vpopmail/domains/mydomain/.qmail-default - > > | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox > > What I use to call spamassassin per user in .qmail - > > | spamassassin | maildir ./Maildir/ > > In a home dir, I have a .spamassassin/user_prefs > > And in the users_prefs I have a blacklist_from [EMAIL PROTECTED] > > It did not block the email address.. > > > And basically..when I tail /var/log/maillog (notice the -D above) I see > spamc being called for every email.. Users that don't even have a .qmail > file.. Much less calling spamassassin with it. > > > What am I doing wrong?? > It might be the -x option to spamd -x, --nouser-configDisable user config files With this setup, no users will need a .qmail file to call spamassassin. vdelivermail envoked from .qmail-default will call it. For .qmail-user files in the domain's directory, you try calling spamassassin like so: | spamc -f [EMAIL PROTECTED] | whatever Ken
RE: [vchkpw] spamassassin patch ready ahead of schedule
User preferences don't seem to be working, and it seems to be doing spamassassin system wide after installing cvs vpopmail and the spamassassin.patch Heres my config: /etc/mail/spamassassin/local.cf - required_hits 10 rewrite_subject 1 subject_tag [SPAM] report_safe 0 use_dcc 0 use_pyzor 0 use_razor2 1 skip_rbl_checks 1 rbl_timeout 3 use_bayes 1 bayes_auto_learn 1 allow_user_rules 1 /etc/sysconfig/spamassassin - SPAMDOPTIONS="-x -d -c -v -u vpopmail -D" (Your email said to use -uvpopmail but the default from spamassassin from -u spamd, I changed it back and forth and I don't believe any difference) /home/vpopmail/domains/mydomain/.qmail-default - | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox What I use to call spamassassin per user in .qmail - | spamassassin | maildir ./Maildir/ In a home dir, I have a .spamassassin/user_prefs And in the users_prefs I have a blacklist_from [EMAIL PROTECTED] It did not block the email address.. And basically..when I tail /var/log/maillog (notice the -D above) I see spamc being called for every email.. Users that don't even have a .qmail file.. Much less calling spamassassin with it. What am I doing wrong?? -Original Message- From: Ken Jones [mailto:[EMAIL PROTECTED] Sent: Thursday, January 15, 2004 7:04 AM To: X-Istence Cc: [EMAIL PROTECTED] Subject: Re: [vchkpw] spamassassin patch ready ahead of schedule On Thursday 15 January 2004 5:43 am, X-Istence wrote: > Raboo Treed wrote: > > what does the patch do exactly?? > > > > calls spamc uppon mailcheck? > > Yes indeed, it forks, and calls spamc, gives it the message, and then > checks the score it returns from SPAMD to then if it is over a set limit > delete it, or otherwise it tags it and delivers it to the users maildir. Almost but not quite. Tha'ts what the FreeBSD port patch does. This is slightly different. What this does is what I posted as a proposal yesterday. Basicly: if spamassassin is enabled, and NO_SPAMASSASSIN bit is 0, then fork spamc, hands it the message, then puts the resulting email in the regular file. It does not reject the message if over a certain limit. All email goes through, just scanned using the users preferences if available, otherwise the system preferences. Ken
Re: [vchkpw] vpopmail variable
Brian Lanier wrote: I ran into this problem before and always figured it was a problem on the handoff between qmail and maildrop. If I remember correctly the $EXT and $HOST are qmail environment variables, someone can correct me if I am wrong. In my case the $EXT variable was not being set. We initially had a clumsy awk command to manually set the line. Once we upgraded Maildrop the problem went away. To test try spitting the values to a log file with something like the following in your maildrop filter: logfile "/usr/local/vpopmail/maildroplog" log "EXT is $EXT" log "HOST is $HOST" log "VHOME is $VHOME" Of course put the VHOME log line after the line where you set it... I am currently using maildrop 1.6.3. As far as I know in this configuration, vpopmail doesn't have much to do with these variables other than trying to use them in the VHOME line. Hope this helps in some way. I never could find any info on this and just worked around until one day it started working after an upgrade. Thanks, this worked out great. All of the variable are being defined correctly.
RE: [vchkpw] Re: Ucspi-ssl? --> test
Peter Palmreuther wrote: > Not 'probably', for sure. vchpw ain't able to open a lock > file and therefore refuses to continue writing IP to open-smtp. > >> -rw-r--r-- 1 vpopmail vchkpw 0 Jan 15 15:40 open-smtp >> -rw-r--r-- 1 root wheel 0 Jan 15 01:22 open-smtp.lock > Returning to your problem: in line 188 of your dump I see: > >> 16072 vchkpw CALL geteuid >> 16072 vchkpw RET geteuid 89/0x59 > > So your vchkpw is run as 'vpopmail'. But the lock file is > owned by (and write restricted to) root. I don't see a setuid > call in your run script, so: any of vpopmail binaries set the > setuid bit? What's the output of > > ls -l /home/vpopmail/bin/* > > Any '-u 89' anywhere in your startup script? Any other > possible 'change user ID' mechanism? Vpopmail: -u 89 Vchkpw: -g 89 observe# ls -l /home/vpopmail/bin/* -rwx--x--x 1 vpopmail vchkpw 65536 Jan 12 12:13 /home/vpopmail/bin/clearopensmtp -rwx--x--x 1 vpopmail vchkpw 65536 Jan 12 12:13 /home/vpopmail/bin/vaddaliasdomain -rwx--x--x 1 vpopmail vchkpw 69632 Jan 12 12:13 /home/vpopmail/bin/vadddomain -rwx--x--x 1 vpopmail vchkpw 65536 Jan 12 12:13 /home/vpopmail/bin/vadduser -rwx--x--x 1 vpopmail vchkpw 69632 Jan 12 12:13 /home/vpopmail/bin/valias -rwx--x--x 1 vpopmail vchkpw 65536 Jan 12 12:13 /home/vpopmail/bin/vchangepw -rwx--x--x 1 vpopmail vchkpw 73728 Jan 12 12:13 /home/vpopmail/bin/vchkpw -rwx--x--x 1 vpopmail vchkpw 208734 Jan 12 01:08 /home/vpopmail/bin/vchkpw-noroaming -rwx--x--x 1 vpopmail vchkpw 69632 Jan 12 12:13 /home/vpopmail/bin/vconvert -rwx--x--x 1 vpopmail vchkpw 65536 Jan 12 12:13 /home/vpopmail/bin/vdeldomain -rwx--x--x 1 vpopmail vchkpw 73728 Jan 12 12:13 /home/vpopmail/bin/vdelivermail -rwx--x--x 1 vpopmail vchkpw 65536 Jan 12 12:13 /home/vpopmail/bin/vdeloldusers -rwx--x--x 1 vpopmail vchkpw 65536 Jan 12 12:13 /home/vpopmail/bin/vdeluser -rwx--x--x 1 vpopmail vchkpw 69632 Jan 12 12:13 /home/vpopmail/bin/vdominfo -rwx--x--x 1 vpopmail vchkpw 65536 Jan 12 12:13 /home/vpopmail/bin/vipmap -rwx--x--x 1 vpopmail vchkpw 65536 Jan 12 12:13 /home/vpopmail/bin/vkill -rwx--x--x 1 vpopmail vchkpw 65536 Jan 12 12:13 /home/vpopmail/bin/vmkpasswd -rwx--x--x 1 vpopmail vchkpw 77824 Jan 12 12:13 /home/vpopmail/bin/vmoddomlimits -rwx--x--x 1 vpopmail vchkpw 69632 Jan 12 12:13 /home/vpopmail/bin/vmoduser -rwx--x--x 1 vpopmail vchkpw 65536 Jan 12 12:13 /home/vpopmail/bin/vpasswd -rwx--x--x 1 vpopmail vchkpw 69632 Jan 12 12:13 /home/vpopmail/bin/vpopbull -rwx--x--x 1 vpopmail vchkpw 73728 Jan 12 12:13 /home/vpopmail/bin/vqmaillocal -rwx--x--x 1 vpopmail vchkpw 65536 Jan 12 12:13 /home/vpopmail/bin/vsetuserquota -rwx--x--x 1 vpopmail vchkpw 69632 Jan 12 12:13 /home/vpopmail/bin/vuserinfo > Nonetheless you can try to delete open-smtp.lock, maybe (if > '/home/vpopmail/etc' permits UID 89 to create a new file) > this already solves your problem. I've deleted my open-smtp.lock, and I've tried to download emails from pop3-ssl, but my ktrace says the same: [...] 29540 vchkpw NAMI "/home/vpopmail/domains/nesys.it/test/lastauth" 29540 vchkpw RET chown 0 29540 vchkpw CALL gettimeofday(0xcfbfd58c,0) 29540 vchkpw RET gettimeofday 0 29540 vchkpw CALL open(0x833c,0x602,0x1b6) 29540 vchkpw NAMI "/home/vpopmail/etc/open-smtp.lock" 29540 vchkpw RET open -1 errno 13 Permission denied 29540 vchkpw CALL setgid(0x59) 29540 vchkpw RET setgid 0 29540 vchkpw CALL setuid(0x59) 29540 vchkpw RET setuid 0 29540 vchkpw CALL chdir(0x12c22) 29540 vchkpw NAMI "/home/vpopmail/domains/nesys.it/test" 29540 vchkpw RET chdir 0 29540 vchkpw CALL close(0x) 29540 vchkpw RET close -1 errno 9 Bad file descriptor 29540 vchkpw CALL execve(0xcfbfd9d2,0xcfbfd97c,0x16000) 29540 vchkpw NAMI "/var/qmail/bin/qmail-pop3d" 29540 qmail-pop3d EMUL "native" 29540 qmail-pop3d RET execve 0 29540 qmail-pop3d CALL open(0x10e5,0,0) 29540 qmail-pop3d NAMI "/usr/libexec/ld.so" 29540 qmail-pop3d RET open 3 29540 qmail-pop3d CALL read(0x3,0xcfbfd984,0x20) [...] ... Ooopss ... I've seen now the problem! observe# ls -la total 8 drwxr-xr-x 8 root wheel512 Jan 12 01:10 . drwxr-xr-x 5 root wheel512 Dec 11 09:23 .. drwxr-xr-x 2 vpopmail vchkpw 1024 Jan 12 12:13 bin drwxr-xr-x 4 vpopmail vchkpw 512 Jul 15 2003 doc drwx-- 8 vpopmail vchkpw 512 Dec 23 00:45 domains drwxr-xr-x 2 root wheel512 Jan 15 17:10 etc drwxr-xr-x 2 vpopmail vchkpw 512 Jan 12 12:13 include drwxr-xr-x 2 vpopmail vchkpw 512 Jan 12 12:13 lib The etc directory is the problem, I think. Right? What the right permission? My etc dir: observe# ls -la total 10 drwxr-xr-x 2 root wheel512 Jan 15 17:10 . drwxr-xr-x 8 root wheel512 Jan 12 01:10 .. -rw-r--r-- 1 root wheel 25 Jan 12 12:13 inc_deps -rw-r--r-- 1 root wheel 34 Jan 12 12:13 lib_deps -rw-r--r--
[vchkpw] Re: Ucspi-ssl? --> test
Hello Andrea, On Thursday, January 15, 2004 at 4:21:09 PM you wrote (at least in part): >> What we need is why 'vchkpw' fails to write 'open-smtp' (or >> if it even tries to). [...] > 16072 vchkpw NAMI "/etc/malloc.conf" > 16072 vchkpw RET readlink -1 errno 2 No such file or directory > < what's the malloc.conf file? > Don't know. But don't care. Not every 'No such file ...' is a fatal error. I'd guess it's OK it ain't there, any function from 'ld.so' probabyl simply tries to look for the file and /IF/ it's there it's evaluated. If not default values are used. I wouldn't worry. [...] > < I've the passwords > That's OK. [...] > 16072 vchkpw CALL open(0x833c,0x602,0x1b6) > 16072 vchkpw NAMI "/home/vpopmail/etc/open-smtp.lock" > 16072 vchkpw RET open -1 errno 13 Permission denied > < probably the problem is here? Not 'probably', for sure. vchpw ain't able to open a lock file and therefore refuses to continue writing IP to open-smtp. > -rw-r--r-- 1 vpopmail vchkpw 0 Jan 15 15:40 open-smtp > -rw-r--r-- 1 root wheel 0 Jan 15 01:22 open-smtp.lock > What's open-smtp.lock file ? > It's used to indicate "I'm currently writing open-smtp. Please wait one moment before writing." when two vchkpw try to access the file nearly simultaneously. Without this the two would probably overwrite each others information (instead of only appending to existing data). Returning to your problem: in line 188 of your dump I see: > 16072 vchkpw CALL geteuid > 16072 vchkpw RET geteuid 89/0x59 So your vchkpw is run as 'vpopmail'. But the lock file is owned by (and write restricted to) root. I don't see a setuid call in your run script, so: any of vpopmail binaries set the setuid bit? What's the output of ls -l /home/vpopmail/bin/* Any '-u 89' anywhere in your startup script? Any other possible 'change user ID' mechanism? Nonetheless you can try to delete open-smtp.lock, maybe (if '/home/vpopmail/etc' permits UID 89 to create a new file) this already solves your problem. -- Best regards Peter Palmreuther Nothing is illegal if one hundred businessmen decide to do it. - Andrew Young -
RE: [vchkpw] Re: Ucspi-ssl? --> test
Tom Collins wrote: > Yep, delete the lock file. ok > > Is /home/vpopmail/domains/nesys.it/test a valid directory? > If not, why > not? What are its permissions. drwx-- 3 vpopmail vchkpw 512 Jan 14 11:36 test It's right? > In the vpopmail source directory, type `make fix-priv` to set the > proper permissions on the domains directory. Then I've to make install-strip and recompile qmailadmin/vqadmin/courier-imap? Thanks Andrea
Re: [vchkpw] imap and vpopmail
On Jan 14, 2004, at 4:56 PM, master wrote: Hi, i have a little question about vpopmail and imap, i have been using it since a while but recently i got a problem, vpopmail has added new directory (0) and put all new domains in it , but the problem is that all domains there doesn t work with courier-imap, in fact imap only check the main directory of vpopmail (i have try the vchkpw2userdb to see and no domain that are in the 0 appear) has anyone got that problem and any solutions? thanks Did you recompile vpopmail after compiling courier? Are you using cdb of MySQL backend? Can vuserinfo find the postmaster for those domains? What version of vpopmail and courier? -- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter hand-held Network Tester: http://sniffter.com/
Re: [vchkpw] Re: Ucspi-ssl? --> test
On Jan 15, 2004, at 8:21 AM, Andrea Riela wrote: 16072 vchkpw NAMI "/home/vpopmail/etc/open-smtp.lock" 16072 vchkpw RET open -1 errno 13 Permission denied < probably the problem is here? -rw-r--r-- 1 vpopmail vchkpw 0 Jan 15 15:40 open-smtp -rw-r--r-- 1 root wheel 0 Jan 15 01:22 open-smtp.lock What's open-smtp.lock file ? > Yep, delete the lock file. 16072 vchkpw CALL setgid(0x59) 16072 vchkpw RET setgid 0 16072 vchkpw CALL setuid(0x59) 16072 vchkpw RET setuid 0 16072 vchkpw CALL chdir(0x12c22) 16072 vchkpw NAMI "/home/vpopmail/domains/nesys.it/test" 16072 vchkpw RET chdir 0 16072 vchkpw CALL close(0x) 16072 vchkpw RET close -1 errno 9 Bad file descriptor < another problem? > Is /home/vpopmail/domains/nesys.it/test a valid directory? If not, why not? What are its permissions. In the vpopmail source directory, type `make fix-priv` to set the proper permissions on the domains directory. -- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter hand-held Network Tester: http://sniffter.com/
RE: [vchkpw] Re: Ucspi-ssl? --> test
Peter Palmreuther wrote: > What we need is why 'vchkpw' fails to write 'open-smtp' (or > if it even tries to). My < notes > are as follows: 16072 ktrace RET ktrace 0 16072 ktrace CALL execve(0xcfbfd8f2,0xcfbfd898,0xcfbfd8a8) 16072 ktrace NAMI "/home/vpopmail/bin/vchkpw" 16072 vchkpw EMUL "native" 16072 vchkpw RET execve 0 16072 vchkpw CALL open(0x10e5,0,0) 16072 vchkpw NAMI "/usr/libexec/ld.so" 16072 vchkpw RET open 4 16072 vchkpw CALL read(0x4,0xcfbfd93c,0x20) 16072 vchkpw GIO fd 4 read 32 bytes "[EMAIL PROTECTED] \0\0\0\0\0\0\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0" 16072 vchkpw RET read 32/0x20 16072 vchkpw CALL mmap(0,0xf000,0x5,0x2,0x4,0,0,0) 16072 vchkpw RET mmap 1073819648/0x40013000 16072 vchkpw CALL mmap(0x4002,0x2000,0x7,0x12,0x4,0,0xd000,0) 16072 vchkpw RET mmap 1073872896/0x4002 16072 vchkpw CALL issetugid 16072 vchkpw RET issetugid 0 16072 vchkpw CALL __sysctl(0xcfbfd7ac,0x2,0x40021a08,0xcfbfd7a8,0,0) 16072 vchkpw RET __sysctl 0 16072 vchkpw CALL mmap(0,0x8000,0x3,0x1004,0x,0,0,0) 16072 vchkpw RET mmap 1073881088/0x40022000 16072 vchkpw CALL open(0x40014b74,0,0) 16072 vchkpw NAMI "/var/run/ld.so.hints" 16072 vchkpw RET open 5 16072 vchkpw CALL fstat(0x5,0xcfbfd754) 16072 vchkpw RET fstat 0 16072 vchkpw CALL mmap(0,0x1bcb,0x1,0x4,0x5,0,0,0) 16072 vchkpw RET mmap 1073913856/0x4002a000 16072 vchkpw CALL open(0x4002b093,0,0) 16072 vchkpw NAMI "/usr/lib/libc.so.29.0" 16072 vchkpw RET open 6 16072 vchkpw CALL read(0x6,0xcfbfd834,0x20) 16072 vchkpw GIO fd 6 read 32 bytes "[EMAIL PROTECTED] \0\0\0\0\0\0\0\0\0\0\0" 16072 vchkpw RET read 32/0x20 16072 vchkpw CALL mmap(0,0xbd6f0,0x5,0x4,0x6,0,0,0) 16072 vchkpw RET mmap 1073922048/0x4002c000 16072 vchkpw CALL mprotect(0x400b2000,0x9000,0x7) 16072 vchkpw RET mprotect 0 16072 vchkpw CALL mmap(0x400bb000,0x2e6f0,0x3,0x1014,0x,0,0,0) 16072 vchkpw RET mmap 1074507776/0x400bb000 16072 vchkpw CALL close(0x6) 16072 vchkpw RET close 0 16072 vchkpw CALL __sysctl(0xcfbfd75c,0x2,0x145d0,0xcfbfd758,0,0) 16072 vchkpw RET __sysctl 0 16072 vchkpw CALL __sysctl(0xcfbfd75c,0x2,0x145d4,0xcfbfd758,0,0) 16072 vchkpw RET __sysctl 0 16072 vchkpw CALL __sysctl(0xcfbfd75c,0x2,0x145d8,0xcfbfd758,0,0) 16072 vchkpw RET __sysctl 0 16072 vchkpw CALL __sysctl(0xcfbfd75c,0x2,0x145dc,0xcfbfd758,0,0) 16072 vchkpw RET __sysctl 0 16072 vchkpw CALL __sysctl(0xcfbfd75c,0x2,0x145e0,0xcfbfd758,0,0) 16072 vchkpw RET __sysctl 0 16072 vchkpw CALL __sysctl(0xcfbfd75c,0x2,0x145e4,0xcfbfd758,0,0) 16072 vchkpw RET __sysctl 0 16072 vchkpw CALL __sysctl(0xcfbfd75c,0x2,0x145e8,0xcfbfd758,0,0) 16072 vchkpw RET __sysctl 0 16072 vchkpw CALL __sysctl(0xcfbfd75c,0x2,0x145ec,0xcfbfd758,0,0) 16072 vchkpw RET __sysctl 0 16072 vchkpw CALL munmap(0x4002a000,0x1bcb) 16072 vchkpw RET munmap 0 16072 vchkpw CALL close(0x5) 16072 vchkpw RET close 0 16072 vchkpw CALL close(0x4) 16072 vchkpw RET close 0 16072 vchkpw CALL __sysctl(0xcfbfd8e4,0x2,0x400e96e8,0xcfbfd8e0,0,0) 16072 vchkpw RET __sysctl 0 16072 vchkpw CALL readlink(0x400735f6,0xcfbfd83c,0x3f) 16072 vchkpw NAMI "/etc/malloc.conf" 16072 vchkpw RET readlink -1 errno 2 No such file or directory < what's the malloc.conf file? > 16072 vchkpw CALL issetugid 16072 vchkpw RET issetugid 0 16072 vchkpw CALL mmap(0,0x1000,0x3,0x1002,0x,0,0,0) 16072 vchkpw RET mmap 1073913856/0x4002a000 16072 vchkpw CALL break(0x14f3c) 16072 vchkpw RET break 0 16072 vchkpw CALL break(0x14f3c) 16072 vchkpw RET break 0 16072 vchkpw CALL break(0x16000) 16072 vchkpw RET break 0 16072 vchkpw CALL break(0x16000) 16072 vchkpw RET break 0 16072 vchkpw CALL break(0x17000) 16072 vchkpw RET break 0 16072 vchkpw CALL mmap(0,0x1000,0x3,0x1002,0x,0,0,0) 16072 vchkpw RET mmap 1073917952/0x4002b000 16072 vchkpw CALL mprotect(0x4002b000,0x1000,0x1) 16072 vchkpw RET mprotect 0 16072 vchkpw CALL mprotect(0x4002b000,0x1000,0x3) 16072 vchkpw RET mprotect 0 16072 vchkpw CALL mprotect(0x4002b000,0x1000,0x1) 16072 vchkpw RET mprotect 0 16072 vchkpw CALL read(0x3,0x14d30,0x9b) 16072 vchkpw GIO fd 3 read 46 bytes "[EMAIL PROTECTED]<[EMAIL PROTECTED]>\0" 16072 vchkpw RET read 46/0x2e 16072 vchkpw CALL read(0x3,0x14d5e,0x6d) 16072 vchkpw RET read 0 16072 vchkpw CALL close(0x3) 16072 vchkpw RET close 0 16072 vchkpw CALL mprotect(0x4002b000,0x1000,0x3) 16072 vchkpw RET mprotect 0 16072 vchkpw CALL mprotect(0x4002b000,0x1000,0x1) 16072 vchkpw RET mprotect 0 16072 vchkpw CALL open(0xcfbfd61c,0,0x1b6) 16072 vchkpw NAMI "/var/qmail/users/cdb" 16072 vchkpw RET open 3 16072 vchkpw CALL lseek(0x3,0,0x740,
[vchkpw] Re: Ucspi-ssl? --> test
Hello Andrea, On Thursday, January 15, 2004 at 1:20:50 AM you wrote (at least in part): > This is my test: [ktrace call and results] This ktrace dump does not contain content of vchkpw work. I'd suggest you - either find a way to tell ktrace to "follow", i.e. to observe and log processes created by 'fork()' & Co. as well (If I found the correct man-page this it should be '-i' switch). - or alter your startup line to someting like /usr/local/bin/sslserver -v -R -H -l 0 0 995 /var/qmail/bin/qmail-popup \ nesys.it ktrace -f /tmp/ktrace.out \ /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 2>&1 What we need is why 'vchkpw' fails to write 'open-smtp' (or if it even tries to). -- Best regards Peter Palmreuther Gotta run, the cat's caught in the printer.
[vchkpw] vchkpw auth trouble 5.3 and above
Hi, i'm webmaster for an internet ISP. I've upgraded during last day my vpopmail 5.2.1 to 5.3.28: afted the upgrade some of my customer find any trouble in pop3 auth. Client ask for password while password is currect: if you press cancel without password input all work fine. I try to upgrand to last 5.4 versione but trouble still exist... can you give ma any information? I must convert archive format from 5.2 version to 5.3? Is there any patch? Thank You Luca Luca Giroletti ::.. Studiopiù Srl ..::
RE: [vchkpw] checkuser patch
Tom, I've it working since a lot of time (chkuser + auth + tls). May you check at www.interazioni.it/qmail, or let me know additional problems not reported there? Thanks, Tonino > At 14/01/2004 14/01/2004 -0600, you wrote: > > I was never able to get the checkuser patch and our smtp-auth patch to > work together. So if you are using an smtp-auth patch verify that both > work together before moving it into production. [EMAIL PROTECTED]Interazioni di Antonio Nati http://www.interazioni.it [EMAIL PROTECTED] -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- La tua posta elettronica senza virus su UfficioPostale.IT Your virus free electronic mail on UfficioPostale.IT
Re: [vchkpw] spamassassin patch ready ahead of schedule
On Thursday 15 January 2004 5:43 am, X-Istence wrote: > Raboo Treed wrote: > > what does the patch do exactly?? > > > > calls spamc uppon mailcheck? > > Yes indeed, it forks, and calls spamc, gives it the message, and then > checks the score it returns from SPAMD to then if it is over a set limit > delete it, or otherwise it tags it and delivers it to the users maildir. Almost but not quite. Tha'ts what the FreeBSD port patch does. This is slightly different. What this does is what I posted as a proposal yesterday. Basicly: if spamassassin is enabled, and NO_SPAMASSASSIN bit is 0, then fork spamc, hands it the message, then puts the resulting email in the regular file. It does not reject the message if over a certain limit. All email goes through, just scanned using the users preferences if available, otherwise the system preferences. Ken
Re: [vchkpw] spamassassin patch ready ahead of schedule
Raboo Treed wrote: what does the patch do exactly?? calls spamc uppon mailcheck? Yes indeed, it forks, and calls spamc, gives it the message, and then checks the score it returns from SPAMD to then if it is over a set limit delete it, or otherwise it tags it and delivers it to the users maildir. X-Istence
RE: [vchkpw] vchkpw and courier 2.2.2 (update)
Dear ml, Thanks for your help. Now courier-pop3d and courier-pop3s work fine. I can download my emails, but the relay isn't opened. Test >From a dialup I've received emails from two accounts, one with pop3d, one with pop3s. Then I've tried to send emails through my smtp relay from my remote IP (and, not important, from the same accounts). My smtp server's answer: error 553 It's clear that the roaming option (enabled in my vpopmail) doesn't work propertly. Question: wich type of test could I do to help you to find the problem (my mistake or a bug, I don't know; my open-smtp is completely blank, but I don't know if courier, as qmail, may write that)? Thanks for your support, and patience Regards Andrea
Re: [vchkpw] spamassassin patch ready ahead of schedule
what does the patch do exactly?? calls spamc uppon mailcheck?
Re: [vchkpw] spamassassin patch ready ahead of schedule
Ken Jones wrote: Tom Collins sent me the FreeBSD ports patch with code to enable spamassassin. It pretty much did the whole job except for the pw_gid flags, some configure.in changes and a new vmoduser option to disable spam assassin. So the patch is ready ahead of schedule, whoo hoo! Ken Jones I had posted that to the list a while ago hoping it could be added (I dont know how to use sourceforge cvs), anyways, im happy its being used. Soon i might send in a patch to use bogofilter with it, as bogofilter is written in C/C++ it should be faster than AS. X-Istence
Re: [vchkpw] Courier IMAP + Outlook Express Feedbacks
Paolo Losi wrote: Hi all! I'm working on a quite critical email project. We want to use Imap in order to reduce client management complexity (email backups, etc...). I'm using very happily Courier Imap and Mozilla since 2 years now so I'm very confident with Mozilla and Courier Imap interoperability. But now we would need to deploy IMAP to 300 users and we need also to select an IMAP client. The more obvious choise would be outlook express (for a number of reason). I've tested for a couple of days OE 6 without any serious problem. The only drawback is that it tries to always download attachments from the server even if I "click" on them. The questions are: - What is your experience with the combination of OE and Courier Imap? - is the Imap interoperability robust enough to use it in a production environment? - Which are the release combinations that can be considered "stable"? Thanks to everyone for feedbacks! Ciao Paolo I sweat by Mozilla ThunderBird, cause its less prone to those MS only viruses, and is a very stable email client, easy to install as well, just drop it in a dir and your set. X-Istence