From owner-freebsd-questions@FreeBSD.ORG Fri Jun 11 00:10:32 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 261A3106568A for ; Fri, 11 Jun 2010 00:10:32 +0000 (UTC) (envelope-from nealhogan@gmail.com) Received: from mail-yw0-f182.google.com (mail-yw0-f182.google.com [209.85.211.182]) by mx1.freebsd.org (Postfix) with ESMTP id CD6ED8FC0C for ; Fri, 11 Jun 2010 00:10:31 +0000 (UTC) Received: by ywh12 with SMTP id 12so118960ywh.14 for ; Thu, 10 Jun 2010 17:10:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=3KTqTA26s8DnTniDNPkGQdnTOwLVQwPDgGFho+PRQt8=; b=h+yPHdN2UUXjqNxDa+iofimS6RCVWl6ArOA+cghvxeFTdUHA/yEjB6EjjU0eOgsLoD CMn/Y9bdbR7i6xJK7eeC75seVdwl3iP0wp7gxAA1yhfFZ7CJlw65ZJwoUYEMNNkjbahC 7aM5d9FfGbwYFkvxh/NLK6NUlm7dGt9HKoS2M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=IMd9SZhwhwYYBjOVInyuQd50ijyoe2iQQVeJ7fuqJnCcd+neBkHWECTfkWfy5wwMch aiXBQhrLwOtFzYYEUenNRe0PFMU6lqWfJZ/R4d/1VaongM4w/Z9IImm3kBfE99/Bxnip wK2TGvDOw6cw3LVO6q2A8lvk5nyN/oXGwcr4g= MIME-Version: 1.0 Received: by 10.150.48.40 with SMTP id v40mr2152960ybv.232.1276215030881; Thu, 10 Jun 2010 17:10:30 -0700 (PDT) Received: by 10.150.57.16 with HTTP; Thu, 10 Jun 2010 17:10:30 -0700 (PDT) In-Reply-To: <4C114DAC.5070006@el.net> References: <4C114DAC.5070006@el.net> Date: Thu, 10 Jun 2010 19:10:30 -0500 Message-ID: From: Neal Hogan To: kalin m Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: sendmail access X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jun 2010 00:10:32 -0000 On Thu, Jun 10, 2010 at 3:40 PM, kalin m wrote: > > > > hi all... > reading > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sendmail.html > > i did get an access file set up. it doesn't do anything thought... > i have only entry like this: > > some.domain.com =A0 =A0 =A0 =A0 =A0 =A0OK > > and did make. then changed /etc/defaults/rc.conf to > sendmail_enable=3D"YES".... > > restarted sendmail. cool. so far. now mail is a accepted from everywhere = not > only the entry in access: some.domain.com > > why? > As far as I understand it, the access file makes more fine-grained "decisions." That is, sendmail allows everything and the access file allows you to discriminate more precisely. Notice that the example has (something like) : spam.com REJECT . . . okay.spam.com OK So, if you only want to allow emails only from some.domain.com then you have to REJECT all other domains . . . good luck ;-) > thanks... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" >