procmail
[Top] [All Lists]

Re: procmail and tcp

2002-02-11 22:36:16
Pete O'Hara asked,

| 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?

Very likely, but the precise answer and exact procedure depend on how your
system is set up to write to that port.

If your system can make the TCP port look like a device or a file to write
to, yes; if you have another program that will take standard input and write
it to the TCP port, yes; if you have another program that will copy the
contents of a file to the TCP port, still yes, but your procmail rcfile
would need to play around with a temporary file or a named pipe.

If procmail has to telnet to that port and then pass the message, you might
need to have it invoke an expect script; if it comes to that, I hope someone
else here will help you.


_______________________________________________
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>