Re: [vchkpw] -ERR authorization failed
I know where the fault is, I had the same problem you have to fix your startup scripts, one space to much or wrong/no domainname can fuck it up totaly Raboo - Original Message - From: "Jonas Pasche" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 14, 2003 1:35 AM Subject: Re: [vchkpw] -ERR authorization failed > Hi Scott, > > > Just installed qmail and vpopmail and i cant seem to auth correctly. > > "Can't seem"? Either you can, or you cannot. Obviously you cannot. > > > Ive looked at logs that i think would help but they have not info as > > of why this is not working > > You couldn't have been unclearer... ;-) > > Which log did you check? > What did the log exactly say (copy+paste, don't interpret)? > Did you activate verbose logging when compiling vpopmail? If not, do it, > at least for now to help you debugging. > > Jonas > > >
Re: [vchkpw] vpopmail : forwarding a catch-all to an external address
Hello Jonas, Jonas Pasche wrote: Hi Jan, I've asked this same question before, but I haven't received an answer/solution yet. The following problem occurs when a catch-all should be forwarded to an external address : The email is only delivered locally to the catch-all account. Where does it actually get delivered, as there isn't a "i-am-a-test" account in reality? There is no "i-am-a-test" account. The email gets delivered to the catch-all account (postmaster), which is correct. But when postmaster receives the email, it should be forwarded to the named emailaddresses, and this doesn't happen. See also these headers: Return-Path: <[EMAIL PROTECTED]> Delivered-To: [EMAIL PROTECTED] Received: (qmail 15637 invoked by uid 0); 13 Mar 2003 15:18:39 - Received: from post-21.mail.nl.demon.net (194.159.73.20) by net3-nl-mail-03.ad.vevida.net with SMTP; 13 Mar 2003 15:18:39 - Received: from [212.238.190.175] (helo=vevida.nl) by post-21.mail.nl.demon.net with esmtp (Exim 3.36 #1) id 18tUaI-000Lz3-00 for [EMAIL PROTECTED]; Thu, 13 Mar 2003 15:25:30 + Message-ID: <[EMAIL PROTECTED]> Date: Thu, 13 Mar 2003 16:25:30 +0100 From: Jan Reilink <[EMAIL PROTECTED]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 To: [EMAIL PROTECTED] Subject: Test Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit [EMAIL PROTECTED]:/var/vpopmail/domains/groenen.nl# ls -la total 352 drwx--5 vpopmail vchkpw 4096 Feb 27 21:53 ./ drwx-- 13630 vpopmail vchkpw 331776 Mar 13 14:02 ../ -rw---1 vpopmail vchkpw 58 Jul 23 2002 .qmail-default -rw---1 vpopmail vchkpw 71 Feb 27 21:53 .qmail-postmaster drwx--3 vpopmail vchkpw 4096 Aug 4 2002 kantoor/ drwx--3 vpopmail vchkpw 4096 Dec 4 2001 postmaster/ drwx--3 vpopmail vchkpw 4096 Jul 25 2002 vakantie/ There are two files missing: vpasswd and vpasswd.cdb. Probably this is the reason for a strange behaviour of vdelivermail (which should be use better error-catching, if this is really the case). vpasswd is in: [EMAIL PROTECTED]:/var/vpopmail/bin# ls -la vpasswd -rwx--x--x1 vpopmail vchkpw 133677 Feb 6 01:09 vpasswd* There is no vpasswd.cdb file on our server, we use mySQL for authentication. I'd suggest deleting and recreating the three users, or restoring vpasswd[.cdb] from a recent backup. I'll delete -just got approval from the customer- the account (vdeldomain) to recreate it (vadddomain) and see what happens then. Thanks :). -- Met vriendelijke groet / Best regards, Jan Reilink
Re: [vchkpw] vpopmail : forwarding a catch-all to an external address
Jan Reilink wrote: Jonas Pasche wrote: [...] I'd suggest deleting and recreating the three users, or restoring vpasswd[.cdb] from a recent backup. I'll delete -just got approval from the customer- the account (vdeldomain) to recreate it (vadddomain) and see what happens then. That was a "no go"... :( I've completely removed the account and recreated everything as it was: [EMAIL PROTECTED]:/var/vpopmail/domains/groenen.nl# ls -la total 352 drwx--5 vpopmail vchkpw 4096 Mar 14 09:35 ./ drwx-- 13637 vpopmail vchkpw 331776 Mar 14 09:33 ../ -rw---1 vpopmail vchkpw 58 Mar 14 09:35 .qmail-default -rw---1 vpopmail vchkpw 71 Mar 14 09:35 .qmail-postmaster drwx--3 vpopmail vchkpw 4096 Mar 14 09:35 kantoor/ drwx--3 vpopmail vchkpw 4096 Mar 14 09:33 postmaster/ drwx--3 vpopmail vchkpw 4096 Mar 14 09:34 vakantie/ [EMAIL PROTECTED]:/var/vpopmail/domains/groenen.nl# cat .qmail-default | /var/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED] [EMAIL PROTECTED]:/var/vpopmail/domains/groenen.nl# cat .qmail-postmaster [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] I sent an email to "[EMAIL PROTECTED]" and it was only dropped in /var/vpopmail/domains/groenen.nl/postmaster/Maildir/new Headers: Return-Path: <[EMAIL PROTECTED]> Delivered-To: [EMAIL PROTECTED] Received: (qmail 15703 invoked by uid 0); 14 Mar 2003 08:45:30 - Received: from post-20.mail.nl.demon.net (194.159.73.1) by net3-nl-mail-03.ad.vevida.net with SMTP; 14 Mar 2003 08:45:30 - Received: from [212.238.190.175] (helo=vevida.nl) by post-20.mail.nl.demon.net with esmtp (Exim 3.36 #1) id 18tkvP-000Gzn-00 for [EMAIL PROTECTED]; Fri, 14 Mar 2003 08:52:23 + Message-ID: <[EMAIL PROTECTED]> Date: Fri, 14 Mar 2003 09:52:25 +0100 From: Hostmaster VEVIDA Services BV <[EMAIL PROTECTED]> Organization: VEVIDA Services BV User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 To: [EMAIL PROTECTED] Subject: [Fwd: VEVIDA Test] Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Logfile: Mar 14 09:45:30 net3-nl-mail-03 qmail: 1047631530.341288 new msg 2065800 Mar 14 09:45:30 net3-nl-mail-03 qmail: 1047631530.341358 info msg 2065800: bytes 2239 from <[EMAIL PROTECTED]> qp 15703 uid 0 Mar 14 09:45:30 net3-nl-mail-03 qmail: 1047631530.351306 starting delivery 1134124: msg 2065800 to local [EMAIL PROTECTED] nl Mar 14 09:45:30 net3-nl-mail-03 qmail: 1047631530.351404 status: local 1/10 remote 6/20 Mar 14 09:45:30 net3-nl-mail-03 qmail: 1047631530.362926 delivery 1134124: success: did_0+0+1/ Mar 14 09:45:30 net3-nl-mail-03 qmail: 1047631530.363386 status: local 0/10 remote 6/20 Mar 14 09:45:30 net3-nl-mail-03 qmail: 1047631530.363465 end msg 2065800 There is no "evidence" in my logs that something else happend with this email, this is all there is to find about this email. Why is there no line that the email was delivered to [EMAIL PROTECTED] As far as I can see, all the file/directory permissions are correct, linebreaks are present where they're needed (in the dot-qmail files). [EMAIL PROTECTED]:/var/vpopmail/include# cat vpopmail_config.h /* Name of package */ #define PACKAGE "vpopmail" /* Version number of package */ #define VERSION "5.2.1" Could it be a bug in vpopmail or am I missing something completely? -- Met vriendelijke groet / Best regards, Jan Reilink
Re: [vchkpw] vpopmail : forwarding a catch-all to an external address
On Friday, March 14, 2003, at 09:18, you wrote: > [EMAIL PROTECTED]:/var/vpopmail/domains/groenen.nl# cat .qmail-default > | /var/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED] This is probably where you're going wrong (unintentionally) - I suspect vdelivermail looks up the catchall address in its list of known users for the current domain, and if it finds one delivers directly to that users maildir. You can easily fix this by making the catchall address an address that doesnt exist in your vpopmail domain such as [EMAIL PROTECTED] and then set up .qmail-catchall to do what you want. Marcus -- Marcus Williams - http://www.onq2.com Quintic Ltd, 39 Newnham Road, Cambridge, UK
Re: [vchkpw] vpopmail : forwarding a catch-all to an external address
Marcus Williams wrote: On Friday, March 14, 2003, at 09:18, you wrote: [EMAIL PROTECTED]:/var/vpopmail/domains/groenen.nl# cat .qmail-default | /var/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED] This is probably where you're going wrong (unintentionally) - I suspect vdelivermail looks up the catchall address in its list of known users for the current domain, and if it finds one delivers directly to that users maildir. Yes, I thought about this too :) According to the vdelivermail manpage, you have two options: - A (local) directory to deliver the email to - An emailaddress to deliver the email to But I also thought that, when using an emailaddress, it would be forwarded instead of "dropped of" locally. You can easily fix this by making the catchall address an address that doesnt exist in your vpopmail domain such as [EMAIL PROTECTED] and then set up .qmail-catchall to do what you want. Thanks, this worked :) [EMAIL PROTECTED]:/var/vpopmail/domains/groenen.nl# cat .qmail-default | /var/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED] [EMAIL PROTECTED]:/var/vpopmail/domains/groenen.nl# cat .qmail-catchall [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] Logfile: Mar 14 11:12:48 net3-nl-mail-03 qmail: 1047636768.628239 new msg 2066220 Mar 14 11:12:48 net3-nl-mail-03 qmail: 1047636768.628344 info msg 2066220: bytes 1476 from <[EMAIL PROTECTED]> qp 23828 uid 0 Mar 14 11:12:48 net3-nl-mail-03 qmail: 1047636768.634028 starting delivery 1140664: msg 2066220 to local [EMAIL PROTECTED] Mar 14 11:12:48 net3-nl-mail-03 qmail: 1047636768.634131 status: local 1/10 remote 1/20 Mar 14 11:12:48 net3-nl-mail-03 qmail: 1047636768.652649 new msg 2066252 Mar 14 11:12:48 net3-nl-mail-03 qmail: 1047636768.652733 info msg 2066252: bytes 1580 from <[EMAIL PROTECTED]> qp 23835 uid 89 Mar 14 11:12:48 net3-nl-mail-03 qmail: 1047636768.658032 starting delivery 1140665: msg 2066252 to local [EMAIL PROTECTED] Mar 14 11:12:48 net3-nl-mail-03 qmail: 1047636768.658055 status: local 2/10 remote 1/20 Mar 14 11:12:48 net3-nl-mail-03 qmail: 1047636768.658073 delivery 1140664: success: did_0+0+1/ Mar 14 11:12:48 net3-nl-mail-03 qmail: 1047636768.658275 status: local 1/10 remote 1/20 Mar 14 11:12:48 net3-nl-mail-03 qmail: 1047636768.658293 end msg 2066220 Mar 14 11:12:48 net3-nl-mail-03 qmail: 1047636768.666711 new msg 2066220 Mar 14 11:12:48 net3-nl-mail-03 qmail: 1047636768.666814 info msg 2066220: bytes 1695 from <[EMAIL PROTECTED]> qp 23837 uid 89 Mar 14 11:12:48 net3-nl-mail-03 qmail: 1047636768.674891 starting delivery 1140666: msg 2066220 to local [EMAIL PROTECTED] Mar 14 11:12:48 net3-nl-mail-03 qmail: 1047636768.674940 status: local 2/10 remote 1/20 Mar 14 11:12:48 net3-nl-mail-03 qmail: 1047636768.674957 starting delivery 1140667: msg 2066220 to remote [EMAIL PROTECTED] Mar 14 11:12:48 net3-nl-mail-03 qmail: 1047636768.674972 status: local 2/10 remote 2/20 Mar 14 11:12:48 net3-nl-mail-03 qmail: 1047636768.674991 delivery 1140665: success: did_0+4+0/qp_23837/ Mar 14 11:12:48 net3-nl-mail-03 qmail: 1047636768.675123 status: local 1/10 remote 2/20 Mar 14 11:12:48 net3-nl-mail-03 qmail: 1047636768.675142 starting delivery 1140668: msg 2066220 to local [EMAIL PROTECTED] Mar 14 11:12:48 net3-nl-mail-03 qmail: 1047636768.675160 status: local 2/10 remote 2/20 Mar 14 11:12:48 net3-nl-mail-03 qmail: 1047636768.675177 starting delivery 1140669: msg 2066220 to remote [EMAIL PROTECTED] Mar 14 11:12:48 net3-nl-mail-03 qmail: 1047636768.675192 status: local 2/10 remote 3/20 Mar 14 11:12:48 net3-nl-mail-03 qmail: 1047636768.675207 end msg 2066252 *makes documentation* Thanks again :) -- Met vriendelijke groet / Best regards, Jan Reilink
Re: [vchkpw] more weirdness with vdelivermail and maildrop
Dave, On Fri, March 14, 2003 2:24 am, "Dave Weiner" said: > I've been playing with a squirrelmail plugin to let the user turn > this all on or off. I'd be *really* interested in seeing a squirrelmail plugin to do this. I use squirrelmail filters at the moment and it's pretty sloow! I'm looking into using maildrop instead but I am aware that that would mean editing .mailfilter files - OK for me but my computer illiterate other half and 11 year-old daughter might struggle! Actually, thinking about it, not everybody using vpopmail uses squirrelmail so this would be better as a separate tool, or possibly integrated with qmailadmin. Would it be possible to hack some code from courier into qmailadmin to manage the maildrop filters? R. -- Robin Bowes | http://robinbowes.com
Re: [vchkpw] Password fail with specific MUA (Mail.app)
Vu "Re: [vchkpw] Password fail with specific MUA (Mail.app)", du 14/03/03 à 13:40 +1030 : What method of connecting are your Mail.app users using? Just plain old POP or what? I was using plain POP with password auth. I just tried IMAP (with plain password too), and I *don't* get the errors : Mar 14 12:32:54 ns3167 imapd: Connection, ip=[:::81.56.85.236] Mar 14 12:32:54 ns3167 imapd: LOGIN, [EMAIL PROTECTED], ip=[:::81.56.85.236] Mar 14 12:32:57 ns3167 imapd: Connection, ip=[:::81.56.85.236] Mar 14 12:32:57 ns3167 imapd: LOGIN, [EMAIL PROTECTED], ip=[:::81.56.85.236] I'm running the latest versions of OS X and Mail.app, they are Mac OS X v10.2.4 and Mail 1.2.3 (v551) Me too. The only difference between our two logs I cab see is the fact that when I fetch mail on a other MUA than Mail.app, I don't get a log entry at all. And also no trace of 'pop3d'. Sorry if this sounds silly, I don't know much (yet) about vpopmail. Thanks. -- ned's key ID is 0x35359C2B
Re: [vchkpw] -ERR authorization failed
Hi, Scott. Please paste your start-up script for POP into an email and reply back. Thanks! Negative Nine wrote: Just installed qmail and vpopmail and i cant seem to auth correctly. Um, im not using mysql to store passwords Ive looked at logs that i think would help but they have not info as of why this is not working Ive check and double-checked that the gids and uids are correct. Can anyone help, ask me questions please! -Scott -- mailto:[EMAIL PROTECTED] Matt Brookings - Chief Technical Officer Inter7 Internet Technologies, Inc. www.inter7.com - 847-492-0470 Prices at http://www.inter7.com/prices
[vchkpw] roaming users, configure not working
Hi, I configured vpopmail-5.2 with, # ./configure --enable-clear-passwd=y --enable-relay-clear-minutes=120 --enable-roaming-users=y this gave, address extentions = OFF --enable-qmail-ext=n (default) roaming users = ON --enable-roaming-users=y tcpserver file = /etc/tcp.smtp Then I did, # make # make install-strip But when I did, # /home/vpopmail/bin/clearopensmtp vpopmail not configure with --enable-roaming-users=y What is the problem? I tried it many times. Also should the tcpserver file be /etc/tcp.smtp or /home/vpopmail/etc/tcp.smtp ? And address extensions=OFF as shown above, will it mean I won't be able to use .qmail-payal-linux kind of addresses? Thanks and bye. With warm regards, -Payal -- "Visit GNU/Linux Success Stories" www.geocities.com/rpayal99 Guest-Book Section Updated.
Re: [vchkpw] more weirdness with vdelivermail and maildrop
On Friday 14 March 2003 06:34, Robin Bowes wrote: > Dave, > > On Fri, March 14, 2003 2:24 am, "Dave Weiner" said: > > I've been playing with a squirrelmail plugin to let the user turn > > this all on or off. > > I'd be *really* interested in seeing a squirrelmail plugin to do this. I > use squirrelmail filters at the moment and it's pretty sloow! I'm > looking into using maildrop instead but I am aware that that would mean > editing .mailfilter files - OK for me but my computer illiterate other > half and 11 year-old daughter might struggle! > > Actually, thinking about it, not everybody using vpopmail uses > squirrelmail so this would be better as a separate tool, or possibly > integrated with qmailadmin. Not sure if you know this, but sqwebmail already has the ability to create filters. > > Would it be possible to hack some code from courier into qmailadmin to > manage the maildrop filters? Sure, but I don't think that's a good place for the code. I think a PHP script would be much more appropriate for general filter creation. I'm surprised no-one has created one yet. But, the problem is that you've got to have a way to make sure that the filters are letting mail through. Either that, or you've got to create your filters in a way that is foolproof (like, making sure the folder actually exists before allowing the user to make a filter that drops mail there. Or, making sure a defunct filter rule is deleted when the user deletes a folder in their webmail client.) With that in mind, it makes a lot of sense to put this functionality in the webmail client. (But note that sqwebmail does NOT currently delete a filter if it's corresponding folder is deleted.) > > R. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net We are actively looking for companies that do a lot of long distance faxing and want to cut their long distance bill by up to 50%. Contact [EMAIL PROTECTED] for more info.
Re: [vchkpw] Password fail with specific MUA (Mail.app)
Ned, are you running courier's pop3d or qmail's? I'm running courier's. I'm not sure how the courier logger chooses to write to /var/log/maillog tho... I suspect your pop3d is not set to write to this log. ... And I don't know what would be causing the auth errors, maybe a conflict between your pop3d and vpopmail. -jesse At 12:44 +0100 14/3/2003, Ned Baldessin wrote: Vu "Re: [vchkpw] Password fail with specific MUA (Mail.app)", du 14/03/03 à 13:40 +1030 : What method of connecting are your Mail.app users using? Just plain old POP or what? I was using plain POP with password auth. I just tried IMAP (with plain password too), and I *don't* get the errors : Mar 14 12:32:54 ns3167 imapd: Connection, ip=[:::81.56.85.236] Mar 14 12:32:54 ns3167 imapd: LOGIN, [EMAIL PROTECTED], ip=[:::81.56.85.236] Mar 14 12:32:57 ns3167 imapd: Connection, ip=[:::81.56.85.236] Mar 14 12:32:57 ns3167 imapd: LOGIN, [EMAIL PROTECTED], ip=[:::81.56.85.236] I'm running the latest versions of OS X and Mail.app, they are Mac OS X v10.2.4 and Mail 1.2.3 (v551) Me too. The only difference between our two logs I cab see is the fact that when I fetch mail on a other MUA than Mail.app, I don't get a log entry at all. And also no trace of 'pop3d'. Sorry if this sounds silly, I don't know much (yet) about vpopmail. Thanks. -- ned's key ID is 0x35359C2B
Re: [vchkpw] more weirdness with vdelivermail and maildrop
Jesse Guardiani wrote: >> Actually, thinking about it, not everybody using vpopmail uses >> squirrelmail so this would be better as a separate tool, or possibly >> integrated with qmailadmin. > > Not sure if you know this, but sqwebmail already has the ability to > create filters. Yes I am, and it's client side filtering, and it's slow. I much prefere server side filtering :) > >> >> Would it be possible to hack some code from courier into qmailadmin >> to manage the maildrop filters? > > Sure, but I don't think that's a good place for the code. I think a Personally, I don't think the sqwebmail code for doing maildrop filters is all that good. I think Mr. Sam designed the maildrop rule portion of sqwebmail for people like him (and us) -- sysadmins. The average user is just *lost* when the see some of those options. > PHP script would be much more appropriate for general filter > creation. I'm surprised no-one has created one yet. > > But, the problem is that you've got to have a way to make sure that > the filters are letting mail through. Either that, or you've got to > create your filters in a way that is foolproof (like, making sure the > folder actually exists before allowing the user to make a filter that > drops > mail there. Or, making sure a defunct filter rule is deleted when the > user deletes a folder in their webmail client.) > > With that in mind, it makes a lot of sense to put this functionality > in the webmail client. (But note that sqwebmail does NOT currently > delete > a filter if it's corresponding folder is deleted.) Correct -- this way, we can get a list of the folders. I'm not certain if we can tie into the folder deletion routines of squirrelmail, but we sure as hell can put the delivery instructions inside "exception { }" so if the folder does go away, the mail will fall through and get picked up the the default delivery line :) Dave
Re: [vchkpw] more weirdness with vdelivermail and maildrop
On Friday 14 March 2003 10:28, Dave Weiner wrote: > Jesse Guardiani wrote: > >> Actually, thinking about it, not everybody using vpopmail uses > >> squirrelmail so this would be better as a separate tool, or possibly > >> integrated with qmailadmin. > > > > Not sure if you know this, but sqwebmail already has the ability to > > create filters. > > Yes I am, and it's client side filtering, and it's slow. I much prefere > server side filtering :) Huh? sqwebmail uses maildrop. maildrop is server side. What are you talking about? > > >> Would it be possible to hack some code from courier into qmailadmin > >> to manage the maildrop filters? > > > > Sure, but I don't think that's a good place for the code. I think a > > Personally, I don't think the sqwebmail code for doing maildrop filters is > all that good. I agree. It stinks. However, it can be improved. My point was that the code for setting up maildrop filters is in the right place. It's in sqwebmail, and as such it can be integrated with the setup and removal of folders in sqwebmail. But, of coarse, you might run into someone deleting a folder with IMAP. Maybe a better solution would be to create a simple maildrop rule creation script that makes use of the exception {} clause. Then, when a filtering rule becomes defunct, we could display it grayed out or something to visually show that it's defunct. Or maybe run a cron script that tests and deletes defunct rules every few days or so. > I think Mr. Sam designed the maildrop rule portion of > sqwebmail for people like him (and us) -- sysadmins. The average user is > just *lost* when the see some of those options. > > > PHP script would be much more appropriate for general filter > > creation. I'm surprised no-one has created one yet. > > > > But, the problem is that you've got to have a way to make sure that > > the filters are letting mail through. Either that, or you've got to > > create your filters in a way that is foolproof (like, making sure the > > folder actually exists before allowing the user to make a filter that > > drops > > mail there. Or, making sure a defunct filter rule is deleted when the > > user deletes a folder in their webmail client.) > > > > With that in mind, it makes a lot of sense to put this functionality > > in the webmail client. (But note that sqwebmail does NOT currently > > delete > > a filter if it's corresponding folder is deleted.) > > Correct -- this way, we can get a list of the folders. I'm not certain if > we can tie into the folder deletion routines of squirrelmail, Don't see why not. You can always write a new API function if it doesn't let you do it with the current API. The squirrelmail folks aren't likely to spit in the face of a decent feature. > but we sure > as hell can put the delivery instructions inside "exception { }" so if the > folder does go away, the mail will fall through and get picked up the the > default delivery line :) > > Dave -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net We are actively looking for companies that do a lot of long distance faxing and want to cut their long distance bill by up to 50%. Contact [EMAIL PROTECTED] for more info.
Re: [vchkpw] more weirdness with vdelivermail and maildrop
Jesse Guardiani wrote: > Huh? sqwebmail uses maildrop. maildrop is server side. What are you > talking about? Just reading too fast, and parsed your sqwebmail as squirrelmail :) Dave
Re: [vchkpw] -ERR authorization failed
This was the problem, In my /etc/xinetd.d/pop3 file i had server_args = neg9.netnitco.net /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir /home/vpopmail/bin/vchkpw -- should have been -- /usr/vpopmail/bin/vchkpw Do i forgot to change the location of vchkpw to the actual location i installed it to. Stupid error on my behalf. I just got it installed and was a little out of it i guess. :) Thanks for the help. *note to self* triple check the configs before posting on the mailing list ;) - Original Message - From: "Raboo" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 14, 2003 2:08 AM Subject: Re: [vchkpw] -ERR authorization failed > I know where the fault is, I had the same problem > > you have to fix your startup scripts, one space to much or wrong/no > domainname can fuck it up totaly > > Raboo > - Original Message - > From: "Jonas Pasche" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, March 14, 2003 1:35 AM > Subject: Re: [vchkpw] -ERR authorization failed > > > > Hi Scott, > > > > > Just installed qmail and vpopmail and i cant seem to auth correctly. > > > > "Can't seem"? Either you can, or you cannot. Obviously you cannot. > > > > > Ive looked at logs that i think would help but they have not info as > > > of why this is not working > > > > You couldn't have been unclearer... ;-) > > > > Which log did you check? > > What did the log exactly say (copy+paste, don't interpret)? > > Did you activate verbose logging when compiling vpopmail? If not, do it, > > at least for now to help you debugging. > > > > Jonas > > > > > > >
[vchkpw] vconvert
Hello, all. I am successfully running a qmail, Courier-IMAP, vpopmail(v 5.3.19), MySql (compiled with --enable-many-domains=y), and squirrelmail installation. I want to use vconvert to convert a shadow password file into a MySql DB. The docs on this procedure are a little skimpy so I hope someone will confirm a couple of things for me. First, does it work, and can I be secure that I won't hose my current DB? Second, what is the exact syntax to convert all the users in the shadow password file into the DB with the proper x.com extention? Thanks for the help, all. -- Regards, Kenneth D. Johnson Email services provided by KYOnline.net, A division of World View Resources, Inc. http://www.kyonline.net/
Re: [vchkpw] can not get any mail
Well, another stupid error on my behalf.I forgot to change my iptable rules to allow access to port 25 from outside my network. I need some sleep now. ** Author: Jonas Pasche Date: 03-12-03 19:32Subject: Re: [vchkpw] can not get any mailHi Scott,> if you are saying i need to kill qmail-send.No; Rick told you to send a HUP.Anyway, you need to send a HUP to _qmail-smtpd_, not qmail-send, as thercpthosts file is read by qmail-smtpd, not qmail-send. vpopmail normallydoes this automatically, but obviously did not in your case.> okay, i tried killall and it> did not kill it. i killed it with -9 and it restarted again a couple of> seconds later.That's what supervise is for.> durring that time i sent 2 more messages to> [EMAIL PROTECTED] and they are not showing up in the log> (/var/log/qmail/current) and i didnt recieve them or get any bounced> messages.Enter "/var/qmail/bin/qmail-qstat" and see if they're in the"unprocessed" state.> > more info from /var/qmail/control:This can be achieved easier with "qmail-showctl".> > it seems like it recieves the message, and doesnt> > know where to put it, and then just gives up.You have logs, so there's no need to "it seems like". Your test mailcomes from the same domain that makes trouble, so qmail cannot send abounce and will deliver it to the postmaster. If the postmaster addresspoints to this address, too, you'll have a triple bounce, and qmail willdiscard it as it doesn't find a valid address to deliver the mail or abounce message.> I did also notice that it> says> > uid 500 for one and 510 for the other. I have checked and rechecked the> > vpopmail and vchkpw uid and gid and they are all set to 89. i dont know> > where it is getting that uid of 500 and 510.The first message is generated by UID 500, which is propably theqmail-smtpd user. The second message is generated by UID, which isprobably the qmail-queue user. Check your /etc/passwd to be sure.Jonas
[vchkpw] Small patch
I created a small patch for a situation I ran into. I'm on a system where I have both system-users and virtual domains and noticed that successfull logins of system users weren't logged. The patch was created on 5.3.7. 557a558,565 > >/* show success but with no password */ >if ( ENABLE_LOGGING == 1 || ENABLE_LOGGING == 4) { > snprintf(LogLine, LOG_LINE_SIZE, "%s: system password login success %s:%s", >VchkpwLogName, TheUser, IpAddr); > vlog(VLOG_AUTH, TheUser, TheDomain, ThePass, TheName, IpAddr, LogLine); >} > -- With kind regards, Maurice Snellen
Re: [vchkpw] vconvert
> Hello, all. > > I am successfully running a qmail, Courier-IMAP, vpopmail(v 5.3.19), MySql > (compiled with --enable-many-domains=y), and squirrelmail installation. I > want to use vconvert to convert a shadow password file into a MySql DB. > The docs on this procedure are a little skimpy so I hope someone will > confirm a couple of things for me. First, does it work, and can I be > secure that I won't hose my current DB? Second, what is the exact syntax > to convert all the users in the shadow password file into the DB with the > proper x.com extention? > > Thanks for the help, all. > > > -- > Regards, > > Kenneth D. Johnson Your shadow file won't contain the domain information will it? I had this same scenario when converting from a sendmail install to qmail/vpopmail/mysql. I didn't use vconvert or http://www.enderunix.org/vpwd2sql/. I have a three step process that worked very well for me if : a - you have a list of domains. b - you know what users belong to what domain. I can detail it off-list if you're interested. Jason
Re: [vchkpw] Password fail with specific MUA (Mail.app)
At 1:38 +1030 15/03/03, Jesse Reynolds wrote: Ned, are you running courier's pop3d or qmail's? I'm running courier's. I'm not sure how the courier logger chooses to write to /var/log/maillog tho... I suspect your pop3d is not set to write to this log. ... And I don't know what would be causing the auth errors, maybe a conflict between your pop3d and vpopmail. I'm pretty shure qmail's pop3d is used for POP, and courier is only used for IMAP. Vpopmail is set to log only errors to /var/log/maillog. Well, I'm lost. I guess the next step is to sniff the data that Mail.app is sending and compare it to, say, what Eudora is sending. But that would be a hassle. -- ned's key ID is 0x35359C2B
[vchkpw] accept selected mails
Hi, I am using vpopmail + qmail on a test system. Now for user [EMAIL PROTECTED] I want to accept mails only from email addresses given in file accept_only.dat. The rest of the mails from any other email address should be dropped/deleted without any notice. Can someone please give on hints on writing such a script? Thanks in advance and bye. Regards, -Payal -- "Visit GNU/Linux Success Stories" www.geocities.com/rpayal99 Guest-Book Section Updated.
Re: [vchkpw] -ERR authorization failed
Eww. Dont start *anything* from inetd. Use tcpserver :P Negative Nine wrote: This was the problem, In my /etc/xinetd.d/pop3 file i had server_args = neg9.netnitco.net /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir /home/vpopmail/bin/vchkpw -- should have been -- /usr/vpopmail/bin/vchkpw Do i forgot to change the location of vchkpw to the actual location i installed it to. Stupid error on my behalf. I just got it installed and was a little out of it i guess. :) Thanks for the help. *note to self* triple check the configs before posting on the mailing list ;) - Original Message - From: "Raboo" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 14, 2003 2:08 AM Subject: Re: [vchkpw] -ERR authorization failed I know where the fault is, I had the same problem you have to fix your startup scripts, one space to much or wrong/no domainname can fuck it up totaly Raboo - Original Message - From: "Jonas Pasche" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 14, 2003 1:35 AM Subject: Re: [vchkpw] -ERR authorization failed Hi Scott, Just installed qmail and vpopmail and i cant seem to auth correctly. "Can't seem"? Either you can, or you cannot. Obviously you cannot. Ive looked at logs that i think would help but they have not info as of why this is not working You couldn't have been unclearer... ;-) Which log did you check? What did the log exactly say (copy+paste, don't interpret)? Did you activate verbose logging when compiling vpopmail? If not, do it, at least for now to help you debugging. Jonas -- mailto:[EMAIL PROTECTED] Matt Brookings - Chief Technical Officer Inter7 Internet Technologies, Inc. www.inter7.com - 847-492-0470 Prices at http://www.inter7.com/prices
Re: [vchkpw] POP before SMTP
Hi Andrew, please always respond to the list, not personally to me. Maybe someone can bring some light into your situation after reading it, so I'm completely quoting it: > Thank you for getting back so quickly. It appears that I was wrong, and > roaming users is working well. The problem is that we use Telia (going > through Megapop dialups) for our users who want access in other cities. I > was testing roaming users on the Telia dialups, and for some reason even > though the cdb is being regenerated correctly, and their IPs are entered in, > relay access is still denied to them. I cannot trust that part. Did the POP connection really originate from the same IP addresse as the SMTP connection? How did you check if the IP address has been in tcp.smtp.cdb? > I had a couple friends try going > through Comcast and Bellsouth, and after they authenticate with vpopmail, > their address is added to open-smtp, added into > /home/vpopmail/etc/tcp.smtp.cdb, and they can relay. I'm still not sure why > Telia gives different results than Bellsouth or Comcast (I don't believe > Telia uses transparent relaying, or anything else wierd), but if I can't > figure it out I'll probably recompile with --enable-roaming-users=n, and > switch to SMTP AUTH. No need to switch; you can use both techniques at once, thus allowing clients to use whichever they want. Jonas
Re: [vchkpw] roaming users, configure not working
Hi Payal, > I configured vpopmail-5.2 with, You should start with 5.2.1, which is the latest stable. > # /home/vpopmail/bin/clearopensmtp > vpopmail not configure with --enable-roaming-users=y * Have you started with clean source, either freshly unpacked or a "make clean" before? * Check the date of the clearopensmtp binary - is it current? * Is /home/vpopmail really the home of your vpopmail user? If it changed in the between, all newly created files have been installed into that new location. > Also should the tcpserver file be /etc/tcp.smtp or > /home/vpopmail/etc/tcp.smtp ? Both locations will work fine, but vpopmail will need root access if you want to use the /etc location. > And address extensions=OFF as shown above, will it mean I won't be able to use > .qmail-payal-linux kind of addresses? No; these addresses will be handled by qmail itself _before_ vpopmail drops in (through being called out of .qmail-default) and work in either case. Jonas
Re: [vchkpw] Small patch
Hi Maurice, > I created a small patch for a situation I ran into. Thanks, but that's useless until you tell us to which file it should be applied ;-) You should use the unified diff format (diff -u) in general; it automatically includes the filenames in its output. Jonas
Re: [vchkpw] accept selected mails
Hi Payal, > I am using vpopmail + qmail on a test system. Now for user > [EMAIL PROTECTED] I want to accept mails only from email addresses given in file > accept_only.dat. The rest of the mails from any other email address > should be dropped/deleted without any notice. > > Can someone please give on hints on writing such a script? man dot-qmail man qmail-command Should be a simple two-liner .qmail file; the first line with an "|if" expression that checks $SENDER against your file and exits with an appropriate exit code, and a forward rule to a defined Maildir in the second line. Jonas
Re: [vchkpw] POP before SMTP
Sorry about the personal reply, I didn't mean to be rude. Yes, the POP connection did originate from the same address as SMTP, and I used to cdbdump to check tcp.smtp.cdb. I found out today that Telia actually goes through Safepages, and Safepages blocks everything on port 25 to any server other than their own (217.127.146.11). After I was told that, I verified it by dialing into one of their dialups and doing a port scan of our server... 25 was the only open port that didn't show up in the scan. The good news is that POP before SMTP works beautifully for everyone else except those who go through Safepages (or have port 25 blocked). So as an easy work around I added mail.medzip.net pointing to 217.127.146.11 (medzip.net is another domain we have, I'll be changing the pointer to something.powercalling.net after we transfer the authority for the domain). For our normal users, they'll continue using POP before SMTP with the address mail.powercalling.net pointing to our server (65.243.94.6). Obviously, this will keep spammers out since only those on the trusted IP range for Safepages can use the pointer to 217.127.146.11 (others outside will get a no relay error), and only our users who authenticate first can use our servers. Thank you again for your help. andrew :) > Hi Andrew,. > > please always respond to the list, not personally to me. Maybe someone > can bring some light into your situation after reading it, so I'm > completely quoting it: > > > Thank you for getting back so quickly. It appears that I was wrong, and > > roaming users is working well. The problem is that we use Telia (going > > through Megapop dialups) for our users who want access in other cities. I > > was testing roaming users on the Telia dialups, and for some reason even > > though the cdb is being regenerated correctly, and their IPs are entered in, > > relay access is still denied to them. > > I cannot trust that part. Did the POP connection really originate from > the same IP addresse as the SMTP connection? > > How did you check if the IP address has been in tcp.smtp.cdb? > > > I had a couple friends try going > > through Comcast and Bellsouth, and after they authenticate with vpopmail, > > their address is added to open-smtp, added into > > /home/vpopmail/etc/tcp.smtp.cdb, and they can relay. I'm still not sure why > > Telia gives different results than Bellsouth or Comcast (I don't believe > > Telia uses transparent relaying, or anything else wierd), but if I can't > > figure it out I'll probably recompile with --enable-roaming-users=n, and > > switch to SMTP AUTH. > > No need to switch; you can use both techniques at once, thus allowing > clients to use whichever they want. > > Jonas > > >
Re: [vchkpw] Password fail with specific MUA (Mail.app)
Actually I think this error is related to the version of vpopmail you are using. Maybe try upgrading. On Sat, 15 Mar 2003 04:42, Ned Baldessin wrote: > At 1:38 +1030 15/03/03, Jesse Reynolds wrote: > >Ned, are you running courier's pop3d or qmail's? > > > >I'm running courier's. > > > >I'm not sure how the courier logger chooses to write to > >/var/log/maillog tho... I suspect your pop3d is not set to write to > >this log. ... And I don't know what would be causing the auth errors, > >maybe a conflict between your pop3d and vpopmail. > > I'm pretty shure qmail's pop3d is used for POP, and courier is only > used for IMAP. > > Vpopmail is set to log only errors to /var/log/maillog. > > Well, I'm lost. I guess the next step is to sniff the data that > Mail.app is sending and compare it to, say, what Eudora is sending. > But that would be a hassle.
[vchkpw] NFS shared
Hello All, If I'm going to install a couple of mailservers(vpopmail+qmail) and use an NFS server for storage, is the Maildir the only directory that will be shared by the mail servers. I think the tcp.smtp.cdb also needs to be shared. Any others files? TIA