Page 1 of 1

Rejecting Email To Certain Users - Use Of Wildcards

Posted: Wed Jun 21, 2006 3:32 pm
by alfista
Hi All,

I'm hoping this is possible, but I don't see how to do it in the GUI, and I'm no expert with Linux...

I plan on routing mail to certain mailboxes based on wildcards. For example, route anything that matches *@mydomain.com and doesn't match a real mailbox to me@mydomain.com.

However, there are some combinations that I just want to outright reject. For examply, myspamaccount@mydomain.com. How can I configure scalix to reject messages to specific users that do not have a mailbox on the system, but not all?

Let me know if this isn't clear (fighting a cold).

Jason

Posted: Wed Jun 21, 2006 5:17 pm
by ScalixSupport
Have a look at this post:

http://www.scalix.com/community/viewtopic.php?t=1421

and see if that fits the bill for you.

Regards,
Don

Thanks

Posted: Wed Jun 21, 2006 7:36 pm
by alfista
That helps with the first part, but I also need the second...

I need to REJECT mail addressed to:
badaddress1@mydomain.com
badaddress2@mydomain.com
badaddress3@mydomain.com
...
instead of having those go to the catchall account.

Thanks!

Posted: Fri Jun 23, 2006 6:40 pm
by alfista
Bueller...



Bueller...

Posted: Fri Jun 23, 2006 7:04 pm
by ScalixSupport
There is a switch with ommodu

ommodu -o "user name" -r n

-r Y|N This option determines if the user can receive mail. If set to Y the user can receive mail as expected; this is the default. If set to N the user will not receive mail. A NDN will be returned to the user originating the message. The intended recipient will not receive notification that the message was rejected.

The problem we've noticed with this is that senders from outside of scalix don't get the ndn. Scalix to scalix does work. I've raised a bug. Do you care if senders don't get an ndn?

Regards,
Don

Posted: Fri Jun 23, 2006 7:43 pm
by alfista
Thanks Don!

I would prefer a NDN as this is mostly a spam prevention method, but I can live without.

I assume that I would create a users that is not allowed to receive email and then point the aliases at that user?

Thanks a ton for the help...you guys are great!

Jason