[gentoo-user] newbie portage question -- don't want X progs

2004-01-13 Thread john lawler
Hi guys,

I'm new to gentoo, after getting a referral from a buddy of mine.  I've 
got a year or so's experience with Linux in general, mostly coming from 
the RedHat side, but after hearing about the philosophy behind gentoo, I 
decided to check it out.

So far, I'm pretty impressed.  The install was mostly painless and the 
documentation for the installation was very well written.

Having said that, I've got a couple of basic questions about portage, 
one of which I outline below:

I'm setting up a web/dns/mail server as my first try at gentoo, and 
everything was going along pretty well as I installed bind and apache 
and a few other basic packages with 'emerge -k package_name', until I 
decided to try to install mod_php.  Now, granted I didn't verify that 
this was exactly what I wanted, but I think it is.  I'm just looking for 
the php plug-in to Apache.  But anyway, I didn't do the --pretend switch 
on emerge to see what kind of dependencies it'd pick up and was rather 
surprised when it started pulling all of the xfree86 libraries and a few 
other things.

Needless to say, as this is a server, I'd rather not even have X, or 
anything that's only needed by X, installed.  Waste of space, etc.  Is 
there any way I can set a USE flag in make.conf that's like a 
don't-install-any-X-stuff flag?  The USE flags as I understand them are 
kind of the opposite of that.  They say, 'install this capability for 
every package you build that can', but I want to avoid installing any 
packages that either require X or are X-related.

Hope that made enough sense to answer.

Thanks,

John Lawler

p.s.  Oh also, might I be okay if I force emerge to remove X, even 
though mod_php requires it?

--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] sasl fails to start

2004-02-03 Thread john lawler
I'm setting up a small email server which will be used to host multiple 
domains and for which I want to use virtual email users, exactly like 
sendmail's feature: virtusertable.

I'm coming from another installation where I was just using Sendmail 
coupled with a small pop3 server and all the users had actual accounts 
on the machine.  Since most of my mail users don't even need login 
capability, and since that compromises security anyway, I'm looking at 
an option where the email users are all not able to login.

So I chose to use cyrus imap w/ sasl and sendmail (and probably 
Squirrelmail) to accomplish this.  Most of it seems to be working as I 
want it to w/ one exception so far.  Virtual users.  I'm not even 
talking about virtual domains yet, although I'll probably set that up so 
that I'm using that feature of cyrus and just having the users login w/ 
[EMAIL PROTECTED]

But what I want to do is use something just like sendmail's 
virtusertable (which was working fine for me on my old server) but also 
deliver all the local mail to cyrus.  Right now, I'm accomplishing the 
latter part with these additions to sendmail.mc:

  define(`confLOCAL_MAILER', `cyrusv2')
  MAILER(`cyrusv2')
as suggested in the cyrus documentation.  And this has the effect of 
delivering all the mail to cyrus, but it bypasses sendmail's 
virtusertable processing, even though when I test that with 'sendmail 
-bt' the virtusertable works fine.  So I've got virtusertables setup 
correctly, I just need to discover some way to have sendmail first run 
incoming mail through the virtusertable and *then* deliver it to cyrus 
for further processing.

Sorry about the long-winded nature of the post thus far, but my ultimate 
question is, does this make sense and does anyone have a pointer on 
where I could look to accomplish what I described in the last paragraph.

Thanks,

John Lawler

p.s.  I saw the HOWTO on gentoo's site about doing a similar setup w/ 
postfix and MySQL and some other packages, but I'd prefer to go this 
route for now.  Thanks.

--
[EMAIL PROTECTED] mailing list


[gentoo-user] virtusers w/ cyrus-imap and sendmail

2004-02-03 Thread john lawler
I'm setting up a small email server which will be used to host multiple 
domains and for which I want to use virtual email users, exactly like 
sendmail's feature: virtusertable.

I'm coming from another installation where I was just using Sendmail 
coupled with a small pop3 server and all the users had actual accounts 
on the machine.  Since most of my mail users don't even need login 
capability, and since that compromises security anyway, I'm looking at 
an option where the email users are all not able to login.

So I chose to use cyrus imap w/ sasl and sendmail (and probably 
Squirrelmail) to accomplish this.  Most of it seems to be working as I 
want it to w/ one exception so far.  Virtual users.  I'm not even 
talking about virtual domains yet, although I'll probably set that up so 
that I'm using that feature of cyrus and just having the users login w/ 
[EMAIL PROTECTED]

But what I want to do is use something just like sendmail's 
virtusertable (which was working fine for me on my old server) but also 
deliver all the local mail to cyrus.  Right now, I'm accomplishing the 
latter part with these additions to sendmail.mc:

 define(`confLOCAL_MAILER', `cyrusv2')
 MAILER(`cyrusv2')
as suggested in the cyrus documentation.  And this has the effect of 
delivering all the mail to cyrus, but it bypasses sendmail's 
virtusertable processing, even though when I test that with 'sendmail 
-bt' the virtusertable works fine.  So I've got virtusertables setup 
correctly, I just need to discover some way to have sendmail first run 
incoming mail through the virtusertable and *then* deliver it to cyrus 
for further processing.

Sorry about the long-winded nature of the post thus far, but my ultimate 
question is, does this make sense and does anyone have a pointer on 
where I could look to accomplish what I described in the last paragraph.

Thanks,

John Lawler

p.s.  I saw the HOWTO on gentoo's site about doing a similar setup w/ 
postfix and MySQL and some other packages, but I'd prefer to go this 
route for now.  Thanks.

--
[EMAIL PROTECTED] mailing list


[gentoo-user] vmailmgr, qmail and courier-imap -- trouble w/ imap login

2004-02-05 Thread john lawler
I'm trying to get a qmail/vmailmgr/courier-imap setup going and am 
having a hell of a time doing it.

All of the packages emerge fine, of course, but I'm stuck after having 
defined a couple of test virtual users in vmailmgr and also indicating 
to courier-imap to use the authvmailmgr module for authentication.  The 
authentications keep failing, but I'm not even sure what's going on b/c 
I'm not getting much log output from either courier-imap or, more 
importantly, vmailmgr.

One problem that I ran into on install (and I'm not sure I've fully 
fixed) is at the end of the emerge of vmailmgr, there's a message that says:

   To start vmailmgrd you need to link
   /var/lib/supervise/vmailmgrd to /service
This seemed strange, since I wasn't even aware of a /service directory, 
but I checked, and it was there, so I made a soft-link from 
/service/vmailmgrd - /var/lib/supervise/vmailmgrd, which is, I assume, 
what that message means.  But there's still no /etc/init.d/ script for 
vmailmgr and the only way I can try to start it is from a 'run' script 
that's in /var/lib/supervise/vmailmgrd.  These starts a daemon, but it 
seems to be non-responsive to my queries and I can't even tell if the 
module is correctly receiving the queries from courier-imap b/c I can't 
get logging on vmailmgr to happen either.

I tried to very closely follow this HOWTO:
   http://www.linux.com/howtos/Qmail-VMailMgr-Courier-imap-HOWTO/x380.shtml
and I've looked closely at FAQs for vmailmgr and courier-imap to no avail.
Running out of alternatives to try here, does anyone have a similar 
configuration such that they could point me in the right direction?

Thanks,

John Lawler

--
[EMAIL PROTECTED] mailing list


[gentoo-user] cygwin terminal problem logging into gentoo

2004-02-13 Thread john lawler
I've been having this problem ever since I installed gentoo.  I use ssh 
under Cygwin to login to my Gentoo box, and I've noticed whenever I try 
to look at 'top', when it goes fullscreen, it seems to put one character 
past the end of the line that the cygwin terminal can display, so that 
character wraps to the next line and makes everything look messed up.

One fix I tried was to make the command window of Cygwin go to 81 
characters (instead of 80), and this seemed to solve my problem for 
awhile, but now it's back.  I don't really notice this problem in any 
other applications.  Furthermore, on a couple of Red Hat machines I have 
around, I never have had this problem through Cygwin, looking at the top 
application output.

Anyone have a similar experience?  Any pointers?  My TERM env var is set 
to cygwin.

Thanks,

jl

--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] cygwin terminal problem logging into gentoo

2004-02-13 Thread john lawler
Well, one difference is that I'm not using a window manager.  I'm just 
launching the basic command window that gives you a Cygwin / UNIX 
environment under what appears to be just a Windows command prompt, 
really.  That's where my problem is occuring.  I'm running Windows XP 
Pro, too, but I doubt that makes any difference.

Is anyone else using Cygwin as I'm describing to directly log into a 
terminal session on a Gentoo box?

Thanks for the reply, Eric.

jl

Eric Livingston wrote:

I've been having this problem ever since I installed gentoo.  I use ssh
under Cygwin to login to my Gentoo box, and I've noticed whenever I try
to look at 'top', when it goes fullscreen, it seems to put one character
past the end of the line that the cygwin terminal can display, so that
character wraps to the next line and makes everything look messed up.
   

Well, if it's any help, I do *not* seem to have the problem, so it may not
be a universal thing. Just to be sure I'm doing the same thing:
1. Open an xterm under cygwin (I'm using Windowmaker, if it makes a
difference)
2. ssh to my gentoo box (~x86 specified, fully updated), using the ssh2
protocol (though that shouldn't matter)
3. run top
The screen is correctly painted. Moreover, I can resize the screen, in
particular making it too narrow to hold the top output fully, and everything
still paints ok.
Eric

--
[EMAIL PROTECTED] mailing list
 



--
[EMAIL PROTECTED] mailing list