From owner-freebsd-questions@FreeBSD.ORG Tue Jun 24 21:57:24 2008 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 701AD106567A for ; Tue, 24 Jun 2008 21:57:24 +0000 (UTC) (envelope-from freebsd@akruijff.dds.nl) Received: from cpsmtpo-eml02.kpnxchange.com (cpsmtpo-eml02.kpnxchange.com [213.75.38.151]) by mx1.freebsd.org (Postfix) with ESMTP id 107C28FC18 for ; Tue, 24 Jun 2008 21:57:23 +0000 (UTC) (envelope-from freebsd@akruijff.dds.nl) Received: from cpsmtp-eml103.kpnxchange.com ([213.75.84.103]) by cpsmtpo-eml02.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 24 Jun 2008 23:57:22 +0200 Received: from ip51cc8423.speed.planet.nl ([81.204.132.35]) by cpsmtp-eml103.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 24 Jun 2008 23:57:21 +0200 Received: from Alex1.kruijff.org (localhost [127.0.0.1]) by ip51cc8423.speed.planet.nl (8.14.2/8.14.2) with ESMTP id m5OLvL53034481; Tue, 24 Jun 2008 23:57:21 +0200 (CEST) (envelope-from freebsd@akruijff.dds.nl) Received: (from akruijff@localhost) by Alex1.kruijff.org (8.14.2/8.14.2/Submit) id m5OLvLK0034480; Tue, 24 Jun 2008 23:57:21 +0200 (CEST) (envelope-from freebsd@akruijff.dds.nl) X-Authentication-Warning: Alex1.kruijff.org: akruijff set sender to freebsd@akruijff.dds.nl using -f Date: Tue, 24 Jun 2008 23:57:21 +0200 From: Alex de Kruijff To: Chuck Swiger Message-ID: <20080624215720.GB81991@Alex1.kruijff.org> References: <20080624210117.GA81991@Alex1.kruijff.org> <9C6FD541-3208-49ED-A99E-0A0E64EF69B9@mac.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9C6FD541-3208-49ED-A99E-0A0E64EF69B9@mac.com> User-Agent: Mutt/1.4.2.3i X-OriginalArrivalTime: 24 Jun 2008 21:57:21.0741 (UTC) FILETIME=[474D87D0:01C8D645] Cc: FreeBSD Questions Subject: Re: Sendmail Masquerade Problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@akruijff.dds.nl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2008 21:57:24 -0000 On Tue, Jun 24, 2008 at 02:19:44PM -0700, Chuck Swiger wrote: > On Jun 24, 2008, at 2:01 PM, Alex de Kruijff wrote: > >I have problem with sendmail that is giving me a headake. I can send > >mails als long when I give the from adres, but when I leave this out > >the > >server enters the localname and my ISP isn't accepting the mail. (i.e. > >echo 'test' | mail -vs test to@mail.com -ffrom@mail works, but without > >the -f option it gets accepted but is rejected by the isp) I have > >masquerade setup, but that doesn't seem to do the trick. However check > >on shows that it handeled oke. > > Root is an "exposed user", in other words, mail sent by root is not > masquaraded by default, even if other addresses would be. I tested this with a regular user. > Anyway, this doesn't really matter, as your ISP's mail server should > be willing to relay your mail anyway. You should talk with tiscali.nl > about what else you might need to do-- perhaps setting up SMTP auth > would let you relay through their mailservers... this works: echo 'test' | mail -vs test me@mail.com -ffrom@mail this doesn't: echo 'test' | mail -vs test me@mail.com Reading: /var/spool/mqueue/qfm5OJ6BIh070839 > V8 > T1214334371 > K1214343000 > N13 > P1110364 > I0/85/1271838 > MDeferred: 451 Temporary local problem - please try later > Fbs > $_localhost [127.0.0.1] > $rESMTP > $sprivate > ${daemon_flags} > ${if_addr}127.0.0.1 > S > MDeferred: 451 Temporary local problem - please try later > rRFC822; me@dds.nl > RPFD: > H?P?Return-Path: <\x81g> > H??Received: from private (localhost [127.0.0.1]) > by public (8.13.6/8.13.6) with ESMTP id m5OJ6BIh070839 > for ; Tue, 24 Jun 2008 21:06:11 +0200 (CEST) > (envelope-from me@private) > H?x?Full-Name: Charlie Root > H??Received: (from me@localhost) > by private (8.13.6/8.13.6/Submit) id m5OJ6BpJ070838 > for me@dds.nl; Tue, 24 Jun 2008 21:06:11 +0200 (CEST) > (envelope-from me) > H??Date: Tue, 24 Jun 2008 21:06:11 +0200 (CEST) > H??From: Alex de Kruijff > H??Message-Id: <200806241906.m5OJ6BpJ070838@private> > H??To: me@dds.nl > H??Subject: test > H??X-Virus-Scanned: ClamAV 0.92.1/7553/Tue Jun 24 19:23:00 2008 on > private > H??X-Virus-Status: Clean me@private doesn't exist on the outside and like it to be changed by sendmail into me@public -- Alex Please copy the original recipients, otherwise I may not read your reply.