On Wed, Nov 28, 2001 at 04:07:39PM -0600, Bill Shupp wrote:
> On Wednesday, November 28, 2001, at 03:54 PM, Mate Wierdl wrote:
> >
> > tcp.smtp is used only by tcpserver.
> 
> For smtp, it's read only.  The pop server is the one that actually edits 
> open-smtp and runs tcprules.

Somehow I assumed that the poster started qmail-smtpd also from
xinetd.  Why would you start pop under xinetd and smtpd under
tcpserver?

> 
> > I think it is not clear from the
> > docs, but it seems roaming users can be used only if you run pop under
> > tcpserver or equivalent (like courier's tcp server).
> 
> If I had time, I'd do some testing, as this would be useful to know for 
> sure.  I tend to think it's more of a permissions issue rather than a 
> daemon issue...
> 

What I wrote was completely idiotic.

> Doesn't  vchkpw do a setuid/setgid before editing these files?  I don't 
> recall...  Seems like it wouldn't be an issue if this were the case.
> 

So suppose I start the pop server under tcpserver using the script you
posted in your previous message.  This means tcpserver is run as the
vpopmail user.  How will then vpopmail be able to create, say,
/etc/tcp.smtp.cdb?  Afterall in most places /etc is not writable by
the vpopmail user.  Where is the suid root prog that does the writing?

Mate

Reply via email to