Subject: Re: e-mail preprocessing and MTA=postfix
To: None <netbsd-help@netbsd.org>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-help
Date: 08/10/2007 00:37:18
--qDp7aVEJD61w+rGb
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
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.
>=20
> 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...).
>=20
> I would be grateful for a simple example.
install procmail from pkgsrc and set "mailbox_command =3D
/usr/pkg/bin/procmail" in /etc/postfix/main.cf
regards,
--=20
-- Lubomir Sedlacik <salo@{NetBSD,Xtrmntr,silcnet}.org> --
--qDp7aVEJD61w+rGb
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (NetBSD)
iD8DBQFGu5ceiwjDDlS8cmMRAnYvAJ4lbRlroQ4GMfnXkSXOvfs8RFDimgCcCyX1
rNdJCvTjm2+02oqtVMVJNJk=
=+i1T
-----END PGP SIGNATURE-----
--qDp7aVEJD61w+rGb--