Page 1 of 1

smtpd.conf settings

Posted: Tue Oct 17, 2006 4:19 am
by rogier.de.groot
I'd like to configure Scalix to only accept email if either the sender address or the recipient address ends in "@ourdomain.com". In other words, scalix would relay a mail from me@ourdomain.com to someone@somewhere.com, would relay mail from someone@somewhere.com to me@ourdomain.com, but would reject something like someone@someplace.com to someone@somewhere.com. I guess I should be able to do this with the ORIGINATOR and RECIPIENT rules in smtpd.conf, but I can't get it to work right. Anybody know how to do this?

Posted: Tue Oct 17, 2006 8:35 pm
by ScalixSupport
The default smtpd.cfg rules don't allow you to be an open relay.

Regards,
Don

Posted: Wed Oct 18, 2006 4:42 am
by rogier.de.groot
I know this, it isn't about being an open relay, it's more that the users (and/or suspicious software on their computers) sometimes do weird things, like send mail from username@hotmail.com to target@xs4all.nl through the Scalix system. They shouldn't be able to, I don't want them doing stuff like this, since it sometimes causes mail to loop (not Scalix' fault, other elements of our setup are causing this, but Scalix simply discarding mail not either to or from it's own domain should fix the problem, it's not the only solution, but the only one that doesn't involve me rewriting a Perl script I don't quite understand (don't speak perl) and thus the one I would prefer).