[vchkpw] vpopmail
hi jesse try your suggestion still the same problem. Try doing this: "touch ~vpopmail/domains/virtual_domain/.qmail-default" then do the steps you described. > > i created this file on based. on the instruction no. 3 on the FAQ of > vpopmail. but when i try to save it. it say cannot open file for > writing: no such file or directory. thanks for your help. > >vi ~vpopmail/domains/virtual_domain/.qmail-default >then i inserted this script below. > > /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.423 / Virus Database: 238 - Release Date: 11/25/2002
[vchkpw] SMTP-AUTH, yet again...
Good thing I stopped shaving my head, else I'd have no hair to pull out... Trying to get SMTP-AUTH working with qmail-1.03, the 0.30 patch from elysium.pl, daemontools, & vpopmail 5.3.9 on OpenBSD 3.2. Tried lots of different stuff last night, nothing worked. Currently, my /service/qmail-smtpd/run file is as follows (aside from linewraps, which are correct in the actual file): - #!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` LOCAL=`head -1 /var/qmail/control/me` if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" -o -z "$LOCAL" ]; then echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in echo /var/qmail/supervise/qmail-smtpd/run exit 1 fi exec /usr/local/bin/softlimit -m 2000 \ /usr/local/bin/tcpserver -v -R -l "$LOCAL" -x \ /home/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \ -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd \ "$LOCAL" /home/vpopmail/bin/vchkpw /usr/bin/true 2>&1 - Running with the file above, I get errors in the log like this: Dec 3 12:01:43 athena vpopmail[19117]: vchkpw-smtp: vpopmail user not found kit @interdyne.net:208.36.84.242 The user [EMAIL PROTECTED] is able to receive mail no problem. If I change the run script to use `id -u vpopmail` & `id -g vpopmail` instead, attempts to auth fail with no logging. I've tried eliminating the variables just to make the script as simple as possible: - #!/bin/sh exec /usr/local/bin/softlimit -m 2000 \ /usr/local/bin/tcpserver -v -R -lmail.interdyne.net -x \ /home/vpopmail/etc/tcp.smtp.cdb -c 25 \ -u 89 -g 89 0 smtp /var/qmail/bin/qmail-smtpd \ mail.interdyne.net /home/vpopmail/bin/vchkpw /usr/bin/true 2>&1 - (89:89 is vpopmail:vchkpw) I have no clue why this is not working & there's a sizeable dent in my forehead that matches the edge of the desk. Anybody care to smack me with the clue-by-four here? Thanks, -Kit -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -Benjamin Franklin "...qui desiderat pacem, praeparet bellum" (...if you would have peace, be prepared for war) -Flavius Vegetius Renatus
[vchkpw] POP3 authentication error for default domain (userid without @domain trails)
Dear Friends, ** Problem indication [please kindly don't judge before you read "My Setting" section]: ** 1.) I cannot authenticate pop3 (telnet mail.testlah.com 110) with "ferytjhia", but it success with "[EMAIL PROTECTED]" or ferytjhia%testlah.com. I check log at /var/log/maillog, which tells me that whenever I try to log in without "@testlah.com" it cannot find user "ferytjhia", but it--paradoxically--successes for "[EMAIL PROTECTED]" Dec 3 18:29:28 mail vpopmail[8761]: vchkpw: vpopmail user not found [EMAIL PROTECTED],:192.168.1.108 Dec 3 18:29:41 mail vpopmail[8764]: vchkpw: login success [EMAIL PROTECTED]:192.168.1.108 "ferytjhia" is a user at virtual domain "testlah.com" (not defined at /etc/passwd) and I can see it at mysql database "vpopmail", table "vpopmail". No problem with receiving mail (I can see a mail coming at /home/vpopmail/domains/testlah.com/ferytjhia/Maildir/new). It also fails when I try using "fery" user (which is a user registered at /etc/passwd, NOT at virtual domain "testlah.com"). 2.) If I change file /var/qmail/supervise/qmail-pop3d/run: "/home/vpopmail/bin/vchkpw" --> "/bin/checkpassw", it can authenticate "fery" (which is a user registered at /etc/passwd), without using "@cobalah.com" ** My Setting (more on below): ** - I already compile with "--enable-default-domain=testlah.com" (and mysql, the rest configuration are below) - My authorized machine name is mail.cobalah.com (which is not likely to be used) - I want all my testlah.com user authenticate pop3 with their userid (without "@testlah.com") - I want to use one virtual domain (testlah.com) only for all my users (using mysql) - I used "lifewithqmail" qmail-1.03, ucspi-tcp-0.88, daemontools-0.76, checkpassword-0.90.tar.gz, qmail-pop3d-maildirquota.patch, vpopmail-5.2.1.tar.gz, autorespond-2.0.2.tar.gz, ezmlm-idx-0.53.316-1.i386.rpm, qmailadmin-1.0.6.tar.gz, Redhat linux 7.3, MySQL 2.23.49 Please help me. I already try: make distclean; ./configure ; make; make install-strip more than 10 times. I already search for this mailing list and many others mailing lists and google, perhaps somebody will tell me where to search more (or keyword)? Should I install Matt Simersons's tcpserver-mysql patch? (I am not using roaming user). Thank you very much in advance. Here are my setting: VPOPMAIL CONFIGURATION vpopmail directory = /home/vpopmail uid = 89 gid = 89 ip alias = OFF --enable-ip-alias-domains=n (default) address extentions = OFF --enable-qmail-ext=n (default) roaming users = OFF --enable-roaming-users=n default user quota = 300S,1000C, -enable-hardquota=300S,1000C, auth module = mysql --enable-mysql=y mysql replication = OFF --enable-mysql-replication=n default table optimization = many domains --enable-many-domains=y default system passwords = OFF --enable-passwd=n default file locking = ON --enable-file-locking=y default file sync = OFF --enable-file-sync=n default disable vdelivermail fsync auth logging = ON --enable-auth-logging=y default mysql logging = OFF --enable-mysql-logging=n default clear passwd = ON --enable-clear-passwd=y (default) valias processing = ON --enable-valias=y pop syslog = log everything, including passwords in errors --enable-logging=v default domain = testlah.com, --enable-default-domain=testlah.com, auth inc = -I/usr/include/mysql auth lib = -L/usr/lib/mysql -lmysqlclient -lz /var/qmail/supervise/qmail-pop3d/run exec /usr/local/bin/softlimit -m 300 \ /usr/local/bin/tcpserver -v -c 100 -R -H -l 0 0 110 /var/qmail/bin/qmail-popup \ mail.cobalah.com /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 2>&1 QMAIL CONFIGURATION qmail home directory: /var/qmail. user-ext delimiter: -. paternalism (in decimal): 2. silent concurrency limit: 120. subdirectory split: 23. user ids: 501, 502, 503, 0, 504, 505, 506, 507. group ids: 501, 502. badmailfrom: (Default.) Any MAIL FROM is allowed. bouncefrom: (Default.) Bounce user name is MAILER-DAEMON. bouncehost: (Default.) Bounce host name is cobalah.com. concurrencylocal: (Default.) Local concurrency is 10. concurrencyremote: (Default.) Remote concurrency is 20. databytes: (Default.) SMTP DATA limit is 0 bytes. defaultdomain: Default domain name is cobalah.com. defaulthost: (Default.) Default host name is cobalah.com. doublebouncehost: (Default.) 2B recipient host: cobalah.com. doublebounceto: (Default.) 2B recipient user: postmaster. envnoathost: (Default.) Presumed domain name is cobalah.com. helohost: (Default.) SMTP client HELO host name is cobalah.com. idhost: (Default.) Mes
RE: [vchkpw] POP3 authentication error for default domain (userid without @domain trails)
unsubscribe
[vchkpw] Re: SMTP-AUTH, yet again...
Hello Kit, On Tuesday, December 3, 2002 at 6:18:35 PM you wrote: > I have no clue why this is not working 1.) Give 0.31 a try, I don't know what exactly changed, but the syntax is different between 0.30 & 0.31, maybe you're using the 'new' one, while old (to me unknown) is needed. 2.) Try to run qmail-smtpd as root. Just for testing, but this avoids "access denied" to vpasswd.cdb and therefore excludes one possible culprit. 3.) Try to run the child process of tcpserver in a strace like program. I don't know how this is named on OpenBSD and what the exact calling syntax is, but make use of it's logging to file, if possible, and see if you can find the position it fails at. I know it ain't much, but maybe it helps to find the correct direction of hunting it down. -- Best regards Peter Palmreuther
[vchkpw] Adding users
I've got hundreds of email addresses to migrate from a different server. I can easily add username/passwords using vadduser, but would like to add names to the accounts also. Is there a switch I haven't found? -- Pat Walsh Involved, Inc. http://www.involved.com 503-226-4006
Re: [vchkpw] Adding users
On Tue, Dec 03, 2002 at 05:31:37PM -0800, Pat Walsh wrote: > I've got hundreds of email addresses to migrate from a different server. > I can easily add username/passwords using vadduser, but would like to > add names to the accounts also. Is there a switch I haven't found? Immediately after running vadduser you could run vmoduser with the -c flag. Cory -- Cory Wright Stand Blue Technology http://www.standblue.net/
RE: [vchkpw] Adding users
> -Original Message- > From: Pat Walsh [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 4 December 2002 12:32 PM > To: [EMAIL PROTECTED] > Subject: [vchkpw] Adding users > > > I've got hundreds of email addresses to migrate from a > different server. > I can easily add username/passwords using vadduser, but would like to > add names to the accounts also. Is there a switch I haven't found? You do it like this : vadduser -c "Some Name" [EMAIL PROTECTED] password Michael.
RE: [vchkpw] Adding users
This has been covered, check the archives more :) 1) how are your current accounts held, /etc/password mysql db 2) there is vconvert command that will convert to a usuable format for vpopmail. 3) the archives have an example script you can do if your user names and passwords are in a text file. Search for post from me, as I asked this same question. Joe -Original Message- From: Pat Walsh [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 03, 2002 5:32 PM To: [EMAIL PROTECTED] Subject: [vchkpw] Adding users I've got hundreds of email addresses to migrate from a different server. I can easily add username/passwords using vadduser, but would like to add names to the accounts also. Is there a switch I haven't found? -- Pat Walsh Involved, Inc. http://www.involved.com 503-226-4006
Re: [vchkpw] Adding users
Perfect, thanks. Pat Cory Wright wrote: On Tue, Dec 03, 2002 at 05:31:37PM -0800, Pat Walsh wrote: I've got hundreds of email addresses to migrate from a different server. I can easily add username/passwords using vadduser, but would like to add names to the accounts also. Is there a switch I haven't found? Immediately after running vadduser you could run vmoduser with the -c flag. Cory -- Cory Wright Stand Blue Technology http://www.standblue.net/ -- Pat Walsh Involved, Inc. http://www.involved.com 503-226-4006
Re: [vchkpw] Adding users
Better. I was wondering what the gecos field was. Learned two new things today. Pat Michael Bowe wrote: -Original Message- From: Pat Walsh [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 4 December 2002 12:32 PM To: [EMAIL PROTECTED] Subject: [vchkpw] Adding users I've got hundreds of email addresses to migrate from a different server. I can easily add username/passwords using vadduser, but would like to add names to the accounts also. Is there a switch I haven't found? You do it like this : vadduser -c "Some Name" [EMAIL PROTECTED] password Michael. -- Pat Walsh Involved, Inc. http://www.involved.com 503-226-4006
Re: [vchkpw] courier-imap tends to stop authenticating after awhile
I had the same problem for about three months. I finally made the mods that I had seen in the archives for vpopmail to remove the authdamon and my problem went away. I am using vpopmail 5.3.9 qmail 1.03 and courier 1.5.3 I do not run the authdamon's at all. that was the only way I could get it to work. - Original Message - From: "Taylor Dondich" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 25, 2002 1:28 PM Subject: Re: [vchkpw] courier-imap tends to stop authenticating after awhile > Okay, update to my problem. Due to suggestions, I have upgraded certain > peices of software. > > I am now running: > FreeBSD 4.7-RELEASE > Qmail 1.03_1 > Vpopmail 5.3.9_1 > SquirrelMail 1.2.8 > Courier-Imap 1.5.3 > > All above programs have been installed from the ports tree in fbsd. Also > due to suggestions, I have modifed the authdaemonrc file for courier-imap to > the following: > authmodulelist="authvchkpw authpam" > > I rebooted the server, and so far people are able to login, we'll see in > about an hour if people can still continue logging in. Like I said, imap > logins just fail after a certain amount of time. I'm also going to check if > pop3 authentication fails as well. > > Thanks for all the suggestions, I'll keep you posted. > > Taylor Dondich > > > >
[vchkpw] Re: SMTP-AUTH, yet again...
Thanks for the tips, Peter... At 11:38 PM +0100 12/3/02, Peter Palmreuther wrote: Hello Kit, On Tuesday, December 3, 2002 at 6:18:35 PM you wrote: I have no clue why this is not working 1.) Give 0.31 a try, I don't know what exactly changed, but the syntax is different between 0.30 & 0.31, maybe you're using the 'new' one, while old (to me unknown) is needed. Tried 0.31 tonight, no luck. Maybe my other patches are interfering? I'll try it at home as the only patch & see how that goes. 2.) Try to run qmail-smtpd as root. Just for testing, but this avoids "access denied" to vpasswd.cdb and therefore excludes one possible culprit. Also no luck. 3.) Try to run the child process of tcpserver in a strace like program. I don't know how this is named on OpenBSD and what the exact calling syntax is, but make use of it's logging to file, if possible, and see if you can find the position it fails at. I'll look into that if it's not the other patches. I know it ain't much, but maybe it helps to find the correct direction of hunting it down. Your answer is much appreciated. Thanks, -Kit -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -Benjamin Franklin "...qui desiderat pacem, praeparet bellum" (...if you would have peace, be prepared for war) -Flavius Vegetius Renatus
RE: [vchkpw] Re: SMTP-AUTH, yet again...
Hmm...I'm not sure if Bill Shupp's big patch will compile for BSD, but it includes the SMTP-Auth patch...just a suggestion. Regards, Tren -Original Message- From: Kit Halsted [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 03, 2002 9:23 PM To: [EMAIL PROTECTED] Subject: [vchkpw] Re: SMTP-AUTH, yet again... Thanks for the tips, Peter... At 11:38 PM +0100 12/3/02, Peter Palmreuther wrote: >Hello Kit, > >On Tuesday, December 3, 2002 at 6:18:35 PM you wrote: > >> I have no clue why this is not working > >1.) Give 0.31 a try, I don't know what exactly changed, but the syntax > is different between 0.30 & 0.31, maybe you're using the 'new' > one, while old (to me unknown) is needed. Tried 0.31 tonight, no luck. Maybe my other patches are interfering? I'll try it at home as the only patch & see how that goes. >2.) Try to run qmail-smtpd as root. Just for testing, but this avoids > "access denied" to vpasswd.cdb and therefore excludes one possible > culprit. Also no luck. >3.) Try to run the child process of tcpserver in a strace like > program. I don't know how this is named on OpenBSD and what the > exact calling syntax is, but make use of it's logging to file, if > possible, and see if you can find the position it fails at. I'll look into that if it's not the other patches. >I know it ain't much, but maybe it helps to find the correct direction >of hunting it down. Your answer is much appreciated. Thanks, -Kit -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -Benjamin Franklin "...qui desiderat pacem, praeparet bellum" (...if you would have peace, be prepared for war) -Flavius Vegetius Renatus