|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: virtual users and spamassassin
From: Tomasz Grobelny (tomasz
grobelny.oswiecenia.net)
Date: Mon Feb 07 2005 - 13:19:30 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Monday 07 of February 2005 07:25, Magnus Bäck wrote:
> On Monday, February 07, 2005 at 00:46 CET,
>
> Tomasz Grobelny <tomasz
grobelny.oswiecenia.net> wrote:
> > Or maybe it is possible to tell "virtual" to pipe a message to be
> > delivered through an external program?
>
> No, but you can define a pipe(8)-based service in master.cf and point
> virtual_transport to that service.
You mean a line like this in master.cf:
vscan unix - n n - 10 pipe user=<user> argv=/my/program ${sender}
${recipient}
and set transport to vscan instead of virtual?
If so I have a few questions:
1. What do I have to do for the process to be run with privileges from mysql
db as happens now for virtual?
2. Should /my/program read message from stdin then write it to stdout or
deliver the message to mailbox.
3. What can I use instead of /my/program? Amavis, maildrop?
Tomek
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]