[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Mailbox problem



Vishal Sandow wrote:

> Dear Friends,
>
> I am facing a problem on my Raq3i. One of my client had created an
> alias named 'admin' before I patching the system with the latest updates
> without my knowledge. Now because of the updates the admin@virtualdomain
> mail goes to the main administrator.
>
> Recently the client has given a press release and was expecting lot of mails
> on his admin account, but for his surprise found none. I soughted out the
> problem by manually editing the virtusertable and he started getting the
> mails in his account. But all his earlier mails got to the administrator
> mail
> box of the cobalt.
>
> I need your help to guide me in selecting all these messages from the admin
> mailbox
> and appending them in the clients mailbox.
>
> Thanks in advance.
>
> Regards
> Willie
>

Hi Willie,

You could try this method, but add some changes to the  procmail recipe...
**If you have mails for other customers in your admin box:
    http://www.uk2raq.com/raqfaq/raqfaqshow.php?faq=74

BUT alter the Procmail script detailed in the above link, to:
    SHELL=/bin/sh
    :0
    * ^TO_admin@xxxxxxxxxxxxxxxxxxxxxxx
    {
        ! notadmin@xxxxxxxxxxxxxxxxxxxxxxx
    }

Ohh, and don't empty the admin box :)  (obviously)


Then you may want to concider either telling the customers not to use "admin/postmaster/root/sys/nobody"
or
Alter the virtusertable file, which may subsequently get undone by any Cobalt patches/releases !
or
do as I did, and circumvent it by having procmail monitor the admin box and do some magic with these mails automatically: http://freebies.omega-isp.com/raq3/  (see the procmail-alias-fix-x-x link)

Have Fun!
--
Regards,
Kul
Kul's Free Scripts/Recipies: http://freebies.omega-isp.com/