[vchkpw] Qmail+Vpopmail+Mysql
ola personal I am with a problem in my qmail I am using redhat 9,0 in this server this configured the qmail+myls+vpopmail the problem is that I do not obtain to order email for other dominĂos rejection of my net I forgive for asking for to help for here waiting a brief return of all. _Alexandre Ricardo S.SilvaNetwork Administrator Security AnalistCentral On Line ( Tornero Cia )Componentizar ( Componentizar )Fone: 11-5070-6796
Re: [vchkpw] qmail+vpopmail+mysql+courier-imap+gentoo empty relay table with roamingusers enabled
On Thursday 27 February 2003 02:12, bob ketterhagen wrote: This vpopmail-5.2.1-r4.ebuild everything is default nothing special, I have it working on numerous other servers with not a single problem. It' s just the newest mailserver I have built that I am having this problem on. I can send myself email and recieve it. I can remove the relay table, check my email and it readds it but, it continues to stay empty. bob ok.. i guess i might have an answer. courier-imap-1.7.ebuild makes use of authdaemon. authdaemon doesn't get the TCPREMOTEIP env variable. so: what should the poor vpopmail vopen_smtp_relay think it should set ?? i don't know, why this worked on your other servers. i guess you might be running another version of courier-imap. i have an ebuild for courier, which works.. but it's more or less a unclean hack. a quick'n'dirty solution: make sure /usr/lib/courier-imap/authlib/authvchkpw exists. replace the need net authdaemond lines in your /etc/init.d/courier* scripts with need net replace the AUTHMODULES=authdaemon line with AUTHMODULES=authvchkpw in your /etc/courier-imap/imapd /etc/courier-imap/imapd-ssl /etc/courier-imap/pop3d /etc/courier-imap/pop3d-ssl files. /etc/init.d/authdaemond stop /etc/init.d/courier-imap restart (i hope i've covered every variable i changed...) -- Best Regards --- Justin Heesemannionium Technologies [EMAIL PROTECTED]www.ionium.org
Re: [vchkpw] qmail+vpopmail+mysql+courier-imap+gentoo empty relaytable with roamingusers enabled
After totally removing it and starting from scratch I was able to hack the init/conf scripts to work correctly. Thanks again, bob On Thu, 2003-02-27 at 05:41, Justin Heesemann wrote: On Thursday 27 February 2003 02:12, bob ketterhagen wrote: This vpopmail-5.2.1-r4.ebuild everything is default nothing special, I have it working on numerous other servers with not a single problem. It' s just the newest mailserver I have built that I am having this problem on. I can send myself email and recieve it. I can remove the relay table, check my email and it readds it but, it continues to stay empty. bob ok.. i guess i might have an answer. courier-imap-1.7.ebuild makes use of authdaemon. authdaemon doesn't get the TCPREMOTEIP env variable. so: what should the poor vpopmail vopen_smtp_relay think it should set ?? i don't know, why this worked on your other servers. i guess you might be running another version of courier-imap. i have an ebuild for courier, which works.. but it's more or less a unclean hack. a quick'n'dirty solution: make sure /usr/lib/courier-imap/authlib/authvchkpw exists. replace the need net authdaemond lines in your /etc/init.d/courier* scripts with need net replace the AUTHMODULES=authdaemon line with AUTHMODULES=authvchkpw in your /etc/courier-imap/imapd /etc/courier-imap/imapd-ssl /etc/courier-imap/pop3d /etc/courier-imap/pop3d-ssl files. /etc/init.d/authdaemond stop /etc/init.d/courier-imap restart (i hope i've covered every variable i changed...) signature.asc Description: This is a digitally signed message part
Re: [vchkpw] qmail+vpopmail+mysql+courier-imap+gentoo empty relaytable with roamingusers enabled
The main problem was gentoo does not install authvchpw in /usr/lib/courier-imap/authlib/ Once you manually install that file. Hacking up the init and conf scripts is a breeze. bob On Thu, 2003-02-27 at 09:57, bob ketterhagen wrote: After totally removing it and starting from scratch I was able to hack the init/conf scripts to work correctly. Thanks again, bob On Thu, 2003-02-27 at 05:41, Justin Heesemann wrote: On Thursday 27 February 2003 02:12, bob ketterhagen wrote: This vpopmail-5.2.1-r4.ebuild everything is default nothing special, I have it working on numerous other servers with not a single problem. It' s just the newest mailserver I have built that I am having this problem on. I can send myself email and recieve it. I can remove the relay table, check my email and it readds it but, it continues to stay empty. bob ok.. i guess i might have an answer. courier-imap-1.7.ebuild makes use of authdaemon. authdaemon doesn't get the TCPREMOTEIP env variable. so: what should the poor vpopmail vopen_smtp_relay think it should set ?? i don't know, why this worked on your other servers. i guess you might be running another version of courier-imap. i have an ebuild for courier, which works.. but it's more or less a unclean hack. a quick'n'dirty solution: make sure /usr/lib/courier-imap/authlib/authvchkpw exists. replace the need net authdaemond lines in your /etc/init.d/courier* scripts with need net replace the AUTHMODULES=authdaemon line with AUTHMODULES=authvchkpw in your /etc/courier-imap/imapd /etc/courier-imap/imapd-ssl /etc/courier-imap/pop3d /etc/courier-imap/pop3d-ssl files. /etc/init.d/authdaemond stop /etc/init.d/courier-imap restart (i hope i've covered every variable i changed...) signature.asc Description: This is a digitally signed message part
Re: [vchkpw] qmail+vpopmail+mysql+courier-imap+gentoo empty relay table with roamingusers enabled
On Thursday 27 February 2003 01:26, bob ketterhagen wrote: Howdy, I have spent all day trying to figure out why my relay table in the vpopmail database is empty. I have previously had this same setup in gentoo a few months ago and never had a single problem. Currently I have rebuilt checked and rebuilt everything numerous time even from scratch and my database continues to stay empty. If i manually add the ip_addr and timestamp it works fine but it is not working properly like everyother server I have with this setup. I can't even isolate whether it is courier-imap or vpopmail. If anyone would like to enlighten me on what exactly my problem is that would be wonderful. well .. you can. just stop courier-imap and try to authentificate via pop3 (or keep courier running.. shouldn't matter) so now that we do know, that it's vpopmails fault, it would be very nice if you told us the vpopmail configuration string (or is it the vpopmail-5.2.1-r4.ebuild ? still.. many list members don't use gentoo) and your /service/qmail-pop3d/run file would be nice too :) I am using courier-imap 1.7.0 and vpopmail 5.2.1. -- Best Regards --- Justin Heesemannionium Technologies [EMAIL PROTECTED]www.ionium.org
Re: [vchkpw] qmail+vpopmail+mysql+courier-imap+gentoo empty relaytable with roamingusers enabled
This vpopmail-5.2.1-r4.ebuild everything is default nothing special, I have it working on numerous other servers with not a single problem. It' s just the newest mailserver I have built that I am having this problem on. I can send myself email and recieve it. I can remove the relay table, check my email and it readds it but, it continues to stay empty. bob On Wed, 2003-02-26 at 20:08, Justin Heesemann wrote: On Thursday 27 February 2003 01:26, bob ketterhagen wrote: Howdy, I have spent all day trying to figure out why my relay table in the vpopmail database is empty. I have previously had this same setup in gentoo a few months ago and never had a single problem. Currently I have rebuilt checked and rebuilt everything numerous time even from scratch and my database continues to stay empty. If i manually add the ip_addr and timestamp it works fine but it is not working properly like everyother server I have with this setup. I can't even isolate whether it is courier-imap or vpopmail. If anyone would like to enlighten me on what exactly my problem is that would be wonderful. well .. you can. just stop courier-imap and try to authentificate via pop3 (or keep courier running.. shouldn't matter) so now that we do know, that it's vpopmails fault, it would be very nice if you told us the vpopmail configuration string (or is it the vpopmail-5.2.1-r4.ebuild ? still.. many list members don't use gentoo) and your /service/qmail-pop3d/run file would be nice too :) I am using courier-imap 1.7.0 and vpopmail 5.2.1. signature.asc Description: This is a digitally signed message part
[vchkpw] qmail+vpopmail+mysql+courier-imap+gentoo empty relay table withroamingusers enabled
Howdy, I have spent all day trying to figure out why my relay table in the vpopmail database is empty. I have previously had this same setup in gentoo a few months ago and never had a single problem. Currently I have rebuilt checked and rebuilt everything numerous time even from scratch and my database continues to stay empty. If i manually add the ip_addr and timestamp it works fine but it is not working properly like everyother server I have with this setup. I can't even isolate whether it is courier-imap or vpopmail. If anyone would like to enlighten me on what exactly my problem is that would be wonderful. I am using courier-imap 1.7.0 and vpopmail 5.2.1. bob signature.asc Description: This is a digitally signed message part
RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8
Tom, I believe I figured out what was causing the problem. In the virtual domains file there was a hidden ^M at the end of the domain. When I removed the ^M, everything worked just fine. Thanks for responding. Keith -Original Message- From: Tom Walsh [mailto:[EMAIL PROTECTED]] Sent: Monday, December 30, 2002 1:02 PM To: Lapidus, Keith; [EMAIL PROTECTED] Subject: RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8 Keith, In an effort to troubleshoot this particular problem... Would it be possible for you to alter the assign file to also include an entry for kelnet.net_ but point to the same information as the other entry in the assign file? Then see if it works... (this would test the rest of the vpopmail installation as it sits.) I am pretty sure it will because of the stray _ in there. I have to wonder where that is coming from. Seems like it might be a bug with the gcc compiler or the glibc itself... as I have heard there are some issues with that gcc compiler... I am not really sure... As I understand the process qmail-smtpd receives the mail and then hands it over to vckpw which mangles the user information into the EXT compatiable format [EMAIL PROTECTED] (which vdelievermail uses when the variables come from qmail-local/qmail-command). It might be possible that vckpw is suspect in RH8.0 when compiled with that version of gcc... I read that you tried the compiled binaries on RH8.0 but I think you are talking about qmail not vpopmail (which is where the issue probably resides). Good luck on getting it sorted... I could dig through the code, but I am having my own issues that I am trying to dig through the code to find right now... (post forth coming shortly). Let me know what you find out. I am always curious when something odd like this pops up. Tom Walsh Network Administrator http://www.ala.net/ ::-Original Message- ::From: Lapidus, Keith [mailto:[EMAIL PROTECTED]] ::Sent: Monday, December 30, 2002 12:21 PM ::To: Tom Walsh; [EMAIL PROTECTED] ::Subject: RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8 :: :: ::Tom, :: ::Thanks for the info although I believe that everything is configured ::correctly. I did notice something interesting though. When I send mail ::to the 8.0 server and watch the log file for the starting delivery ::messages I see this: :: ::@40003e108cb13a39e81c new msg 196739 ::@40003e108cb13a39ff8c info msg 196739: bytes 57171 from ::[EMAIL PROTECTED] qp 13176 uid 502 ::@40003e108cb13ac7439c starting delivery 1: msg 196739 to local ::[EMAIL PROTECTED] ::@40003e108cb13ac75b0c status: local 1/10 remote 0/20 ::@40003e108cb13b17b944 delivery 1: failure: ::Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ ::@40003e108cb13b17d884 status: local 0/10 remote 0/20 :: ::Notice where it says starting delivery 1: msg 196739 to local ::[EMAIL PROTECTED] there is a _ attached to kelnet.net_. This ::would explain why qmail is not talking to vpopmail. I am not sure why ::this is happening because when I do the same thing on the 7.3 box, the ::extra _ is not there and the correct virtual domain is found as shown ::below: :: ::@40003e1089a12edf07f4 new msg 58686 ::@40003e1089a12edf234c info msg 58686: bytes 57192 from ::[EMAIL PROTECTED] qp 3843 uid 502 ::@40003e1089a1342ae96c starting delivery 21: msg 58686 to local ::[EMAIL PROTECTED] ::@40003e1089a1342b04c4 status: local 1/10 remote 0/20 ::@40003e1089a137502ddc delivery 21: success: did_0+0+1/ ::@40003e1089a137504d1c status: local 0/10 remote 0/20 ::@40003e1089a1375054ec end msg 58686 :: ::For grins, I recompiled qmail on the 7.3 box and installed the compiled ::binaries on the 8.0 box but still have this problem. My thoughts were ::that the 7.3 box is using gcc 2.96 and the 8.0 box is using gcc 3.2. :: ::Any thoughts or should I possibly defer to the qmail board or maybe ::downgrade to 7.3 from 8.0 redhat? :: ::-Original Message- ::From: Tom Walsh [mailto:[EMAIL PROTECTED]] ::Sent: Monday, December 30, 2002 11:09 AM ::To: Lapidus, Keith; [EMAIL PROTECTED] ::Subject: RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8 :: :: ::Keith, :: ::I have seen this problem one time in the past when I was setting up a ::Free BSD machine. :: ::I don't recall the specific details as to why it was doing this, just ::that is was. :: ::I think the problem is related to the configuration of qmail and ::specifically the assign file. Make sure that your assign file references ::the correct domain name and storage path... :: ::The storage path for the domian is highly important as it is where qmail ::looks for the .qmail-default that vdelivermail ends up running from... :: ::Hope that helps. :: ::Tom Walsh ::Network Administrator ::http://www.ala.net/ :: :: -Original Message- From: Lapidus, Keith [mailto:[EMAIL PROTECTED]] Sent: Monday, December 30, 2002 10:22 AM To: Tom Walsh; [EMAIL PROTECTED] Subject: RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8
[vchkpw] qmail + vpopmail + mysql + Redhat 8
Title: qmail + vpopmail + mysql + Redhat 8 I have two servers; one with Redhat 8 installed and one with redhat 7.3 installed. They both have mysql and qmail installed and configured identically. The redhat 7.3 server can send and receive email just fine using vpopmail 5.2.1. When I configure the Redhat 8 server to be the primary mailserver with vpopmail, always gives me the following error: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ I've tried the newer version of vpopmail but have not gotten it to work. Has anyone else gotten qmail and vpopmail to work with Redhat 8?
RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8
Title: qmail + vpopmail + mysql + Redhat 8 -Original Message-From: Lapidus, Keith [mailto:[EMAIL PROTECTED]]Sent: 30 December 2002 06:50To: [EMAIL PROTECTED]Subject: [vchkpw] qmail + vpopmail + mysql + Redhat 8 I have two servers; one with Redhat 8 installed and one with redhat 7.3 installed. They both have mysql and qmail installed and configured identically. The redhat 7.3 server can send and receive email just fine using vpopmail 5.2.1. When I configure the Redhat 8 server to be the primary mailserver with vpopmail, always gives me the following error: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ I've tried the newer version of vpopmail but have not gotten it to work. Has anyone else gotten qmail and vpopmail to work with Redhat 8? [Matt Darcy]Looks like your user accounts are on the7.3 server and database. export the vpopmail database and import it on the 8.0 box and copythe domains from $VPOPMAILHOME/domains on the 7.3 machine to the 8.0 $VPOPMAILHOME/domains Just a thought
FW: [vchkpw] qmail + vpopmail + mysql + Redhat 8
Title: Message Actually, vpopmail on the 8.0 box and is NFS exported to the 7.3 box. As for the user accounts, the mysql server is running on the 7.3 as a primary and is replicated on the 8.0 server. In fact, I currently have vpopmail setup to read from the 8.0 box mysql server and write to the 7.3 box mysql server. That works just fine. -Original Message-From: Matt Darcy [mailto:[EMAIL PROTECTED]] Sent: Monday, December 30, 2002 4:53 PMTo: Lapidus, Keith; [EMAIL PROTECTED]Subject: RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8 -Original Message-From: Lapidus, Keith [mailto:[EMAIL PROTECTED]]Sent: 30 December 2002 06:50To: [EMAIL PROTECTED]Subject: [vchkpw] qmail + vpopmail + mysql + Redhat 8 I have two servers; one with Redhat 8 installed and one with redhat 7.3 installed. They both have mysql and qmail installed and configured identically. The redhat 7.3 server can send and receive email just fine using vpopmail 5.2.1. When I configure the Redhat 8 server to be the primary mailserver with vpopmail, always gives me the following error: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ I've tried the newer version of vpopmail but have not gotten it to work. Has anyone else gotten qmail and vpopmail to work with Redhat 8? [Matt Darcy]Looks like your user accounts are on the7.3 server and database. export the vpopmail database and import it on the 8.0 box and copythe domains from $VPOPMAILHOME/domains on the 7.3 machine to the 8.0 $VPOPMAILHOME/domains Just a thought
RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8
From the error message, you can determine that vpopmail is not being run on that particular mailbox. failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ Note the lack of vpopmail in that line... A typical vpopmail bounce (meaning that it got to the vdeliver application but when the look up went to the DB it didn't find it) will read: Sorry,_no_mailbox_here_by_that_name._vpopmail_(#5.1.1) Check your vpopmail install on the RH 8.0 machine. Tom Walsh Network Administrator http://www.ala.net/ -Original Message- From: Lapidus, Keith [mailto:[EMAIL PROTECTED]] Sent: Monday, December 30, 2002 9:45 AM To: [EMAIL PROTECTED] Subject: FW: [vchkpw] qmail + vpopmail + mysql + Redhat 8 Actually, vpopmail on the 8.0 box and is NFS exported to the 7.3 box. As for the user accounts, the mysql server is running on the 7.3 as a primary and is replicated on the 8.0 server. In fact, I currently have vpopmail setup to read from the 8.0 box mysql server and write to the 7.3 box mysql server. That works just fine. -Original Message- From: Matt Darcy [mailto:[EMAIL PROTECTED]] Sent: Monday, December 30, 2002 4:53 PM To: Lapidus, Keith; [EMAIL PROTECTED] Subject: RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8 -Original Message- From: Lapidus, Keith [mailto:[EMAIL PROTECTED]] Sent: 30 December 2002 06:50 To: [EMAIL PROTECTED] Subject: [vchkpw] qmail + vpopmail + mysql + Redhat 8 I have two servers; one with Redhat 8 installed and one with redhat 7.3 installed. They both have mysql and qmail installed and configured identically. The redhat 7.3 server can send and receive email just fine using vpopmail 5.2.1. When I configure the Redhat 8 server to be the primary mailserver with vpopmail, always gives me the following error: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ I've tried the newer version of vpopmail but have not gotten it to work. Has anyone else gotten qmail and vpopmail to work with Redhat 8? [Matt Darcy] Looks like your user accounts are on the 7.3 server and database. export the vpopmail database and import it on the 8.0 box and copy the domains from $VPOPMAILHOME/domains on the 7.3 machine to the 8.0 $VPOPMAILHOME/domains Just a thought
RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8
I understand where you are coming from, and I have installed and reinstalled vpopmail many times on the 8.0 machine, and have tried local commands to make sure vpopmail works and it does. For some reason, qmail is not using vpopmail. Do you think this is actually a qmail problem? -Original Message- From: Tom Walsh [mailto:[EMAIL PROTECTED]] Sent: Monday, December 30, 2002 9:59 AM To: Lapidus, Keith; [EMAIL PROTECTED] Subject: RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8 From the error message, you can determine that vpopmail is not being run on that particular mailbox. failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ Note the lack of vpopmail in that line... A typical vpopmail bounce (meaning that it got to the vdeliver application but when the look up went to the DB it didn't find it) will read: Sorry,_no_mailbox_here_by_that_name._vpopmail_(#5.1.1) Check your vpopmail install on the RH 8.0 machine. Tom Walsh Network Administrator http://www.ala.net/ -Original Message- From: Lapidus, Keith [mailto:[EMAIL PROTECTED]] Sent: Monday, December 30, 2002 9:45 AM To: [EMAIL PROTECTED] Subject: FW: [vchkpw] qmail + vpopmail + mysql + Redhat 8 Actually, vpopmail on the 8.0 box and is NFS exported to the 7.3 box. As for the user accounts, the mysql server is running on the 7.3 as a primary and is replicated on the 8.0 server. In fact, I currently have vpopmail setup to read from the 8.0 box mysql server and write to the 7.3 box mysql server. That works just fine. -Original Message- From: Matt Darcy [mailto:[EMAIL PROTECTED]] Sent: Monday, December 30, 2002 4:53 PM To: Lapidus, Keith; [EMAIL PROTECTED] Subject: RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8 -Original Message- From: Lapidus, Keith [mailto:[EMAIL PROTECTED]] Sent: 30 December 2002 06:50 To: [EMAIL PROTECTED] Subject: [vchkpw] qmail + vpopmail + mysql + Redhat 8 I have two servers; one with Redhat 8 installed and one with redhat 7.3 installed. They both have mysql and qmail installed and configured identically. The redhat 7.3 server can send and receive email just fine using vpopmail 5.2.1. When I configure the Redhat 8 server to be the primary mailserver with vpopmail, always gives me the following error: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ I've tried the newer version of vpopmail but have not gotten it to work. Has anyone else gotten qmail and vpopmail to work with Redhat 8? [Matt Darcy] Looks like your user accounts are on the 7.3 server and database. export the vpopmail database and import it on the 8.0 box and copy the domains from $VPOPMAILHOME/domains on the 7.3 machine to the 8.0 $VPOPMAILHOME/domains Just a thought
Re: [vchkpw] qmail + vpopmail + mysql + Redhat 8
What do your qmail control files look like? /var/qmail/control/virtualdomains /var/qmail/control/rcpthosts /var/qmail/users/assign I'm assuming they're correct, otherwise we'd probably get an error about that domain not being in qmail's allowed list of rcpthosts. But it can't hurt to check. I'd be most interested in /var/qmail/users/assign. On Monday, December 30, 2002, at 08:22 AM, Lapidus, Keith wrote: I understand where you are coming from, and I have installed and reinstalled vpopmail many times on the 8.0 machine, and have tried local commands to make sure vpopmail works and it does. For some reason, qmail is not using vpopmail. Do you think this is actually a qmail problem? -Original Message- From: Tom Walsh [mailto:[EMAIL PROTECTED]] Sent: Monday, December 30, 2002 9:59 AM To: Lapidus, Keith; [EMAIL PROTECTED] Subject: RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8 From the error message, you can determine that vpopmail is not being run on that particular mailbox. failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ Note the lack of vpopmail in that line... A typical vpopmail bounce (meaning that it got to the vdeliver application but when the look up went to the DB it didn't find it) will read: Sorry,_no_mailbox_here_by_that_name._vpopmail_(#5.1.1) Check your vpopmail install on the RH 8.0 machine. Tom Walsh Network Administrator http://www.ala.net/ -Original Message- From: Lapidus, Keith [mailto:[EMAIL PROTECTED]] Sent: Monday, December 30, 2002 9:45 AM To: [EMAIL PROTECTED] Subject: FW: [vchkpw] qmail + vpopmail + mysql + Redhat 8 Actually, vpopmail on the 8.0 box and is NFS exported to the 7.3 box. As for the user accounts, the mysql server is running on the 7.3 as a primary and is replicated on the 8.0 server. In fact, I currently have vpopmail setup to read from the 8.0 box mysql server and write to the 7.3 box mysql server. That works just fine. -Original Message- From: Matt Darcy [mailto:[EMAIL PROTECTED]] Sent: Monday, December 30, 2002 4:53 PM To: Lapidus, Keith; [EMAIL PROTECTED] Subject: RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8 -Original Message- From: Lapidus, Keith [mailto:[EMAIL PROTECTED]] Sent: 30 December 2002 06:50 To: [EMAIL PROTECTED] Subject: [vchkpw] qmail + vpopmail + mysql + Redhat 8 I have two servers; one with Redhat 8 installed and one with redhat 7.3 installed. They both have mysql and qmail installed and configured identically. The redhat 7.3 server can send and receive email just fine using vpopmail 5.2.1. When I configure the Redhat 8 server to be the primary mailserver with vpopmail, always gives me the following error: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ I've tried the newer version of vpopmail but have not gotten it to work. Has anyone else gotten qmail and vpopmail to work with Redhat 8? [Matt Darcy] Looks like your user accounts are on the 7.3 server and database. export the vpopmail database and import it on the 8.0 box and copy the domains from $VPOPMAILHOME/domains on the 7.3 machine to the 8.0 $VPOPMAILHOME/domains Just a thought
RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8
With the exception of rcpthosts, both the 7.3 and 8.0 boxes qmail are configured and installed from the same source. Below are the requested file contents: /var/qmail/control/virtualdomains kelnet.net:kelnet.net /var/qmail/control/rcpthosts localhost ns1.kelnet.net q.kelnet.net smtp1.kelnet.net kelnet.net .kelnet.net /var/qmail/users/assign +kelnet.net-:kelnet.net:89:89:/var/vpopmail/domains/kelnet.net:-:: . -Original Message- From: Clayton Weise [mailto:[EMAIL PROTECTED]] Sent: Monday, December 30, 2002 10:37 AM To: vchkpw Subject: Re: [vchkpw] qmail + vpopmail + mysql + Redhat 8 What do your qmail control files look like? /var/qmail/control/virtualdomains /var/qmail/control/rcpthosts /var/qmail/users/assign I'm assuming they're correct, otherwise we'd probably get an error about that domain not being in qmail's allowed list of rcpthosts. But it can't hurt to check. I'd be most interested in /var/qmail/users/assign. On Monday, December 30, 2002, at 08:22 AM, Lapidus, Keith wrote: I understand where you are coming from, and I have installed and reinstalled vpopmail many times on the 8.0 machine, and have tried local commands to make sure vpopmail works and it does. For some reason, qmail is not using vpopmail. Do you think this is actually a qmail problem? -Original Message- From: Tom Walsh [mailto:[EMAIL PROTECTED]] Sent: Monday, December 30, 2002 9:59 AM To: Lapidus, Keith; [EMAIL PROTECTED] Subject: RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8 From the error message, you can determine that vpopmail is not being run on that particular mailbox. failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ Note the lack of vpopmail in that line... A typical vpopmail bounce (meaning that it got to the vdeliver application but when the look up went to the DB it didn't find it) will read: Sorry,_no_mailbox_here_by_that_name._vpopmail_(#5.1.1) Check your vpopmail install on the RH 8.0 machine. Tom Walsh Network Administrator http://www.ala.net/ -Original Message- From: Lapidus, Keith [mailto:[EMAIL PROTECTED]] Sent: Monday, December 30, 2002 9:45 AM To: [EMAIL PROTECTED] Subject: FW: [vchkpw] qmail + vpopmail + mysql + Redhat 8 Actually, vpopmail on the 8.0 box and is NFS exported to the 7.3 box. As for the user accounts, the mysql server is running on the 7.3 as a primary and is replicated on the 8.0 server. In fact, I currently have vpopmail setup to read from the 8.0 box mysql server and write to the 7.3 box mysql server. That works just fine. -Original Message- From: Matt Darcy [mailto:[EMAIL PROTECTED]] Sent: Monday, December 30, 2002 4:53 PM To: Lapidus, Keith; [EMAIL PROTECTED] Subject: RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8 -Original Message- From: Lapidus, Keith [mailto:[EMAIL PROTECTED]] Sent: 30 December 2002 06:50 To: [EMAIL PROTECTED] Subject: [vchkpw] qmail + vpopmail + mysql + Redhat 8 I have two servers; one with Redhat 8 installed and one with redhat 7.3 installed. They both have mysql and qmail installed and configured identically. The redhat 7.3 server can send and receive email just fine using vpopmail 5.2.1. When I configure the Redhat 8 server to be the primary mailserver with vpopmail, always gives me the following error: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ I've tried the newer version of vpopmail but have not gotten it to work. Has anyone else gotten qmail and vpopmail to work with Redhat 8? [Matt Darcy] Looks like your user accounts are on the 7.3 server and database. export the vpopmail database and import it on the 8.0 box and copy the domains from $VPOPMAILHOME/domains on the 7.3 machine to the 8.0 $VPOPMAILHOME/domains Just a thought
RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8
Keith, I have seen this problem one time in the past when I was setting up a Free BSD machine. I don't recall the specific details as to why it was doing this, just that is was. I think the problem is related to the configuration of qmail and specifically the assign file. Make sure that your assign file references the correct domain name and storage path... The storage path for the domian is highly important as it is where qmail looks for the .qmail-default that vdelivermail ends up running from... Hope that helps. Tom Walsh Network Administrator http://www.ala.net/ ::-Original Message- ::From: Lapidus, Keith [mailto:[EMAIL PROTECTED]] ::Sent: Monday, December 30, 2002 10:22 AM ::To: Tom Walsh; [EMAIL PROTECTED] ::Subject: RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8 :: :: ::I understand where you are coming from, and I have installed and ::reinstalled vpopmail many times on the 8.0 machine, and have tried local ::commands to make sure vpopmail works and it does. For some reason, ::qmail is not using vpopmail. Do you think this is actually a qmail ::problem? :: ::-Original Message- ::From: Tom Walsh [mailto:[EMAIL PROTECTED]] ::Sent: Monday, December 30, 2002 9:59 AM ::To: Lapidus, Keith; [EMAIL PROTECTED] ::Subject: RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8 :: :: ::From the error message, you can determine that vpopmail is not being run ::on that particular mailbox. :: ::failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ :: ::Note the lack of vpopmail in that line... A typical vpopmail bounce ::(meaning that it got to the vdeliver application but when the look up ::went to the DB it didn't find it) will read: :: ::Sorry,_no_mailbox_here_by_that_name._vpopmail_(#5.1.1) :: ::Check your vpopmail install on the RH 8.0 machine. :: ::Tom Walsh ::Network Administrator ::http://www.ala.net/ :: :: ::-Original Message- ::From: Lapidus, Keith [mailto:[EMAIL PROTECTED]] ::Sent: Monday, December 30, 2002 9:45 AM ::To: [EMAIL PROTECTED] ::Subject: FW: [vchkpw] qmail + vpopmail + mysql + Redhat 8 :: :: :: :: ::Actually, vpopmail on the 8.0 box and is NFS exported to the 7.3 box. ::As for the user accounts, the mysql server is running on the 7.3 as a ::primary and is replicated on the 8.0 server. In fact, I currently have ::vpopmail setup to read from the 8.0 box mysql server and write to the ::7.3 box mysql server. That works just fine. -Original Message- ::From: Matt Darcy [mailto:[EMAIL PROTECTED]] ::Sent: Monday, December 30, 2002 4:53 PM ::To: Lapidus, Keith; [EMAIL PROTECTED] ::Subject: RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8 :: :: :: ::-Original Message- ::From: Lapidus, Keith [mailto:[EMAIL PROTECTED]] ::Sent: 30 December 2002 06:50 ::To: [EMAIL PROTECTED] ::Subject: [vchkpw] qmail + vpopmail + mysql + Redhat 8 :: :: ::I have two servers; one with Redhat 8 installed and one with redhat 7.3 ::installed. They both have mysql and qmail installed and configured ::identically. The redhat 7.3 server can send and receive email just fine ::using vpopmail 5.2.1. When I configure the Redhat 8 server to be the ::primary mailserver with vpopmail, always gives me the following error: :: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ :: I've tried the newer version of vpopmail but have not gotten it to ::work. Has anyone else gotten qmail and vpopmail to work with Redhat 8? :: ::[Matt Darcy] Looks like your user accounts are on the 7.3 server and ::database. :: ::export the vpopmail database and import it on the 8.0 box and copy the ::domains from $VPOPMAILHOME/domains on the 7.3 machine to the 8.0 ::$VPOPMAILHOME/domains :: ::Just a thought :: ::
RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8
Tom, Thanks for the info although I believe that everything is configured correctly. I did notice something interesting though. When I send mail to the 8.0 server and watch the log file for the starting delivery messages I see this: @40003e108cb13a39e81c new msg 196739 @40003e108cb13a39ff8c info msg 196739: bytes 57171 from [EMAIL PROTECTED] qp 13176 uid 502 @40003e108cb13ac7439c starting delivery 1: msg 196739 to local [EMAIL PROTECTED] @40003e108cb13ac75b0c status: local 1/10 remote 0/20 @40003e108cb13b17b944 delivery 1: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ @40003e108cb13b17d884 status: local 0/10 remote 0/20 Notice where it says starting delivery 1: msg 196739 to local [EMAIL PROTECTED] there is a _ attached to kelnet.net_. This would explain why qmail is not talking to vpopmail. I am not sure why this is happening because when I do the same thing on the 7.3 box, the extra _ is not there and the correct virtual domain is found as shown below: @40003e1089a12edf07f4 new msg 58686 @40003e1089a12edf234c info msg 58686: bytes 57192 from [EMAIL PROTECTED] qp 3843 uid 502 @40003e1089a1342ae96c starting delivery 21: msg 58686 to local [EMAIL PROTECTED] @40003e1089a1342b04c4 status: local 1/10 remote 0/20 @40003e1089a137502ddc delivery 21: success: did_0+0+1/ @40003e1089a137504d1c status: local 0/10 remote 0/20 @40003e1089a1375054ec end msg 58686 For grins, I recompiled qmail on the 7.3 box and installed the compiled binaries on the 8.0 box but still have this problem. My thoughts were that the 7.3 box is using gcc 2.96 and the 8.0 box is using gcc 3.2. Any thoughts or should I possibly defer to the qmail board or maybe downgrade to 7.3 from 8.0 redhat? -Original Message- From: Tom Walsh [mailto:[EMAIL PROTECTED]] Sent: Monday, December 30, 2002 11:09 AM To: Lapidus, Keith; [EMAIL PROTECTED] Subject: RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8 Keith, I have seen this problem one time in the past when I was setting up a Free BSD machine. I don't recall the specific details as to why it was doing this, just that is was. I think the problem is related to the configuration of qmail and specifically the assign file. Make sure that your assign file references the correct domain name and storage path... The storage path for the domian is highly important as it is where qmail looks for the .qmail-default that vdelivermail ends up running from... Hope that helps. Tom Walsh Network Administrator http://www.ala.net/ ::-Original Message- ::From: Lapidus, Keith [mailto:[EMAIL PROTECTED]] ::Sent: Monday, December 30, 2002 10:22 AM ::To: Tom Walsh; [EMAIL PROTECTED] ::Subject: RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8 :: :: ::I understand where you are coming from, and I have installed and ::reinstalled vpopmail many times on the 8.0 machine, and have tried local ::commands to make sure vpopmail works and it does. For some reason, ::qmail is not using vpopmail. Do you think this is actually a qmail ::problem? :: ::-Original Message- ::From: Tom Walsh [mailto:[EMAIL PROTECTED]] ::Sent: Monday, December 30, 2002 9:59 AM ::To: Lapidus, Keith; [EMAIL PROTECTED] ::Subject: RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8 :: :: ::From the error message, you can determine that vpopmail is not being run ::on that particular mailbox. :: ::failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ :: ::Note the lack of vpopmail in that line... A typical vpopmail bounce ::(meaning that it got to the vdeliver application but when the look up ::went to the DB it didn't find it) will read: :: ::Sorry,_no_mailbox_here_by_that_name._vpopmail_(#5.1.1) :: ::Check your vpopmail install on the RH 8.0 machine. :: ::Tom Walsh ::Network Administrator ::http://www.ala.net/ :: :: ::-Original Message- ::From: Lapidus, Keith [mailto:[EMAIL PROTECTED]] ::Sent: Monday, December 30, 2002 9:45 AM ::To: [EMAIL PROTECTED] ::Subject: FW: [vchkpw] qmail + vpopmail + mysql + Redhat 8 :: :: :: :: ::Actually, vpopmail on the 8.0 box and is NFS exported to the 7.3 box. ::As for the user accounts, the mysql server is running on the 7.3 as a ::primary and is replicated on the 8.0 server. In fact, I currently have ::vpopmail setup to read from the 8.0 box mysql server and write to the ::7.3 box mysql server. That works just fine. -Original Message- ::From: Matt Darcy [mailto:[EMAIL PROTECTED]] ::Sent: Monday, December 30, 2002 4:53 PM ::To: Lapidus, Keith; [EMAIL PROTECTED] ::Subject: RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8 :: :: :: ::-Original Message- ::From: Lapidus, Keith [mailto:[EMAIL PROTECTED]] ::Sent: 30 December 2002 06:50 ::To: [EMAIL PROTECTED] ::Subject: [vchkpw] qmail + vpopmail + mysql + Redhat 8 :: :: ::I have two servers; one with Redhat 8 installed and one with redhat 7.3 ::installed. They both have mysql and qmail installed and configured ::identically. The redhat 7.3 server can send
RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8
Keith, In an effort to troubleshoot this particular problem... Would it be possible for you to alter the assign file to also include an entry for kelnet.net_ but point to the same information as the other entry in the assign file? Then see if it works... (this would test the rest of the vpopmail installation as it sits.) I am pretty sure it will because of the stray _ in there. I have to wonder where that is coming from. Seems like it might be a bug with the gcc compiler or the glibc itself... as I have heard there are some issues with that gcc compiler... I am not really sure... As I understand the process qmail-smtpd receives the mail and then hands it over to vckpw which mangles the user information into the EXT compatiable format [EMAIL PROTECTED] (which vdelievermail uses when the variables come from qmail-local/qmail-command). It might be possible that vckpw is suspect in RH8.0 when compiled with that version of gcc... I read that you tried the compiled binaries on RH8.0 but I think you are talking about qmail not vpopmail (which is where the issue probably resides). Good luck on getting it sorted... I could dig through the code, but I am having my own issues that I am trying to dig through the code to find right now... (post forth coming shortly). Let me know what you find out. I am always curious when something odd like this pops up. Tom Walsh Network Administrator http://www.ala.net/ ::-Original Message- ::From: Lapidus, Keith [mailto:[EMAIL PROTECTED]] ::Sent: Monday, December 30, 2002 12:21 PM ::To: Tom Walsh; [EMAIL PROTECTED] ::Subject: RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8 :: :: ::Tom, :: ::Thanks for the info although I believe that everything is configured ::correctly. I did notice something interesting though. When I send mail ::to the 8.0 server and watch the log file for the starting delivery ::messages I see this: :: ::@40003e108cb13a39e81c new msg 196739 ::@40003e108cb13a39ff8c info msg 196739: bytes 57171 from ::[EMAIL PROTECTED] qp 13176 uid 502 ::@40003e108cb13ac7439c starting delivery 1: msg 196739 to local ::[EMAIL PROTECTED] ::@40003e108cb13ac75b0c status: local 1/10 remote 0/20 ::@40003e108cb13b17b944 delivery 1: failure: ::Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ ::@40003e108cb13b17d884 status: local 0/10 remote 0/20 :: ::Notice where it says starting delivery 1: msg 196739 to local ::[EMAIL PROTECTED] there is a _ attached to kelnet.net_. This ::would explain why qmail is not talking to vpopmail. I am not sure why ::this is happening because when I do the same thing on the 7.3 box, the ::extra _ is not there and the correct virtual domain is found as shown ::below: :: ::@40003e1089a12edf07f4 new msg 58686 ::@40003e1089a12edf234c info msg 58686: bytes 57192 from ::[EMAIL PROTECTED] qp 3843 uid 502 ::@40003e1089a1342ae96c starting delivery 21: msg 58686 to local ::[EMAIL PROTECTED] ::@40003e1089a1342b04c4 status: local 1/10 remote 0/20 ::@40003e1089a137502ddc delivery 21: success: did_0+0+1/ ::@40003e1089a137504d1c status: local 0/10 remote 0/20 ::@40003e1089a1375054ec end msg 58686 :: ::For grins, I recompiled qmail on the 7.3 box and installed the compiled ::binaries on the 8.0 box but still have this problem. My thoughts were ::that the 7.3 box is using gcc 2.96 and the 8.0 box is using gcc 3.2. :: ::Any thoughts or should I possibly defer to the qmail board or maybe ::downgrade to 7.3 from 8.0 redhat? :: ::-Original Message- ::From: Tom Walsh [mailto:[EMAIL PROTECTED]] ::Sent: Monday, December 30, 2002 11:09 AM ::To: Lapidus, Keith; [EMAIL PROTECTED] ::Subject: RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8 :: :: ::Keith, :: ::I have seen this problem one time in the past when I was setting up a ::Free BSD machine. :: ::I don't recall the specific details as to why it was doing this, just ::that is was. :: ::I think the problem is related to the configuration of qmail and ::specifically the assign file. Make sure that your assign file references ::the correct domain name and storage path... :: ::The storage path for the domian is highly important as it is where qmail ::looks for the .qmail-default that vdelivermail ends up running from... :: ::Hope that helps. :: ::Tom Walsh ::Network Administrator ::http://www.ala.net/ :: :: -Original Message- From: Lapidus, Keith [mailto:[EMAIL PROTECTED]] Sent: Monday, December 30, 2002 10:22 AM To: Tom Walsh; [EMAIL PROTECTED] Subject: RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8 I understand where you are coming from, and I have installed and reinstalled vpopmail many times on the 8.0 machine, and have tried ::local ::commands to make sure vpopmail works and it does. For some ::reason, ::qmail is not using vpopmail. Do you think this is actually a ::qmail ::problem? -Original Message- From: Tom Walsh [mailto:[EMAIL PROTECTED]] Sent: Monday, December 30, 2002
Re: [vchkpw] qmail + vpopmail + mysql + Redhat 8
Keith? Please switch off your Return-Receipt - it is most annoying. -- Aj. Systems Administrator / Developer
[vchkpw] qmail+vpopmail+mysql
Ok, I compiled vpopmail with mysql support. I want to store the open relay information in a mysql table. It looks like its saving all the ips into the table. So I compiled tcpserver with the mysql patch, made a /var/qmail/control/mysql file. Now how do I set tcpserver to use this file? Someone told me to just add -S and it should work. So now I have this in my qmail-smtpd startup 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 200 \ /usr/local/bin/tcpserver -v -R -l $LOCAL -S -c $MAXSMTPD \ -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 21 Am I doing this right? How can I test tcpserver to see if its reading the sql db? Thanks Nick
[vchkpw] Qmail + Vpopmail + Mysql assistance
I am fairly new to Vpopmail. I am having some trouble getting it to work with Mysql authentication. I'm using Redhat 7.2. Prior to attempting this, I had Qmail working properly using the following steps. I started the basic RC file out of /var/qmail/boot/home and set it to start when the computer starts. Then, I configured Xinetd to have a SMTP file that invoked Qmail when SMTP requests came in. The mail was then delivered into the users home directory in a Mailbox file. This worked fine. I have now installed Vpopmail with MySQL support. Everything seems to work fine as for MySQL and VPOPMAIL talking. The part that is causing the problem is actually getting the incoming mail to vpopmail. I'm not exactly sure how to accomplish this. Can I simply modify the SMTP file in Xinetd? I had to install tcpserver or whatever it is called in order to get vpopmail working. It's installed, but I don't have the slightest idea how to make it work. So, in short, I need to know what to modify in order to get the mail delivering properly. Do I modify or remove the xinetd entry? Do I make any changes to the /var/qmail/rc file? Do I do something to tcpserver to make it monitor requests and pass them off accordingly? Any assistance would be GREATLY appreciated. Thanks,JM