messages bouncing to subdomain.mydomain.com

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

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

messages bouncing to subdomain.mydomain.com

Postby alfista » Tue Jun 27, 2006 4:13 pm

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.

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

Postby ScalixSupport » Wed Jun 28, 2006 9:00 am

Please show us omshowu for buddy and omsearch -m @all-attr@ -s | grep -i buddy

Sascha.

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

Postby alfista » Wed Jun 28, 2006 7:49 pm

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 ~]#

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

Postby ScalixSupport » Thu Jun 29, 2006 8:51 am

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.

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

Postby alfista » Thu Jun 29, 2006 10:29 am

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.

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

Postby alfista » Fri Jun 30, 2006 4:17 pm

Sascha,

Any thoughts?

Jason

kenwalton

Same problem....

Postby kenwalton » Tue Aug 01, 2006 9:35 am

Hi there,

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

Thanks

Ken

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

Postby alfista » Tue Aug 01, 2006 9:52 am

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


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 4 guests

cron