Troubleshooting Routing Issues

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

alfista
Posts: 94
Joined: Sat Oct 22, 2005 10:32 am

Troubleshooting Routing Issues

Postby alfista » Tue Sep 05, 2006 10:37 am

Hi all, can anyone offer me some advice as to how to debug alias routing issues? Here's my situation.

I have several domains. Each domain has a wildcard catch statement to route all mail to a default user (to me for a couple domains). This was working well.

I added a new domain, and then added two users to that domain, and didn't create a CATCH statement in smtpd.conf.

Sending a message to one address works
Sending a message to the second address gets delivered to me

I recreated the second account and the behaviour persists. The smtp addresses for this are very unique and I don't see how a CATCH wildcard would pick either of them up.

On a separate note, the second account I created cannot be deleted. I renamed the SMTP address and login name, but email is still delivered to me.

How can I inspect the message flow to see why this is being routed incorrectly?

Thanks!

Jason

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Wed Sep 06, 2006 5:29 pm

Check your /var/opt/scalix/audit file. If you don't have the auditing level turned up high enough, you can use the omconfaud (see the man pages for details) to increase the level. For example:

omconfaud ld 9

will turn the Local Delivery audit logging level up to 9.

Thanks,
Rachel

alfista
Posts: 94
Joined: Sat Oct 22, 2005 10:32 am

Postby alfista » Wed Sep 06, 2006 5:35 pm

Thanks Rachel - I'll try this right away!

alfista
Posts: 94
Joined: Sat Oct 22, 2005 10:32 am

Postby alfista » Wed Sep 06, 2006 7:58 pm

Hi Rachel,

From the logs, it appears that when messages get sent to the new domain, my address is added as a BCC and the message is delivered to me and not to the member of the new domain. Not sure how this is happening though. Any ideas?

Jason

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Wed Sep 06, 2006 8:42 pm

Do you have archiving enabled and messages are BCC'ed to your address? Do you have the Error Notification User (ENU) set to your address? If you do an omshowu of that user what does that return? If you do an omsearch of that user what does it return?

Thanks,
Rachel

alfista
Posts: 94
Joined: Sat Oct 22, 2005 10:32 am

Postby alfista » Wed Sep 06, 2006 9:10 pm

I have taken no steps to enable archiving. I just created a new user in this domain and the problem persists:

I have not used the omconfenu command - I do not believe I've setup an ENU.

Its very strange that this works for two other domains, but not the new one I just created.
Last edited by alfista on Wed Sep 06, 2006 10:30 pm, edited 1 time in total.

alfista
Posts: 94
Joined: Sat Oct 22, 2005 10:32 am

Postby alfista » Wed Sep 06, 2006 9:20 pm

Additional details...

This test user can send to itself using the java client, but SMTP mail from the outside is delivered to my address as a BCC.

going to try a server reboot in case I need to reset some network settings or something.

dkelly
Scalix
Scalix
Posts: 593
Joined: Thu Mar 18, 2004 2:03 pm

Postby dkelly » Wed Sep 06, 2006 9:24 pm

Can you post the CATCH lines from your smtpd.cfg file ?

Cheers

Dave

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Wed Sep 06, 2006 9:27 pm

Hmm... that's odd because inbound mail from the outside world goes through the same path as sending via SWA. That, of couse, assumes that the Scalix SMTP Relay is listening for inbound mail. You should enable SMTP Relay logging by adding:

DEBUG_LOG=TRUE to your /var/opt/scalix/smtpd.cfg file and restart the SMTP Relay by typing:

omoff -d0 smtpd
omon smtpd

This will create a log file called smtpd.log in the /var/opt/scalix/tmp subdirectory. Now send a message in and look at the RCPT TO: line.

Thanks,
Rachel

alfista
Posts: 94
Joined: Sat Oct 22, 2005 10:32 am

Postby alfista » Wed Sep 06, 2006 9:48 pm

Hey Rachel,

I was going nuts because I had done what you suggested based on a search of the forums earlier, but I had been looking in the 'temp' folder as that post had incorrectly stated.

Now that I can get some logs there, I think this has to do with my external DNS. I'll go troubleshoot that. I really appreciate the help, and have a couple other problems to investigate (will search forums first) once I can mark this one 'done'

Cheers!

Jason


Return to “Scalix Server”



Who is online

Users browsing this forum: Bing [Bot] and 2 guests

cron