[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] re: Remove admin default for virtuserlist
- Subject: Re: [cobalt-users] re: Remove admin default for virtuserlist
- From: Kul <Webmaster@xxxxxxx>
- Date: Sun Apr 29 11:27:05 2001
- Organization: Qax
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Colin Jack wrote:
> <snip>
> Thanks for that ... still is a pain in the B though!
>
> I am a small ISP and a lot of our customers use admin as an email alias. We
> always have a 'catchall' for each domain, so have to manually hack the
> virtusertable after adding a new site :( ..
>
> I would still like to be able to comment out the bit of code that adds the
> admin and postmaster settings. Anybody know which script and line (RAQ3)?
>
> Colin
>
Hi Colin,
This little problem we all have experienced since the big update, there is obviously 2 methods of altering the way the raq3 deals with "admin/sys/postmaster/root/nobody" aliases on all domains.
The first: to manually edit the virtusertable and mess with that, but if you have a large number of sites, it could be time consuming, and every new account will require the same thereafter.
The second: to alter the source code supplied by cobalt, whilst this will certainly do the job (IMHO), it will nodoubt invalidate yoru warrantee, as well as requiring constant monitoring after every subsequent cobalt update. Ohh, and the risk of breaking something quite easily.
However I decided a 3rd way was in order. So soon after the update, I wrote myself a procmail script to place in the admin user's directory to copy the mails for "admin/sys/postmaster/root" (no nobody as they are /dev/null'ed by default) back to a catch-all alias (or you can replace the current alias's "admin" with an alternate alias for the users). This method should survive any cobalt updates for the future, and is significantly less likely to break the interface, and won't destroy any warantee. And is quicker to implement, and allows you as the Server Administrator to keep a copy if you wish (optional).
You can find precise details/install instructions etc of this procmail recipe on one of my sites: http://www.omega-isp.com/freebies/raq3/ (FREE) :)
Have Fun
--
Regards,
Kul