redhat62_upgrade_linuxconf_virtual_mail_domains

This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.



Subject: do'h linuxconf!
From: Dan Horth <dan@nitro.com.au>
Date: Tue, 29 Aug 2000 13:41:45 +1100

Hiya - I used linuxconf to configure some virtual email domains on 
our server. I then upgraded linuxconf (and a whole load of other 
stuff as part of a 6.1 -> 6.2 upgrade) and can no longer find the 
virtual mail domains or virtual mail domain user aliases in linuxconf.

The virtual mail domains are still working ok so the sendmail.cf 
files must still be ok... the problem is that I can't remember what 
all the user aliases were.

is there any way for me to get a list of the virtual domains and the 
user aliases set up so I can get them back into the linuxconf config 
files?

I found /etc/mail/virtusertable.db which was last modified before the 
upgrade so I'm guessing that the virtual users stuff is in there - 
but I'm not too sure what I need to use to check the contents of that 
database...

any pointers or where I should start to RTFM would be appreciated.

===

Subject: Re: do'h linuxconf!
From: Vidiot <brown@mrvideo.vidiot.com>
Date: Mon, 28 Aug 2000 21:59:40 -0500 (CDT)

Dan posted:

>Hiya - I used linuxconf to configure some virtual email domains on 
>our server. I then upgraded linuxconf (and a whole load of other 
>stuff as part of a 6.1 -> 6.2 upgrade) and can no longer find the 
>virtual mail domains or virtual mail domain user aliases in linuxconf.

For an upgrade, Red Hat sure steps on a lot of user's configuration files.
I don't run virtual e-mail domains, so that wasn't screwed up for me.
But, it did screw up my Apache configuration, which I had to put back.
It screwed up my startx configuration.  I had to put it back.  I had
the permissions to /dev/hdc4 (the Zip drive) set to world permissions,
and it reset it.

Xterm was even modified so that the backsapce function was changed.

To find lots of the files that were changed, run the following as root:

	find / -name \*rpmsave

That should help with some of the changes to your system.

===

Subject: Re: do'h linuxconf!
From: Eric Sisler <esisler@westminster.lib.co.us>
Date: Tue, 29 Aug 2000 07:33:53 -0600

Dan Horth <dan@nitro.com.au> wrote:

>Hiya - I used linuxconf to configure some virtual email domains on our 
>server. I then upgraded linuxconf (and a whole load of other stuff as part 
>of a 6.1 -> 6.2 upgrade) and can no longer find the virtual mail domains 
>or virtual mail domain user aliases in linuxconf.
>
>The virtual mail domains are still working ok so the sendmail.cf files 
>must still be ok... the problem is that I can't remember what all the user 
>aliases were.
>
>is there any way for me to get a list of the virtual domains and the user 
>aliases set up so I can get them back into the linuxconf config files?
>
>I found /etc/mail/virtusertable.db which was last modified before the 
>upgrade so I'm guessing that the virtual users stuff is in there - but I'm 
>not too sure what I need to use to check the contents of that database...

Depending on whether you rolled your own sendmail.cf file or not, you may 
need to re-do that.  The stock sendmail that came with 5.2 wanted aliases 
in /etc/aliases, after I made my own sendmail.cf file they were moved to 
/etc/mail/aliases.  After upgrading from 5.2 -> 6.2 I discovered my 
sendmail.cf file had become sendmail.cf.rpmsave.  Most of the other files 
(access, domaintable, virtusertable, etc.) were still in /etc/mail, 
although many had the suffix '.rpmsave' as well.  RPM frequently does this 
when a package gets updated.  Have a look at the upgrade log - 
/tmp/upgrade.log for additional clues.

Finally, I hesitate to bring it up - but what about restoring files from 
your pre-upgrade full backup or a regular full backup tape?  You do have 
regular backups and you did a full backup before the upgrade, right?  If 
not, you really should.  Enough said.

===

Subject: re: do'h linuxconf
From: Jacques Gelinas <jack@solucorp.qc.ca>
Date: Tue, 29 Aug 2000 10:54:16 -0400 (EDT)

Hiya - I used linuxconf to configure some virtual email domains on our
> server. I then upgraded linuxconf (and a whole load of other stuff as part
> of a 6.1 -> 6.2 upgrade) and can no longer find the virtual mail domains
> or virtual mail domain user aliases in linuxconf.
>  
> The virtual mail domains are still working ok so the sendmail.cf files
> must still be ok... the problem is that I can't remember what all the user
> aliases were.
>  
> is there any way for me to get a list of the virtual domains and the user
> aliases set up so I can get them back into the linuxconf config files?
>  
> I found /etc/mail/virtusertable.db which was last modified before the
> upgrade so I'm guessing that the virtual users stuff is in there - but I'm
> not too sure what I need to use to check the contents of that database...

I guess the mailconf module was disable as part of the upgrade. Enable
it either from the "control/control file & system/linuxconf modules" menu
or using

	linuxconf --setmod mailconf

All the aliases for the vdomain are located in /etc/vmail/aliases.THE_domain
and are stored in standard /etc/aliases format. The users are stored in
/etc/vmail/passwd/shadow.THE_domain.

You may want to upgrade linuxconf from
http://www.solucorp.qc.ca/linuxconf/download.hc anyway

===


the rest of The Pile (a partial mailing list archive)

doom@kzsu.stanford.edu