Rejecting Email To Certain Users - Use Of Wildcards

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

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

Rejecting Email To Certain Users - Use Of Wildcards

Postby alfista » Wed Jun 21, 2006 3:32 pm

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

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

Postby ScalixSupport » Wed Jun 21, 2006 5:17 pm

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

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

Thanks

Postby alfista » Wed Jun 21, 2006 7:36 pm

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!

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

Postby alfista » Fri Jun 23, 2006 6:40 pm

Bueller...



Bueller...

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

Postby ScalixSupport » Fri Jun 23, 2006 7:04 pm

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

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

Postby alfista » Fri Jun 23, 2006 7:43 pm

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


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 10 guests