From owner-freebsd-questions Sat Aug 3 18:52:56 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B7FD37B400 for ; Sat, 3 Aug 2002 18:52:54 -0700 (PDT) Received: from boris.st.hmc.edu (boris.ST.HMC.Edu [134.173.63.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE9A243E65 for ; Sat, 3 Aug 2002 18:52:53 -0700 (PDT) (envelope-from jeff@unixconsults.com) Received: from boris.st.hmc.edu (localhost [127.0.0.1]) by boris.st.hmc.edu (8.12.3/8.12.3) with ESMTP id g741qque082307; Sat, 3 Aug 2002 18:52:53 -0700 (PDT) Received: from localhost (jeff@localhost) by boris.st.hmc.edu (8.12.3/8.12.3/Submit) with ESMTP id g741qp38082304; Sat, 3 Aug 2002 18:52:52 -0700 (PDT) (envelope-from jeff@unixconsults.com) X-Authentication-Warning: boris.st.hmc.edu: jeff owned process doing -bs Date: Sat, 3 Aug 2002 18:52:51 -0700 (PDT) From: Jeff Jirsa X-X-Sender: jeff@boris.st.hmc.edu To: Gheorghe Ardelean Cc: freebsd-questions@FreeBSD.ORG Subject: Re: anyone running amavis and sendmail on 4.6-STABLE? In-Reply-To: Message-ID: <20020803184548.I82270-100000@boris.st.hmc.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-milter on boris.st.hmc.edu Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 4 Aug 2002, Gheorghe Ardelean wrote: > > Hi, > > I've installed different versions of amavis (amavis-perl really outdated > then amavis-0.3.12.pre8 and finally amavisd-new via ports or direct). > None of this work with sendmail. > > I am trying to scan ONLY incoming mails. > > All this installs end up with mail not being delivered because of: > stat=Deferred: local mailer (/usr/local/sbin/amavis) exited with EX_TEMPFAIL > > Any help will be very much appreciated. > I have it successfully running with sendmail 8.12.3 and 4.5 release (plus security patches)... the differences between 4.5 and 4.6 should be minimal. I'm not sure how exactly you've got it configured, but what you'll have to do to scan only incoming mails is to set up a new local delivery agent, rather than using the milter interface. Using amavisd, sendmail 8.12.x and milter will scan all emails, you'll probably be better off with amavis-perl. I'd be able to help you more if I saw the relevant parts of your sendmail.cf file ... EX_TEMPFAIL seems to suggest something can't be written in the temp directories, so make sure /var/amavis exists and is mode 700 (you could even set it to 777 in case there's an ownership issue for testing)... I guess to help you more I'd need to see your mailer definitions from /etc/mail/sendmail.cf - Jeff -- Jeff Jirsa jeff@unixconsults.com -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message