real vs virtual domain

2001-07-07 Thread Jeff Gordon


 What happens if I use qmailadmin to declare 
 as a virtualdomain the 'real' domain on/under
 which qmail, vpopmail, qmailadimn, vqadmin, etc., 
 have been installed in the first place?

 In other words:  right now, qmail's me file
 contains something like 'mail.realdomain.com'.
 
 But if 'realdomain.com' acquires a position
 under /home/vpopmail/domains...(uh)...does
 everything work out okay, or...?

-- 

 -- Jeff --   http://www.wellnow.com

 There's nothing left in the world to prove.  All that's worth doing
  is to love one another, using whatever means are available to serve.



Re: real vs virtual domain

2001-07-07 Thread Jeff Gordon

On Sat, Jul 07, 2001 at 07:34:03PM +0100, Lou Hevly wrote:
 At 15:56 07/07/01, Jeff Gordon wrote:
 
   What happens if I use qmailadmin to declare
   as a virtualdomain the 'real' domain on/under
   which qmail, vpopmail, qmailadimn, vqadmin, etc.,
   have been installed in the first place?

 Works for me.  I have one IP, 216.216.32.170 that serves as both my
 name server and NameVirtualHost in Apache.  All my domains are served
 virtually, including visca-server.com, which is the machine name and
 what I have in /me.  As a domain, I added it using:

Great -- thanks, Lou. :-)  Uh, I've got a few localdomain
/Maildirs in place, outside of the /home/vpopmail 'tree'.
Will they need special attention as I make this changeover
or will vpopmail et al. figure out what's needed...?

 -- Jeff --

 $ ./vadddomain visca-server.com pwd
 
 I can administer it using qmailadmin and have had no problems at all;
 as far as qmail/vpopmail are concerned, it's just another domain.
 
 Be sure your /var/qmail/control/locals file is empty; as you may be
 aware, virtually subhosted domains must not be in this file.  But
 vadddomain will automatically do the right thing, so you shouldn't have 
 
 to worry about it.
 
 -- 
 All the best (Adéu-siau),
 Lou Hevly
 [EMAIL PROTECTED]
 http://www.visca.com
 

-- 

 -- Jeff --   http://www.wellnow.com

 There's nothing left in the world to prove.  All that's worth doing
  is to love one another, using whatever means are available to serve.



Re: real vs virtual domain

2001-07-07 Thread Jeff Gordon

On Sat, Jul 07, 2001 at 12:55:13PM -0400, Jeff Gordon wrote:
 On Sat, Jul 07, 2001 at 07:34:03PM +0100, Lou Hevly wrote:
  At 15:56 07/07/01, Jeff Gordon wrote:
  
What happens if I use qmailadmin to declare
as a virtualdomain the 'real' domain on/under
which qmail, vpopmail, qmailadimn, vqadmin, etc.,
have been installed in the first place?
 
  Works for me.  I have one IP, 216.216.32.170 that serves as both my
  name server and NameVirtualHost in Apache.  All my domains are served
  virtually, ...
 
 Great -- thanks, Lou. :-)  Uh, I've got a few localdomain
 /Maildirs in place, outside of the /home/vpopmail 'tree'.
 Will they need special attention as I make this changeover
 or will vpopmail et al. figure out what's needed...?

AND that answer is:  The new virtual domain gets properly added -- but
any existing 'real' domain mail users have to be identified and moved
to the new virtual domain mail service.  Until that's done, they're
lost in limbo, neither here nor there.

-- 

 -- Jeff --   http://www.wellnow.com

 There's nothing left in the world to prove.  All that's worth doing
  is to love one another, using whatever means are available to serve.



hacked, need help restoring

2001-07-06 Thread Jeff Gordon

Our system fell prey to a hacker and we've done a complete system
reinstall -- BUT only /home was backed-up and restored -- so, anything
vpopmail had created in /var/qmail/control is now missing-in-action;
and I think certain permisssions settings might be absent now too, lost
when we had to reconstruct /etc/passwd records to match owner-IDs on
the backed up files and subdirectories in /home. :(

Is there any reasonable way to set things right from here?  Or is the
only sane option to re-create vpopmail domains, lists and users from
scratch?

-- 

 -- Jeff --   http://www.wellnow.com

 There's nothing left in the world to prove.  All that's worth doing
  is to love one another, using whatever means are available to serve.



Re: hacked, need help restoring

2001-07-06 Thread Jeff Gordon

On Fri, Jul 06, 2001 at 11:53:38AM -0700, Chris Scheller wrote:

  Is there any reasonable way to set things right from here?  Or is the
  only sane option to re-create vpopmail domains, lists and users from
  scratch?

 one thought would be to not restore the ~/domains/ right away, but
 first readd the domains with the command line utils. this will put all
 your control files back in place. once this is done delete ~/domains/*
 and restore from your backup. 

Hmm; not bad -- the restore has been done but I could rename /domains
and use it as sort of a roadmap for what needs to happen. Thanks for
the spark of that idea. :-)

 else you could always just recreate the
 control files by hand, shouldn't be horribly difficult(notice i didn't
 say easy.)

Right. :-)  I'm too new to feel confident that I know how to go about
that -- the 'hacked' server had my first-ever installs of qmail,
vpopmail, ezmlm-idx, qmailadmin, sqwebmail, and one other web-based
thing I can't seem to remember the name of now -- not vmailmgr, not
vmailadmin, but the same idea A newbie tried in the fire would
describe my current level of expertise on this. :-)

-- 

 -- Jeff --   http://www.wellnow.com

 There's nothing left in the world to prove.  All that's worth doing
  is to love one another, using whatever means are available to serve.



is a pop server -required- for vpopmail?

2001-07-06 Thread Jeff Gordon

I'm sure the answer must be dirt-simple but it's eluding me at the
moment -- does vpopmail -require- an additional server (either pop or
IMAP, etc.), or with sqwebmail could all mail be handled straight from
the Maildirs without having to 'pop' it along the way?

(Asked differently, do I need to go ahead and install qmail-pop3d?)

-- 

 -- Jeff --   http://www.wellnow.com

 There's nothing left in the world to prove.  All that's worth doing
  is to love one another, using whatever means are available to serve.



Re: is a pop server -required- for vpopmail?

2001-07-06 Thread Jeff Gordon

On Sat, Jul 07, 2001 at 11:14:56AM +0530, Dushyanth Harinath wrote:

  I'm sure the answer must be dirt-simple but it's eluding me at the
  moment -- does vpopmail -require- an additional server (either pop or
  IMAP, etc.), or with sqwebmail could all mail be handled straight from
  the Maildirs without having to 'pop' it along the way?
  
  (Asked differently, do I need to go ahead and install qmail-pop3d?)

 every mail client reads mails from a pop or imap server and not directly
 from the maildir.I guess u dont have any other option.

(Thanks.)  You make a good point -- it's a question of how the system
will generally be utilized by the mail subscribers... (hmm)...

Faruque's answer is the one that 'fits' my situation; he's saying
SqWebmail makes a pop3 server unnecessary -if- that's the way one wants
the system set up.

I rely on Mutt, myself -- I don't like web-based email; but the owner
of the system I'm admin'ing for wants to limit it to web access only
-- and it sounds like SqWebmail makes that possible to accomplish.

-- 

 -- Jeff --   http://www.wellnow.com

 There's nothing left in the world to prove.  All that's worth doing
  is to love one another, using whatever means are available to serve.



Re: is a pop server -required- for vpopmail?

2001-07-06 Thread Jeff Gordon

On Sat, Jul 07, 2001 at 11:54:57AM +0600, Syed Faruque Ahmed wrote:

 The very first feature described of Sqwebmail on its Features list is
 
 - Very lightweight. Reads mail directly from maildirs.

(Yes.)

 Plus it was made to work well with vpopmail, et all.   It does not need 
 qmail-pop3d.
 
 The only reason you would need qmail-pop3d (served with tcpserver or 
 otherwise) is to provide pop3 service to remote machines.


Thanks, Faruque; sounds like I'm assembling the right pieces for this
particular system. :-)

 -- Jeff --


 At 11:14 AM 7/7/01 +0530, Dushyanth Harinath wrote:
 every mail client reads mails from a pop or imap server and not directly
 from the maildir.I guess u dont have any other option.
 
 regards
 dushyanth
 
   I'm sure the answer must be dirt-simple but it's eluding me at the
   moment -- does vpopmail -require- an additional server (either pop or
   IMAP, etc.), or with sqwebmail could all mail be handled straight from
   the Maildirs without having to 'pop' it along the way?
  
   (Asked differently, do I need to go ahead and install qmail-pop3d?)

-- 

 -- Jeff --   http://www.wellnow.com

 There's nothing left in the world to prove.  All that's worth doing
  is to love one another, using whatever means are available to serve.



Re: problem with vpopmail+qmailadmin+sqwebmail

2001-06-10 Thread Jeff Gordon

On Sun, Jun 10, 2001 at 08:32:35PM +0530, hari_bhr wrote:
 hi
 
 i have moved the qmail server with vpopmail+sqwebmail+qmailadmin
 its moved good condition, i checked user and groups all are same
 and same OS also
 
 iam bale to loging from qmailadmin and monitor those domains i have moved from old 
to new server.
 
 iam able to login only  two domains from sqwebmail, rest of all the domain
 when i try to login its giving Internal server error
 
 what could be the problem

I don't know -- but Internal Error almost always means a problem with
either paths or permissions, so I would look into those things first.

-- 

 -- Jeff --   http://www.wellnow.com

 There's nothing left in the world to prove.  All that's worth doing
  is to love one another, using whatever means are available to serve.



Re: vQadmin problems

2001-06-09 Thread Jeff Gordon

On Sat, Jun 09, 2001 at 02:15:46PM -0700, Qmail wrote:
 
 But fails when I try to do anything:
 
 Authentication Failed: Authentication Failed: Username unknown
 
 vQadmin was unable to determine your username, which
 means your webserver is improperly configured to run
 with this CGI.  For security reasons, this script
 will not run without Apache htaccess lists.
 
 
 .htaccess is setup, and I've edited the ACLs 
 
 No errors are logged, so I'm unsure of what's wrong!
 
 Any ideas?

I didn't find any logged errors either -- turned out
to be a finger error in the Directory text I'd added
to httpd.conf.  Apparently Apache didn't mind it, but
it was enough that Apache didn't know the directives in
that chunk of text had anything to do with the -actual-
directory being accessed and requested by the server, 
so authentication was -not- attempted (under this Apache
setup) and vQadmin didn't receive the info it needed, from 
the server.

Also in my case, the initial page looked like I was being
recognized -- but it was a page from the browser cache, I
think, and not reflective of who I was being as I approached
it this time.  Had to close my browser down completely before
I could be seen as 'a new visitor'.

(Computers make our lives easier; could you tell...? :-)

-- 

 -- Jeff --   http://www.wellnow.com

 There's nothing left in the world to prove.  All that's worth doing
  is to love one another, using whatever means are available to serve.



how to start vQadmin...?

2001-06-08 Thread Jeff Gordon

I surrender -- I've finally got vQadmin installed,
apparently per instructions -- but on calling to 
it, I get an error message about not being able
to identify me.

I'm guessing there's a bit of instruction missing,
about a Query string that should be there...?

This by itself:

http://www.my_domain.com/cgi-bin/vqadmin/vqadmin.cgi

...doesn't seem to do the trick.  Should I be seeing
a -server- dialogue that I'm not?  Should the server
be asking for my credentials beforehand...?  It isn't.
I can see the .htaccess file right there, so -- why
isn't it?

-- 

 -- Jeff --   http://www.wellnow.com

 There's nothing left in the world to prove.  All that's worth doing
  is to love one another, using whatever means are available to serve.



Mutt, and local-user email

2001-05-25 Thread Jeff Gordon

About a week ago Kieran Barnes was asking how to get Mutt working in a
vpopmail environment.  Answers were here's my .muttrc and set up an
IMAP server, essentially -- good answers, but I'm not sure we ever got
to the heart of what the problem was.

Maybe the question is:  How can you log onto the server, then access
mail that's in a vpop 'virtualdomain'...?  To the server, you're -not-
that user, and you're not user 'vpopmail' either -- so, given that
arrangement, how could you make use of Mutt to handle email from on the
server...?

Would this be solved by having Mutt talk to an IMAP server (or even a POP
server with Mutt's 'unset pop_delete' switch thrown), instead of
accessing the Maildir directly?  And, I expect, you'd have to make all
sorts of changes in Mutt to get the ougoing message headers to turn out
right -- since whichever 'user' you are when using Mutt won't have the
same name as the virtualdomain user.  (scratching head)

Have I got it about right...?

-- 

 -- Jeff --   http://www.wellnow.com

 There's nothing left in the world to prove.  All that's worth doing
  is to love one another, using whatever means are available to serve.



Re: Off Topic: Re: Mutt, and local-user email

2001-05-25 Thread Jeff Gordon

On Fri, May 25, 2001 at 04:31:10PM -0500, Jeffrey D. Gordon wrote:

 Ack No!
 Not another Jeff Gordon
 
 *panic attempt to flee*

I know the feeling. :-)  (Aside from the racecar driver, there's also a
spokesman for the Navy who pops up from time to time.)

Jeffrey B. Gordon, here.

-- 

 -- Jeff --   http://www.wellnow.com

 There's nothing left in the world to prove.  All that's worth doing
  is to love one another, using whatever means are available to serve.



announce-only list and ezmlm-send...?

2001-05-12 Thread Jeff Gordon

(Current stable versions of qmail, qmailadmin, ezmlm, and vpopmail are
installed, on a RedHat release 6.2 box.)

Someone on the qmail list advised I could set up an announce-only list,
by eliminating ~/.qmail-list and ~/list, then piping messages directly
to ezmlm-send.

Only:  I've got vpopmail installed -- and that changes things. :-)

Piping to ezmlm-send works okay, from the command line, as root -- but
I need for this to happen via a web form.

After two solid days of attempts, the most common error I find says
ezmlm-send doesn't have permission to 'cd' to (read from):

 /home/vpopmail/domains/my-domain/my-list
 
Any idea how to enable this, using a web form that submits to a Perl
script which in turn opens a pipe to ezmlm-send?

(True answers, thoughtful theories, and wild ideas, all welcome. :-)


-- 

 -- Jeff --   http://www.wellnow.com

 There's nothing left in the world to prove.  All that's worth doing
  is to love one another, using whatever means are available to serve.



(update) Re: announce-only list and ezmlm-send...?

2001-05-12 Thread Jeff Gordon

On Sat, May 12, 2001 at 12:20:53PM -0400, Jeff Gordon wrote:

 Someone on the qmail list advised I could set up an announce-only list,
 by eliminating ~/.qmail-list and ~/list, then piping messages directly
 to ezmlm-send. Piping to ezmlm-send works okay, from the command
 line, as root -- but I need for this to happen via a web form.
 
 After two solid days of attempts, the most common error I find says
 ezmlm-send doesn't have permission to 'cd' to (read from):
 
  /home/vpopmail/domains/my-domain/my-list
  
 Any idea how to enable this, using a web form that submits to a Perl
 script which in turn opens a pipe to ezmlm-send?

ANSWER to that part: 'suexec', which makes CGI scripts appear to be the
user/owner of the file -- thus, this succeeds to a point:

 open(EZ,|/usr/sbin/suexec $ezpath/ezmlm-send $listdir );
 print EZ $message;
 
BUT NOW, we get the error, failed to open log file and the mission
aborts anyway. :-)  Anybody know -which- log file?  I can see maillog
got no entry but then it wouldn't if the run aborted -- so perhaps this
is someone else's log file...?

-- 

 -- Jeff --   http://www.wellnow.com

 There's nothing left in the world to prove.  All that's worth doing
  is to love one another, using whatever means are available to serve.