On Fri, 30 Nov 2001, Michal Altair Valasek wrote: > Hi, all. > > Again question about filters. When I use filter specified in > "filters\.tab", it runs when message arrives in both directions - if > user is sending or receiving message. > > It is possible to add to 1.3 new @@-variables, so I would know, if the > message is from local or remote user or to local or remote user? > Something like @@SENDERTYPE or @@RCPTTYPE, which would be either "LOCAL" > or "REMOTE"? Now I must check against user database which is slow and > complicated.
You've to handle this by parsing the very first lines of the message file. > And final question: is in outgoing filter possible to stop delivery of > message? Codes 98/99 didn't work. > > I am writing filter which wouldn't allow to send or receive messages > with unsafe attachments and instead reply with some error mail. The > filter itself is OK, but problems described above are annoying me. If your script _really_ return that error code the filter works. It has been tested and is working for other users. - Davide - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]
