RE: [vchkpw] Can not get vpopmail to enable roaming support
Hey Jonas Thanks for your straight forward answer. I like it! I follow your suggestion. This is what i did for the vpopmail configure ./configure \ --enable-roaming-users=y \ --enable-tcprules-prog=/usr/local/bin/tcprules \ --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp \ --enable-relay-clear-minutes=70 \ --enable-learn-passwords=y \ --enable-default-domain=genkians.com \ [EMAIL PROTECTED] \ --enable-logging=p \ --enable-defaultquota=20971520S \ --enable-ip-alias-domains=n \ --enable-passwd=n \ --enable-clear-passwd=y \ --enable-mysql=y \ --enable-incdir=/usr/local/mysql/include \ --enable-libdir=/usr/local/mysql/lib \ --enable-many-domains=n \ --enable-auth-logging=y \ --enable-mysql-logging=y \ --enable-valias=y I got this in return vpopmail directory = /home/vpopmail uid = 89 gid = 89 ip alias = OFF --enable-ip-alias-domains=n (default) address extentions = OFF --enable-qmail-ext=n (default) roaming users = ON --enable-roaming-users=y tcpserver file = /home/vpopmail/etc/tcp.smtp open_smtp file = /home/vpopmail/etc/open-smtp user quota = 20971520S -enable-hardquota=20971520S auth module = mysql --enable-mysql=y mysql replication = OFF --enable-mysql-replication=n default table optimization = one domain with many users --enable-many-domains=n system passwords = OFF --enable-passwd=n default file locking = ON --enable-file-locking=y default file sync = OFF --enable-file-sync=n default disable vdelivermail fsync make seekable = ON --enable-make-seekable=y default auth logging = ON --enable-auth-logging=y default mysql logging = ON --enable-mysql-logging=y clear passwd = ON --enable-clear-passwd=y (default) users big dir = ON --enable-users-big-dir=y (default) valias processing = ON --enable-valias=y mysql limits = OFF --enable-mysql-limits=n default pop syslog = show failure attempts with clear text password --enable-logging=p default domain = genkians.com --enable-default-domain=genkians.com auth inc = -I/usr/local/mysql/include auth lib = -L/usr/local/mysql/lib -l then I ran make and make install-strip When it was done, I went looking for the open-smtp file. I can not find it. I did a search of my whole computer and no luck. Do you know why the make install-strip did not create the open-smtp file? Raymond
RE: [vchkpw] Can not get vpopmail to enable roaming support
Hey Raymond, please send answers to the list only; I'm subscribed. ./configure \ [...] --enable-mysql=y \ [...] Ah, you used MySQL. In that case, open relay information is stored in your MySQL database, not in open-smtp. I never used the MySQL setup; so I cannot tell anything more about it. When it was done, I went looking for the open-smtp file. I can not find it. I did a search of my whole computer and no luck. No need to search the whole computer. You defined it to be in /home/vpopmail/etc, and there it should be, but as you used MySQL (sorry, didn't notice it in the first place), it is obsolete. Do you know why the make install-strip did not create the open-smtp file? Even without MyQL, install-strip doesn't create it. vchkpw creates it after a successful POP3 login. Does the date/time of /home/vpopmail/etc/tcp.smtp.cdb change after a successful POP3 login? Jonas
[vchkpw] Can not get vpopmail to enable roaming support
Please HelpI recompile vpopmail with --enable roaming=y-- butit still does not work. I can connect to via pop3 server but can not send mail. It reply with "domain isn't in my list of allow rcpthosts". I don't know what's wrong or what I'd missing. I really need to get this up and running. Any help will be great. I'm running redhat 8.0, vpopmail 5.3.14, qmailadmin, and courier-imap.I read around the internet and discover under vpopmail folder, there should be 2 files: etc/tcp.smtp and etc/tcp.smpt.cdb. I check my vpopmail directory and there is no such files. So I link my qmail tcp.smtp and tcp.smtp.cdb with the following command "ln -s /etc/tcp.smtp /etc/tcp.smtp.cdb to the ~vpopmail/etc/ and I gave both files 777 permission. That didn't make any difference, I still can't send via pop3 connection. What am I missing.Thank you so much for any help you can provideraymond
RE: [vchkpw] Can not get vpopmail to enable roaming support
This is my qmail-smtp/run 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 if [ ! -f /var/qmail/control/rcpthosts ]; then echo "No /var/qmail/control/rcpthosts!" echo "Refusing to start SMTP listener because it'll create an open relay" exit 1 fi exec /usr/local/bin/softlimit -m 200 \ /usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \ -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd 21 This is my qmail-smtp/run/log file :#!/bin/shexec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t /var/log/qmail/smtpdThanks for the helpRaymond Show us your qmail-smtpd startup scripts. Shane -Original Message- From: Raymond Luong [mailto:[EMAIL PROTECTED] Sent: Friday, 29 August 2003 12:37 AM To: vpopmail list Subject: [vchkpw] Can not get vpopmail to enable roaming support Please Help I recompile vpopmail with --enable roaming=y-- but it still does not work. I can connect to via pop3 server but can not send mail. It reply with "domain isn't in my list of allow rcpthosts". I don't know what's wrong or what I'd missing. I really need to get this up and running. Any help will be great. I'm running redhat 8.0, vpopmail 5.3.14, qmailadmin, and courier-imap. I read around the internet and discover under vpopmail folder, there should be 2 files: etc/tcp.smtp and etc/tcp.smpt.cdb. I check my vpopmail directory and there is no such files. So I link my qmail tcp.smtp and tcp.smtp.cdb with the following command "ln -s /etc/tcp.smtp /etc/tcp.smtp.cdb to the ~vpopmail/etc/ and I gave both files 777 permission. That didn't make any difference, I still can't send via pop3 connection. What am I missing. Thank you so much for any help you can provide raymond
Re: [vchkpw] Can not get vpopmail to enable roaming support
I'm having just the oposite problem, I can't turn it off when I want to. :-) Not quite sure if this helps but here is configuration information I used. ./configure \ --enable-roaming-users=y \ --enable-tcprules-prog=/usr/local/bin/tcprules \ --enable-tcpserver-file=/etc/tcp.smtp \ --enable-relay-clear-minutes=70 \ --enable-learn-passwords=y \ --enable-auth-logging=y \ --enable-mysql-logging=y \ --enable-clear-passwd=y \ --enable-mysql=y \ --enable-mysql-replication=n \ --enable-many-domains=y \ --enable-qmail-ext=y \ --enable-passwd=n \ --enable-logging=p \ --enable-domainquotas=y \ --enable-defaultquota=100 All of my relay information is of course in the database, but it works perfect. But like I said I can't turn it off with the qmailadmin_limits. -Steve On Thu, 28 Aug 2003, Raymond Luong wrote: Please Help I recompile vpopmail with --enable roaming=y-- but it still does not work. I can connect to via pop3 server but can not send mail. It reply with domain isn't in my list of allow rcpthosts. I don't know what's wrong or what I'd missing. I really need to get this up and running. Any help will be great. I'm running redhat 8.0, vpopmail 5.3.14, qmailadmin, and courier-imap. I read around the internet and discover under vpopmail folder, there should be 2 files: etc/tcp.smtp and etc/tcp.smpt.cdb. I check my vpopmail directory and there is no such files. So I link my qmail tcp.smtp and tcp.smtp.cdb with the following command ln -s /etc/tcp.smtp /etc/tcp.smtp.cdb to the ~vpopmail/etc/ and I gave both files 777 permission. That didn't make any difference, I still can't send via pop3 connection. What am I missing. Thank you so much for any help you can provide raymond
RE: [vchkpw] Can not get vpopmail to enable roaming support
You have put tcp.smtp as you cdb file? Its normally tcp.smtp.cdb. May be that your file is empty and being ignored? Shane -Original Message- From: Steven Job [mailto:[EMAIL PROTECTED] Sent: Friday, 29 August 2003 1:12 AM To: Raymond Luong Cc: vpopmail list Subject: Re: [vchkpw] Can not get vpopmail to enable roaming support I'm having just the oposite problem, I can't turn it off when I want to. :-) Not quite sure if this helps but here is configuration information I used. ./configure \ --enable-roaming-users=y \ --enable-tcprules-prog=/usr/local/bin/tcprules \ --enable-tcpserver-file=/etc/tcp.smtp \ --enable-relay-clear-minutes=70 \ --enable-learn-passwords=y \ --enable-auth-logging=y \ --enable-mysql-logging=y \ --enable-clear-passwd=y \ --enable-mysql=y \ --enable-mysql-replication=n \ --enable-many-domains=y \ --enable-qmail-ext=y \ --enable-passwd=n \ --enable-logging=p \ --enable-domainquotas=y \ --enable-defaultquota=100 All of my relay information is of course in the database, but it works perfect. But like I said I can't turn it off with the qmailadmin_limits. -Steve On Thu, 28 Aug 2003, Raymond Luong wrote: Please Help I recompile vpopmail with --enable roaming=y-- but it still does not work. I can connect to via pop3 server but can not send mail. It reply with domain isn't in my list of allow rcpthosts. I don't know what's wrong or what I'd missing. I really need to get this up and running. Any help will be great. I'm running redhat 8.0, vpopmail 5.3.14, qmailadmin, and courier-imap. I read around the internet and discover under vpopmail folder, there should be 2 files: etc/tcp.smtp and etc/tcp.smpt.cdb. I check my vpopmail directory and there is no such files. So I link my qmail tcp.smtp and tcp.smtp.cdb with the following command ln -s /etc/tcp.smtp /etc/tcp.smtp.cdb to the ~vpopmail/etc/ and I gave both files 777 permission. That didn't make any difference, I still can't send via pop3 connection. What am I missing. Thank you so much for any help you can provide raymond
Re: [vchkpw] Can not get vpopmail to enable roaming support
Raymond, Are you using: --enable-learn-passwords=y \ I just tried it without it and it didn't work. Try adding that and see if it works. -Steve On Thu, 28 Aug 2003, Raymond Luong wrote: Please Help I recompile vpopmail with --enable roaming=y-- but it still does not work. I can connect to via pop3 server but can not send mail. It reply with domain isn't in my list of allow rcpthosts. I don't know what's wrong or what I'd missing. I really need to get this up and running. Any help will be great. I'm running redhat 8.0, vpopmail 5.3.14, qmailadmin, and courier-imap. I read around the internet and discover under vpopmail folder, there should be 2 files: etc/tcp.smtp and etc/tcp.smpt.cdb. I check my vpopmail directory and there is no such files. So I link my qmail tcp.smtp and tcp.smtp.cdb with the following command ln -s /etc/tcp.smtp /etc/tcp.smtp.cdb to the ~vpopmail/etc/ and I gave both files 777 permission. That didn't make any difference, I still can't send via pop3 connection. What am I missing. Thank you so much for any help you can provide raymond
RE: [vchkpw] Can not get vpopmail to enable roaming support
I just switched it from /etc/tcp.smtp to /etc/tcp.smtp.cdb and now I can not relay at all. Very strange. -Steve On Fri, 29 Aug 2003, Shane Chrisp wrote: You have put tcp.smtp as you cdb file? Its normally tcp.smtp.cdb. May be that your file is empty and being ignored? Shane -Original Message- From: Steven Job [mailto:[EMAIL PROTECTED] Sent: Friday, 29 August 2003 1:12 AM To: Raymond Luong Cc: vpopmail list Subject: Re: [vchkpw] Can not get vpopmail to enable roaming support I'm having just the oposite problem, I can't turn it off when I want to. :-) Not quite sure if this helps but here is configuration information I used. ./configure \ --enable-roaming-users=y \ --enable-tcprules-prog=/usr/local/bin/tcprules \ --enable-tcpserver-file=/etc/tcp.smtp \ --enable-relay-clear-minutes=70 \ --enable-learn-passwords=y \ --enable-auth-logging=y \ --enable-mysql-logging=y \ --enable-clear-passwd=y \ --enable-mysql=y \ --enable-mysql-replication=n \ --enable-many-domains=y \ --enable-qmail-ext=y \ --enable-passwd=n \ --enable-logging=p \ --enable-domainquotas=y \ --enable-defaultquota=100 All of my relay information is of course in the database, but it works perfect. But like I said I can't turn it off with the qmailadmin_limits. -Steve On Thu, 28 Aug 2003, Raymond Luong wrote: Please Help I recompile vpopmail with --enable roaming=y-- but it still does not work. I can connect to via pop3 server but can not send mail. It reply with domain isn't in my list of allow rcpthosts. I don't know what's wrong or what I'd missing. I really need to get this up and running. Any help will be great. I'm running redhat 8.0, vpopmail 5.3.14, qmailadmin, and courier-imap. I read around the internet and discover under vpopmail folder, there should be 2 files: etc/tcp.smtp and etc/tcp.smpt.cdb. I check my vpopmail directory and there is no such files. So I link my qmail tcp.smtp and tcp.smtp.cdb with the following command ln -s /etc/tcp.smtp /etc/tcp.smtp.cdb to the ~vpopmail/etc/ and I gave both files 777 permission. That didn't make any difference, I still can't send via pop3 connection. What am I missing. Thank you so much for any help you can provide raymond
RE: [vchkpw] Can not get vpopmail to enable roaming support
SteveI didn't change the tcp.cmtp to tcp.smtp.cdb. I simple link my /etc/tcp.smtp to ~vpopmail/etc/tcp.smtp and made the file 777 so any program can write to it. Now vpopmail and qmail is sharing the same tcp.smtp file. I believe I might had left out a few important setting while compiling vpopmail. I will recompile vpopmail with your setting steve. I will let you know how it turns out.Raymond I just switched it from /etc/tcp.smtp to /etc/tcp.smtp.cdb and now I can not relay at all. Very strange. -Steve On Fri, 29 Aug 2003, Shane Chrisp wrote: You have put tcp.smtp as you cdb file? Its normally tcp.smtp.cdb. May be that your file is empty and being ignored? Shane -Original Message- From: Steven Job [mailto:[EMAIL PROTECTED] Sent: Friday, 29 August 2003 1:12 AM To: Raymond Luong Cc: vpopmail list Subject: Re: [vchkpw] Can not get vpopmail to enable roaming support I'm having just the oposite problem, I can't turn it off when I want to. :-) Not quite sure if this helps but here is configuration information I used. ./configure \ --enable-roaming-users=y \ --enable-tcprules-prog=/usr/local/bin/tcprules \ --enable-tcpserver-file=/etc/tcp.smtp \ --enable-relay-clear-minutes=70 \ --enable-learn-passwords=y \ --enable-auth-logging=y \ --enable-mysql-logging=y \ --enable-clear-passwd=y \ --enable-mysql=y \ --enable-mysql-replication=n \ --enable-many-domains=y \ --enable-qmail-ext=y \ --enable-passwd=n \ --enable-logging=p \ --enable-domainquotas=y \ --enable-defaultquota=100 All of my relay information is of course in the database, but it works perfect. But like I said I can't turn it off with the qmailadmin_limits. -Steve On Thu, 28 Aug 2003, Raymond Luong wrote: Please Help I recompile vpopmail with --enable roaming=y-- but it still does not work. I can connect to via pop3 server but can not send mail. It reply with "domain isn't in my list of allow rcpthosts". I don't know what's wrong or what I'd missing. I really need to get this up and running. Any help will be great. I'm running redhat 8.0, vpopmail 5.3.14, qmailadmin, and courier-imap. I read around the internet and discover under vpopmail folder, there should be 2 files: etc/tcp.smtp and etc/tcp.smpt.cdb. I check my vpopmail directory and there is no such files. So I link my qmail tcp.smtp and tcp.smtp.cdb with the following command "ln -s /etc/tcp.smtp /etc/tcp.smtp.cdb to the ~vpopmail/etc/ and I gave both files 777 permission. That didn't make any difference, I still can't send via pop3 connection. What am I missing. Thank you so much for any help you can provide raymond
RE: [vchkpw] Can not get vpopmail to enable roaming support
Hi Raymond, I didn't change the tcp.cmtp to tcp.smtp.cdb. I simple link my /etc/tcp.smtp to ~vpopmail/etc/tcp.smtp and made the file 777 so any program can write to it. You simply try fiddling around, ending up with world-writable files and symlinks. Hey, this is Unix, stop acting helpless. If you don't understand the thing, hey, this is no problem, but you should understand things first before trying to run an MTA. 1) tcp.smtp and tcp.smtp.cdb are not identical. tcp.smtp is a text file, while tcp.smtp.cdb is a constant database. 2) The actual tcp.smtp.cdb will get compiled by vpopmail, from the contents of tcp.smtp and open-smtp. 3) --enable-tcpserver-file=xyz needs a path to tcp.smtp, not a path to tcp.smtp.cdb. 4) The vpopmail cannot write new files to /etc, but only to /home/vpopmail/etc. Now vpopmail and qmail is sharing the same tcp.smtp file. qmail never reads tcp.smtp, only the tcp.smtp.cdb file, which is in turn build from tcp.smtp and open-smtp. vpopmail never writes to tcp.smtp, it only reads it. Now, here's your todo list: Please remove all symlinks first (as everything is actually messed up). Move your /etc/tcp.smtp to /home/vpopmail/etc (as vpopmail cannot write to /etc); it contains your _static_ relay rules. Rebuild with --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp (as vpopmail needs to know where the tcp.smtp resides). Change the qmail-smtpd run script to use /home/vpopmail/etc/tcp.smtp.cdb instead of /etc/tcp.smtp.cdb (as the tcp.smtp.cdb is now there). Now you're done. Check your maillog for successful POP3 logins. Check /home/vpopmail/etc/open-smtp for newly generated entries. Check /home/vpopmail/etc/tcp.smtp.cdb for its date to see if it gets updated after a successfull POP3 login. Jonas