On Friday 07 March 2003 19:55, Benjamin Tomhave wrote:
> Hmmmm....is ~vpopmail/etc/open-smtp a file I should have manually created
> at some point in time (touch open-smtp)?  It does not currently exist, and
> probably explains why the pop-before-smtp has never functioned.  I'm going
> to assume this file should be owned by vpopmail:vchkpw.  Where I'm also
> lost, then, is that my /etc/tcp.smtp and /etc/tcp.smtp.cdb files are both
> owned by root:root at present (this seems incorrect to me) and are both
> chmod 644.
>
> I am, btw, using a mysql backend, too...I second Jesse's comments...

I may just be mouthing off again, but I gather from the last paragraph in
INSTALL that vpopmail may not even bother with vpopmail/etc/tc.smtp and
open-smtp anymore. I think the default may be to assume that since you're
using MySQL, you should use Matt Simerson's tcpserver-mysql patch. The relay
table is certainly populated in my database, but the vpopmail/etc/tcp.smtp.cdb
is NOT generated.

Personally, I don't have any qualms about vpopmail defaulting to MySQL
based tcpserver relay control when I'm using MySQL. However, I strongly
disagree with the INSTALL wording if that's the case! It makes it sound
like Matt's patch is only "suggested", but it honestly seems to be REQUIRED
when mysql support is enabled in vpopmail.

I have now installed Matt's patch in my tcpserver. 


>
> > -----Original Message-----
> > From: Jonas Pasche [mailto:[EMAIL PROTECTED]
> > Sent: Friday, March 07, 2003 3:36 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [vchkpw] tcp.smtp file perms/owns for
> > -enable-roaming-users?
> >
> >
> > Hi Ben,
> >
> > > Apologies if this is already answered elsewhere -- I didn't see
> >
> > it.  What
> >
> > > should the file permissions and ownership be for the tcprules
> >
> > tcp.smtp file
> >
> > > in order to enable vpopmail pop-before-smtp roaming user
> >
> > support?  In other
> >
> > > words, for qmail/vpopmail to temporarily add an IP address for
> > > pop-before-stmp temp-relay support, what setup do I need?
> >
> > vpopmail doesn't need to write to tcp.smtp (as you can see, the file
> > never changes, even not without roaming users). tcp.smtp only contains
> > _static_ rules for allowing/disallowing connections and relaying.
> >
> > vpopmail saves relaying information in ~vpopmail/etc/open-smtp, and it
> > creates tcp.smtp.cdb (which is used by tcpserver) from both tcp.smtp and
> > open-smtp.
> >
> > In short, you need:
> >
> > - read permissions on tcp.smtp
> > - write permissions on tcp.smtp.cdb
> >
> > Judge for yourself if relaying data is sensible or not, to decide if you
> > want these files to be group- or world-readable, or not.
> >
> > Jonas

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net

We are actively looking for companies that do a lot of long
distance faxing and want to cut their long distance bill by
up to 50%.  Contact [EMAIL PROTECTED] for more info.



Reply via email to