> I think (and I proved) that filters are ideal solution for my needs. > But I have some small note/question. I discovered following behaviour: > - suppose there is a my.domain handled by xmail (defined in domains.tab) > - suppose there is a regular account [EMAIL PROTECTED] > - suppose there is a mailproc.tab file defined for [EMAIL PROTECTED] (it > contains mailbox command, but I'm not sure if this is important)
a mailproc.tab with only mailbox line in it is useless, because it's the default behaviour. > - suppose there is a line > "*" "[EMAIL PROTECTED]" "0.0.0.0/0" "0.0.0.0/0" "my.domain.tab" > in filters.in.tab file, my.domain.tab file exists in filters subdirectory > and it contains only one command. This command only performs something like > logging and always return 0 as return code (but this is not important). > > Now if email arrives for [EMAIL PROTECTED], the command is "fired" twice. If > mailproc.tab file is removed for that user, command is fired only once. Is > this correct? I mean: is it required to fire the command twice? > Just for your consideration, I'm able to handle this behaviour in my case. the command is only fired once in the [EMAIL PROTECTED] case. in other cases it is not fired, because xmail stops processing the the message before it arrives the filters. the reasen is that xmail does not find a valid account for the email adress and return "Mailbox unavailible". You have to add a new account in the domain, call it '[EMAIL PROTECTED]' and add a * alias for it: aliasadd my.domain * log the log account gets an empty mailproc.tab so that messages that go to it (in that case all messages to my.domain except [EMAIL PROTECTED]) are deleted. now you define the filter on [EMAIL PROTECTED] - that should do the job. -- soenke - 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]