procmail
[Top] [All Lists]

Re: procmail and tcp

2002-02-11 22:34:21
"Pete O'Hara" <pete(_at_)guardiandigital(_dot_)com> writes:
I am new to procmail and have searched archives and google
without much success. My question: Does procmail have the
capability to send output to a tcp port? Something that can
be put into a recipe where you could pipe the output to
localhost:12000. I am trying to use procmail as a content
filter for the MTA Postfix where it could send it's output
to a virus scanner listening on localhost:some port. I
wanted to accomplish this without writing anything in perl
that would be a resource consumer.

procmail doesn't have any way to directly connect to a TCP port.  You'll
have to use an external program for that.  If you're on a BSD system
you probably have 'nc' (netcat) installed, which can do what you want.


Philip Guenther
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>