Page 1 of 1

messages bouncing to subdomain.mydomain.com

Posted: Tue Jun 27, 2006 4:13 pm
by alfista
Hi All,

First off, I apologize if I'm asking too many dumb questions, but I feel like its key to me getting this going and I'm hoping I'm contributing to the collective community as a result.

One of my needs is to be able to route all email going to *@subdomain.mydomain.com to a single user. However, I'm getting the following message when I try to send using the web client:

The original message was received at Tue, 27 Jun 2006 16:00:29 -0400
from root@localhost

----- The following addresses had permanent fatal errors -----
<buddy@subdomain.mydomain.com>
(reason: 550 5.1.1 <buddy@subdomain.mydomain.com>... User unknown)
(expanded from: <buddy@subdomain.mydomain.com>)

----- Transcript of session follows -----
... while talking to [127.0.0.1]:
>>> DATA
<<< 550 5.1.1 <buddy@subdomain.mydomain.com>... User unknown
550 5.1.1 <buddy@subdomain.mydomain.com>... User unknown
<<< 503 5.0.0 Need RCPT (recipient)

-------------------------------------------------------------------------------

Here's how this is configured:

Excerpt from smtpd.cfg:

SMTPFILTER=TRUE
RELAY accept 127.0.0.1
RELAY accept mail.mydomain.com -------------this is the hostname
RELAY accept webmail.mydomain.com ----------this is an alias for public IP address
RELAY accept subdomain.mydomain.com ---------this is an alias for public IP address
RELAY Log_Reject ALL

Additionally, my internal DNS server has webmail and subdomain as aliases for mail.mydomain.com

Further down in smtp.cfg:

# Catch All Filters
# http://www.scalix.com/community/viewtopic.php?t=1421
#
CATCH bad@mydomain.com bogus@mydomain.com --------- restricted from receiving mail
CATCH *@mydomain.com jason@mydomain.com
CATCH *@subdomain.mydomain.com jason@mydomain.com

And finally,

in the SAC, subdomain.mydomain.com is listed as a domain, and I have buddy@subdomain.mydomain.com as an email address for jason@mydomain.com

I have restarted SMTPD after making these changes to smtpd.cfg, but I still get the bounce message listed above. Ideally, I want to simply add *@subdomain.mydomain.com to an email account and have all email end up there.

TIA for taking the time to help. I'm having fun learning and am becoming a huge scalix advocate with my IT peers.

Posted: Wed Jun 28, 2006 9:00 am
by ScalixSupport
Please show us omshowu for buddy and omsearch -m @all-attr@ -s | grep -i buddy

Sascha.

Posted: Wed Jun 28, 2006 7:49 pm
by alfista
Hi Sascha,

Here you go:

[root@mail ~]# omshowu buddy
omshowu : [OM 8040] The user can't be found, or has been deleted.

[root@mail ~]# omsearch -m @all-attr@ -s | grep -i buddy
S=lastname/G=Jason/I=J/OU1=mail/OU2=mydomain/CN=lastname, Jason/INTERNET-ADDR="lastname, Jason" <jason@otherdomain1.com>="lastname, Jason" <jason@mydomain.com>="lastname, Jason" <forrent@otherdomain.com>="lastname, Jason" <jason@lastname.com>="lastname, Jason" <buddy@accounts.mydomain.com>/ENTRY-TYPE=1/UL-AUTHID=jason/UL-CAPS=7/UL-CLASS=Full/UL-IL=AMERICAN/HOST-FQDN=mail.mydomain.com/GLOBAL-UNIQUE-ID=1b10000028679534-03.0.861.291/LOCAL-UNIQUE-ID=449/POSTAL-CODE=10583/MOBILE-PHONE=999-999-0000/L=Scarsdale/STREET-ADDRESS=125 Some Avenue/STATE-OR-PROVINCE=MA/CNTRY=US/PARENT-DL=256=192=160=224/PHONE-1=999-999-0000/HOME-PHONE=999-999-0000/IA-FORMAL=jason@otherdomain1.com=jason@mydomain.com=forresnt@otherdomain.com=jason@lastname.com=buddy@accounts.mydomain.com/S-SDX=G623/G-SDX=J250/DBV-ID=33554434
[root@mail ~]#

Posted: Thu Jun 29, 2006 8:51 am
by ScalixSupport
The problem with obfuscating domain names becomes apparent when interpretation comes into play.

So you are saying that buddy@subdomain.mydomain.com bounces. Looking at the directory entry, it does not list that address. It lists buddy@accounts.mydomain.com.

Which is correct?

Sascha.

Posted: Thu Jun 29, 2006 10:29 am
by alfista
That was an error in my post. I had changed my actual domain and subdomain names to 'domain' and 'subdomain' to try to make the post easier to follow, but I apparently missed correcting that one.

Posted: Fri Jun 30, 2006 4:17 pm
by alfista
Sascha,

Any thoughts?

Jason

Same problem....

Posted: Tue Aug 01, 2006 9:35 am
by kenwalton
Hi there,

I having the same problem. Have you managed to resolve it?

Thanks

Ken

Posted: Tue Aug 01, 2006 9:52 am
by alfista
Hey Ken,

I got it resolved, but I'm not 100% sure of the exact step because everything I tried managed to break something else. Eventually I ended up with something that works. This is largely due to my lack of knowledge of linux and not a function of the product.

IIRC, the key changes include:

modifying /var/opt/scalix/sys/smtpd.conf to allow relaying to that domain
making sure the domain was listed in the SAC for the server

Let me know if you still can't get it going and I'll dig up some notes when I get home.

Good luck!

Jason