>> 
>> Dario Lesca wrote:
>> > Hi, for a specific domain, for some local user I must allow only
>> > exchange of messages with other local users and reject messages for
>> > external domain.
>> > What is the best way to block all messages, sent from a specific local
>> > user, to every external domain and accept only message for local
>> > domain's users?
>> >   
>> Sorry - that isn't a job Qmail-Scanner can do. That would be classified
>> as Qmail's problem - but I can tell you Qmail cannot do that directly
>> either. You would need to develop something to make such checks for your
>> site yourself.
>> 

Hi,

I added a localrules section to QS, so I just need to write aperl sub for my 
own checks.
The changes to QS itself are minimal - unlike virus scanners this needs to be 
called for
plaintext too.
I have made two rules: one, on a mozilla oriented site, would consider mail via 
outlook
a virus symptom. The other one marks "not for me" messages.
The downside: if you dont take the effort to write your own handler for 
filtered messages,
they will be reported as a special case of virus, or dropped. There is no 
support in QS
to redirect such messages.

In case your qmail features the plugins patch, your proposed filter could be 
done as
a RCPT plugin - given that particular sender the rcpt address could be changed 
to a
local "violations" box

Wolfgang Hamann


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Qmail-scanner-general mailing list
Qmail-scanner-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to