Wietse Venema via Postfix-users:
> EML via Postfix-users:
> > I've written a before-queue milter that I'm trying to integrate with
> > Postfix, but there doesn't seem to be any specific documentation on how
> > to do this. During development, I ran the milter manually, listening on
> > port 7950, with nothing in master.cf, and this in main.cf:
> >
> > smtpd_milters = inet:localhost:7950
> > non_smtpd_milters = $smtpd_milters
> >
> > This works. For production, I'd like to get Postfix to run the milter,
> > so I've added this to master.cf:
> >
> > 7950 inet n y n 0 - samilter { -p inet:7950@localhost }
> >
>
> You can only run POSTFIX programs this way.
>
> Non-Postfix program can be run with the pipe(8) daemon (for transient
> programs) and spawn(8) daemon (for persistemt programs).
Actually, both are for running a transient command. This setup is
not suitable for Milters that want to create their own socket, it
is for programs that read from stdin and that write to stdout.
Wietse
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]