List Info

Thread: Re: e-mail preprocessing and MTA=postfix




Re: e-mail preprocessing and MTA=postfix
country flaguser name
Slovakia
2007-08-09 17:37:18
On Tue, Aug 07, 2007 at 11:39:30PM +0300, Aleksey Cheusov
wrote:
> Before e-mail lies to /var/mail/me I (as a user) want
to preprocess
> it, for example add some extra headers depending on its
body or
> something similar.  Under Linux I used procmail for
this just because
> MTA is configure in this way by default.
> 
> What is the easiest way to do the same under
NetBSD+postfix?  I would
> prefer NOT to use procmail from pkgsrc.  I also have no
any knowledge
> in postfix (it is too big...).
> 
> I would be grateful for a simple example.

install procmail from pkgsrc and set "mailbox_command
=
/usr/pkg/bin/procmail" in /etc/postfix/main.cf

regards,

-- 
-- Lubomir Sedlacik <salo{NetBSD,Xtrmntr,silcnet}.org>   --
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )