Page 1 of 1

Troubleshooting Routing Issues

Posted: Tue Sep 05, 2006 10:37 am
by alfista
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

Posted: Wed Sep 06, 2006 5:29 pm
by ScalixSupport
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

Posted: Wed Sep 06, 2006 5:35 pm
by alfista
Thanks Rachel - I'll try this right away!

Posted: Wed Sep 06, 2006 7:58 pm
by alfista
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

Posted: Wed Sep 06, 2006 8:42 pm
by ScalixSupport
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

Posted: Wed Sep 06, 2006 9:10 pm
by alfista
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.

Posted: Wed Sep 06, 2006 9:20 pm
by alfista
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.

Posted: Wed Sep 06, 2006 9:24 pm
by dkelly
Can you post the CATCH lines from your smtpd.cfg file ?

Cheers

Dave

Posted: Wed Sep 06, 2006 9:27 pm
by ScalixSupport
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

Posted: Wed Sep 06, 2006 9:48 pm
by alfista
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