procmail
[Top] [All Lists]

Re: postfix + procmail gateway

2001-10-25 09:14:20

And defined vscan like that in master.cf :
vscan   unix    -       n       n       -       5       pipe user=virusck
    argv=/usr/bin/procmail -m /etc/procmailrc ${sender} ${recipient}
localhost:2525 inet n  -       n       -       -       smtpd
     -o content_filter=
 
I need procmail to deliver the email to localhost:2525 after processing it.

Is there a [simple and computing unintensive] way to do that with procmail ?

With an external program ?

 Absolutely. You need to run a program from your procmailrc that speaks
 SMTP and connects to localhost:10025. The easiest thing is probably to
 write a short perl program that uses libnet.

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