Delete route to local queue [solved]

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

HansR100
Posts: 35
Joined: Fri May 21, 2010 2:28 am

Delete route to local queue [solved]

Postby HansR100 » Wed Apr 27, 2011 3:35 am

Dear Com

i made a mistake during some the tests with rulesroutes.
The problem is that i got a route to the local queue which cannot be deleted because its a local one.
also i can´t add a mailnode with the same name as the route.
and now the route is also in sac as a mailnode but not accessable and gray also i cannot add users.

someone have an idea?

Thx Hans
Last edited by HansR100 on Mon May 09, 2011 6:26 am, edited 2 times in total.

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Re: How to delete a local route?

Postby florian » Wed Apr 27, 2011 11:38 pm

routes to local are normally implicitly created by adding a mailnode. when you delete the mailnode using omdelmn, the route should also go away.

hope this helps,
Florian.
Florian von Kurnatowski, Die Harder!

HansR100
Posts: 35
Joined: Fri May 21, 2010 2:28 am

Re: How to delete a local route?

Postby HansR100 » Fri Apr 29, 2011 3:18 am

Hey Florian,

thx for reply, but there is no mailnode and is also can´t create one.
i just added the local route...

got an other idea?

Thx & Regards
HansR

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Re: How to delete a local route?

Postby florian » Fri Apr 29, 2011 7:18 am

Then how did you add it? :-) omaddrt should actually not allow you to do that...

try adding the hidden "-l" option, i.e.

Code: Select all

omdelrt -m <mailnode> -l


Florian
Florian von Kurnatowski, Die Harder!

ls-al
Scalix Star
Scalix Star
Posts: 510
Joined: Tue Jun 29, 2004 8:28 am
Location: Leipzig, Germany
Contact:

Re: How to delete a local route?

Postby ls-al » Sat Apr 30, 2011 5:09 am

florian wrote:Then how did you add it? :-) omaddrt should actually not allow you to do that...

yes, it should, but...

Code: Select all

[root@test ~]# omshowrt -q  all
UNIX       internet                                        MIME
UNIX       internet,tnef                                   TNEF
LOCAL      test                                           
[root@test ~]# omaddrt -m bogus -q local
omaddrt : Route successfully added
[root@test ~]# omshowrt -q  all
LOCAL      bogus                                           
UNIX       internet                                        MIME
UNIX       internet,tnef                                   TNEF
LOCAL      test                                           
[root@test ~]# omdelrt -m bogus
omdelrt : [OM 4713] You can't delete a route to the local queue

[root@test ~]# omdelrt -m bogus -l
omdelrt : Route successfully deleted
[root@test ~]# omshowrt -q  all
UNIX       internet                                        MIME
UNIX       internet,tnef                                   TNEF
LOCAL      test

HansR100
Posts: 35
Joined: Fri May 21, 2010 2:28 am

Re: How to delete a local route?

Postby HansR100 » Mon May 09, 2011 3:12 am

Hello you two,

ls -al did it like me, could you also find out how to delete it or got some ideas?

Thx Hans

ls-al
Scalix Star
Scalix Star
Posts: 510
Joined: Tue Jun 29, 2004 8:28 am
Location: Leipzig, Germany
Contact:

Re: How to delete a local route?

Postby ls-al » Mon May 09, 2011 3:17 am

HansR100 wrote:Hello you two,

ls -al did it like me, could you also find out how to delete it or got some ideas?

Thx Hans


The solution is the "-l" switch. Just have a look at the last 2 commands in my session transcript.

HansR100
Posts: 35
Joined: Fri May 21, 2010 2:28 am

Re: How to delete a local route?

Postby HansR100 » Mon May 09, 2011 5:00 am

Hi ls-al,

sorry i overlooked the last command. :?
It worked fine and i could add users again.

Thx a lot
Hans


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 5 guests