Hi Having some trouble with mail filters.
Using this filter cvgfilter.c Compile with cc -I/usr/include -I/usr/share/sendmail -c cvgfilter.c compiles to cvgfilter.o This line below not sure what to do with and your linking command line will look something like cc -o cvgfilter [object-files] -L[library-location] -lmilter -pthread I am using Openbsd 3.8 sendmail 8.13 I put the filter cvgfilter.o in /var/run/cvgfilter/ The following line is added to my sendmail.mc file INPUT_MAIL_FILTER(`dislib', `S=local:/var/run/cvgfilter/cvgfilter.sock') Then I build the sendmail.cf. If I am missing something would appreciate the help. When I send and email I get these errors in the log file Feb 25 13:53:22 bua2 sendmail[13279]: k1PKrMv5013279: Milter (cvgfilter): local socket name /var/run/cvgfilter/cvgfilter.sock unsafe Feb 25 13:53:22 bua2 sendmail[13279]: k1PKrMv5013279: Milter (cvgfilter): to error state Not sure what permissions are to be on the directories Jay