Re: [vchkpw] enable roaming
On Sun, 2004-03-07 at 17:01, Ken Jones wrote: > On Sunday 07 March 2004 4:16 pm, [EMAIL PROTECTED] wrote: > > I configured vpopmail 5.4.1 and everything worked fine. > > > > Then I realized that I didn't include "enable-roaming". I've > > reconfigured a dozen times. It says at the end of the > > configure that it is on. make; make install-strip. Then run > > clearopensmtp and it says that "roaming users isn't > > configured".. > > > > What to do next? > > Try starting fresh with > make distclean > ./configure your options > make > make install-strip a 'make clean' in the source directory should remove all of the old binaries, and be enough to rebuild them properly.. However, the clearopensmtp should have been rebuilt with the updated changes. Perhaps a bug in the Makefile? -Jeremy -- Jeremy Kitchen Systems Administrator [EMAIL PROTECTED] Kitchen @ #qmail on EFNet - Join the party! . Inter7 Internet Technologies, Inc. www.inter7.com 866.528.3530 toll free 847.492.0470 int'l 847.492.0632 fax GNUPG key ID: 93BDD6CE
Re: [vchkpw] enable roaming
On Sunday 07 March 2004 4:16 pm, [EMAIL PROTECTED] wrote: > I configured vpopmail 5.4.1 and everything worked fine. > > Then I realized that I didn't include "enable-roaming". I've > reconfigured a dozen times. It says at the end of the > configure that it is on. make; make install-strip. Then run > clearopensmtp and it says that "roaming users isn't > configured".. > > What to do next? Try starting fresh with make distclean ./configure your options make make install-strip Ken Jones
[vchkpw] enable roaming
I configured vpopmail 5.4.1 and everything worked fine. Then I realized that I didn't include "enable-roaming". I've reconfigured a dozen times. It says at the end of the configure that it is on. make; make install-strip. Then run clearopensmtp and it says that "roaming users isn't configured".. What to do next? -- Pat Walsh
[vchkpw] R: [vchkpw] Enable-roaming-users tests
> After the POP connection, you should be able to send the email. Ya, thanks, now it works fine. Just one question: the best configuration of clearopensmtp and --enable-relay-clear-minutes? Could you send me an advice? Now, if I've to check the system with the binary without roaming, I need to clear the external-IP allowed: I could delete all entries on open-smtp file, and use the command clearopensmtp to update the tcp.smtp.cdb, or what? Thanks for all, Merry Xmas!!! Regards Andrea
Re: [vchkpw] Enable-roaming-users tests
On Dec 24, 2003, at 10:22 AM, Andrea Riela wrote: 2- qmailctl stop (rm /home/vpopmail/bin/vchkpw) make clean ./configure ... --enable-roaming-users=y && make && make install qmailctl cdb /home/vpopmail/bin/clearopensmtp qmailctl start Send email from [EMAIL PROTECTED] (internal account) to other external account via different connection (dialup) --> 553, not allowed rcphost I've forgotten something? Yes. After qmailctl start, from the IP you're trying to send mail from, telnet to port 110 on the server and do a POP login (USER [EMAIL PROTECTED], PASS password, LIST). After the POP connection, you should be able to send the email. -- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter hand-held Network Tester: http://sniffter.com/
Re: [vchkpw] R: [vchkpw] Enable-roaming-users tests
On Wed, 24 Dec 2003, Andrea Riela wrote: [snip] > > Keep in mind that if you're using courier-imap you need to > > recompile it > > after building vpopmail with enable-roaming-users since it links > > directly to libvpopmail instead of calling vchkpw. > > That's not clear. I use qmail for pop3, and I will use Courier only for pop3 > with ssl. > Now I'm testing the enable-roaming-users only with qmail and vpopmail > (vchkpw). I have to ask. Why not use stunnel to create the SSL tunnel and just use the standard qmail POP3 like you're doing for non-SSL? My line to start this is: env - PATH="/var/qmail/bin:/usr/local/bin:/usr/sbin" \ tcpserver -H -R -u 89 -g 89 0 pop3s \ stunnel -T pop3s -p /var/qmail/control/servercert.pem \ -l /var/qmail/bin/qmail-popup vengeance.tokimi.net \ /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir & This uses a 3.x version of stunnel. A version 4.x stunnel requires something completely different. But, to answer the issue with Courier pop3... > The problem is: when I use --enable-roaming-users=no, I haven't > possibilities to send an email from no-LAN ip to no-LAN ip. And that's > right. But when I use --enable-roaming-users=yes, nothing, and I don't > undestand why. > > My steps: > 1- ./configure ... --enable-roaming-users=n && make && make install > That works fine > > 2- qmailctl stop > (rm /home/vpopmail/bin/vchkpw) > make clean > ./configure ... --enable-roaming-users=y && make && make install > qmailctl cdb > /home/vpopmail/bin/clearopensmtp > qmailctl start > Send email from [EMAIL PROTECTED] (internal account) to other external > account via different connection (dialup) --> 553, not allowed rcphost > > I've forgotten something? If I've followed this conversation correctly... Rather than removing /home/vpopmail/bin/vchkpw at the beginning of step two, shouldn't you be renaming it to a different path so that you can use it for use with plain POP3 (with should not authenticate IPs)? Or am I confused? After rebuilding vpopmail with --enable-roaming-users=y in step 2, you should then recompile Courier to ensure that it is linking against the new (and proper) version of libvpopmail.a Changing the vchkpw binary will not affect Courier since, as Mr. Collins says, Courier links directly against the library and does not ever deal with the vchkpw binary. I hope this helps. Sincerely, Chris Ess System Administrator / CDTT (Certified Duct Tape Technician)
RE: [vchkpw] R: [vchkpw] Enable-roaming-users tests
This sounds like the domain is trying to be relayed into your lan system, but it doesn't exist in the rcpthost/morercpthosts file. Maybe you should check the mx records? Where is the rcpthost denied message coming from, the server your relaying through or the remote system? If its coming from your own server, then there is your problem. Shane >-Original Message- >From: Andrea Riela [mailto:[EMAIL PROTECTED] >Sent: Thursday, 25 December 2003 1:22 AM >To: [EMAIL PROTECTED] >Subject: [vchkpw] R: [vchkpw] Enable-roaming-users tests > >Thank you very much, Tom > >> When you enable-roaming-users, you're enabling a "POP before SMTP" >> feature. That means you need to authenticate via POP and >> pick up email >> before attempting to send. With a properly configured >system, you'll >> be able to send from your IP address for 30 minutes after you >> establish >> a POP connection. > >Ya, ok, that's clear. > >> Keep in mind that if you're using courier-imap you need to >> recompile it >> after building vpopmail with enable-roaming-users since it links >> directly to libvpopmail instead of calling vchkpw. > >That's not clear. I use qmail for pop3, and I will use Courier >only for pop3 >with ssl. >Now I'm testing the enable-roaming-users only with qmail and vpopmail >(vchkpw). > >The problem is: when I use --enable-roaming-users=no, I haven't >possibilities to send an email from no-LAN ip to no-LAN ip. And that's >right. But when I use --enable-roaming-users=yes, nothing, and I don't >undestand why. > >My steps: >1- ./configure ... --enable-roaming-users=n && make && make install >That works fine > >2- qmailctl stop >(rm /home/vpopmail/bin/vchkpw) >make clean >./configure ... --enable-roaming-users=y && make && make install >qmailctl cdb >/home/vpopmail/bin/clearopensmtp >qmailctl start >Send email from [EMAIL PROTECTED] (internal account) to other external >account via different connection (dialup) --> 553, not allowed rcphost > >I've forgotten something? >Thanks >Andrea > >
[vchkpw] R: [vchkpw] Enable-roaming-users tests
Thank you very much, Tom > When you enable-roaming-users, you're enabling a "POP before SMTP" > feature. That means you need to authenticate via POP and > pick up email > before attempting to send. With a properly configured system, you'll > be able to send from your IP address for 30 minutes after you > establish > a POP connection. Ya, ok, that's clear. > Keep in mind that if you're using courier-imap you need to > recompile it > after building vpopmail with enable-roaming-users since it links > directly to libvpopmail instead of calling vchkpw. That's not clear. I use qmail for pop3, and I will use Courier only for pop3 with ssl. Now I'm testing the enable-roaming-users only with qmail and vpopmail (vchkpw). The problem is: when I use --enable-roaming-users=no, I haven't possibilities to send an email from no-LAN ip to no-LAN ip. And that's right. But when I use --enable-roaming-users=yes, nothing, and I don't undestand why. My steps: 1- ./configure ... --enable-roaming-users=n && make && make install That works fine 2- qmailctl stop (rm /home/vpopmail/bin/vchkpw) make clean ./configure ... --enable-roaming-users=y && make && make install qmailctl cdb /home/vpopmail/bin/clearopensmtp qmailctl start Send email from [EMAIL PROTECTED] (internal account) to other external account via different connection (dialup) --> 553, not allowed rcphost I've forgotten something? Thanks Andrea
Re: [vchkpw] Enable-roaming-users tests
On Dec 24, 2003, at 7:08 AM, Andrea Riela wrote: Probably there's a mistake. When you enable-roaming-users, you're enabling a "POP before SMTP" feature. That means you need to authenticate via POP and pick up email before attempting to send. With a properly configured system, you'll be able to send from your IP address for 30 minutes after you establish a POP connection. Keep in mind that if you're using courier-imap you need to recompile it after building vpopmail with enable-roaming-users since it links directly to libvpopmail instead of calling vchkpw. -- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter hand-held Network Tester: http://sniffter.com/
[vchkpw] Enable-roaming-users tests
Hi folks, Probably there's a mistake. SITUATION - Domain1.dom is an internal domain, IP: no server LAN Domain2.dom is an internal domain, IP: same LAN as server Domain3.dom is an external domain Domain4.dom is another external domain My tcp.smtp: # No Qmail-Scanner at all for mail from 127.0.0.1 127.:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-queue " # Use Qmail-Scanner without SpamAssassin on any mail from the LAN 192.168.:allow,RELAYCLIENT="",RBLSMTPD="",TCPREMOTEIP="Protected",QMAILQUEUE ="/var/qmail/bin/qmail-queue" # Use Qmail-Scanner with SpamAssassin on any mail from the rest of the world :allow,DENYMAIL="DNSCHECK",QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl " TESTS - With --enable-roaming-users=n: Domain1.dom --> domain3.dom NO (right, 553 not allowed rcphost) Domain2.dom --> domain3.dom YES (right, for tcp.smtp) Domain3.dom --> domain4.dom NO (right, isn't an open relay) With --enable-roaming-users=y: Domain2.dom --> domain3.dom YES (right, for tcp.smtp) Domain3.dom --> domain4.dom NO (right, isn't an open relay) The problem is: Domain1.dom --> domain3.dom NO (553 not allowed rcphost) why? In /home/vpopmail/bin I've tcp.smtp, but open-smtp too. In open-smtp I can see one entry: 192.168.10.13:allow,RELAYCLIENT="",RBLSMTPD="" 1072273753 (ip from LAN) In open-smtp we have the communications permitted from tcp.smtp? Where's the db that I could clean with the command /home/vpopmail/bin/clearopensmtp? I don't understand exactly the mechanism of --enable-roaming-users, could you figure it out? Where's probably my mistake? Thanks for patience and support Regards Andrea
[vchkpw] --enable-roaming=y + QMAILQUEUE, RBLSMTPD,TARPITCOUNT, TARPITDELAY and other enviroment vars in tcp.smtp
Dear all: Anyone knows how can maintain QMAILQUEUE, RBLSMTPD,TARPITCOUNT, TARPITDELAY and other enviroment vars, while I am using --enable-roaming=y? Please I have different values for IP address then I can't edit the code and put the same for everyone. Greetings Juan Antonio
[vchkpw] RE : [vchkpw] Enable roaming users
> From: Phil Doroff : > Probably the least painful means of doing it. Thanks Phil. I'm going to do so. > De : Ross Davis > Check the permissions on the tcp.cdb files and ensure that > they are writable by vpopmail One "funny" thing : I use the /home/vpopmail/etc/tcp.smtp file mod 644 and owned vpopmail.vchkpw. But the tcp.smtp.cdb is not. When I manualy change it, it's chown back to root after a while. Making a vi on the tcp.smtp.cdb shows that the open.smtp and the tcp.smtp files have been correctly considered in. -- Pierre Rodriguez Conseil Général de Lot et Garonne Systèmes d'information Agen France (33) 5 53 69 46 80
RE: [vchkpw] Enable roaming users
Check the permissions on the tcp.cdb files and ensure that they are writable by vpopmail Ross Davis DataAnywhere.net 250-470-9192 +---+ | ChaletsOnline.com coming soon | | Don't you deserve a vacation! | +---+ -Original Message- From: Phil Doroff [mailto:[EMAIL PROTECTED] Sent: Monday, June 23, 2003 9:40 AM To: [EMAIL PROTECTED] Subject: [vchkpw] Enable roaming users I'm having problems with --enable-roaming as well. I have everything configured properly (pretty sure) and permissions correct (pretty sure again), and whenever a user logs in via pop, it does NOT attempt to update the open-smtp file, or the tcp.cdb, or anything. Nothing. Just like having it w/o --enable-roaming-users=y compiled. Been struggling with it for days, any ideas? Sorry to thread hijack.. As for your problem, you will have to recompile. At least the vauthpw binary, probably more than that. Just recompile, and manually overwrite the binaries (after backing up originals). Probably the least painful means of doing it. -Phil > - Original Message - > From: "Rodriguez Pierre" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, June 23, 2003 4:37 AM > Subject: [vchkpw] Enable roaming users > > > Hi ! > > Someone who's not working with me anymore installed > vpopmail 5.2.1 > I'm not sure he configured it with --enable-roaming-users=y. > > How can I see if that has been done ? > > Is it possible to configure it without making a new installation ? > > Thanks ! > > Regards, > > Pierre Rodriguez > > Conseil Général de Lot et Garonne > Systèmes d'information > >
[vchkpw] Enable roaming users
I'm having problems with --enable-roaming as well. I have everything configured properly (pretty sure) and permissions correct (pretty sure again), and whenever a user logs in via pop, it does NOT attempt to update the open-smtp file, or the tcp.cdb, or anything. Nothing. Just like having it w/o --enable-roaming-users=y compiled. Been struggling with it for days, any ideas? Sorry to thread hijack.. As for your problem, you will have to recompile. At least the vauthpw binary, probably more than that. Just recompile, and manually overwrite the binaries (after backing up originals). Probably the least painful means of doing it. -Phil > - Original Message - > From: "Rodriguez Pierre" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, June 23, 2003 4:37 AM > Subject: [vchkpw] Enable roaming users > > > Hi ! > > Someone who's not working with me anymore installed > vpopmail 5.2.1 > I'm not sure he configured it with --enable-roaming-users=y. > > How can I see if that has been done ? > > Is it possible to configure it without making a new installation ? > > Thanks ! > > Regards, > > Pierre Rodriguez > > Conseil Général de Lot et Garonne > Systèmes d'information > >
[vchkpw] Enable roaming users
Hi ! Someone who's not working with me anymore installed vpopmail 5.2.1 I'm not sure he configured it with --enable-roaming-users=y. How can I see if that has been done ? Is it possible to configure it without making a new installation ? Thanks ! Regards, Pierre Rodriguez Conseil Général de Lot et Garonne Systèmes d'information
[vchkpw] --enable-roaming-users=y
Hi, I have compiled vpopmail and all works properly except the relay part. I have checked de /var/qmail/supervise/qmail-smtpd/run file and there is the tcpserver -x /paht/tcp.smtp.cdb. I have been checking the FAQS and the mailing lists, but there is no information regarding my problem, since the steps to set up the --enable-roaming-users=y are like those I have done. Furthermore, I have modified the tcp.smtp.cdb manually and I have put there an IP address (xxx.yyy.xx.yyy). After reloading, qmail accepts to relay pop-clients from that IP. So I don't know where lies the problem. I think it might has to do with the fact that there is no writing in the /homevpopmail/etc/tcp.smtp with the ip of the pop-authenticathed client who wants to relay. Thanks in advance for you attention.