[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] strange problem receiving mail -- please help
- Subject: Re: [cobalt-users] strange problem receiving mail -- please help
- From: Gaurav Sabharwal <gaurav@xxxxxxxxxx>
- Date: Wed Dec 11 15:48:01 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Steve,
Sending it to the list. Somebody might find an issue with the script.
Not my work. Thanks to the person who made this script. Has saved quite
a few customers of mine. This should be the same as fixsite.pl that you
have located.
# Start of Script #
#!/usr/bin/perl
# creates the admin server pages for all domains on a RaQ 3 or RaQ 4
# except for the home site
require Cobalt::Layout;
require Cobalt::Admserv;
require Cobalt::Vsite;
require Cobalt::Meta;
use Cobalt::Product;
foreach my $vhost (Cobalt::Vsite::vsite_list()) {
next unless ($$vhost[1]);
my $fqdn = $$vhost[1];
my ($group) = Cobalt::Meta::query("type" => "vsite",
"keys" => ["name"],
"where" => ["name", "<>", "default",
"and", "fqdn", "=", "$fqdn"]);
# next if($group eq "home");
if($group) {
warn "creating admserver pages for group: $group site name:
$fqdn\n";
Cobalt::Layout::layout_siteManage($group, $fqdn);
Cobalt::Admserv::admserv_set_access(qq[$AdminPages_dir/siteManage/$group],
'require', 'group', $group);
unlink("$AdminPages_dir/siteManage/$fqdn") if (-l
"$AdminPages_dir/siteManage/$fqdn");
symlink("$AdminPages_dir/siteManage/$group",
"$AdminPages_dir/siteManage/$fqdn");
} else {
warn "unkown fqdn: $fqdn or group: $group\n";
}
}
# End of Script
After running this script you will have to ensure that under site
settings E-mail server aliases are listed as desired. That is what
aliasrestore.cgi does. Don't have it with me but somebody else on the
list should have it. Cobalt had released a patch that took care of the
issue. Unfortunately I don't remember what that patch was named and it
is not listed on RAQ4 patch page.
Regards,
- Gaurav
RefHost Limited wrote:
what double click bug is that?
could you send it to me off-list pls thanks.
also i've found these files:
fixsite.pl
aliasrestore.cgi (<---can't find this!!! - please help)
i've located fixsite.pl but not aliasrestore.cgi
we've about 300 sites on this server so the script would be very handy...
anyone know where to find it?
Steve
----- Original Message -----
From: "Gaurav Sabharwal" <gaurav@xxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Wednesday, December 11, 2002 3:13 PM
Subject: Re: [cobalt-users] strange problem receiving mail -- please help
RefHost Limited wrote:
----- The following addresses had permanent fatal errors -----
<test3@xxxxxxxxxxxxxxxxxxx>
(reason: system config error)
----- Transcript of session follows -----
553 5.3.5 mail.web-site-gold.co.uk. config error: mail loops back to me
(MX
problem?)
554 5.3.5 <test3@xxxxxxxxxxxxxxxxxxx>... Local configuration error
The double click bug? Did somebody double click the edit button for the
domain on the RAQ? If I remember correctly there was a patch released by
Sun/Cobalt. Do a search on google.com and it should be in the results. I
had a script that did fix the siteadmin page issue. If you are unable to
get anything from google let me know and I will dig in my comp.
Also like Dan mentioned the domain is missing from the mail alias. But
to get to that point you will have to fix the siteadmin issue.
Regards,
- Gaurav
_____________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users
_____________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users