help with local domain
Hello... I'm in trouble with qmail+vpopmail... I'm not able to access, from web, at my local user email (those in /etc/passwd). I manage two domains: ir2ip.archivio.it (212.110.6.101) and ir2ip.ampr.org (44.134.162.46) and set ir2ip.archivio.it as the localdomain and ir2ip.ampr.org as a virtualdomain. From web, I can see all folder of ir2ip.ampr.org (created with qmailadmin) but not the local folders. From qmail-pop3d I can access at the localdomain and at the ir2ip.ampr.org folders but only if I set second addresses like: iw2lsi%ir2ip.ampr.org. Anyone can help me ? is it possible to access at the two domains via web ? or, better, is it possible to move emais for the ir2ip.archivio.it domain (local) to the ir2ip.ampr.org (virtual) and access it from pop and web? Here are my config files: locals: ir2ip.archivio.it virtualdomains: ir2ip.ampr.org:ir2ip.ampr.org rcphosts: ir2ip.archivio.it ir2ip.ampr.org defaultdomain: archivio.it plusdomain: archivio.it /user/assign +ir2ip.ampr.org-:ir2ip.ampr.org:511:506:/home/vpopmail/domains/ir2ip.ampr.org:-:: 73 de iw2lsi, Paolo
Authentication Problems
Hello, I am runing Redhat 6.1 and installed Qmail and got that running and doing pop mail just fine. I installed vpopmail and it installed fine... I can add a domain and a user to that domain Cool so I kill my pop3 that is running (tcpserver 0 pop3 /var/qmail/bin/qmail-popup qmail-popup jbbent.com /usr/bin/checkvpw /var/qmail/bin/qmail-pop3d Maildir) and start the Qmail with vpopmail with tcpserver 0 pop3 /var/qmail/bin/qmail-popup \ domain1.com domain2.com \ /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir Domain1.com is the original domain that was working under just Qmail. Domain2.com is a virtual domain with out its own IP. Now I can not check email on either domains. Okay so I add domain1.com to ./vadddomain dmain1.com password and a user and just get an auth error. What am I missing to get this working??? Thank you for all of your help!
Re: Authentication Problems
you line should look similar to this (note the single domain) tcpserver -v -H -R -l mail -c5 0 pop3 qmail-popup mail.domain.com\ vchkpw qmail-pop3d Maildir 21 - Original Message - From: Brian C. Doyle [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, May 13, 2001 10:31 AM Subject: Authentication Problems Hello, I am runing Redhat 6.1 and installed Qmail and got that running and doing pop mail just fine. I installed vpopmail and it installed fine... I can add a domain and a user to that domain Cool so I kill my pop3 that is running (tcpserver 0 pop3 /var/qmail/bin/qmail-popup qmail-popup jbbent.com /usr/bin/checkvpw /var/qmail/bin/qmail-pop3d Maildir) and start the Qmail with vpopmail with tcpserver 0 pop3 /var/qmail/bin/qmail-popup \ domain1.com domain2.com \ /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir Domain1.com is the original domain that was working under just Qmail. Domain2.com is a virtual domain with out its own IP. Now I can not check email on either domains. Okay so I add domain1.com to ./vadddomain dmain1.com password and a user and just get an auth error. What am I missing to get this working??? Thank you for all of your help!
Re: Authentication Problems
Okay so I run this and I Telnet Into the server and get telnet localhost 110 Trying 127.0.0.1... tcpserver: status: 1/5 tcpserver: pid 31234 from 127.0.0.1 tcpserver: ok 31234 mail:127.0.0.1:110 :127.0.0.1::4808 tcpserver: warning: dropping connection, unable to run qmail-popup: file does not exist tcpserver: end 31234 status 28416 tcpserver: status: 0/5 Connected to localhost. Escape character is '^]'. Connection closed by foreign host. Now what did I mess up? At 11:08 AM 5/13/01 -0400, Tim Hunter wrote: you line should look similar to this (note the single domain) tcpserver -v -H -R -l mail -c5 0 pop3 qmail-popup mail.domain.com\ vchkpw qmail-pop3d Maildir 21 - Original Message - From: Brian C. Doyle [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, May 13, 2001 10:31 AM Subject: Authentication Problems Hello, I am runing Redhat 6.1 and installed Qmail and got that running and doing pop mail just fine. I installed vpopmail and it installed fine... I can add a domain and a user to that domain Cool so I kill my pop3 that is running (tcpserver 0 pop3 /var/qmail/bin/qmail-popup qmail-popup jbbent.com /usr/bin/checkvpw /var/qmail/bin/qmail-pop3d Maildir) and start the Qmail with vpopmail with tcpserver 0 pop3 /var/qmail/bin/qmail-popup \ domain1.com domain2.com \ /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir Domain1.com is the original domain that was working under just Qmail. Domain2.com is a virtual domain with out its own IP. Now I can not check email on either domains. Okay so I add domain1.com to ./vadddomain dmain1.com password and a user and just get an auth error. What am I missing to get this working??? Thank you for all of your help!
Re: Authentication Problems
Sorry about the last email.. I fixed it. So the server now starts but I am back to getting -ERR authorization failed Connection closed by foreign host. tcpserver: end 31317 status 256 tcpserver: status: 0/5 I have my domain added and the user added but getting now where At 11:17 AM 5/13/01 -0400, Brian C. Doyle wrote: Okay so I run this and I Telnet Into the server and get telnet localhost 110 Trying 127.0.0.1... tcpserver: status: 1/5 tcpserver: pid 31234 from 127.0.0.1 tcpserver: ok 31234 mail:127.0.0.1:110 :127.0.0.1::4808 tcpserver: warning: dropping connection, unable to run qmail-popup: file does not exist tcpserver: end 31234 status 28416 tcpserver: status: 0/5 Connected to localhost. Escape character is '^]'. Connection closed by foreign host. Now what did I mess up? At 11:08 AM 5/13/01 -0400, Tim Hunter wrote: you line should look similar to this (note the single domain) tcpserver -v -H -R -l mail -c5 0 pop3 qmail-popup mail.domain.com\ vchkpw qmail-pop3d Maildir 21 - Original Message - From: Brian C. Doyle [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, May 13, 2001 10:31 AM Subject: Authentication Problems Hello, I am runing Redhat 6.1 and installed Qmail and got that running and doing pop mail just fine. I installed vpopmail and it installed fine... I can add a domain and a user to that domain Cool so I kill my pop3 that is running (tcpserver 0 pop3 /var/qmail/bin/qmail-popup qmail-popup jbbent.com /usr/bin/checkvpw /var/qmail/bin/qmail-pop3d Maildir) and start the Qmail with vpopmail with tcpserver 0 pop3 /var/qmail/bin/qmail-popup \ domain1.com domain2.com \ /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir Domain1.com is the original domain that was working under just Qmail. Domain2.com is a virtual domain with out its own IP. Now I can not check email on either domains. Okay so I add domain1.com to ./vadddomain dmain1.com password and a user and just get an auth error. What am I missing to get this working??? Thank you for all of your help!
Re: Authentication Problems
are you logging your vchkpw auth info? try looking somewhere in your syslog for the mail requests, post that. - Original Message - From: Brian C. Doyle [EMAIL PROTECTED] To: Tim Hunter [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Sunday, May 13, 2001 11:25 AM Subject: Re: Authentication Problems Sorry about the last email.. I fixed it. So the server now starts but I am back to getting -ERR authorization failed Connection closed by foreign host. tcpserver: end 31317 status 256 tcpserver: status: 0/5 I have my domain added and the user added but getting now where At 11:17 AM 5/13/01 -0400, Brian C. Doyle wrote: Okay so I run this and I Telnet Into the server and get telnet localhost 110 Trying 127.0.0.1... tcpserver: status: 1/5 tcpserver: pid 31234 from 127.0.0.1 tcpserver: ok 31234 mail:127.0.0.1:110 :127.0.0.1::4808 tcpserver: warning: dropping connection, unable to run qmail-popup: file does not exist tcpserver: end 31234 status 28416 tcpserver: status: 0/5 Connected to localhost. Escape character is '^]'. Connection closed by foreign host. Now what did I mess up? At 11:08 AM 5/13/01 -0400, Tim Hunter wrote: you line should look similar to this (note the single domain) tcpserver -v -H -R -l mail -c5 0 pop3 qmail-popup mail.domain.com\ vchkpw qmail-pop3d Maildir 21 - Original Message - From: Brian C. Doyle [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, May 13, 2001 10:31 AM Subject: Authentication Problems Hello, I am runing Redhat 6.1 and installed Qmail and got that running and doing pop mail just fine. I installed vpopmail and it installed fine... I can add a domain and a user to that domain Cool so I kill my pop3 that is running (tcpserver 0 pop3 /var/qmail/bin/qmail-popup qmail-popup jbbent.com /usr/bin/checkvpw /var/qmail/bin/qmail-pop3d Maildir) and start the Qmail with vpopmail with tcpserver 0 pop3 /var/qmail/bin/qmail-popup \ domain1.com domain2.com \ /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir Domain1.com is the original domain that was working under just Qmail. Domain2.com is a virtual domain with out its own IP. Now I can not check email on either domains. Okay so I add domain1.com to ./vadddomain dmain1.com password and a user and just get an auth error. What am I missing to get this working??? Thank you for all of your help!
disabling imap access with vmoduser
I have been trying to disable imap access using vmoduser, but it seems to have no effect, disabling pop does. It is changing the gid in vpasswd file . I use courier-imap which is using the vchkpw auth module. Any ideas what I need to be looking at? I am using the current stable release of vpopmail (with the vmoduser patch). Also how does the disable relay access work as there is no authentication for smtp? Also is there a way to set up global domain defaults so that any new accounts created within a domain using qmailadmin get set? cheers, Bjorn Nilsen Manux Solutions Ltd
Re: disabling imap access with vmoduser
on 5/13/01 4:41 PM, Bjorn Nilsen at [EMAIL PROTECTED] spake: I have been trying to disable imap access using vmoduser, but it seems to have no effect, disabling pop does. It is changing the gid in vpasswd file . I use courier-imap which is using the vchkpw auth module. Any ideas what I need to be looking at? I am using the current stable release of vpopmail (with the vmoduser patch). Also how does the disable relay access work as there is no authentication for smtp? Also is there a way to set up global domain defaults so that any new accounts created within a domain using qmailadmin get set? cheers, Bjorn Nilsen Manux Solutions Ltd Are you using the current release of courier-imap? The preauthvchkpw.c file (in authlib) must support this for courier-imap to see that imap access has been denied. To find out, grep for open_smtp_relay() in that file. If it's there, then try commenting out the ifdefs around it (the configure script wasn't detecting open_smtp_relay correctly. Commented out, that section should look like: if ( strcmp(imap, service) == 0 ) { if ( pw-pw_gid NO_IMAP ) { return(-1); } else { /* #ifdef HAVE_OPEN_SMTP_RELAY */ /* open the relay to imap users */ open_smtp_relay(); /* #endif */ } } Then recompile courier-imap (or at least authvchkpw). Cheers, Bill
RE: Virtual Domains
G'Day All, I've a similar situation, more virtual domains on a single box, someone with different IP address, using -l myname with no problem. Did you use the following enable-option? --enable-ip-alias-domains=y|n enable virtual domain lookup via reverse ip address lookup for virtual domains. Yes i did. And so when i use the -l machine name, this actually will stop the reverse lookup as my users only put in their username. However another suggestion which was the -H -R has made a huge difference. Thanks All for your help. Regards Nathan I did not use it (i.e. = n). My users always put the complete name (user@domain) as pop user, so I don't see the need for this flag. Probably, if your are using this enable-option, or you need to turn back to -l 0, or disable it (--enable-ip-alias-domains=n), or set up a different tcpserver for each address. Hope this helps. Tonino At 11/05/2001 11/05/2001 +1000, Nathan Chan wrote: G'Day Guys, I've tried to add the -l hostname parameter, but ran into a problem. As soon as i add that in, it starts failing authorisation for my virtual domains. eg. my box domain works fine, but the virtual domains (which each have their own individual ip and hence require a reverse lookup to determine what their domain is) no longer works. Any further ideas ? Thanks Nathan PS. When i did add the -l for the box domain, it was lightning fast !! ;) Usually, when there is a changeable parameter, like -l hostname, it means that you may use it accordingly to your needs and to the rules (man tcpserver and tcpserver source give the rules to me). I can't be forced to use the common choice because Dan wrote this way. So, in my opinion, for debugging purposes, for knowing which tcpserver is answering, for thousands of other reasons, you may use it as you want, as long as you know what you're doing (otherwise use the common choice). At 10/05/2001 10/05/2001 -0400, Ed Henderson wrote: From Dan Bernstein's site for tcpserver (http://cr.yp.to/ucspi-tcp/tcpserver.html ): -l localname: Do not look up the local host name in DNS; use localname for the environment variable $TCPLOCALHOST. A common choice for localname is 0. 'man tcpserver' says: -llocalname Do not look up the local host name; use localname for TCPLOCALHOST. This means that, simply, instead of making a DNS lookup for setting the TCPLOCALHOST variable with the name of the localhost, tcpserver trust what you're declaring with -l (so '0' or whatever you put is the same for him) and saves time. I prefer to declare the exact name instead of '0'. Tonino At 10/05/2001 10/05/2001 -0400, Ed Henderson wrote: The correct form for -l parameter is -l 0 not an actual hostname. I added the following to both my pop3 and smtpd tcpservers: -l 0 -R -H These switches are the ones most commonly recommended in the FAQ and significantly sped up pop3 for me. -Original Message- From: Tonix [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 10, 2001 4:08 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Virtual Domains Hi Nathan, I had the same problem. I have a similar situation, and my system handles DNS by himself. Although I may swear about the functionality and setup of my DNS, I had to force the -l name.of.my.system parameter in the tcpserver line. Having this, tcpserver assume name.of.my.system to be the name of the answering computer and avoid to make an extra call to DNS (that's the call that slowered all for me, don't ask me why). Hope this help. Tonino At 10/05/2001 10/05/2001 +1000, you wrote: G'Day All, I have a question about the speed of my qmail server. I look after 2 mail servers, 1 for the company and i help an isp run the other. The company one has 1.03 qmail plain stock standard and when you pop in and smtp in it reacts almost instantly. Works fine. However we are not finding the same thing on the isp mail server. There are about 20 virtual domains and poping in and smtp in is starting to get slower and slower and even sometime time out. Versions are : qmail 1.03 vpopmail 3.4.11-1.released qmailadmin 0.26e Each domain has their own ip which reverse resolves to their own mail.domain.com We house all dns entries for their domains and reverses. What we get is that sometimes a customer of the virtual domain will get a timeout while
vadddomain issues
Hi, I'm new to vpopmail and qmailadmin, but very well aquainted with Qmail. We are about to implement two new servers for which it vpopmail and qmailadmin will be well suited. However, I'm having some problems getting started. I've looked through the archives and have not been able to find any solutions to my present problems. I am trying to add my first virtual domain, and a I'm getting the following: /home/vpopmail/domains# /home/vpopmail/bin/vadddomain testdomain.com Please enter password for postmaster: enter password again: Error: Domain does not exist Vadddomain does place the name of the domain in both /var/qmail/control/rcpthosts and /var/qmail/control/virtualdomains as well as making the directory in /home/vpopmail/domains despite the error. I am not able to add users to the domain because I get the following: /home/vpopmail/bin# ./vadduser [EMAIL PROTECTED] Please enter password for [EMAIL PROTECTED]: enter password again: Error: Domain does not exist Now, if I try to add the domain again, I get this: /home/vpopmail/domains# /home/vpopmail/bin/vadddomain testdomain.com Please enter password for postmaster: enter password again: Error: Domain already exists Strange, huh? Now, if I try to DELETE the domain that either does or doesn't exist (depending on the error you believe), I get this: /home/vpopmail/bin# /home/vpopmail/bin/vdeldomain testdomain.com Error: Domain does not exist So, the consensus is that the domain doesn't exist...Any idea what might be going on? BTW, if I try to add the domain again after using the vdeldomain command, I get an error that the domain already exists!!! Trey Nolen [EMAIL PROTECTED] -- If you don't test it, it won't work. Guaranteed.
Re: vadddomain issues
On Sun, May 13, 2001 at 07:57:24PM -0500, Trey Nolen wrote: So, the consensus is that the domain doesn't exist...Any idea what might be going on? BTW, if I try to add the domain again after using the vdeldomain command, I get an error that the domain already exists!!! The one thing that I didn't see you mention is the /var/qmail/users/assign and the /var/qmail/users/cdb file. I've seen weird things happen when vpopmail either couldn't read or write that file. Check the perms on that. If that doesn't do it, I would suggest running truss or strace (depending on your system) against vadddomain and figuring out which file it reads last before it fails. That is almost definitely where your problem lies. Ben -- Ben Beuchler There is no spoon. [EMAIL PROTECTED]-- The Matrix
qmail+vpopmail+qmailadmini send mail very slowly
hi, I install qmail and vpopmail with ./configure --enable-roaming-users=y --enable-hardquota=5000 --enable-default-domain=localhost.localdomain --enable-ucspi-dir=../ucspi-tcp-0.88 --enable-passwd=n; and crontab -e 20 * * * * /home/vpopmail/bin/clearopensmtp 21 /dev/null I can receive email very quickly, but send email is very slow, and sometimes be interrupted, how to speed up the smtp process? Thanks! Rick Yu [EMAIL PROTECTED]