Page 1 of 1

How do I create a wildcard/catchall for a domain?

Posted: Mon Feb 20, 2006 2:55 am
by cjs226
I'm needing to setup an equivalent to a wildcard entry found in sendmail's virtusertable such as:
@mydomain.com me@mydomain.com

Posted: Mon Feb 20, 2006 5:39 am
by ScalixSupport
Hi,

this can be done by adding an entry to smtpd.cfg.

Catch-all users can be defined as:

1) Any unmatched user beginning with a known-string in any domain:

CATCH user* catchall@domain.com

2) Any unmatched user in a known domain:

CATCH @domain.com catchall@domain.com

3) Any unmatched user beginning with a known-string in a known domain:

CATCH user*@domain.com catchall@domain.com


The catchall address can be a Scalix or a unix user *but* it is subject to any
relay rules if the catchall address is outside the local domain.

Cheers,

Sascha

[thx for the verbage, Mark ;-)]

Still not working

Posted: Mon Feb 20, 2006 1:48 pm
by cjs226
I added the following space delimited line to /var/opt/scalix/sys/smtpd.cfg:
CATCH @mydomain.com catch@mydomain.com
I then added catch@mydomain.com to my account and tested that I can receive via that address.
However when I send an email to whatever@mydomain.com, I don't receive it. I also restarted Scalix, but still no luck.

Posted: Tue Feb 21, 2006 10:55 pm
by cjs226
Anyone have any ideas? I'm stuck until I get past this issue.

Thanks, Clif

GOT IT!!!

Posted: Tue Feb 21, 2006 11:10 pm
by cjs226
I restarted Scalix's tomcat instance, not Scalix's SMTP server. Once I did that, all was good.

Thank you!

Posted: Fri Apr 21, 2006 12:24 pm
by bluemike
All I had to do was stop/start the SMTPD thru the SAC and it started working.