Date: Wed, 4 Oct 2000 08:19:47 +0200 From: Andreas Klemm <andreas@klemm.gtn.com> To: Michelangelo Pisa <michelangelo@osny.com.br> Cc: net@FreeBSD.ORG Subject: Re: Procmail Message-ID: <20001004081946.A6539@titan.klemm.gtn.com> In-Reply-To: <39D9EE22.70EE4684@osny.com.br>; from michelangelo@osny.com.br on Tue, Oct 03, 2000 at 02:33:06PM %2B0000 References: <39D9EE22.70EE4684@osny.com.br>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 03, 2000 at 02:33:06PM +0000, Michelangelo Pisa wrote: > hello!! > > I'm trying to use the Procmail-3.13.1 in the FreeBSD 2.2.7 to > filter e-mails with virus, but > when I use the following configuration in my sendmail.cf: > Mprocmail, P=/usr/bin/procmail, F=DFMmShu, S=11/31, R=21/31, > T=DNS/RFC822/X-Unix, > A=procmail -m MAIL_FROM="$_" MAIL_TO="$u" > $h > > In the initialization of the system shown me errors how: > invalide rewrite line > (tab expected) You need to use tabulator instead of spaces to indent lines... Another thing would be to upgrade sendmail and to build a sendmail.cf file by using a .mc file defining define(`PROCMAIL_MAILER_PATH', `/usr/local/bin/procmail')dnl and FEATURE(local_procmail) Here is my .mc file (I run UUCP over TCP/IP and send and receive mail via UUCP): divert(-1) include(`../m4/cf.m4') VERSIONID(`@(#)klemm.mc 1.1 (AKL) 20/03/96') define(`_USE_ETC_MAIL_', True)dnl OSTYPE(bsd4.4)dnl DOMAIN(generic)dnl FEATURE(nocanonify) Dmklemm.gtn.com define(`confDOMAIN_NAME', `$m')dnl MASQUERADE_AS(klemm.gtn.com)dnl define(`PROCMAIL_MAILER_PATH', `/usr/local/bin/procmail')dnl define(`confCON_EXPENSIVE', True)dnl define(`SMTP_MAILER_FLAGS', e)dnl define(`confBIND_OPTS', `-DNSRCH -DEFNAMES')dnl define(`confDIAL_DELAY', `5s')dnl define(`UUCP_MAX_SIZE', 2000000)dnl define(`SMART_HOST', `uucp-dom:easix')dnl define(`UUCP_RELAY', `uucp-dom:easix')dnl FEATURE(access_db) FEATURE(accept_unresolvable_domains) FEATURE(always_add_domain) FEATURE(masquerade_envelope) FEATURE(local_procmail) FEATURE(relay_entire_domain) MAILER(local)dnl MAILER(smtp)dnl MAILER(uucp)dnl -- Andreas Klemm Powered by FreeBSD SMP Songs from our band >>64Bits<<............http://www.apsfilter.org/64bits.html My homepage................................ http://people.FreeBSD.ORG/~andreas Please note: Apsfilter got a NEW HOME................http://www.apsfilter.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001004081946.A6539>