Date: Tue, 24 Jun 2008 23:57:21 +0200 From: Alex de Kruijff <freebsd@akruijff.dds.nl> To: Chuck Swiger <cswiger@mac.com> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Sendmail Masquerade Problem Message-ID: <20080624215720.GB81991@Alex1.kruijff.org> In-Reply-To: <9C6FD541-3208-49ED-A99E-0A0E64EF69B9@mac.com> References: <20080624210117.GA81991@Alex1.kruijff.org> <9C6FD541-3208-49ED-A99E-0A0E64EF69B9@mac.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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<me@private> > MDeferred: 451 Temporary local problem - please try later > rRFC822; me@dds.nl > RPFD:<me@dds.nl> > 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 <me@dds.nl>; 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 <me@private> > 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080624215720.GB81991>