OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: .forward for virtual mailboxes?

From: Wietse Venema (wietseporcupine.org)
Date: Sat Mar 29 2008 - 18:59:46 CDT


=?utf-8?B?ZGFuIGZhcnJlbGw=?=:
> Ah. That makes sense.
>
> Is there any way to deliver mail to a program "behind" a virtual
> mailbox, then?

There are several. None of them involve the virtual mailbox delivery
agent. Instead, they involve delivery agents that are designed to
deliver mail to commands.

- Use a transport map to redirect mail for this recipient to a pipe
delivery agent. See the existing master.cf entries for examples,
and see "man 8 pipe" for configuration details.

- Use a transport map to redirect mail for this recipient to a
local delivery agent, and use a local aliases entry with the
recipient's name (not: namedomain) that delivers mail to command.

- Use a virtual alias to redirect mail for this recipient to one
of the domains listed in main.cf:mydestination, and use a local
aliases entry with the recipient's name (not: namedomain) that
delivers mail to command.

And possibly more.

        Wietse