On January 10, 2004 09:17 am, Robert Hensel wrote: > I currently have a properly working postfix-mysql setup. This all works > fine, but I would like to implement an autoresponder/other stuff. The > problem is, that for example procmail doesn't seem to work with virtual > users. I have added "mailbox_command = /usr/bin/procmail ". But this > line is completely ignored :( > > Maybe someone here can help me avoid writing ugly bash scripts to do the > job ;)
The virtual delivery agent doesn't support procmail, .forward files, etc. I believe you have no choice but to do some scripting (it can be ugly if you insist ;-) I'll assume that your talking about an email setup similar to the one described at http://kirb.insanegenius.net/postfix.html ? The only way that I can think of to do things like mail filtering, out of office, etc. is by having a virtual map entry that forwards the email to an alias as well as to the original user: [EMAIL PROTECTED] [EMAIL PROTECTED],fraser-filters In the aliases file (which could be managed in mysql still) you would have the alias fraser-filters pipe to a command that does whatever magic you need. This might already be what you were thinking of? I haven't tried this but it's the easiest way that I can think of supporting mail filtering, out of office and such. You can also write postfix filters which might have advantages. If you find anything please followup here as it's something I think a lot of people might be interested in. -- Fraser Campbell <[EMAIL PROTECTED]> http://www.wehave.net/ Georgetown, Ontario, Canada Debian GNU/Linux -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]