Les Mikesell wrote:
On Thu, 2006-08-31 at 13:57 -0400, Ugo Bellavance wrote:
I did some research yesterday, but could only find a way to restrict by IP for all domains managed by sendmail.
It is overkill for this one job, but if you add MimeDefang (http://www.mimedefang.org) as a milter, you can easily add tests like that in perl in your filter code. Well maybe it's not overkill compared to learning how to write sendmail rulesets in its own macro language - and if you want to add virus or spam scans it is a big win.
Thanks for the idea, but not really practical in our situation... The solution would have to be implemented using actual software, so I must be able to do it in Sendmail.
I think something got lost in the translation there. Isn't MimeDefang actual software? If it has to be done inside of sendmail you'll need a custom ruleset. The O'Reilly 'bat' book would be a good place to start.
Thanks, I'll have a look at my bat book. By "actual software", I guess I was more meaning "current software", ie I don't want to install another package to do the job.
Regards,
Ugo