Re: e-mail preprocessing and MTA=postfix
Lubomir Sedlacik <[email protected]>
| Newsgroups | gmane.os.netbsd.help |
|---|---|
| Message-ID | <[email protected]> |
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> --
signature.asc
(application/pgp-signature, 186 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (NetBSD) iD8DBQFGu5ceiwjDDlS8cmMRAnYvAJ4lbRlroQ4GMfnXkSXOvfs8RFDimgCcCyX1 rNdJCvTjm2+02oqtVMVJNJk= =+i1T -----END PGP SIGNATURE-----