[vchkpw] qmail-smtpd patch
Hi, Is anyone aware of a patch for qmail-smtpd that will return a 5xx code if the rcpt to is a non-existent address/alias on a vpopmail system? Thanks, Abdul -- Tel: +27-31-566-8080 Fax: +27-31-566-8010 http://www.eastcoast.co.za
Re: [vchkpw] qmail-smtpd patch
On Wed, Mar 12, 2003 at 10:35:29AM +0200, Abdul Rehman Gani wrote: Hi, Heya Is anyone aware of a patch for qmail-smtpd that will return a 5xx code if the rcpt to is a non-existent address/alias on a vpopmail system? That's just a bad idea.. giving a perm error on 'RCPT TO' will result in a short 3-4 lines long perl script that will rand() all your users and you'll get spammed pretty regulary. Why do you think VRFY is _not_ supported by qmail?:) Is that what you really want? naah.. IMHO: Theres no way the smtpd would know if the user exists or not. that's qmail-send's job, the qmail-smtpd recives the connection, checks relaying, rcpthosts and so on.. if it likes it - fine, the message is sent to qmail-send which decides what to do with it.. local delivery, remote one.. whatever. Thanks, Abdul Welcome :) -- Tel: +27-31-566-8080 Fax: +27-31-566-8010 http://www.eastcoast.co.za -- Kiril Todorov-+- +359 2 9712013 Bulgaria Online -+- http://home.online.bg /* waiting... dreaming... wishing... */
[vchkpw] Re: qmail-smtpd patch
Hello Abdul, On Wednesday, March 12, 2003 at 9:35:29 AM you wrote (at least in part): Hi, Is anyone aware of a patch for qmail-smtpd that will return a 5xx code if the rcpt to is a non-existent address/alias on a vpopmail system? Hi, is anyone aware of an archive of this list? http://www.mail-archive.com/[EMAIL PROTECTED]/msg10854.html -- Best regards Peter Palmreuther Practice is the best of all instructors. - Publilius
Re: [vchkpw] Re: qmail-smtpd patch
On Wednesday 12 March 2003 11:11, Peter Palmreuther wrote: Hello Abdul, Hi, is anyone aware of an archive of this list? Probably - but I wasn't. Thanks http://www.mail-archive.com/[EMAIL PROTECTED]/msg10854.html -- Tel: +27-31-566-8080 Fax: +27-31-566-8010 http://www.eastcoast.co.za
Re: [vchkpw] vpopmail and courier-imap
On Tuesday 11 March 2003 21:03, Jason 'XenoPhage' Frisvold wrote: On Tue, 2003-03-11 at 12:11, Jesse Guardiani wrote: Let me elaborate briefly... I've been reading documentation, but there is some confusion... The INSTALL doc says not to use authvchkpw, but to use authdb. However, the README.authmysql.html file says not to use mysql, but to use authvchkpw when dealing with vpopmail... I know what you mean. It IS confusing. You should mention that to Mr. Sam. *nod* I've got it all figured out now... Makes sense now :) Never use authdaemon with vchkpw. It's buggy for some reason. Authentications will fail randomly and such. And yes, you should use authvchkpw. Known bugs? Hrm.. I didn't see anything in the known bugs section... No biggie tho... when using authdaemon relaying fails = someone who authenticates via imap won't be able to _send_ mail (unless he/she uses smtp auth or is generally enabled to send mail (tcp.smtp) -- Best Regards --- Justin Heesemannionium Technologies [EMAIL PROTECTED]www.ionium.org
Re: [vchkpw] qmail-smtpd patch
Check the archives. There are a few, however they *only* take into account the vpopmail addresses, not system accounts or aliases or SMTP relaying. I've just patched mine to handle all cases however I don't have a patch. BTW, VRFY would be the correct place for this, however most spam programs ignore the return on the VRFY command and send it anyway. So in short, you'll have to write your own custom one to your situation. At least with the patch, I don't have 10,000 messages in the outbound queue each day for bounces. Now I rarely get bounces. Brian Hi, Is anyone aware of a patch for qmail-smtpd that will return a 5xx code if the rcpt to is a non-existent address/alias on a vpopmail system? Thanks, Abdul -- Tel: +27-31-566-8080 Fax: +27-31-566-8010 http://www.eastcoast.co.za
Re: [vchkpw] qmail-smtpd patch
Hi, http://www.interazioni.it/qmail/ Regards, Rick - Original Message - From: Abdul Rehman Gani [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 3:35 AM Subject: [vchkpw] qmail-smtpd patch Hi, Is anyone aware of a patch for qmail-smtpd that will return a 5xx code if the rcpt to is a non-existent address/alias on a vpopmail system? Thanks, Abdul -- Tel: +27-31-566-8080 Fax: +27-31-566-8010 http://www.eastcoast.co.za
[vchkpw] Fwd: Inter7 Internet Technologies: Newsletter Urgent Notice
Which is the bug that is named in this advisory? I think that must be given more details. 1.3.27 contains some bugfixes so the problem could be solved even upgrading to 1.3.27 (because upgrading to apache2.x is not always a good choice). Regards. -- Davide Giunchi---BeginMessage--- file:///D:/interseven/HTMLnotices/notice.html cid:[EMAIL PROTECTED] Title: Inter7 Internet Technologies PAST NOTICES .: Apache 1.3.x exploit INTER7.COM SECURITY NOTICE There is a lesser-known, remote exploit for Apache 1.3.x going around for Linux i386. Recommendations are to upgrade to Apache 2.0.x to avoid being caught by this exploit. See Apache's site for upgrade information. [http://httpd.apache.org/] We at Inter7 are constantly working to provide our customers and the community with better products and service including upgrades to our packages and open source software. This includes announcements regarding security and system integrity, information on e-mail techniques and marketing optimization, and pertinent notices about the online community as a whole. You've received this message because you are one of our valued customers. If you would like us to resolve this for you, please call 866 528 3530 for scheduling. We expect upgrades to take 1-3 hours depending on current configurations. We do not, under any circumstances, divulge your e-mail address to anyone. If you have any questions, drop us a line at [EMAIL PROTECTED]. We provide commercial 24/7 support and installation services. Call toll free in the U.S. 866 528 3530 International 847 492 0470 Send us an email from here. Copyright 2003 Inter7 Internet Technologies, Inc. Click for terms of use. ---End Message---
Re: [vchkpw] qmail-smtpd patch
Abdul, the patch you're looking for is at: www.interazioni.it/qmail It's been deeply proved and installed by hundreds of people. There are two versions: one completely compliant to qmail security model, the other semplified in order to work with TLS. Ciao, Tonino At 12/03/03 12/03/03 +0200, Abdul Rehman Gani wrote: Hi, Is anyone aware of a patch for qmail-smtpd that will return a 5xx code if the rcpt to is a non-existent address/alias on a vpopmail system? Thanks, Abdul -- Tel: +27-31-566-8080 Fax: +27-31-566-8010 http://www.eastcoast.co.za [EMAIL PROTECTED]Interazioni di Antonio Nati http://www.interazioni.it [EMAIL PROTECTED]
[vchkpw] Seekable Patch - Bill's Toaster
We're using the lastest version of Bill Schupp's Toaster which uses Vpopmail 5.3.7. From reading the list, doc's, etc. we understand that in order to process mail using spamc or maildrop from .qmail-default in the domain directory we need to have the 'seekable patch' installed. Is this true? Or will maildrop (or spamc) work without this patch. Secondly, what does the patch do? Lastly, for Bill - any idea when the toaster will be upgraded to include Vpopmail 5.3.8 which has the patch? Best Regards, Jeff Koch --
[vchkpw] can not get any mail
I just setup qmail and vpopmail on a redhat 7.2 box and for some reason i can not receive any mail i send to it. I dont get any bounce messages or anything, it just vanishes. Some info: - a tail from /var/log/qmail/current @40003e6f447137dc8b74 new msg 2208345@40003e6f447137dcd1c4 info msg 2208345: bytes 243 from [EMAIL PROTECTED] qp 20856 uid 500@40003e6f44713851f60c starting delivery 7: msg 2208345 to remote [EMAIL PROTECTED]@40003e6f447138559ba4 status: local 0/10 remote 1/20@40003e6f44720cce9274 delivery 7: failure: Sorry._Although_I'm_listed_as_a_best-preference_MX_or_A_for_that_host,/it_isn't_in_my_control/locals_file,_so_I_don't_treat_it_as_local._(#5.4.6)/@40003e6f44720ccefbec status: local 0/10 remote 0/20@40003e6f44720d8fcb4c bounce msg 2208345 qp 20858@40003e6f44720d8ffe14 end msg 2208345@40003e6f44720da026cc new msg 2208348@40003e6f44720da0460c info msg 2208348: bytes 870 from qp 20858 uid 510@40003e6f44720e1fedbc starting delivery 8: msg 2208348 to remote [EMAIL PROTECTED]@40003e6f44720e239354 status: local 0/10 remote 1/20@40003e6f44721bd10a54 delivery 8: failure: Sorry._Although_I'm_listed_as_a_best-preference_MX_or_A_for_that_host,/it_isn't_in_my_control/locals_file,_so_I_don't_treat_it_as_local._(#5.4.6)/@40003e6f44721bd16fe4 status: local 0/10 remote 0/20@40003e6f44721c96811c bounce msg 2208348 qp 20860@40003e6f44721c96ac14 end msg 2208348 more info from /var/qmail/control: [EMAIL PROTECTED] control]# cat virtualdomainsneg9.netnitco.net:neg9.netnitco.netneg0.netnitco.net:neg0.netnitco.net[EMAIL PROTECTED] control]# cat rcpthostsneg9.netnitco.netneg0.netnitco.net[EMAIL PROTECTED] control]# cat me neg9.netnitco.net[EMAIL PROTECTED] control]# cat plusdomain [EMAIL PROTECTED] control]# cat locals[EMAIL PROTECTED] control]# cat defaultdomain [EMAIL PROTECTED] control]# cat defaultdelivery ./Mailbox and /var/qmail/users/assign +neg9.netnitco.net-:neg9.netnitco.net:89:89:/usr/vpopmail/domains/neg9.netnitco.net:-::+neg0.netnitco.net-:neg0.netnitco.net:89:89:/usr/vpopmail//domains/neg0.netnitco.net:-::. how i start vpopmail: env - PATH="/var/qmail/bin:/usr/local/bin" \ tcpserver -H -R 0 pop3 \ /var/qmail/bin/qmail-popup neg9.netnitco.net \ /usr/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir - I did actually read the errors and noticed it said it couldnt find the domain in the locals file. I do have neg9.netnitco.net and neg0.netnitco.net setup as virt domains in vpopmail so it should treat it as a virt domain. i dont think it is though. it seems like it recieves the message, and doesnt know where to put it, and then just gives up. 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. Any information you guys can give me would help a lot. -Scott
Re: [vchkpw] problem with valias and maildrop filter
Iain wrote: Hi, I have been using maildrop to filter spam by using the following in .qmail-default for each domain: preline /usr/bin/maildrop /etc/spamassassin/mailfilter I have included the mailfilter at the end of this email. However when I set this up I found that SQL based aliases stopped working. Email sent to these alias addresses goes to a black hole. This is with vpopmail 5.3.18. Any ideas as to what could be causing this? Did you rebuild vpopmail between when it worked and when it stoped? Is /home/vpopmail/bin/vdelivermail the correct path? If the answers are No and Yes respectively, you might need to escape the '' in the VPOP line. Try making the VPOP line this: VPOP=| /home/vpopmail/bin/vdelivermail \'\' bounce-no-mailbox Also, double check the logic of the conditionals in your mailfilter. I haven't had a chance to pull it apart, but it doesn't look right cheers, Iain. Dave
[vchkpw] Local and Virtual Users
Ok a simple question. For Vpopmail configuration can I use the following together without difficulty. --enable-passwd=y --enable-mysql=y The desired outcome is to allow vpopmail to check both so we can use both local and virtual users. TIA
[vchkpw] Recenty security notice
Hi, everyone. I just wanted to touch really quickly about the security notice that was posted here from our news mailing list. First, we'd like to apologize for it's format. That message was supposed to be destined for our communications director, but apparently it was accidentally sent to the news list. It was based, obviously, on our website, as that's where we had planned to use it. Second, the information within the notice was not yet ready for publication. What it comes down to, is that we accidentally released pre-production information, across the wrong medium, and we apologize to anyone who was concerned about it's format and/or content. Hope that clears up some of the confusion :) Thanks! -- 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] can not get any mail
if you are saying i need to kill qmail-send. okay, i tried killall and it did not kill it. i killed it with -9 and it restarted again a couple of seconds later. 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. -Scott - Original Message - From: Rick Macdougall [EMAIL PROTECTED] To: Negative Nine [EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 9:55 AM Subject: Re: [vchkpw] can not get any mail killall -HUP qmail-send Rick - Original Message - From: Negative Nine [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 10:53 AM Subject: [vchkpw] can not get any mail I just setup qmail and vpopmail on a redhat 7.2 box and for some reason i can not receive any mail i send to it. I dont get any bounce messages or anything, it just vanishes. Some info: -- -- - a tail from /var/log/qmail/current @40003e6f447137dc8b74 new msg 2208345 @40003e6f447137dcd1c4 info msg 2208345: bytes 243 from [EMAIL PROTECTED] qp 20856 uid 500 @40003e6f44713851f60c starting delivery 7: msg 2208345 to remote [EMAIL PROTECTED] @40003e6f447138559ba4 status: local 0/10 remote 1/20 @40003e6f44720cce9274 delivery 7: failure: Sorry._Although_I'm_listed_as_a_best-preference_MX_or_A_for_that_host,/it_is n't_in_my_control/locals_file,_so_I_don't_treat_it_as_local._(#5.4.6)/ @40003e6f44720ccefbec status: local 0/10 remote 0/20 @40003e6f44720d8fcb4c bounce msg 2208345 qp 20858 @40003e6f44720d8ffe14 end msg 2208345 @40003e6f44720da026cc new msg 2208348 @40003e6f44720da0460c info msg 2208348: bytes 870 from qp 20858 uid 510 @40003e6f44720e1fedbc starting delivery 8: msg 2208348 to remote [EMAIL PROTECTED] @40003e6f44720e239354 status: local 0/10 remote 1/20 @40003e6f44721bd10a54 delivery 8: failure: Sorry._Although_I'm_listed_as_a_best-preference_MX_or_A_for_that_host,/it_is n't_in_my_control/locals_file,_so_I_don't_treat_it_as_local._(#5.4.6)/ @40003e6f44721bd16fe4 status: local 0/10 remote 0/20 @40003e6f44721c96811c bounce msg 2208348 qp 20860 @40003e6f44721c96ac14 end msg 2208348 more info from /var/qmail/control: [EMAIL PROTECTED] control]# cat virtualdomains neg9.netnitco.net:neg9.netnitco.net neg0.netnitco.net:neg0.netnitco.net [EMAIL PROTECTED] control]# cat rcpthosts neg9.netnitco.net neg0.netnitco.net [EMAIL PROTECTED] control]# cat me neg9.netnitco.net [EMAIL PROTECTED] control]# cat plusdomain [EMAIL PROTECTED] control]# cat locals [EMAIL PROTECTED] control]# cat defaultdomain [EMAIL PROTECTED] control]# cat defaultdelivery ./Mailbox and /var/qmail/users/assign +neg9.netnitco.net-:neg9.netnitco.net:89:89:/usr/vpopmail/domains/neg9.netni tco.net:-:: +neg0.netnitco.net-:neg0.netnitco.net:89:89:/usr/vpopmail//domains/neg0.netn itco.net:-:: . how i start vpopmail: env - PATH=/var/qmail/bin:/usr/local/bin \ tcpserver -H -R 0 pop3 \ /var/qmail/bin/qmail-popup neg9.netnitco.net \ /usr/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir -- -- - I did actually read the errors and noticed it said it couldnt find the domain in the locals file. I do have neg9.netnitco.net and neg0.netnitco.net setup as virt domains in vpopmail so it should treat it as a virt domain. i dont think it is though. it seems like it recieves the message, and doesnt know where to put it, and then just gives up. 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. Any information you guys can give me would help a lot. -Scott
Re: [vchkpw] can not get any mail
okay, i tried that but still no go. What i dont understand is that the smtp server im sending through here at work should at least send me a message if it can not send the message to my box. And my box should send me a message if it has a problem with the e-mail. I dont get anything at all. and i can send e-mail from my box fine. thats no problem. I just am lost here. -Scott - Original Message - From: Rick Macdougall [EMAIL PROTECTED] To: Negative Nine [EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 11:08 AM Subject: Re: [vchkpw] can not get any mail Hi, What I was saying is that after adding domains to rcpthosts (or morercpthosts) you need to hup qmail-send so that it re-reads those files. Regards, Rick - Original Message - From: Negative Nine [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 11:53 AM Subject: Re: [vchkpw] can not get any mail if you are saying i need to kill qmail-send. okay, i tried killall and it did not kill it. i killed it with -9 and it restarted again a couple of seconds later. 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. -Scott - Original Message - From: Rick Macdougall [EMAIL PROTECTED] To: Negative Nine [EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 9:55 AM Subject: Re: [vchkpw] can not get any mail killall -HUP qmail-send Rick - Original Message - From: Negative Nine [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 10:53 AM Subject: [vchkpw] can not get any mail I just setup qmail and vpopmail on a redhat 7.2 box and for some reason i can not receive any mail i send to it. I dont get any bounce messages or anything, it just vanishes. Some info: -- -- - a tail from /var/log/qmail/current @40003e6f447137dc8b74 new msg 2208345 @40003e6f447137dcd1c4 info msg 2208345: bytes 243 from [EMAIL PROTECTED] qp 20856 uid 500 @40003e6f44713851f60c starting delivery 7: msg 2208345 to remote [EMAIL PROTECTED] @40003e6f447138559ba4 status: local 0/10 remote 1/20 @40003e6f44720cce9274 delivery 7: failure: Sorry._Although_I'm_listed_as_a_best-preference_MX_or_A_for_that_host,/it_is n't_in_my_control/locals_file,_so_I_don't_treat_it_as_local._(#5.4.6)/ @40003e6f44720ccefbec status: local 0/10 remote 0/20 @40003e6f44720d8fcb4c bounce msg 2208345 qp 20858 @40003e6f44720d8ffe14 end msg 2208345 @40003e6f44720da026cc new msg 2208348 @40003e6f44720da0460c info msg 2208348: bytes 870 from qp 20858 uid 510 @40003e6f44720e1fedbc starting delivery 8: msg 2208348 to remote [EMAIL PROTECTED] @40003e6f44720e239354 status: local 0/10 remote 1/20 @40003e6f44721bd10a54 delivery 8: failure: Sorry._Although_I'm_listed_as_a_best-preference_MX_or_A_for_that_host,/it_is n't_in_my_control/locals_file,_so_I_don't_treat_it_as_local._(#5.4.6)/ @40003e6f44721bd16fe4 status: local 0/10 remote 0/20 @40003e6f44721c96811c bounce msg 2208348 qp 20860 @40003e6f44721c96ac14 end msg 2208348 more info from /var/qmail/control: [EMAIL PROTECTED] control]# cat virtualdomains neg9.netnitco.net:neg9.netnitco.net neg0.netnitco.net:neg0.netnitco.net [EMAIL PROTECTED] control]# cat rcpthosts neg9.netnitco.net neg0.netnitco.net [EMAIL PROTECTED] control]# cat me neg9.netnitco.net [EMAIL PROTECTED] control]# cat plusdomain [EMAIL PROTECTED] control]# cat locals [EMAIL PROTECTED] control]# cat defaultdomain [EMAIL PROTECTED] control]# cat defaultdelivery ./Mailbox and /var/qmail/users/assign +neg9.netnitco.net-:neg9.netnitco.net:89:89:/usr/vpopmail/domains/neg9.netni tco.net:-:: +neg0.netnitco.net-:neg0.netnitco.net:89:89:/usr/vpopmail//domains/neg0.netn itco.net:-:: . how i start vpopmail: env - PATH=/var/qmail/bin:/usr/local/bin \ tcpserver -H -R 0 pop3 \ /var/qmail/bin/qmail-popup neg9.netnitco.net \ /usr/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir -- -- - I did actually read the errors and noticed it said it couldnt find the domain in the locals file. I do have neg9.netnitco.net and neg0.netnitco.net setup as virt domains in vpopmail so it should treat it as a virt domain. i dont think it is though. it seems like it recieves the message, and doesnt know where to put it, and then just gives up. 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. Any information you guys can give me would
[vchkpw] /var/log/messages activity
I am getting these three messages logged to var/log/messages every second or two... Can someone point me in the right direction? Its a fairly new situation. What have I done? G -- su: (to vpopmail) root on none PAM-unix2[number] Session started for user vpopmail, service su PAM-unix2[number] Session finished for user vpopmail, service su One man with courage makes it a majority. - Andrew Jackson *** * Mark Nicholas * MCSE MCP +I * Lawton Bros., Inc * [EMAIL PROTECTED] ***
[vchkpw] vpopmail+mysql config
Im looking thru vmysql.h and was wondering if it was OK to use a different login name instead of root for MySQL? -- Aj. Systems Administrator / Developer
Re: [vchkpw] vpopmail+mysql config
Hi Ajai, Im looking thru vmysql.h and was wondering if it was OK to use a different login name instead of root for MySQL? sure, just make certain that this user have the appropriate permissions to create/modifiy/access data, something like: GRANT select,insert,update,delete,create,drop ON your_vpopmail_db.* TO [EMAIL PROTECTED] IDENTIFIED BY 'your_pass'; Regards, -- Dorneles Treméa Caxias do Sul - RS - Brasil +55 54 9114 9312 - UIN: 2413568 X3ng Web Technology http://www.x3ng.com.br -BEGIN GEEK CODE BLOCK- Version: 3.12 GCS/IT d- s:-: a23 C+++ UBL$ P--- L++ E-- W+++ N++ o? K? w+ O M+ V-- PS+ PE- Y-- PGP++ t+ 5 X++ R+ tv+ b(++) DI+ D++ G e++ h r+++ y+++** --END GEEK CODE BLOCK-- pgp0.pgp Description: PGP signature
[vchkpw] What is up with mysql
I installed qmail and mysql and all the installs went correctly. I installed vpopmail with: ./configure \ --enable-roaming-users=y \ --enable-default-domain=whootis.com \ [EMAIL PROTECTED] \ --enable-logging=p \ --enable-defaultquota=5S \ --enable-ip-alias-domains=n \ --enable-passwd=n \ --enable-clear-passwd=y \ --enable-mysql=y \ --enable-many-domains=y \ --enable-auth-logging=y \ --enable-valias=y And when I try then to ./vadduser [EMAIL PROTECTED] password I get the error: vmysql: sql error[3]: Table 'vpopmail.vpopmail' doesn't exist Error: Domain does not exist I know the vpopmail MySQL user has all the privs it needs, cause I can log in as the user to the MySQL server and do what needs to be done. Wasn't this info suppose to be created during install? Or is there a step that I am missing here. To be sure if the domain exists I did: mail# ./vdominfo could not open assign file /var/qmail/users/assign zsh: segmentation fault (core dumped) ./vdominfo This is installed on OpenBSD 3.2 on i386. Anyone have a suggestions? Thanks Geoff
Re: [vchkpw] What is up with mysql
Wait let me follow up on this, that I CAN create other vdomains and users in those domains. However I can't seem to do anything with my default domain of whootis.com. Thanks Again Geoff On Wed, 2003-03-12 at 12:37, Geoff Sweet wrote: I installed qmail and mysql and all the installs went correctly. I installed vpopmail with: ./configure \ --enable-roaming-users=y \ --enable-default-domain=whootis.com \ [EMAIL PROTECTED] \ --enable-logging=p \ --enable-defaultquota=5S \ --enable-ip-alias-domains=n \ --enable-passwd=n \ --enable-clear-passwd=y \ --enable-mysql=y \ --enable-many-domains=y \ --enable-auth-logging=y \ --enable-valias=y And when I try then to ./vadduser [EMAIL PROTECTED] password I get the error: vmysql: sql error[3]: Table 'vpopmail.vpopmail' doesn't exist Error: Domain does not exist I know the vpopmail MySQL user has all the privs it needs, cause I can log in as the user to the MySQL server and do what needs to be done. Wasn't this info suppose to be created during install? Or is there a step that I am missing here. To be sure if the domain exists I did: mail# ./vdominfo could not open assign file /var/qmail/users/assign zsh: segmentation fault (core dumped) ./vdominfo This is installed on OpenBSD 3.2 on i386. Anyone have a suggestions? Thanks Geoff
Re: [vchkpw] What is up with mysql
Maybe I am reading this wrong.. but all that your config did was set the domains whootis.com as your default domain. If you have not created it then you don't have a default domain. What happens if you do ./vadddomain whootis.com Regards, Rob G [EMAIL PROTECTED] - Original Message - From: Geoff Sweet [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 3:43 PM Subject: Re: [vchkpw] What is up with mysql Wait let me follow up on this, that I CAN create other vdomains and users in those domains. However I can't seem to do anything with my default domain of whootis.com. Thanks Again Geoff On Wed, 2003-03-12 at 12:37, Geoff Sweet wrote: I installed qmail and mysql and all the installs went correctly. I installed vpopmail with: ./configure \ --enable-roaming-users=y \ --enable-default-domain=whootis.com \ [EMAIL PROTECTED] \ --enable-logging=p \ --enable-defaultquota=5S \ --enable-ip-alias-domains=n \ --enable-passwd=n \ --enable-clear-passwd=y \ --enable-mysql=y \ --enable-many-domains=y \ --enable-auth-logging=y \ --enable-valias=y And when I try then to ./vadduser [EMAIL PROTECTED] password I get the error: vmysql: sql error[3]: Table 'vpopmail.vpopmail' doesn't exist Error: Domain does not exist I know the vpopmail MySQL user has all the privs it needs, cause I can log in as the user to the MySQL server and do what needs to be done. Wasn't this info suppose to be created during install? Or is there a step that I am missing here. To be sure if the domain exists I did: mail# ./vdominfo could not open assign file /var/qmail/users/assign zsh: segmentation fault (core dumped) ./vdominfo This is installed on OpenBSD 3.2 on i386. Anyone have a suggestions? Thanks Geoff
Re: [vchkpw] What is up with mysql
BWAHAHA Yes yes I now see the error of my ways. 24hours without sleep does that to you. I misunderstood. I though that setting the default-domain actually *created* that whole bit. Yes I have now added the domain and things seem to be working just fine. Thanks for everyone's help! :-) Geoff Sweeetz On Wed, 2003-03-12 at 12:42, Rob G wrote: Maybe I am reading this wrong.. but all that your config did was set the domains whootis.com as your default domain. If you have not created it then you don't have a default domain. What happens if you do ./vadddomain whootis.com Regards, Rob G [EMAIL PROTECTED] - Original Message - From: Geoff Sweet [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 3:43 PM Subject: Re: [vchkpw] What is up with mysql Wait let me follow up on this, that I CAN create other vdomains and users in those domains. However I can't seem to do anything with my default domain of whootis.com. Thanks Again Geoff On Wed, 2003-03-12 at 12:37, Geoff Sweet wrote: I installed qmail and mysql and all the installs went correctly. I installed vpopmail with: ./configure \ --enable-roaming-users=y \ --enable-default-domain=whootis.com \ [EMAIL PROTECTED] \ --enable-logging=p \ --enable-defaultquota=5S \ --enable-ip-alias-domains=n \ --enable-passwd=n \ --enable-clear-passwd=y \ --enable-mysql=y \ --enable-many-domains=y \ --enable-auth-logging=y \ --enable-valias=y And when I try then to ./vadduser [EMAIL PROTECTED] password I get the error: vmysql: sql error[3]: Table 'vpopmail.vpopmail' doesn't exist Error: Domain does not exist I know the vpopmail MySQL user has all the privs it needs, cause I can log in as the user to the MySQL server and do what needs to be done. Wasn't this info suppose to be created during install? Or is there a step that I am missing here. To be sure if the domain exists I did: mail# ./vdominfo could not open assign file /var/qmail/users/assign zsh: segmentation fault (core dumped) ./vdominfo This is installed on OpenBSD 3.2 on i386. Anyone have a suggestions? Thanks Geoff
[vchkpw] POP before SMTP
Hello, I have a qmail + vpopmail setup with --enable-roaming-users=y. Users are able to authenticate and receive mail, and their IP is added to open-smtp. The problem is that it will authenticate a person and then allow them SMTP access iff they are on 65.243.94.* (our class c, the server's address is 65.243.94.6), but if they are coming from some other address, then although POP authentication works, they are not allowed to use SMTP. I'm sure I'm missing something silly, but I can't seem to find it. Any help will be greatly appreciated, thank you. andrew :) **My qmail-smtpd run script: ** #!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` if [ -z $QMAILDUID -o -z $NOFILESGID -o -z $MAXSMTPD ]; then echo QMAILDUID, NOFILESGID, or MAXSMTPD is unset in echo /var/qmail/supervise/qmail-smtpd/run exit 1 fi exec /usr/local/bin/softlimit -m 200 /usr/local/bin/tcpserver -v -R -l 0 -x /home/vpopmail/etc/tcp.smtp.cdb -c $MAXSMTPD -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 21 **This is the only thing in /etc/tcp.smtp and /home/vpopmail/etc/tcp.smtp:** 127.0.0.:allow,RELAYCLIENT= **Permissions and user/groups in /home/vpopmail/etc:** [EMAIL PROTECTED] etc]# ls -l total 24 -rw-r--r--1 vpopmail vchkpw 25 Mar 5 11:32 inc_deps -rw-r--r--1 vpopmail vchkpw 32 Mar 5 11:32 lib_deps -rw-r--r--1 root root 416 Mar 12 14:46 open-smtp -rw-r--r--1 vpopmail vchkpw 0 Mar 12 14:46 open-smtp.lock -rw-r--r--1 vpopmail vchkpw 30 Mar 12 14:02 tcp.smtp -rw-r--r--1 root root 2531 Mar 12 14:46 tcp.smtp.cdb **My qmail-showctl:** [EMAIL PROTECTED] bin]# ./qmail-showctl qmail home directory: /var/qmail. user-ext delimiter: -. paternalism (in decimal): 2. silent concurrency limit: 120. subdirectory split: 23. user ids: 500, 501, 502, 0, 503, 504, 505, 506. group ids: 500, 501. badmailfrom: (Default.) Any MAIL FROM is allowed. bouncefrom: (Default.) Bounce user name is MAILER-DAEMON. bouncehost: (Default.) Bounce host name is dustpuppy.powercalling.net. 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 powercalling.net. defaulthost: (Default.) Default host name is dustpuppy.powercalling.net. doublebouncehost: (Default.) 2B recipient host: dustpuppy.powercalling.net. doublebounceto: (Default.) 2B recipient user: postmaster. envnoathost: (Default.) Presumed domain name is dustpuppy.powercalling.net. helohost: (Default.) SMTP client HELO host name is dustpuppy.powercalling.net. idhost: (Default.) Message-ID host name is dustpuppy.powercalling.net. localiphost: (Default.) Local IP address becomes dustpuppy.powercalling.net. locals: Messages for dustpuppy.powercalling.net are delivered locally. me: My name is dustpuppy.powercalling.net. percenthack: (Default.) The percent hack is not allowed. plusdomain: Plus domain name is powercalling.net. qmqpservers: (Default.) No QMQP servers. queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds. rcpthosts: SMTP clients may send messages to recipients at dustpuppy.powercalling.net. SMTP clients may send messages to recipients at powercalling.net. morercpthosts: (Default.) No effect. morercpthosts.cdb: (Default.) No effect. smtpgreeting: (Default.) SMTP greeting: 220 dustpuppy.powercalling.net. smtproutes: (Default.) No artificial SMTP routes. timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds. timeoutremote: (Default.) SMTP client data timeout is 1200 seconds. timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds. virtualdomains: Virtual domain: powercalling.net:powercalling.net defaultdelivery: I have no idea what this file does. concurrencyincoming: I have no idea what this file does. concurrencypop3: I have no idea what this file does. qmail: I have no idea what this file does. rcpthosts.lock: I have no idea what this file does. virtualdomains.lock: I have no idea what this file does. locals.lock: I have no idea what this file does.
Re: [vchkpw] POP before SMTP
Hi Andrew, Hello, I have a qmail + vpopmail setup with --enable-roaming-users=y. Users are able to authenticate and receive mail, and their IP is added to open-smtp. Is tcp.smtp.cdb regenerated successfully? Use cdbdump from Dan's cdb package to find out: http://cr.yp.to/cdb/cdbmake.html The problem is that it will authenticate a person and then allow them SMTP access iff they are on 65.243.94.* (our class c, the server's address is 65.243.94.6), but if they are coming from some other address, then although POP authentication works, they are not allowed to use SMTP. Are you using an additional relaying technique besides static relaying (tcp.smtp) and roaming users, e.g. SMTP AUTH? Are you sure that messages from these hosts are actually to be _relayed_ instead of being locally delivered? Jonas